[mythtv-users] lirc_i2c not loading automatically

Frutillar frutillar at comcast.net
Fri Apr 1 05:40:01 UTC 2005


Does anyone have any ideas why my lirc_i2c is not automagically loading at 
boot time?  It seems it is the only thing that is not working for me at this 
time.

Once the system boots, I have to manually run the following for my remote to 
work:

#/sbin/modprobe lirc_i2c
#/sbin/services lircd start
#irw

which show up in the log as:

Mar 30 20:03:09 mbox kernel: bttv: driver version 0.9.15 loaded
Mar 30 20:03:09 mbox kernel: bttv: using 8 buffers with 2080k (520 pages) each 
for capture
Mar 30 20:03:09 mbox kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Mar 30 20:03:09 mbox kernel: ivtv: i2c attach [client=Hauppauge IR,ok]
Mar 30 20:03:09 mbox kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
Mar 30 20:03:17 mbox lircd 0.7.0[4316]: lircd(any) ready
Mar 30 20:03:17 mbox lircd: lircd startup succeeded
Mar 30 20:03:19 mbox lircd 0.7.0[4316]: accepted new client on /dev/lircd
Mar 30 20:03:21 mbox lircd 0.7.0[4316]: removed client

How can I get this to be loaded automagically?  Is the only way to place these 
lines in /etc/rc.local?

Thanks!

I have:
EPIA M10000
PVR-350
Fedora Core 2  (2.6.10-1.770_FC2)
MythTV 0.17
lirc 0.7.0
ivtv 0.2.0 (rc3i)

# cat /etc/modprobe.conf
alias eth0 via-rhine
alias snd-card-0 snd-via82xx
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
alias msp3400 msp3400-ivtv
#alias tveeprom-ivtv tveeprom
#alias msp3400-ivtv msp3400
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx 
&& /usr/sbin/alsactl restore >/dev/null 2>&1 || :
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c
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

Mar 30 20:00:16 mbox kernel: ivtv: ==================== START INIT IVTV 
====================
Mar 30 20:00:16 mbox kernel: ivtv: version 0.2.0 (rc3i) loading
Mar 30 20:00:16 mbox kernel: ivtv: Linux version: 2.6.10-1.770_FC2 686 REGPARM 
4KSTACKS gcc-3.3
Mar 30 20:00:16 mbox kernel: ivtv: In case of problems please include the 
debug info
Mar 30 20:00:16 mbox kernel: ivtv: between the START INIT IVTV and END INIT 
IVTV lines when
Mar 30 20:00:16 mbox kernel: ivtv: mailing the ivtv-devel mailinglist.
Mar 30 20:00:16 mbox kernel: ivtv: Autodetected WinTV PVR 350 card
Mar 30 20:00:16 mbox kernel: ivtv: Found an iTVC15 based chip
Mar 30 20:00:16 mbox kernel: ACPI: PCI interrupt 0000:00:14.0[A] -> GSI 10 
(level, low) -> IRQ 10
Mar 30 20:00:16 mbox kernel: ivtv: Unreasonably low latency timer, setting to 
64 (was 32)
Mar 30 20:00:16 mbox kernel: ivtv: VIA PCI device: 0x3123 vendor: 0x1106
Mar 30 20:00:16 mbox kernel: tveeprom: Hauppauge: model = 48132, rev = K168, 
serial# = 7391078
Mar 30 20:00:16 mbox kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, 
type = 47)
Mar 30 20:00:16 mbox kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, 
v4l2 = 0x00001000)
Mar 30 20:00:16 mbox kernel: tveeprom: audio_processor = MSP3440 (type = 11)
Mar 30 20:00:16 mbox kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Mar 30 20:00:16 mbox kernel: ivtv: Tuner Type 47, Tuner formats 0x00001000, 
Radio: yes, Model 0x00ad1598, Revision 0x00000001
Mar 30 20:00:16 mbox kernel: ivtv: NTSC tuner detected
Mar 30 20:00:16 mbox kernel: ivtv: Radio detected
Mar 30 20:00:16 mbox kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c 
driver #0
Mar 30 20:00:16 mbox kernel: ivtv: i2c attach [client=(tuner unset),ok]
Mar 30 20:00:16 mbox kernel: saa7115: starting probe for adapter ivtv i2c 
driver #0 (0x10005)
Mar 30 20:00:16 mbox kernel: saa7115: detecting saa7115 client on address 0x42
Mar 30 20:00:16 mbox kernel: saa7115: writing init values
Mar 30 20:00:16 mbox kernel: ivtv: i2c attach [client=saa7115[0],ok]
Mar 30 20:00:16 mbox kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
Mar 30 20:00:16 mbox kernel: saa7127: Ignoring new-style parameters in 
presence of obsolete ones
Mar 30 20:00:16 mbox kernel: saa7127: video encoder driver version V 0.3 
loaded
Mar 30 20:00:16 mbox kernel: saa7127: detecting saa7127 client on address 0x88
Mar 30 20:00:16 mbox kernel: saa7127: Selecting NTSC video Standard
Mar 30 20:00:16 mbox kernel: saa7127: Selecting S-Video+Composite
Mar 30 20:00:16 mbox kernel: saa7127: Turn WSS off
Mar 30 20:00:16 mbox atd: atd startup succeeded
Mar 30 20:00:16 mbox kernel: saa7127: Widescreen Mode 4:3 Full Format
Mar 30 20:00:16 mbox kernel: saa7127: Selecting Normal Encoder Input
Mar 30 20:00:16 mbox kernel: saa7127: Enable Video Output
Mar 30 20:00:16 mbox kernel: ivtv: i2c attach [client=saa7127[0],ok]
Mar 30 20:00:16 mbox kernel: msp34xx: ivtv version
Mar 30 20:00:16 mbox kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM 
support, simple (D) mode, simpler (G) no-thread mode
Mar 30 20:00:16 mbox kernel: msp34xx: $Id$ compiled on: Mar 26 2005 16:00:47
Mar 30 20:00:16 mbox kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
Mar 30 20:00:16 mbox readahead: Starting background readahead:
Mar 30 20:00:16 mbox rc: Starting readahead:  succeeded
Mar 30 20:00:17 mbox messagebus: messagebus startup succeeded
Mar 30 20:00:18 mbox kernel: ivtv: Encoder revision: 0x02040024
Mar 30 20:00:18 mbox kernel: ivtv: Encoder Firmware may be buggy, use version 
0x02040011
Mar 30 20:00:18 mbox kernel: ivtv: Decoder revision: 0x02020023
Mar 30 20:00:18 mbox kernel: ivtv: Configuring WinTV PVR 350 card with 9 
streams
Mar 30 20:00:18 mbox kernel: ivtv: Create DMA stream 0 using 256 16384 byte 
buffers  4194304 kbytes total
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 0 minor 
0
Mar 30 20:00:18 mbox kernel: ivtv: Create DMA stream 1
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 1 minor 
32
Mar 30 20:00:18 mbox kernel: ivtv: Create stream 2 using 40 52224 byte buffers  
2097152 kbytes total
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 2 minor 
224
Mar 30 20:00:18 mbox kernel: ivtv: Create DMA stream 3 using 455 4608 byte 
buffers  2097152 kbytes total
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 3 minor 
24
Mar 30 20:00:18 mbox kernel: ivtv: Create stream 4
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 4 minor 
64
Mar 30 20:00:18 mbox kernel: ivtv: Create DMA stream 5 using 16 65536 byte 
buffers  1048576 kbytes total
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 5 minor 
16
Mar 30 20:00:18 mbox kernel: ivtv: Create stream 6 using 1024 2048 byte 
buffers  262144 kbytes total
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 6 minor 
228
Mar 30 20:00:18 mbox kernel: ivtv: Create stream 7
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 7 minor 
232
Mar 30 20:00:18 mbox kernel: ivtv: Create DMA stream 8
Mar 30 20:00:18 mbox kernel: ivtv: Registered v4l2 device, streamtype 8 minor 
48
Mar 30 20:00:19 mbox kernel: ivtv: Setting Tuner 47
Mar 30 20:00:19 mbox kernel: tuner: type set to 47 (LG NTSC (TAPE series)) by 
ivtv i2c driver #0
Mar 30 20:00:19 mbox kernel: saa7115: decoder set input (4)
Mar 30 20:00:19 mbox init: open(/dev/pts/0): No such file or directory
Mar 30 20:00:19 mbox init: open(/dev/pts/0): No such file or directory
Mar 30 20:00:19 mbox kernel: saa7115: now setting Composite input
Mar 30 20:00:20 mbox kernel: ivtv: Setting audio matrix to input 3, output 1
Mar 30 20:00:20 mbox kernel: ivtv: Switching standard to NTSC.
Mar 30 20:00:20 mbox kernel: ivtv: ivtv_enc_thread: pid = 3452, itv = 
0xdedbf120
Mar 30 20:00:20 mbox kernel: ivtv: ivtv_dec_thread: pid = 3453, itv = 
0xdedbf120
Mar 30 20:00:20 mbox kernel: saa7115: decoder set norm NTSC
Mar 30 20:00:20 mbox kernel: saa7115: set audio: 0x01
Mar 30 20:00:20 mbox kernel: saa7127: Setting Encoder Video Standard
Mar 30 20:00:20 mbox kernel: saa7127: Set NTSC Video Mode
Mar 30 20:00:20 mbox kernel: saa7127: Selecting NTSC video Standard
Mar 30 20:00:20 mbox kernel: ivtv: Initialized WinTV PVR 350, card #0
Mar 30 20:00:20 mbox kernel: ivtv: ====================  END INIT IVTV  
====================


More information about the mythtv-users mailing list