[mythtv-users] Configuring lirc for imon with kernel 3.0
david at istwok.net
Fri Jan 6 22:14:02 UTC 2012
On Fri, Jan 06, 2012 at 09:31:37PM +0000, Gavin Whitehead wrote:
> I'm having getting my remote to work with my iMON (Antec Veris) via lirc
> under Ubuntu 11.10.
> I have an Antec Veris Fusion Black with a VFD iMon; the output from 'cat
> /proc/bus/input/devices' includes this:
> I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
> N: Name="iMON Remote (15c2:ffdc)"
> P: Phys=usb-0000:00:13.0-1/input0
> S: Sysfs=/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/rc/rc1/input6
> U: Uniq=
> H: Handlers=kbd event6
> B: PROP=0
> B: EV=100013
> B: KEY=fff 0 108fc326 217604100000000 0 400118000 418000000001
> 9e968000000000 10000000
> B: MSC=10
> I also have the following hardware in/attached to the box:
> - Hauppauge NOVA-HD-S2 (PCI)
> - TBS 6981 PCIe DVB-S2 Dual
> - Hauppauge NOVA-T USB stick
> - Hauppauge NOVA-TD (with diversity) USB stick
> I am running Ubuntu 11.10 with kernel 220.127.116.11-generic #23-Ubuntu.
> My remote is a Logitech Harmony 555 configured as an MCE remote.
> After a fresh install of 11.10 the remote shows some signs of working
> with Ubuntu. That is, I have installed Ubuntu 11.10, configured the
> Harmony remote with an MCE device and pressed all the buttons on the
> remote. Three buttons work, 'Vol Up', 'Vol Down' and 'Mute'. So I go
> to check my lircd.conf file to find that there isn't one. In fact, the
> lirc package is not installed.
> A quick look in 'syslog' shows some lines referring to lirc:
> lirc_dev: IR Remote Control driver registered, major 249
> IR LIRC bridge handler initialized
> And a quick google reveals the lirc is now in the kernel. But how do I
> configure it?
> I have tried installing lirc 0.9.0-ubuntu1 and selecting 'Soundgraph
> iMON Antec Veris' as my 'Remote control configuration' (with 'None' for
> the transmitter). Installation appeared to succeed and the daemon
> started but the following appeared in 'syslog':
> kernel: [ 951.388120] lirc_imon: module is from the staging
> directory, the quality is unknown, you have been warned.
> kernel: [ 951.388661] lirc_imon: Driver for SoundGraph iMON
> MultiMedia IR/Display, v0.8
> kernel: [ 951.388752] usbcore: registered new interface driver
> kernel: [ 951.418679] imon 5-1:1.0: Looks like you're trying to
> use an IR protocol this device does not support
> kernel: [ 951.418689] imon 5-1:1.0: Unsupported IR protocol
> specified, overriding to iMON IR protocol
> lircd-0.9.0: lircd(default) ready, using /var/run/lirc/lircd
> And now none of the remote keys work.
> If I now run 'sudo /etc/init.d/lirc stop' then the 'Vol Up', 'Vol Down'
> and 'Mute' keys on the remote start working again.
> The '/etc/lirc/hardware.conf' generated during the lirc installation
> REMOTE_MODULES="lirc_dev lirc_imon"
> Can some one help me to get to grips with configuring lirc in the
> kernel. If more information is needed just say.
Newer kernels have built in support for imon receivers, but it uses
the input subsystem in the kernel instead of lirc.
If you setup your keymap (search foo ir-keytable) such that only codes
<= 255 are used, you don't need lirc at all. Just map the remote
button to the input key you want MythTV to see. That's what I do.
The need for only using codes <= 255 is because of a long standing
limitation in X Windows.
If you really, really, really want to still use lirc, you still can.
In that case, you need to tell lircd to use the devinput driver.
david at istwok.net
More information about the mythtv-users