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

johnny at fishcounts.com johnny at fishcounts.com
Wed Oct 27 06:16:06 UTC 2004


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



More information about the mythtv-users mailing list