Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users
Lirc - could not open /dev/lirc
 

Index | Next | Previous | View Flat


brian.donaldson at gmail

Oct 25, 2004, 6:45 PM


Views: 2100
Permalink
Lirc - could not open /dev/lirc

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

Subject User Time
Lirc - could not open /dev/lirc brian.donaldson at gmail Oct 25, 2004, 6:45 PM
    Re: Lirc - could not open /dev/lirc bradallenfuller at yahoo Oct 25, 2004, 8:59 PM
        RE: Lirc - could not open /dev/lirc johnny at fishcounts Oct 26, 2004, 12:29 AM
            Re: Re: Lirc - could not open /dev/lirc brian.donaldson at gmail Oct 26, 2004, 4:52 PM
                RE: Re: Lirc - could not open /dev/lirc johnny at fishcounts Oct 26, 2004, 11:16 PM
            Re: Re: Lirc - could not open /dev/lirc jcw at wilsonet Oct 27, 2004, 12:39 AM
                Re: Re: Lirc - could not open /dev/lirc nate.strickland at gmail Oct 28, 2004, 10:41 AM
                    Re: Re: Lirc - could not open /dev/lirc jcw at wilsonet Oct 28, 2004, 12:27 PM
                        Re: Re: Lirc - could not open /dev/lirc nate.strickland at gmail Oct 28, 2004, 3:22 PM
    Re: Lirc - could not open /dev/lirc Axel.Thimm at ATrpms Oct 26, 2004, 12:48 AM
        Re: Lirc - could not open /dev/lirc brian.donaldson at gmail Oct 26, 2004, 6:16 AM
            RE: Re: Lirc - could not open /dev/lirc johnny at fishcounts Oct 26, 2004, 2:16 PM
    Re: Lirc - could not open /dev/lirc jcw at wilsonet Oct 27, 2004, 12:49 AM
    Re: Lirc - could not open /dev/lirc craig at 8010 Oct 28, 2004, 6:46 PM
        Re: Lirc - could not open /dev/lirc craig at 8010 Oct 28, 2004, 6:58 PM
    Re: Lirc - could not open /dev/lirc bradallenfuller at yahoo Nov 5, 2004, 2:54 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.