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

Mailing List Archive: MythTV: Users

Lirc - could not open /dev/lirc

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


brian.donaldson at gmail

Oct 25, 2004, 6:45 PM

Post #1 of 16 (2089 views)
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


bradallenfuller at yahoo

Oct 25, 2004, 8:59 PM

Post #2 of 16 (2062 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

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


johnny at fishcounts

Oct 26, 2004, 12:29 AM

Post #3 of 16 (2049 views)
Permalink
RE: Lirc - could not open /dev/lirc [In reply to]

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


Axel.Thimm at ATrpms

Oct 26, 2004, 12:48 AM

Post #4 of 16 (2063 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

On Mon, Oct 25, 2004 at 08:45:53PM -0500, Brian Donaldson wrote:
> [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.

The commands above are for the current session, if you want to make
them persistant across reboots, you'd have to edit /etc/modprobe.conf
and use chkconfig.
--
Axel.Thimm at ATrpms.net


brian.donaldson at gmail

Oct 26, 2004, 6:16 AM

Post #5 of 16 (2057 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

On Tue, 26 Oct 2004 09:48:27 +0200, Axel Thimm <axel.thimm[at]atrpms.net> wrote:
> On Mon, Oct 25, 2004 at 08:45:53PM -0500, Brian Donaldson wrote:
> > [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.
>
> The commands above are for the current session, if you want to make
> them persistant across reboots, you'd have to edit /etc/modprobe.conf
> and use chkconfig.
> --
> Axel.Thimm at ATrpms.net
>

Thanks for the help so far. I did try the chkconfig command, but it
still does not work. I think it was "/sbin/chkconfig lircd on". Here
is my current /etc/modprobe.conf file. What additional lines would
you suggest I add?

[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

Thanks,

Brian
>
>


johnny at fishcounts

Oct 26, 2004, 2:16 PM

Post #6 of 16 (2051 views)
Permalink
RE: Re: Lirc - could not open /dev/lirc [In reply to]

Chkconfig --level 35 lircd on



________________________________

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 Brian Donaldson
Sent: Tuesday, October 26, 2004 6:16 AM
To: Discussion about mythtv
Subject: [mythtv-users] Re: Lirc - could not open /dev/lirc

On Tue, 26 Oct 2004 09:48:27 +0200, Axel Thimm <axel.thimm[at]atrpms.net>
wrote:
> On Mon, Oct 25, 2004 at 08:45:53PM -0500, Brian Donaldson wrote:
> > [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.
>
> The commands above are for the current session, if you want to make
> them persistant across reboots, you'd have to edit /etc/modprobe.conf
> and use chkconfig.
> --
> Axel.Thimm at ATrpms.net
>

Thanks for the help so far. I did try the chkconfig command, but it
still does not work. I think it was "/sbin/chkconfig lircd on". Here
is my current /etc/modprobe.conf file. What additional lines would
you suggest I add?

[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

Thanks,

Brian
>
>


brian.donaldson at gmail

Oct 26, 2004, 4:52 PM

Post #7 of 16 (2058 views)
Permalink
Re: Re: Lirc - could not open /dev/lirc [In reply to]

On Tue, 26 Oct 2004 14:16:38 -0700, johnny[at]fishcounts.com
<johnny[at]fishcounts.com> wrote:
> Chkconfig --level 35 lircd on

I tried this command. Unfortunately Lirc still doesn't work after a reboot.

>
>
>
>
> ________________________________
>
> 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 Brian Donaldson
> Sent: Tuesday, October 26, 2004 6:16 AM
> To: Discussion about mythtv
> Subject: [mythtv-users] Re: Lirc - could not open /dev/lirc
>
> On Tue, 26 Oct 2004 09:48:27 +0200, Axel Thimm <axel.thimm[at]atrpms.net>
> wrote:
> > On Mon, Oct 25, 2004 at 08:45:53PM -0500, Brian Donaldson wrote:
> > > [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.
> >
> > The commands above are for the current session, if you want to make
> > them persistant across reboots, you'd have to edit /etc/modprobe.conf
> > and use chkconfig.
> > --
> > Axel.Thimm at ATrpms.net
> >
>
> Thanks for the help so far. I did try the chkconfig command, but it
> still does not work. I think it was "/sbin/chkconfig lircd on". Here
> is my current /etc/modprobe.conf file. What additional lines would
> you suggest I add?
>
> [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
>
> Thanks,
>
> Brian
> >
> >
>
>


johnny at fishcounts

Oct 26, 2004, 11:16 PM

Post #8 of 16 (2047 views)
Permalink
RE: Re: Lirc - could not open /dev/lirc [In reply to]

Make sure in your /etc/modules.conf you have a line that says something like
this

alias char-major-61 lirc_xxxx

It can be whichever lirc module you use... Here are the ones to choose from

lirc_atiusb.o
lirc_bt829.o
lirc_dev.o
lirc_gpio.o
lirc_i2c.o
lirc_it87.o
lirc_mceusb.o
lirc_serial.o
lirc_sir.o

Goodluck.



________________________________

Johnny Lee

Email: wpcprez[at]gmail.com

-----Original Message-----
From: Brian Donaldson [mailto:brian.donaldson[at]gmail.com]
Sent: Tuesday, October 26, 2004 4:53 PM
To: johnny[at]fishcounts.com
Cc: Discussion about mythtv
Subject: Re: [mythtv-users] Re: Lirc - could not open /dev/lirc

On Tue, 26 Oct 2004 14:16:38 -0700, johnny[at]fishcounts.com
<johnny[at]fishcounts.com> wrote:
> Chkconfig --level 35 lircd on

I tried this command. Unfortunately Lirc still doesn't work after a reboot.

>
>
>
>
> ________________________________
>
> 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 Brian Donaldson
> Sent: Tuesday, October 26, 2004 6:16 AM
> To: Discussion about mythtv
> Subject: [mythtv-users] Re: Lirc - could not open /dev/lirc
>
> On Tue, 26 Oct 2004 09:48:27 +0200, Axel Thimm <axel.thimm[at]atrpms.net>
> wrote:
> > On Mon, Oct 25, 2004 at 08:45:53PM -0500, Brian Donaldson wrote:
> > > [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.
> >
> > The commands above are for the current session, if you want to make
> > them persistant across reboots, you'd have to edit /etc/modprobe.conf
> > and use chkconfig.
> > --
> > Axel.Thimm at ATrpms.net
> >
>
> Thanks for the help so far. I did try the chkconfig command, but it
> still does not work. I think it was "/sbin/chkconfig lircd on". Here
> is my current /etc/modprobe.conf file. What additional lines would
> you suggest I add?
>
> [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
>
> Thanks,
>
> Brian
> >
> >
>
>


jcw at wilsonet

Oct 27, 2004, 12:39 AM

Post #9 of 16 (2042 views)
Permalink
Re: Re: Lirc - could not open /dev/lirc [In reply to]

Unfortunately, I have no suggestions for the OP, short of backing off to
lircd-0.7.0pre7, since lots of folks seem to have had problems with pre8, but
I would certainly like to clear a few things up here...

On Tuesday 26 October 2004 23:16, johnny[at]fishcounts.com wrote:
> Make sure in your /etc/modules.conf you have a line that says something
> like this
>
> alias char-major-61 lirc_xxxx

Er, Johnny, look at the stuff you quoted. He already has that in his module
config file, which by the way, is not /etc/modules.conf,
its /etc/modprobe.conf.

> It can be whichever lirc module you use... Here are the ones to choose from
>
> lirc_atiusb.o
> lirc_bt829.o
> lirc_dev.o
> lirc_gpio.o
> lirc_i2c.o
> lirc_it87.o
> lirc_mceusb.o
> lirc_serial.o
> lirc_sir.o

This isn't quite correct. The .o part should be left off. And by the way, the
modules are .ko w/2.6 kernels, which his distribution uses.

> On Tue, 26 Oct 2004 14:16:38 -0700, johnny[at]fishcounts.com
>
> > Chkconfig --level 35 lircd on

'chkconfig lircd on' is sufficient. The default is --level 345, so there's no
need to include the level flag.

> > -----Original Message-----
> > From: Brian Donaldson
[...]
> > Thanks for the help so far. I did try the chkconfig command, but it
> > still does not work. I think it was "/sbin/chkconfig lircd on". Here
> > is my current /etc/modprobe.conf file. What additional lines would
> > you suggest I add?
> >
> > [mythtv[at]localhost mythtv]$ cat /etc/modprobe.conf
[...]
> > alias char-major-61 lirc_i2c

--
Jarod C. Wilson, RHCE
jcw[at]wilsonet.com

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/


jcw at wilsonet

Oct 27, 2004, 12:49 AM

Post #10 of 16 (2048 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

On Monday 25 October 2004 18:45, Brian Donaldson wrote:
[...]
> 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?

Not sure if you ever got the tip on how to do this or not, so here goes...

First, start off with an apt-get update, so your local metadata reflects the
reality of what packages are out there. Next, fire off the command "apt-cache
policy lirc". This should return some info similar to this:

$ apt-cache policy lirc
lirc:
Installed: 0.7.0-38_pre7.rhfc1.at
Candidate: 0.7.0-41_pre8.rhfc1.at
Version Table:
0.7.0-41_pre8.rhfc1.at 0
996 http://apt.atrpms.net fedora/1/en/i386/at-testing pkglist
0.7.0-40_pre8.rhfc1.at 0
996 http://apt.atrpms.net fedora/1/en/i386/at-testing pkglist
0.7.0-38_pre7.rhfc1.at 0
996 http://apt.atrpms.net fedora/1/en/i386/at-testing pkglist

Judging from this output, what you want is:

apt-get install lirc=0.7.0-38_pre7.rhfc1.at

You'll need to do something similar for lirc-lib and
kernel-module-lirc-`uname-r` I believe.

--
Jarod C. Wilson, RHCE
jcw[at]wilsonet.com

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/


nate.strickland at gmail

Oct 28, 2004, 10:41 AM

Post #11 of 16 (2021 views)
Permalink
Re: Re: Lirc - could not open /dev/lirc [In reply to]

modules.conf vs modprobe.conf depends on the distro. Gentoo uses
modules.conf. they do pretty much the same thing

-Nate

On Wed, 27 Oct 2004 00:39:54 -0700, Jarod Wilson <jcw[at]wilsonet.com> wrote:
> Unfortunately, I have no suggestions for the OP, short of backing off to
> lircd-0.7.0pre7, since lots of folks seem to have had problems with pre8, but
> I would certainly like to clear a few things up here...
>
> On Tuesday 26 October 2004 23:16, johnny[at]fishcounts.com wrote:
> > Make sure in your /etc/modules.conf you have a line that says something
> > like this
> >
> > alias char-major-61 lirc_xxxx
>
> Er, Johnny, look at the stuff you quoted. He already has that in his module
> config file, which by the way, is not /etc/modules.conf,
> its /etc/modprobe.conf.
>
> > It can be whichever lirc module you use... Here are the ones to choose from
> >
> > lirc_atiusb.o
> > lirc_bt829.o
> > lirc_dev.o
> > lirc_gpio.o
> > lirc_i2c.o
> > lirc_it87.o
> > lirc_mceusb.o
> > lirc_serial.o
> > lirc_sir.o
>
> This isn't quite correct. The .o part should be left off. And by the way, the
> modules are .ko w/2.6 kernels, which his distribution uses.
>
> > On Tue, 26 Oct 2004 14:16:38 -0700, johnny[at]fishcounts.com
> >
> > > Chkconfig --level 35 lircd on
>
> 'chkconfig lircd on' is sufficient. The default is --level 345, so there's no
> need to include the level flag.
>
>
>
> > > -----Original Message-----
> > > From: Brian Donaldson
> [...]
> > > Thanks for the help so far. I did try the chkconfig command, but it
> > > still does not work. I think it was "/sbin/chkconfig lircd on". Here
> > > is my current /etc/modprobe.conf file. What additional lines would
> > > you suggest I add?
> > >
> > > [mythtv[at]localhost mythtv]$ cat /etc/modprobe.conf
> [...]
> > > alias char-major-61 lirc_i2c
>
> --
> Jarod C. Wilson, RHCE
> jcw[at]wilsonet.com
>
> Got a question? Read this first...
> http://catb.org/~esr/faqs/smart-questions.html
> MythTV, Fedora Core & ATrpms documentation:
> http://wilsonet.com/mythtv/
> MythTV Searchable Mailing List Archive
> http://www.gossamer-threads.com/lists/mythtv/
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>


jcw at wilsonet

Oct 28, 2004, 12:27 PM

Post #12 of 16 (2027 views)
Permalink
Re: Re: Lirc - could not open /dev/lirc [In reply to]

On Thursday 28 October 2004 10:41, nate s wrote:
> modules.conf vs modprobe.conf depends on the distro.

I know that.

> Gentoo uses modules.conf.

I know that too.

> they do pretty much the same thing

And I also know that.

I was pointing out that Johnny's advice was mostly useless, because he didn't
read very carefully, as the OP stated he had the lirc line already in
his /etc/modprobe.conf file.


> On Wed, 27 Oct 2004 00:39:54 -0700, Jarod Wilson <jcw[at]wilsonet.com> wrote:
> > Unfortunately, I have no suggestions for the OP, short of backing off to
> > lircd-0.7.0pre7, since lots of folks seem to have had problems with pre8,
> > but I would certainly like to clear a few things up here...
> >
> > On Tuesday 26 October 2004 23:16, johnny[at]fishcounts.com wrote:
> > > Make sure in your /etc/modules.conf you have a line that says something
> > > like this
> > >
> > > alias char-major-61 lirc_xxxx
> >
> > Er, Johnny, look at the stuff you quoted. He already has that in his
> > module config file, which by the way, is not /etc/modules.conf,
> > its /etc/modprobe.conf.
> >
> > > It can be whichever lirc module you use... Here are the ones to choose
> > > from
> > >
> > > lirc_atiusb.o
> > > lirc_bt829.o
> > > lirc_dev.o
> > > lirc_gpio.o
> > > lirc_i2c.o
> > > lirc_it87.o
> > > lirc_mceusb.o
> > > lirc_serial.o
> > > lirc_sir.o
> >
> > This isn't quite correct. The .o part should be left off. And by the way,
> > the modules are .ko w/2.6 kernels, which his distribution uses.
> >
> > > On Tue, 26 Oct 2004 14:16:38 -0700, johnny[at]fishcounts.com
> > >
> > > > Chkconfig --level 35 lircd on
> >
> > 'chkconfig lircd on' is sufficient. The default is --level 345, so
> > there's no need to include the level flag.
> >
> > > > -----Original Message-----
> > > > From: Brian Donaldson
> >
> > [...]
> >
> > > > Thanks for the help so far. I did try the chkconfig command, but it
> > > > still does not work. I think it was "/sbin/chkconfig lircd on".
> > > > Here is my current /etc/modprobe.conf file. What additional lines
> > > > would you suggest I add?
> > > >
> > > > [mythtv[at]localhost mythtv]$ cat /etc/modprobe.conf
> >
> > [...]
> >
> > > > alias char-major-61 lirc_i2c

--
Jarod C. Wilson, RHCE
jcw[at]wilsonet.com

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/


nate.strickland at gmail

Oct 28, 2004, 3:22 PM

Post #13 of 16 (2018 views)
Permalink
Re: Re: Lirc - could not open /dev/lirc [In reply to]

Ah, sorry, I didn't read your post closely enough :)


On Thu, 28 Oct 2004 12:27:06 -0700, Jarod Wilson <jcw[at]wilsonet.com> wrote:
> On Thursday 28 October 2004 10:41, nate s wrote:
> > modules.conf vs modprobe.conf depends on the distro.
>
> I know that.
>
> > Gentoo uses modules.conf.
>
> I know that too.
>
> > they do pretty much the same thing
>
> And I also know that.
>
> I was pointing out that Johnny's advice was mostly useless, because he didn't
> read very carefully, as the OP stated he had the lirc line already in
> his /etc/modprobe.conf file.
>
>
>
>
> > On Wed, 27 Oct 2004 00:39:54 -0700, Jarod Wilson <jcw[at]wilsonet.com> wrote:
> > > Unfortunately, I have no suggestions for the OP, short of backing off to
> > > lircd-0.7.0pre7, since lots of folks seem to have had problems with pre8,
> > > but I would certainly like to clear a few things up here...
> > >
> > > On Tuesday 26 October 2004 23:16, johnny[at]fishcounts.com wrote:
> > > > Make sure in your /etc/modules.conf you have a line that says something
> > > > like this
> > > >
> > > > alias char-major-61 lirc_xxxx
> > >
> > > Er, Johnny, look at the stuff you quoted. He already has that in his
> > > module config file, which by the way, is not /etc/modules.conf,
> > > its /etc/modprobe.conf.
> > >
> > > > It can be whichever lirc module you use... Here are the ones to choose
> > > > from
> > > >
> > > > lirc_atiusb.o
> > > > lirc_bt829.o
> > > > lirc_dev.o
> > > > lirc_gpio.o
> > > > lirc_i2c.o
> > > > lirc_it87.o
> > > > lirc_mceusb.o
> > > > lirc_serial.o
> > > > lirc_sir.o
> > >
> > > This isn't quite correct. The .o part should be left off. And by the way,
> > > the modules are .ko w/2.6 kernels, which his distribution uses.
> > >
> > > > On Tue, 26 Oct 2004 14:16:38 -0700, johnny[at]fishcounts.com
> > > >
> > > > > Chkconfig --level 35 lircd on
> > >
> > > 'chkconfig lircd on' is sufficient. The default is --level 345, so
> > > there's no need to include the level flag.
> > >
> > > > > -----Original Message-----
> > > > > From: Brian Donaldson
> > >
> > > [...]
> > >
> > > > > Thanks for the help so far. I did try the chkconfig command, but it
> > > > > still does not work. I think it was "/sbin/chkconfig lircd on".
> > > > > Here is my current /etc/modprobe.conf file. What additional lines
> > > > > would you suggest I add?
> > > > >
> > > > > [mythtv[at]localhost mythtv]$ cat /etc/modprobe.conf
> > >
> > > [...]
> > >
> > > > > alias char-major-61 lirc_i2c
>
> --
> Jarod C. Wilson, RHCE
> jcw[at]wilsonet.com
>
> Got a question? Read this first...
> http://catb.org/~esr/faqs/smart-questions.html
> MythTV, Fedora Core & ATrpms documentation:
> http://wilsonet.com/mythtv/
> MythTV Searchable Mailing List Archive
> http://www.gossamer-threads.com/lists/mythtv/
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>


craig at 8010

Oct 28, 2004, 6:46 PM

Post #14 of 16 (2033 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

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
>

am not an expert on these kind of things.. but I had the same problem
after a recent apt-get dist-upgrade

until i figure it out i just added a "/sbin/modprobe lirc_gpio" to the
end of /etc/rc.local

I *do* have "alias char-major-61 lirc_gpio" in my /etc/modprobe.conf and
I was under the impression this should load lirc_gpio on boot.. and it
*was* working until this update..

this seems to have fixed things for now..

hth

Craig


craig at 8010

Oct 28, 2004, 6:58 PM

Post #15 of 16 (2024 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

Craig Tinson wrote:

> until i figure it out i just added a "/sbin/modprobe lirc_gpio" to the
> end of /etc/rc.local

oh.. and a "/etc/rc.d/init.d/lircd restart" too

Craig


bradallenfuller at yahoo

Nov 5, 2004, 2:54 PM

Post #16 of 16 (1960 views)
Permalink
Re: Lirc - could not open /dev/lirc [In reply to]

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?
>
>Thanks,
>
>Brian
>
>
Brian,
Did you ever get lircd to work after boot? I'm still having off and on
success.

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

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


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