You are not logged in.

#1 2012-06-05 06:15:14

spiky25
Member
Registered: 2009-09-29
Posts: 134

[htpc remote] hardware hack challenge

I'm trying to use this ir receiver http://en.wikipedia.org/wiki/File:Big_b … emotes.JPG with this driver https://github.com/micolous/xbox360bb with lirc for this remote http://en.wikipedia.org/wiki/File:Xbox_360_remote.png using theses config files http://forum.xbmc.org/showthread.php?ti … #pid500134 ...

For now I see the ir receiver well as 4 receivers but my remote don't work, I need to select a input device so one of the 4 receivers than link it in my hardware.conf file ...

Dmesg :

[ 7.255652] xbox360bb: ... name='Microsoft X-Box 360 Big Button IR green controller'
[ 7.255662] xbox360bb: ... phys='usb-0000:00:1d.0-1/input0'
[ 7.255667] xbox360bb: ... input_set_drvdata
[ 7.255675] xbox360bb: ... input_register_device
[ 7.255861] input: Microsoft X-Box 360 Big Button IR green controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input5
[ 7.256039] xbox360bb: returned from input_register_device, error=0
[ 7.256046] xbox360bb: making input dev 1
[ 7.256054] xbox360bb: ... name='Microsoft X-Box 360 Big Button IR red controller'
[ 7.256061] xbox360bb: ... phys='usb-0000:00:1d.0-1/input1'
[ 7.256065] xbox360bb: ... input_set_drvdata
[ 7.256070] xbox360bb: ... input_register_device
[ 7.256186] input: Microsoft X-Box 360 Big Button IR red controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input6
[ 7.256337] xbox360bb: returned from input_register_device, error=0
[ 7.256344] xbox360bb: making input dev 2
[ 7.256352] xbox360bb: ... name='Microsoft X-Box 360 Big Button IR blue controller'
[ 7.256358] xbox360bb: ... phys='usb-0000:00:1d.0-1/input2'
[ 7.256362] xbox360bb: ... input_set_drvdata
[ 7.256367] xbox360bb: ... input_register_device
[ 7.256482] input: Microsoft X-Box 360 Big Button IR blue controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input7
[ 7.257083] xbox360bb: returned from input_register_device, error=0
[ 7.257090] xbox360bb: making input dev 3
[ 7.257099] xbox360bb: ... name='Microsoft X-Box 360 Big Button IR yellow controller'
[ 7.257105] xbox360bb: ... phys='usb-0000:00:1d.0-1/input3'
[ 7.257109] xbox360bb: ... input_set_drvdata
[ 7.257116] xbox360bb: ... input_register_device
[ 7.257236] input: Microsoft X-Box 360 Big Button IR yellow controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input8
[ 7.257424] xbox360bb: returned from input_register_device, error=0
[ 7.257494] usbcore: registered new interface driver xbox360bb
[ 7.257501] xbox360bb: X-Box 360 big-buttons driver

Part of my sudo /etc/rc.d/lircd restart errors :

/etc/conf.d/lircd.conf: line?: *** : unfindable command (translated)
Unrecognized option: 0x0B97

Checking if all work :

$ dmesg | grep -i lirc
[ 1132.043574] lirc_dev: IR Remote Control driver registered, major 251

Input devices listed by it :

$ cat /proc/bus/input/devices

I: Bus=0003 Vendor=045e Product=02a0 Version=0102
N: Name="Microsoft X-Box 360 Big Button IR green controller"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input5
U: Uniq=
H: Handlers=event5 js0
B: PROP=0
B: EV=b
B: KEY=581b000000400000 0 0 0 0
B: ABS=3

I: Bus=0003 Vendor=045e Product=02a0 Version=0102
N: Name="Microsoft X-Box 360 Big Button IR red controller"
P: Phys=usb-0000:00:1d.0-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input6
U: Uniq=
H: Handlers=event6 js1
B: PROP=0
B: EV=b
B: KEY=581b000000400000 0 0 0 0
B: ABS=3

I: Bus=0003 Vendor=045e Product=02a0 Version=0102
N: Name="Microsoft X-Box 360 Big Button IR blue controller"
P: Phys=usb-0000:00:1d.0-1/input2
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input7
U: Uniq=
H: Handlers=event7 js2
B: PROP=0
B: EV=b
B: KEY=581b000000400000 0 0 0 0
B: ABS=3

I: Bus=0003 Vendor=045e Product=02a0 Version=0102
N: Name="Microsoft X-Box 360 Big Button IR yellow controller"
P: Phys=usb-0000:00:1d.0-1/input3
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input8
U: Uniq=
H: Handlers=event8 js3
B: PROP=0
B: EV=b
B: KEY=581b000000400000 0 0 0 0
B: ABS=3

lsmod parts that may be useful :

ir_lirc_codec           4027  0 
ir_mce_kbd_decoder      3254  0 
ir_sanyo_decoder        1677  0 
ir_sony_decoder         1579  0 
ir_jvc_decoder          1673  0 
ir_rc6_decoder          2153  0 
ir_rc5_decoder          1609  0 
ir_nec_decoder          1705  0 
mceusb                 13162  0 
rc_core                13280  9 mceusb,ir_nec_decoder,ir_rc5_decoder,ir_rc6_decoder,ir_jvc_decoder,ir_sony_decoder,ir_sanyo_decoder,ir_mce_kbd_decoder,ir_lirc_codec
lirc_dev                9359  1 ir_lirc_codec
xbox360bb               4929  0 
usbcore               146847  6 ehci_hcd,uhci_hcd,xbox360bb,uvcvideo,mceusb

lsusb part :

Bus 002 Device 002: ID 045e:02a0 Microsoft Corp. Xbox360 Big Button IR

Last edited by spiky25 (2012-06-05 06:22:09)


English isn't my native langage

Offline

Board footer

Powered by FluxBB