[mythtv-users] TiVo Slide Remote, Linux and Scan Codes

Jarod Wilson jarod at wilsonet.com
Sun Sep 12 03:24:38 UTC 2010


On Sat, Sep 11, 2010 at 10:51 PM, Mike Kluz <mikekluz at optonline.net> wrote:
>  > After that I am now seeing pressed keys from irw!  :)
>
> Another update.
>
> I'm seeing single pressed keys going double on myth.  Also, the lirc daemon
> is either not starting on boot and is crashing after few minutes when I load
> it manually.
>
> Sep 11 22:40:27 MK-Bedroom lircd-0.8.6[1581]: accepted new client on
> /var/run/lirc/lircd
> Sep 11 22:40:27 MK-Bedroom lircd-0.8.6[1581]: initializing
> '/dev/input/by-path/pci-0000:00:06.0-usb-0:1.3:1.0-event-kbd'
> Sep 11 22:40:37 MK-Bedroom ntpd[927]: synchronized to 91.189.94.4, stratum 2
> Sep 11 22:40:37 MK-Bedroom ntpd[927]: kernel time sync status change 2001
> Sep 11 22:40:48 MK-Bedroom blueman-mechanism: Exiting
> Sep 11 22:41:35 MK-Bedroom AptDaemon: INFO: Quiting due to inactivity
> Sep 11 22:41:35 MK-Bedroom AptDaemon: INFO: Shutdown was requested
> Sep 11 22:43:33 MK-Bedroom lircd-0.8.6[1581]: error reading
> '/dev/input/by-path/pci-0000:00:06.0-usb-0:1.3:1.0-event-kbd'
> Sep 11 22:43:33 MK-Bedroom lircd-0.8.6[1581]: caught signal
> Sep 11 22:43:33 MK-Bedroom lircd-0.8.6[1581]: closing
> '/dev/input/by-path/pci-0000:00:06.0-usb-0:1.3:1.0-event-kbd'
>
> stuck again and time for sleep.  :(

At some point, I'll try to do a formal writeup on getting this device
going. There are definitely some gotchas. For one, the actual input
device you need to read from doesn't exist until the remote has been
successfully paired and connected. When it goes to sleep, it
disconnects and the device disappears. I'd neglected to consider that
when suggesting lirc might be usable with it... lircd is okay with
/dev/lircX devices coming and going, notsomuch with devinput devices,
apparently. Another big gotcha is that if you're snarfing all the keys
up in lirc, the keyboard no longer works like a plain keyboard,
everything has to go through lircd (I believe). This is a case where
it would actually be nice if the device presented itself as two
different input devices. Or if we had native input layer support in
mythtv (which is in the works, but complicated by the fact that X
sucks)... :)


-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list