[mythtv-users] How do you manually specify a driver for a USB device?

Richard Bronosky mythtv at bronosky.com
Thu Mar 2 16:55:24 UTC 2006


The problem is that there are no Linux drivers for this.  All I can
find on the net are people complaining and giving up.  But, I noticed
that none of them ever really knew what they were doing or what they
were dealing with.

I am in the same, boat, but I am also pretty good at building test
cases to thoroughly scope issues.  I want to find out how to manually
munge the USB subsystem into handling this device the way I want.

I would like to start by mounting it with a driver that is more
generic than the usbhid that is being used now.  My reason for this is
that "xxd /dev/input/event2" gives signals for the buttons that
already work.  (arrows, numbers, enter) And "xxd /dev/usb/hiddev0"
gets signals from the others.

Here is what I have in my /proc/bus/usb/devices
T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 11 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=413c ProdID=2505 Rev= 0.01
S:  Manufacturer=Philips RCS
S:  Product=USB IR Combo Device
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   5 Ivl=10ms

and /proc/bus/input/devices
I: Bus=0003 Vendor=413c Product=2505 Version=0001
N: Name="Philips RCS USB IR Combo Device"
P: Phys=usb-0000:00:02.0-3/input0
H: Handlers=kbd event2
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f

I: Bus=0003 Vendor=413c Product=2505 Version=0001
N: Name="Philips RCS USB IR Combo Device"
P: Phys=usb-0000:00:02.0-3/input1
H: Handlers=kbd mouse1 event3 ts1
B: EV=7
B: KEY=1ffffff 0 18000 21f8 d001d000 9e0000 0 0 0
B: REL=103

The remote looks like this:
http://www.flickr.com/photos/richardbronosky/92962671/

I would love to chat with someone who actually understands the USB
subsystem.  I want to know how to mount a USB device in the rawest
for, so that I can see what the device actually delivers.  That's a
very important step in building this test case.

,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,
       RichardBronosky
,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,


More information about the mythtv-users mailing list