[mythtv-users] lirc almost solved

Claude Gélinas agr. claude at phyto.qc.ca
Mon Mar 26 04:51:08 UTC 2007


Le lundi 26 mars 2007 à 15:55 +1200, Robin Gilks a écrit :

> 
> Sounds to me as though you are logging in as the wrong user in auto mode.
> 
> Either that or your system does not set the $HOME environmental variable
> correctly when using autologin.
> 
> Maybe you can change the script that starts mythfrontend to echo the
> environment to a file so you can check it against what you see when using
> an ssh connection.
> 
> 

Now it work. I've done two things.

reverse the ~/.mythtv/lircrc and ~/.lircrc as the symlink was done the
wrong way. Now the link is .lircrc -> .mythtv/lircrc

I also find that the lirc_i2c module was not loaded and lircd no started
before the mythfrontend was started. So I kill the mythfrontend then 

/sbin/modprobe lirc_i2c 
/sbin/service lircd start   

mythfrontend

and bingo I get the remote.

I don't know why lirc do not start automatically as I have it setup in
my /etc/modprobe.conf as this:

lias eth0 forcedeth
alias scsi_hostadapter sata_nv
alias char-major-61 lirc_i2c
...
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv
install ivtv /sbin/modprobe saa7127; /sbin/modprobe --ignore-install
ivtv; /sbin/modprobe ivtv-fb
options ivtv-fb osd_compat=1
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2c

I'm not sure if lircd is starting automatically. should I chamge
something in the /etc/modprobe.conf ??


-- 
-----
Claude Gélinas agr., dta
Phyto Ressources inc.
==============================================================================
Varennes, Québec, Canada           Tél.: (450) 652 9764,   Fax.:(450) 652 6182
     Des questions sur les insectes et maladies des plantes ornementales ?
                 Want to know more about ornamental plant pest ?
                            http://www.phyto.qc.ca



More information about the mythtv-users mailing list