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

johnny at fishcounts.com johnny at fishcounts.com
Tue Oct 26 21:16:38 UTC 2004


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
> 
>



More information about the mythtv-users mailing list