How would I get the raw data from a USB device ? (Transmitter USB adapter driver)
Linuxguy123
linuxguy123 at gmail.com
Fri Jun 26 16:34:35 UTC 2009
I am fooling around with a Futaba 7C rc transmitter connected to my F11
computer via a USB adapter cable.
Linux has a bit of a problem recognizing the adapter device. Dmesg
gives me this:
usb 5-2: USB disconnect, address 2
usb 5-1: new low speed USB device using uhci_hcd and address 3
usb 5-1: New USB device found, idVendor=0401, idProduct=0401
usb 5-1: New USB device strings: Mfr=4, Product=2, SerialNumber=0
usb 5-1: Product: PPM▒▒▒▒▒▒▒▒▒▒▒
usb 5-1: Manufacturer: ?
usb 5-1: configuration #1 chosen from 1 choice
input: ? PPM▒▒▒▒▒▒▒▒▒▒▒
as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input17
generic-usb 0003:0401:0401.0003: input,hidraw1: USB HID v1.00 Joystick
[? PPM▒▒▒▒▒▒▒▒▒▒▒] on usb-0000:00:1d.0-1/input0
warning: process `/usr/share/hwbr' used the deprecated sysctl system
call with 1.23.
The transmitter gets installed as a joystick and it works, but there are
issues with the stick travels and none of the buttons work.
How would I look at the raw data that is coming from the USB device ?
Ie the data before the driver handles it ? I'd like to do this in C or
in Python.
Thanks
More information about the fedora-list
mailing list