Linuxguy123
2011-Mar-11 19:26 UTC
[Wine] Running Hitec HPP-22 under wine. (RC device, USB)
I use the Hitec Aurora 9 (A9) transmitter for my remote control vehicles. http://www.hitecrcd.com/products/aircraft-radios-receivers-and-accesories/aircraft/aurora9/aurora-9-2-4ghz.html This transmitter is part of a system of devices. One of the devices in this system is the HPP-22, which is a USB device that allows a computer to communicate with the A9 in order to load and save model information as well as update the firmware in the transmitter and receivers. http://www.hitecrcd.com/products/aircraft-radios-receivers-and-accesories/telemetry/hpp-22.html Hitec publishes closed source Windows based software to enable a Windows computer to communicate with the HPP-22. http://hitecrcd.co.kr/tester/hpp_22.htm After renaming the install file from "Install_hpp_22_V1.04(1).exe" to "Install_hpp_22_V1.04.exe" in Dolphin, wine runs the installer just fine, albeit with a few warning messages. Note: Bash doesn't allow () characters. Doing a right click on the file name in Dolphin allowed me to change it. In hindsight this could have been corrected when downloading the install fall. When I run the resulting HPP-22 program, it displays "HPP-22 is disconnected." Ie its not finding the HPP-22 hardware connected to the PC via a USB cable. dmesg states the following: =====================================================[263071.342137] usb 6-1: new full speed USB device using uhci_hcd and address 4 [263071.514255] usb 6-1: New USB device found, idVendor=1e1a, idProduct=001f [263071.514266] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [263071.514273] usb 6-1: Product: HPP-22 [263071.514278] usb 6-1: Manufacturer: HITECRCD Inc [263071.514283] usb 6-1: SerialNumber: HPP-22-00000 [263071.524680] generic-usb 0003:1E1A:001F.0005: hiddev97,hidraw2: USB HID v0.01 Device [HITECRCD Inc HPP-22] on usb-0000:00:1d.1-1/input0 ====================================================== lsusb returns this: =====================================================$ lsusb Bus 007 Device 002: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 004: ID 1e1a:001f Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 003: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module] Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 07ca:a321 AVerMedia Technologies, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ====================================================== How do I get the HPP-22 application to find and use the HPP-22 USB device ? Is this a USB driver problem or a wine problem ? Thanks ! LG123 Other information I'm running a fully up to date Fedora 14 system. $ yum list wine Installed Packages wine.i686 1.3.14-2.fc14 @updates $ uname -a Linux localhost.localdomain 2.6.35.11-83.fc14.i686.PAE #1 SMP Mon Feb 7 06:57:55 UTC 2011 i686 i686 i386 GNU/Linux $ yum list udev Installed Packages udev.i686 161-8.fc14 @anaconda-InstallationRepo-201010211814.i38 usbview returns the following (and indicates that a driver is attached to the HPP22 device) HPP-22 Manufacturer: HITECRCD Inc Serial Number: HPP-22-00000 Speed: 12Mb/s (full) USB Version: 2.00 Device Class: 00(>ifc ) Device Subclass: 00 Device Protocol: 00 Maximum Default Endpoint Size: 8 Number of Configurations: 1 Vendor Id: 1e1a Product Id: 001f Revision Number: 0.01 Config Number: 1 Number of Interfaces: 1 Attributes: 80 MaxPower Needed: 100mA Interface Number: 0 Name: usbhid Alternate Number: 0 Class: 03(HID ) Sub Class: 00 Protocol: 00 Number of Endpoints: 2 Endpoint Address: 81 Direction: in Attribute: 3 Type: Int. Max Packet Size: 64 Interval: 10ms Endpoint Address: 01 Direction: out Attribute: 3 Type: Int. Max Packet Size: 64 Interval: 10ms usbmon does not indicate any activity whatsoever on the bus the HPP-22 is connected to. My guess is that the HPP-22 software is not finding the HPP-22 hardware and is thus not attempting to talk to it.
Linuxguy123
2011-Mar-11 19:38 UTC
[Wine] Running Hitec HPP-22 under wine. (RC device, USB)
When I run the application manually, using the command that gets created (by wine ?) in the start menu, here is what I get. $ env WINEPREFIX="/home/xxx/.wine" wine C:\\windows\\command\ \start.exe /Unix /home/xxx/.wine/dosdevices/c:/windows/profiles/xxx/Start\ Menu/HPP-22.lnk fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:exec:SHELL_execute flags ignored: 0x00004100 [xxx at localhost ~]$ fixme:ole:OleLoadPictureEx (0x1582ca4,2246,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33fa70), partially implemented. fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x12ef94), stub! fixme:ole:OleLoadPictureEx (0x158d9e4,542,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f68c), partially implemented. fixme:ole:OleLoadPictureEx (0x1582ca4,113728,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33fa10), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x12b090)->(0x163168, 0, (nil)), hacked stub. fixme:ole:OleLoadPictureEx (0x158f224,2246,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f420), partially implemented. fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x1700ec), stub! fixme:ole:OleLoadPictureEx (0x158f224,193568,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f3c0), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x166f00)->(0x1a7e00, 0, (nil)), hacked stub. fixme:ole:OleLoadPictureEx (0x15927f4,2246,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f420), partially implemented. fixme:ole:OleLoadPictureEx (0x15927f4,60614,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f3f0), partially implemented. fixme:ole:OleLoadPictureEx (0x15927f4,15902,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f3f0), partially implemented. fixme:ole:OleLoadPictureEx (0x15927f4,7982,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f3f0), partially implemented. fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x1c1054), stub! fixme:ole:OLEPictureImpl_SaveAsFile (0x1ab9a0)->(0x1c3468, 0, (nil)), hacked stub. fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sun, 10-Mar-2013 19:33:54 GMT; path=/; domain=.google.com") fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sun, 10-Mar-2013 19:33:54 GMT; path=/; domain=.google.ca") fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sat, 10-Sep-2011 19:33:54 GMT; path=/; domain=.google.ca; HttpOnly") fixme:wininet:set_cookie httponly not handled (L"HttpOnly") fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:ole:OleLoadPictureEx (0x1596144,2246,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f428), partially implemented. fixme:ole:OleLoadPictureEx (0x1596144,107235,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f3f8), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x21d778)->(0x1c1308, 0, (nil)), hacked stub. fixme:ole:OleLoadPictureEx (0x1598e74,2246,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f428), partially implemented. fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x226263c), stub! fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x228ff74), stub! fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x22935cc), stub! fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x2295404), stub! fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x22971f4), stub! fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x229902c), stub! fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x229ae1c), stub! fixme:ole:OleLoadPictureEx (0x1598e74,8000,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f3c8), partially implemented. fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x22dd6f4), stub! fixme:ole:OleLoadPictureEx (0x1598e74,52159,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f368), partially implemented. fixme:ole:OleLoadPictureEx (0x1598e74,7071,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f368), partially implemented. fixme:ole:OleLoadPictureEx (0x1598e74,58975,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f368), partially implemented. fixme:ole:OleLoadPictureEx (0x1598e74,58892,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f368), partially implemented. fixme:ole:OleLoadPictureEx (0x1598e74,59097,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f368), partially implemented. fixme:ole:OleLoadPictureEx (0x1598e74,107235,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f398), partially implemented. fixme:ole:OleLoadPictureEx (0x1598e74,276086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f398), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x1c2940)->(0x22a0068, 0, (nil)), hacked stub. fixme:system:SystemParametersInfoW Unimplemented action: 80 (SPI_GETPOWEROFFTIMEOUT) fixme:system:SystemParametersInfoW Unimplemented action: 82 (SPI_SETPOWEROFFTIMEOUT)
Martin Gregorie
2011-Mar-11 19:49 UTC
[Wine] Running Hitec HPP-22 under wine. (RC device, USB)
On Fri, 2011-03-11 at 12:26 -0700, Linuxguy123 wrote:> When I run the resulting HPP-22 program, it displays "HPP-22 is > disconnected." Ie its not finding the HPP-22 hardware connected to the > PC via a USB cable. > > dmesg states the following: > =====================================================> [263071.342137] usb 6-1: new full speed USB device using uhci_hcd and > address 4 > [263071.514255] usb 6-1: New USB device found, idVendor=1e1a, > idProduct=001f > [263071.514266] usb 6-1: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > [263071.514273] usb 6-1: Product: HPP-22 > [263071.514278] usb 6-1: Manufacturer: HITECRCD Inc > [263071.514283] usb 6-1: SerialNumber: HPP-22-00000 > [263071.524680] generic-usb 0003:1E1A:001F.0005: hiddev97,hidraw2: USB > HID v0.01 Device [HITECRCD Inc HPP-22] on usb-0000:00:1d.1-1/input0 > ======================================================>Does the dmesg display show what device name was assigned to the HPP-22 somewhere in the next few lines? That's normally logged after a USB device is plugged and recognised. It may be easier to spot if you run the command "sudo tail -f /var/log/messages" before you plug the device in - this should let you see all the HPP-22 related messages as that are logged. Use Ctrl-C to exit from tail when you're done with it. Martin