2014-03-25, 23:50
Evening All,
I'm currently trying to get my HTPC remote setup.
I've got the following:
I've followed the steps outlined on the XBMC Wiki here: http://wiki.xbmc.org/index.php?title=MS-...200_Remote
However when I start inputlirc, it fails with:
The irremote input dev's appear to be setup OK:
The bus input devices look like:
And udev rules look like:
By removing /dev/input/irremote1 from /etc/defaults/inputlirc, I can get the inputlirc process to start. However irw shows no IR codes
Any pointers on the first ioctl issue?
Cheers
Gav
I'm currently trying to get my HTPC remote setup.
I've got the following:
- MS-Tech MC-1200 Case
- Logitech Harmony One remote
- XBMCBuntu 12.2 Intel-NVidia
I've followed the steps outlined on the XBMC Wiki here: http://wiki.xbmc.org/index.php?title=MS-...200_Remote
However when I start inputlirc, it fails with:
Quote:Mar 25 21:20:46 htpc inputlircd: Failed to grab /dev/input/irremote1: Inappropriate ioctl for device
Mar 25 21:20:46 htpc inputlircd: Started
Mar 25 21:20:46 htpc kernel: [ 1139.783942] inputlircd[3998]: segfault at dfe49268 ip 08049739 sp bfe49200 error 7 in inputlircd[8048000+4000]
The irremote input dev's appear to be setup OK:
Code:
$ ll /dev/input/irremote*
lrwxrwxrwx 1 root root 6 Mar 25 21:01 /dev/input/irremote0 -> event5
lrwxrwxrwx 1 root root 6 Mar 25 21:01 /dev/input/irremote1 -> mouse1
The bus input devices look like:
Code:
I: Bus=0003 Vendor=04b4 Product=0101 Version=0100
N: Name="Cypress Cypress USB Keyboard / PS2 Mouse"
P: Phys=usb-0000:00:14.0-7/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/input/input5
U: Uniq=
H: Handlers=sysrq kbd event5
B: PROP=0
B: EV=120013
B: KEY=800000 0 e0b0ffdf 1cfffff ffffffff fffffffe
B: MSC=10
B: LED=1f
I: Bus=0003 Vendor=04b4 Product=0101 Version=0100
N: Name="Cypress Cypress USB Keyboard / PS2 Mouse"
P: Phys=usb-0000:00:14.0-7/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1/input/input6
U: Uniq=
H: Handlers=kbd mouse1 event6
B: PROP=0
B: EV=17
B: KEY=70000 0 2010000 3978 d840d000 1e0000 0 0 0
B: REL=103
B: MSC=10
And udev rules look like:
Code:
$ cat /etc/udev/rules.d/10-irremote.rules
SUBSYSTEM=="input",ATTRS{phys}=="usb-0000:00:14.0-7/input0",SYMLINK="input/irremote0"
SUBSYSTEM=="input",ATTRS{phys}=="usb-0000:00:14.0-7/input1",SYMLINK="input/irremote1"
By removing /dev/input/irremote1 from /etc/defaults/inputlirc, I can get the inputlirc process to start. However irw shows no IR codes
Any pointers on the first ioctl issue?
Cheers
Gav