On Sunday 02 January 2005 11:08 am, Dan Ferris wrote:
>
> lsmod shows nothing.  chkconfig is on, and nothing is now in the rc.d
> directories, which makes me think that wasn't the issue.
>
> here's a huge log of what i've done, to make it work, every reboot.
>
>
> [EMAIL PROTECTED] mythtv]# /sbin/chkconfig lircd on
> [EMAIL PROTECTED] mythtv]# /sbin/lsmod
> Module                  Size  Used by
> parport_pc             24705  1
> lp                     11565  0
> parport                41737  2 parport_pc,lp
> autofs4                24005  0
> sunrpc                160421  1
> dm_mod                 54741  0
> button                  6481  0
> battery                 8517  0
> ac                      4805  0
> nvidia               3457308  12
> md5                     4033  1
> ipv6                  232705  8
> joydev                  8705  0
> uhci_hcd               31449  0
> ehci_hcd               31685  0
> snd_via82xx            25408  0
> snd_ac97_codec         66784  1 snd_via82xx
> snd_pcm_oss            46120  0
> snd_mixer_oss          16384  1 snd_pcm_oss
> snd_pcm                92680  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
> snd_timer              27652  1 snd_pcm
> snd_page_alloc          7688  2 snd_via82xx,snd_pcm
> gameport                4801  1 snd_via82xx
> snd_mpu401_uart         8064  1 snd_via82xx
> snd_rawmidi            24872  1 snd_mpu401_uart
> snd_seq_device          7948  1 snd_rawmidi
> snd                    50788  9
> snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_
>mpu401_uart,snd_rawmidi,snd_seq_device soundcore               9889  1 snd
> via_rhine              23497  0
> mii                     4673  1 via_rhine
> ath_pci                46884  0
> ath_rate_onoe           7304  1 ath_pci
> wlan                   97372  3 ath_pci,ath_rate_onoe
> ath_hal               132176  2 ath_pci
> floppy                 58609  0
> ext3                  116809  3
> jbd                    74969  1 ext3
> [EMAIL PROTECTED] mythtv]# /sbin/depmod -ae
> [EMAIL PROTECTED] mythtv]# /sbin/modprobe ivtv
> [EMAIL PROTECTED] mythtv]# /sbin/modprobe lirc_i2c
> [EMAIL PROTECTED] mythtv]# /usr/bin/irw
> connect: Connection refused
> [EMAIL PROTECTED] mythtv]# /sbin/service lircd start
> Starting infrared remote control daemon:              [  OK  ]
> [EMAIL PROTECTED] mythtv]# /usr/bin/irw
> [EMAIL PROTECTED] mythtv]# /sbin/service lircd restart
> Stopping infrared remote control daemon:                   [FAILED]
> Starting infrared remote control daemon:                   [  OK  ]
> [EMAIL PROTECTED] mythtv]# /usr/bin/irw
> [EMAIL PROTECTED] mythtv]# export MYKERNEL=`uname -r`
> [EMAIL PROTECTED] mythtv]# apt-get remove  kernel-module-lirc-$MYKERNEL
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
>   kernel-module-lirc-2.6.9-1.681_FC3
> 0 upgraded, 0 newly installed, 1 removed and 45 not upgraded.
> Need to get 0B of archives.
> After unpacking 117kB disk space will be freed.
> Do you want to continue? [Y/n] y
> Committing changes...
> Preparing...                ###########################################
> [100%] Done.
> [EMAIL PROTECTED] mythtv]# apt-get remove lirc
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
>   lirc
> 0 upgraded, 0 newly installed, 1 removed and 45 not upgraded.
> Need to get 0B of archives.
> After unpacking 1063kB disk space will be freed.
> Do you want to continue? [Y/n] y
> Committing changes...
> Preparing...                ###########################################
> [100%] Done.
> [EMAIL PROTECTED] mythtv]# apt-get install kernel-module-lirc-$MYKERNEL
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   kernel-module-lirc-2.6.9-1.681_FC3
> 0 upgraded, 1 newly installed, 0 removed and 45 not upgraded.
> Need to get 0B/45.4kB of archives.
> After unpacking 117kB of additional disk space will be used.
> Committing changes...
> Preparing...                ###########################################
> [100%] 1:kernel-module-lirc-2.6.###########################################
> [100%] Done.
> [EMAIL PROTECTED] mythtv]# apt-get install lirc
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   lirc
> 0 upgraded, 1 newly installed, 0 removed and 45 not upgraded.
> Need to get 0B/387kB of archives.
> After unpacking 1063kB of additional disk space will be used.
> Committing changes...
> Preparing...                ###########################################
> [100%] 1:lirc                   ###########################################
> [100%] Done.
> [EMAIL PROTECTED] mythtv]# cp /usr/share/doc/ivtv-*/lircd-g.conf
> /etc/lircd.conf cp: overwrite `/etc/lircd.conf'? y
> [EMAIL PROTECTED] mythtv]# /sbin/depmod -ae
> [EMAIL PROTECTED] mythtv]# /sbin/modprobe lirc_i2c
> [EMAIL PROTECTED] mythtv]# /sbin/chkconfig lircd on
> [EMAIL PROTECTED] mythtv]# /sbin/service lircd start
> Starting infrared remote control daemon:                   [  OK  ]
> [EMAIL PROTECTED] mythtv]# /usr/bin/irw
> 00000000000017e0 00 CH+ hauppaugegrey
> 00000000000017e1 00 CH- hauppaugegrey
> 00000000000017e1 00 CH- hauppaugegrey
> 0000000000001fd1 00 VOL- hauppaugegrey
> 0000000000001fd1 01 VOL- hauppaugegrey
>
> [EMAIL PROTECTED] mythtv]# YAY!
>
> i don't get it, it's like it's uninstalled after every reboot.
>
> Any ideas?

Sounds like the kernel module isn't loading and therefore the daemon dies upon 
start up (though, why the manual modprobe and daemon start fails the first 
time I cannot say).  Any debugging output from the lircd logfile?  
Does /dev/lirc0 get created when you modprobe (first and/or second time)?

The only other thing you could try is another version of 
the /etc/rc.d/init.d/lircd script that I have that loads the kernel modules.  
It's the one I am using and I liked it better than the distributed version.  
Let me know if you want it and I can email it to you off-list.


-- Harry O.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to