Linux Trying to setup MS-Tech MC-1200 Remote with Harmony One
#1
Evening All,

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 Sad

Any pointers on the first ioctl issue?

Cheers
Gav
Reply
#2
I have almost exactly the same setup. Xbmcbuntu 13 in stead of 12.2. How did you configure your Harmony? I have set the mc-1200 as device, and it works without following the wiki. I think that wiki is for xbmc on a regular Linux install. Xbmcbuntu should have it working by default.

I'm struggling with the power button though. The universal power off button doesn't do anything. The power toggle on the touchscreen only brings up the menu where the shutdown button is located. I want it to immediatly shut down the device.
Reply

Logout Mark Read Team Forum Stats Members Help
Trying to setup MS-Tech MC-1200 Remote with Harmony One0