[mythtv-users] lirc kelnel module unable to load

Neil mythtv-users at rackle.com
Sun Oct 30 12:11:27 EST 2005


All,
I've recently upgraded to mythtv 18 and fedora core 4 following
Jarod's guide.  Everything works fine, except for lircd.  I think I
have the right stuff in modprobe.conf, but `irw` fails to connect to
lircd on a fresh boot.  I can't find any errors in loading lirc_i2c,
but it's obviously not being loaded at boot.

If I attempt to `modprobe lirc_i2c` manually, that process takes
several hours and uses all available ram and cpu which kills off stuff
like mysql and sshd, making it tough for me to troubleshoot further. 
About a week ago I found some magic combination that managed to load
the module, and everything worked fine until I rebooted recently.

Relevant info below.  Everything "just worked" with fedora core 3 and
mythtv 16.  I'm quite handy with linux, but I don't have much
experience with kernel modules, so I'm sure I'm just doing something
obviously wrong.  Any pointers?

TIA,
Neil


[root at mythtv ~]# dmesg | grep lirc
[root at mythtv ~]#
[root at mythtv ~]# tac /var/log/messages |
> sed -n '/=\ \ END INIT IVTV\ \ =/,/= START INIT IVTV =/p;
>     /= START INIT IVTV =/q' |
> tac
Oct 30 09:05:15 mythtv kernel: ivtv:  ==================== START INIT
IVTV ====================
Oct 30 09:05:15 mythtv kernel: ivtv:  version 0.4.0 (tagged release) loading
Oct 30 09:05:15 mythtv kernel: ivtv:  Linux version: 2.6.13-1.1526_FC4
686 REGPARM 4KSTACKS gcc-4.0
Oct 30 09:05:15 mythtv kernel: ivtv:  In case of problems please
include the debug info
Oct 30 09:05:15 mythtv kernel: ivtv:  between the START INIT IVTV and
END INIT IVTV lines when
Oct 30 09:05:15 mythtv kernel: ivtv:  mailing the ivtv-devel mailinglist.
Oct 30 09:05:15 mythtv kernel: ivtv0: Autodetected WinTV PVR 350 card
(iTVC15 based)
Oct 30 09:05:15 mythtv kernel: ACPI: PCI Interrupt 0000:01:06.0[A] ->
Link [LNK1] -> GSI 11 (level, low) -> IRQ 11
Oct 30 09:05:15 mythtv kernel: ivtv0: Unreasonably low latency timer,
setting to 64 (was 32)
Oct 30 09:05:15 mythtv kernel: tveeprom: ivtv version
Oct 30 09:05:15 mythtv kernel: tveeprom: Hauppauge: model = 48132, rev
= K268, serial# = 2918413
Oct 30 09:05:15 mythtv kernel: tveeprom: tuner = LG TAPE H001F MK3
(idx = 68, type = 47)
Oct 30 09:05:15 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
Oct 30 09:05:15 mythtv kernel: tveeprom: audio processor = MSP4448 (type = 1b)
Oct 30 09:05:15 mythtv kernel: tveeprom: decoder processor = SAA7115 (type = 13)
Oct 30 09:05:15 mythtv kernel: ivtv0: i2c attach to card #0 ok
[client=tveeprom, addr=50]
Oct 30 09:05:15 mythtv kernel: tuner: Unknown parameter `type'
Oct 30 09:05:15 mythtv kernel:  : chip found @ 0xc2 (ivtv i2c driver #0)
Oct 30 09:05:15 mythtv kernel: ivtv0: i2c attach to card #0 ok
[client=(tuner unset), addr=61]
Oct 30 09:05:15 mythtv kernel: saa7115 2-0021: saa7115 found @ 0x42
(ivtv i2c driver #0)
Oct 30 09:05:15 mythtv kernel: ivtv0: i2c attach to card #0 ok
[client=saa7115, addr=21]
Oct 30 09:05:15 mythtv kernel: saa7127 2-0044: saa7129 found @ 0x88
(ivtv i2c driver #0)
Oct 30 09:05:15 mythtv kernel: ivtv0: i2c attach to card #0 ok
[client=saa7127, addr=44]
Oct 30 09:05:15 mythtv kernel: msp34xx: init: chip=MSP3448W-A2 +nicam
+simple +simpler +radio mode=simpler
Oct 30 09:05:15 mythtv kernel: msp34xxg: daemon started
Oct 30 09:05:15 mythtv kernel: ivtv0: i2c attach to card #0 ok
[client=MSP3448W-A2, addr=40]
Oct 30 09:05:15 mythtv kernel: tda9885/6/7: chip found @ 0x86
Oct 30 09:05:15 mythtv kernel: ivtv0: i2c attach to card #0 ok
[client=tda9887, addr=43]
Oct 30 09:05:15 mythtv kernel: ivtv0: loading /lib/modules/ivtv-fw-enc.bin
Oct 30 09:05:15 mythtv kernel: ivtv0: loading /lib/modules/ivtv-fw-dec.bin
Oct 30 09:05:15 mythtv kernel: ivtv0: Encoder revision: 0x02040024
Oct 30 09:05:15 mythtv kernel: ivtv0 warning: Encoder Firmware can be
buggy, use version 0x02040011 or 0x02050032.
Oct 30 09:05:15 mythtv kernel: ivtv0: Decoder revision: 0x02020023
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA encoder MPEG
stream: 128 x 32768 buffers (4096KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA encoder YUV stream:
194 x 10800 buffers (2048KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA encoder VBI stream:
120 x 17472 buffers (2048KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA encoder PCM audio
stream: 455 x 4608 buffers (2048KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: Create encoder radio stream
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA decoder MPEG
stream: 16 x 65536 buffers (1024KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA decoder VBI stream:
512 x 2048 buffers (1024KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: Create decoder VOUT stream
Oct 30 09:05:15 mythtv kernel: ivtv0: Allocate DMA decoder YUV stream:
24 x 43200 buffers (1024KB total)
Oct 30 09:05:15 mythtv kernel: ivtv0: loading /lib/modules/ivtv_init_mpeg.bin
Oct 30 09:05:16 mythtv kernel: tuner 2-0061: type set to 47 (LG NTSC
(TAPE series))
Oct 30 09:05:16 mythtv kernel: ivtv0: Initialized WinTV PVR 350, card #0
Oct 30 09:05:16 mythtv kernel: ivtv:  ====================  END INIT
IVTV  ====================
[root at mythtv ~]#
[root at mythtv ~]# grep -irn lirc /var/log/messages
297389:Oct 30 08:05:30 mythtv lircd-0.7.2[2577]: lircd(any) ready
297398:Oct 30 08:05:52 mythtv lircd-0.7.2[2577]: accepted new client
on /dev/lircd
297399:Oct 30 08:05:52 mythtv lircd-0.7.2[2577]: could not get file
information for /dev/lirc
297400:Oct 30 08:05:52 mythtv lircd-0.7.2[2577]: default_init(): No
such file or directory
297401:Oct 30 08:05:52 mythtv lircd-0.7.2[2577]: caught signal
[root at mythtv ~]# less /etc/modprobe.conf
#lirc
alias char-major-61 lirc_i2c

alias eth0 8139too
alias scsi_hostadapter sata_nv

# sound card
alias snd-card-0 snd-emu10k1
options snd-card-0 index=0
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/usr/sbin/alsactl restore >/dev/null
2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove
  snd-emu10k1
alias snd-card-1 snd-intel8x0
options snd-card-1 index=1
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/nul
l 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remov
e snd-intel8x0

alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd

# ivtv modules setup
alias char-major-81 ivtv
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
install ivtv /sbin/modprobe --ignore-install ivtv
options tuner type=47
install lirc_i2c /sbin/modprobe lirc_i2c; /sbin/modprobe
--ignore-install lirc_i2c

# nvidia kernel module
alias char-major-195 nvidia-1_0-7667
alias nvidia nvidia-1_0-7667
[root at mythtv ~]#
[root at mythtv ~]# /etc/init.d/lircd restart
Stopping infrared remote control daemon:                   [FAILED]
Starting infrared remote control daemon:                   [  OK  ]
[root at mythtv ~]# irw
[root at mythtv ~]# irw
connect: Connection refused
[root at mythtv ~]# tail /var/log/messages
Oct 30 09:08:41 mythtv lircd-0.7.2[3810]: lircd(any) ready
Oct 30 09:08:47 mythtv lircd-0.7.2[3810]: accepted new client on /dev/lircd
Oct 30 09:08:47 mythtv lircd-0.7.2[3810]: could not get file
information for /dev/lirc
Oct 30 09:08:47 mythtv lircd-0.7.2[3810]: default_init(): No such file
or directory
Oct 30 09:08:47 mythtv lircd-0.7.2[3810]: caught signal
[root at mythtv ~]#


More information about the mythtv-users mailing list