[mythtv-users] Lirc - could not open /dev/lirc

Brian Donaldson brian.donaldson at gmail.com
Tue Oct 26 01:45:53 UTC 2004


I've been running MythTV 0.15 on FC1 for a while, but ran into some
problems with 0.16 and decided to reload with Fedora Core 2 and MythTV
0.16.  I have almost everything working except for a couple things. 
I'm having somewhat interesting issues with Lirc.  I setup MythTV
following Jarod's excellent guide and I also set it to start up
automatically.  When this happens Lirc does not work.  However, if I
execute the following commands and restart mythfrontend then Lirc
works fine.

[root at localhost mythtv]# /sbin/depmod -a
[root at localhost mythtv]# /sbin/modprobe lirc_i2c
[root at localhost mythtv]# /sbin/service lircd start
Starting infrared remote control daemon:                   [  OK  ]
[root at localhost mythtv]# exit
exit
[mythtv at localhost mythtv]$ /usr/bin/irw
00000000000017e5 00 OK hauppaugegrey

Now if I reboot Lirc stops working again.  I'm running Fedora Core 2
with MythTV 0.16.  I have one PVR-250 with the Gray Remote.  Here's
some info that may help:

[mythtv at localhost mythtv]$ cat /etc/modprobe.conf
alias eth0 via-rhine
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
# nvidia kernel module
alias char-major-195 nvidia-1_0-6111
alias char-major-61 lirc_i2c
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
#options ivtv ivtv_debug=1 mpg_buffers=90
#options msp3400 once=1 simple=1
#add below ivtv msp3400 saa7115 tuner
#add above ivtv lirc_dev lirc_i2c
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c

[mythtv at localhost mythtv]$ dmesg |grep lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin:sample_rate: 10

Here's /var/log/messages after rebooting and loading MythTV:

Oct 25 20:28:57 localhost lircd 0.7.0pre8[2251]: accepted new client
on /dev/lircd
Oct 25 20:28:57 localhost kernel: lirc_dev: IR Remote Control driver
registered, at major 61
Oct 25 20:28:57 localhost lircd 0.7.0pre8[2251]: could not open /dev/lirc
Oct 25 20:28:57 localhost lircd 0.7.0pre8[2251]: default_init(): No such device
Oct 25 20:28:57 localhost lircd 0.7.0pre8[2251]: caught signal

[root at localhost mythtv]# ls -l /dev/lirc*
crw-rw-rw-  1 root root 61, 0 Oct 11 13:34 /dev/lirc
srw-rw-rw-  1 root root     0 Oct 25 20:40 /dev/lircd

In a previous post someone suggested going back to Lirc 0.7.0pre7, but
unfortunately I'm not sure the best route to do that.  If that is the
answer can someone give me some tips on how to revert back?

Thanks,

Brian


More information about the mythtv-users mailing list