[mythtv-users] No /dev/lirc
Kevin Hayes
wondecla at tpg.com.au
Sun Sep 9 05:09:44 UTC 2007
On Sat, 08 Sep 2007 23:23:06 -0500
Don Doumakes <doumakes at loganet.net> wrote:
> I'm installing MythTV on a new Ubunto Feisty Fawn system. The last
> obstacle to actually using it for watching TV is getting the remote
> control to work.
>
> I'm using a StreamZap USB remote. I've confirmed that the device is
> registering itself. The output of dmesg | grep usb includes:
>
> [ 36.440370] drivers/usb/serial/pl2303.c: Prolific PL2303 USB to
> serial adaptor driver
> [ 63.037702] lirc_mceusb2: no version for "lirc_get_pdata" found:
> kernel tainted.
> [ 63.042053] lirc_mceusb2: Philips eHome USB IR Transciever and
> Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.25 $
> [ 63.042057] lirc_mceusb2: Daniel Melander <lirc at rajidae.se>, Martin
> Blatter <martin_a_blatter at yahoo.com>
> [ 63.046141] usbcore: registered new interface driver lirc_mceusb2
>
> So far so good. I confirm that the lirc_mceusb2 module is loaded:
>
> root at myth:~# lsmod | grep lirc
> lirc_mceusb2 16004 0
> lirc_dev 18504 1 lirc_mceusb2
> usbcore 154416 7
> lirc_mceusb2,pl2303,usbhid,usbserial,ehci_hcd,ohci_hcd
>
> I've followed the lirc installation instructions at
> <https://help.ubuntu.com/community/Install_Lirc_Feisty>. All goes
> smoothly until it's time to test lirc. irw returns immediately to the
> command prompt, and lircd fails after logging this:
>
> Sep 8 23:03:27 myth lircd-0.8.2-CVS[5097]: accepted new client on
> /dev/lircd
> Sep 8 23:03:27 myth lircd-0.8.2-CVS[5097]: could not get file
> information for /dev/lirc
> Sep 8 23:03:27 myth lircd-0.8.2-CVS[5097]: default_init(): No such file
> or directory
> Sep 8 23:03:27 myth lircd-0.8.2-CVS[5097]: caught signal
>
> And sure enough there's no device file.
>
> root at myth:/var/log# ls -l /dev/lirc*
> srw-rw-rw- 1 root root 0 2007-09-08 22:51 /dev/lircd
>
> I've spent most of today looking at mailing list archives and web pages,
> and really haven't seen a good solution to this problem.
>
> I'm running kernel 2.6.20-16-generic and lircd 0.8.2-CVS. When I run
> modinfo lirc_mceusb2 I get:
>
> filename: /lib/modules/2.6.20-16-generic/misc/lirc_mceusb2.ko
> license: GPL
> author: Daniel Melander <lirc at rajidae.se>, Martin Blatter
> <martin_a_blatter at yahoo.com>
> description: Philips eHome USB IR Transciever and Microsoft MCE 2005
> Remote Control driver for LIRC
> srcversion: DAAD7CBA7AD4D1D17DFE591
> alias: usb:v043Ep9803d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v1509p9242d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v195Dp7002d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v179Dp0010d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v1784p0001d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v03EEp2501d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v107Bp3009d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v1308pC001d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v1460p9150d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v0609p0322d*dc*dsc*dp*ic*isc*ip*
> alias: usb:v0609p031Dd*dc*dsc*dp*ic*isc*ip*
> alias: usb:v0471p0815d*dc*dsc*dp*ic*isc*ip*
> depends: usbcore
> vermagic: 2.6.20-16-generic SMP mod_unload
> parm: debug:Debug enabled or not (bool)
>
> Seems to match the kernel version, so I'm out of ideas. I hope one of
> you can point me toward the answer, or at least toward the right question.
>
> This is my first Ubuntu system, so I've got about one day of experience
> with the package management tools.
>
> --
> Don Doumakes
>
A quick and dirty workaround is to put a line in rc.local
(or at least somewhere before lircd is started)
ln -s /dev/lirc0 /dev/lirc
--
Kevin Hayes
More information about the mythtv-users
mailing list