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

johnny at fishcounts.com johnny at fishcounts.com
Tue Oct 26 07:29:58 UTC 2004


I don't know if this will help or not but when I had that problem 2 days ago
with my x10 lola for some reason lirc was saying my remote codes were
different than what they were when they were working before my upgrade. I
did an irrecord and pressed several buttons and I noticed they were pretty
much all different. I remade a new lircd.conf and restarted lircd then irw
showed the proper button presses.


 
________________________________

Johnny Lee

Email: wpcprez at gmail.com

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Brad Fuller
Sent: Monday, October 25, 2004 9:00 PM
To: Brian Donaldson; Discussion about mythtv
Subject: Re: [mythtv-users] Lirc - could not open /dev/lirc



Brian Donaldson wrote:

>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?
>  
>
That is the same exact symptom that I have. Strange.  I also have a 
FC2,. PVR-250 and the latest ivtv/mythtv from ATrpms. The only thing 
different, I believe, is that I have to stop lircd first before I 
depmod/modprobe and restart lircd.

I too wish I could find out why this is, too. I'll monitor this post!



_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list