> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:ivtv-users- > [EMAIL PROTECTED] On Behalf Of Roger James > Sent: 24 January 2007 00:24 > To: 'User discussion about IVTV' > Subject: Re: [ivtv-users] saa7115 not autoloading on 2.6.19.2 kernel > > > > > > > On Tuesday 23 January 2007 23:05, Roger James wrote: > > > Comments inline > > > > > > > On Tuesday 23 January 2007 19:46, Roger James wrote: > > > > > I know this has been mentioned before, but I cannot get it to > > > > > work. I have just moved to kernel version 2.6.19.2 ivtv-0.9.1 and > > > > > the latest v4l-dvb (hg). I followed the instructions in the > > > > > readme and ensured that I updated the kernel config to build the > > > > > various support drivers including the saa7115. But I still get > > > > > the "i2c_adapter i2c-3: Client creation failed at 0x44 (-1)" > > > > > message in the ivtv init. > > > > > > > > This message is not from the saa7115 module, it's some other module > > > > that's giving you this message. I get the same, but it is harmless. > > > > > > The message comes from the i2c_core module and appears to be that > > > module reporting that the ivtv modules request to attach the saa7115 > > > driver (0x44) has failed. In my case this is not benign as an lsmod > > > afterwards shows that the saa7115 driver module has not been loaded. > > > > Hmm. Can you post the INIT IVTV messages in the kernel log? > > > > Hans > > > > Here are the INIT IVTV messages from the boot up phase > > Jan 24 00:05:04 myth kernel: ivtv: ==================== START INIT IVTV > ==================== > Jan 24 00:05:04 myth kernel: ivtv: version 0.9.1 (tagged release) loading > Jan 24 00:05:04 myth kernel: ivtv: Linux version: 2.6.19.2 preempt > mod_unload K7 > Jan 24 00:05:04 myth kernel: ivtv: In case of problems please include the > debug info between > Jan 24 00:05:04 myth kernel: ivtv: the START INIT IVTV and END INIT IVTV > lines, along with > Jan 24 00:05:04 myth kernel: ivtv: any module options, when mailing the > ivtv-users mailinglist. > Jan 24 00:05:04 myth kernel: ivtv0: Autodetected Hauppauge card (cx23415 > based) > Jan 24 00:05:04 myth kernel: ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link > [LNKB] -> GSI 10 (level, low) -> IRQ 10 > Jan 24 00:05:04 myth kernel: ivtv0: Unreasonably low latency timer, > setting > to 64 (was 32) > Jan 24 00:05:04 myth kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware > (262144 bytes) > Jan 24 00:05:04 myth kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware > (262144 bytes) > Jan 24 00:05:04 myth kernel: tveeprom 3-0050: Hauppauge model 48135, rev > J324, serial# 7244763 > Jan 24 00:05:04 myth kernel: tveeprom 3-0050: tuner model is Philips > FM1246 > (idx 24, type 1) > Jan 24 00:05:04 myth kernel: tveeprom 3-0050: TV standards PAL(I) (eeprom > 0x10) > Jan 24 00:05:04 myth kernel: tveeprom 3-0050: audio processor is MSP4418 > (idx 25) > Jan 24 00:05:04 myth kernel: tveeprom 3-0050: decoder processor is SAA7115 > (idx 19) > Jan 24 00:05:04 myth kernel: tveeprom 3-0050: has radio, has IR remote > Jan 24 00:05:04 myth kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350 > Jan 24 00:05:04 myth kernel: tuner 3-0061: chip found @ 0xc2 (ivtv i2c > driver #0) > Jan 24 00:05:04 myth kernel: msp3400 3-0040: MSP4418G-A2 found @ 0x80 > (ivtv > i2c driver #0) > Jan 24 00:05:04 myth kernel: msp3400 3-0040: MSP4418G-A2 supports nicam > and > radio, mode is autodetect and autoselect > Jan 24 00:05:04 myth kernel: i2c_adapter i2c-3: Client creation failed at > 0x44 (-1) > Jan 24 00:05:04 myth kernel: ivtv0: Encoder revision: 0x02050032 > Jan 24 00:05:04 myth kernel: ivtv0: Decoder revision: 0x02020023 > Jan 24 00:05:04 myth kernel: ivtv0: Registered device video2 for encoder > MPEG > Jan 24 00:05:04 myth kernel: ivtv0: Registered device video32 for encoder > YUV > Jan 24 00:05:04 myth kernel: ivtv0: Registered device vbi2 for encoder VBI > Jan 24 00:05:04 myth kernel: ivtv0: Registered device video24 for encoder > PCM audio > Jan 24 00:05:04 myth kernel: ivtv0: Registered device radio0 for encoder > radio > Jan 24 00:05:04 myth kernel: ivtv0: Registered device video16 for decoder > MPEG > Jan 24 00:05:04 myth kernel: ivtv0: Registered device vbi8 for decoder VBI > Jan 24 00:05:04 myth kernel: ivtv0: Registered device vbi16 for decoder > VOUT > Jan 24 00:05:04 myth kernel: ivtv0: Registered device video48 for decoder > YUV > Jan 24 00:05:04 myth kernel: ivtv0: loaded v4l-cx2341x-init.mpg firmware > (155648 bytes) > Jan 24 00:05:04 myth kernel: tuner 3-0061: type set to 1 (Philips PAL_I > (FI1246 and compatibles)) > Jan 24 00:05:04 myth kernel: ivtv0: i2c addr 0x21 not found for command > 0x4008646f! > Jan 24 00:05:04 myth kernel: ivtv0: Initialized Hauppauge WinTV PVR-350, > card #0 > Jan 24 00:05:04 myth kernel: ivtv: ==================== END INIT IVTV > ==================== > > Here is the lsmod output after bootup > > myth:/var/log# lsmod > Module Size Used by > nvidia 4716628 22 > ipv6 267936 19 > thermal 15368 0 > fan 5124 0 > button 7056 0 > processor 28524 1 thermal > ac 5444 0 > battery 11268 0 > af_packet 22856 2 > floppy 62692 0 > pcspkr 3264 0 > rtc 14324 0 > msp3400 34016 0 > tuner 65704 0 > ivtv 191952 0 > cx88_dvb 15684 0 > cx88_vp3054_i2c 4736 1 cx88_dvb > mt352 7108 1 cx88_dvb > dvb_pll 14788 1 cx88_dvb > or51132 11268 1 cx88_dvb > video_buf_dvb 7108 1 cx88_dvb > dvb_core 86184 1 video_buf_dvb > nxt200x 16388 1 cx88_dvb > isl6421 2432 1 cx88_dvb > zl10353 5828 1 cx88_dvb > cx24123 13896 1 cx88_dvb > lgdt330x 8860 1 cx88_dvb > cx22702 6788 1 cx88_dvb > cx88_blackbird 19780 0 > cx8802 13764 2 cx88_dvb,cx88_blackbird > firmware_class 11200 4 ivtv,or51132,nxt200x,cx88_blackbird > cx2341x 11588 2 ivtv,cx88_blackbird > cx8800 35916 1 cx88_blackbird > cx88xx 68132 4 cx88_dvb,cx88_blackbird,cx8802,cx8800 > ir_common 29764 1 cx88xx > i2c_algo_bit 9032 3 ivtv,cx88_vp3054_i2c,cx88xx > video_buf 26500 6 > cx88_dvb,video_buf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx > tveeprom 15568 2 ivtv,cx88xx > compat_ioctl32 1408 1 cx8800 > btcx_risc 5128 3 cx8802,cx8800,cx88xx > videodev 27712 4 ivtv,cx88_blackbird,cx8800,cx88xx > v4l1_compat 14660 3 ivtv,cx8800,videodev > v4l2_common 22528 7 > msp3400,tuner,ivtv,cx88_blackbird,cx2341x,cx8800,videodev > emu10k1_gp 4032 0 > gameport 16968 2 emu10k1_gp > snd_emu10k1 131968 0 > snd_rawmidi 26400 1 snd_emu10k1 > snd_ac97_codec 100704 1 snd_emu10k1 > snd_ac97_bus 2368 1 snd_ac97_codec > snd_util_mem 4928 1 snd_emu10k1 > snd_hwdep 10244 1 snd_emu10k1 > i2c_viapro 9236 0 > via686a 17096 0 > i2c_isa 5504 1 via686a > i2c_core 23952 20 > nvidia,msp3400,tuner,ivtv,cx88_dvb,mt352,dvb_pll,or51132,nxt200x,isl6421,z > l1 > 0353,cx24123,lgdt330x,cx22702,cx88xx,i2c_algo_bit,tveeprom,i2c_viapro,via6 > 86 > a,i2c_isa > generic 5700 0 [permanent] > shpchp 41628 0 > pci_hotplug 36600 1 shpchp > via_agp 10240 1 > usbhid 41568 0 > at76c503_i3861 33220 0 > at76c503 96544 1 at76c503_i3861 > at76_usbdfu 6276 1 at76c503 > ftdi_sio 35464 1 > tsdev 8064 0 > usbserial 34856 3 ftdi_sio > mousedev 12448 2 > uhci_hcd 25612 0 > usbcore 144388 8 > usbhid,at76c503_i3861,at76c503,at76_usbdfu,ftdi_sio,usbserial,uhci_hcd > parport_pc 37188 0 > parport 39176 1 parport_pc > agpgart 36816 2 nvidia,via_agp > ext2 71368 1 > dm_mod 64856 3 > snd_seq_dummy 3972 0 > snd_seq_oss 36224 0 > snd_seq_midi_event 7808 1 snd_seq_oss > snd_seq 54928 5 > snd_seq_dummy,snd_seq_oss,snd_seq_midi_event > snd_seq_device 8396 5 > snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq > snd_pcm_oss 48928 0 > snd_pcm 86216 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss > snd_timer 25732 3 snd_emu10k1,snd_seq,snd_pcm > snd_page_alloc 10760 2 snd_emu10k1,snd_pcm > snd_mixer_oss 19072 1 snd_pcm_oss > snd 57508 11 > snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_s > eq > _device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss > psmouse 41992 0 > unix 29616 193 > > > Here is the IVTV INIT output after, rmmod ivtv, modprobe saa7115, modprobe > ivtv > > ivtv: ==================== START INIT IVTV ==================== > ivtv: version 0.9.1 (tagged release) loading > ivtv: Linux version: 2.6.19.2 preempt mod_unload K7 > ivtv: In case of problems please include the debug info between > ivtv: the START INIT IVTV and END INIT IVTV lines, along with > ivtv: any module options, when mailing the ivtv-users mailinglist. > ivtv0: Autodetected Hauppauge card (cx23415 based) > ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKB] -> GSI 10 (level, low) > -> > IRQ 10 > ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) > ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) > tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0) > msp3400 3-0040: MSP4418G-A2 found @ 0x80 (ivtv i2c driver #0) > msp3400 3-0040: MSP4418G-A2 supports nicam and radio, mode is autodetect > and > autoselect > i2c_adapter i2c-3: Client creation failed at 0x44 (-1) > saa7115 3-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver > #0) > tveeprom 3-0050: Hauppauge model 48135, rev J324, serial# 7244763 > tveeprom 3-0050: tuner model is Philips FM1246 (idx 24, type 1) > tveeprom 3-0050: TV standards PAL(I) (eeprom 0x10) > tveeprom 3-0050: audio processor is MSP4418 (idx 25) > tveeprom 3-0050: decoder processor is SAA7115 (idx 19) > tveeprom 3-0050: has radio, has IR remote > ivtv0: Autodetected Hauppauge WinTV PVR-350 > ivtv0: Encoder revision: 0x02050032 > ivtv0: Decoder revision: 0x02020023 > ivtv0: Registered device video2 for encoder MPEG > ivtv0: Registered device video32 for encoder YUV > ivtv0: Registered device vbi2 for encoder VBI > ivtv0: Registered device video24 for encoder PCM audio > ivtv0: Registered device radio0 for encoder radio > ivtv0: Registered device video16 for decoder MPEG > ivtv0: Registered device vbi8 for decoder VBI > ivtv0: Registered device vbi16 for decoder VOUT > ivtv0: Registered device video48 for decoder YUV > ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes) > tuner 3-0061: type set to 1 (Philips PAL_I (FI1246 and compatibles)) > ivtv0: Initialized Hauppauge WinTV PVR-350, card #0 > ivtv: ==================== END INIT IVTV ==================== > > I notice that the Client creation failure message still appears, but is > followed by a saa7115 message from somewhere (I have not yet checked > where). > Here is the lsmod output at this point > > Module Size Used by > ivtv 191952 0 > saa7115 17040 0 > nvidia 4716628 22 > ipv6 267936 19 > thermal 15368 0 > fan 5124 0 > button 7056 0 > processor 28524 1 thermal > ac 5444 0 > battery 11268 0 > af_packet 22856 2 > floppy 62692 0 > pcspkr 3264 0 > rtc 14324 0 > msp3400 34016 0 > tuner 65704 0 > cx88_dvb 15684 0 > cx88_vp3054_i2c 4736 1 cx88_dvb > mt352 7108 1 cx88_dvb > dvb_pll 14788 1 cx88_dvb > or51132 11268 1 cx88_dvb > video_buf_dvb 7108 1 cx88_dvb > dvb_core 86184 1 video_buf_dvb > nxt200x 16388 1 cx88_dvb > isl6421 2432 1 cx88_dvb > zl10353 5828 1 cx88_dvb > cx24123 13896 1 cx88_dvb > lgdt330x 8860 1 cx88_dvb > cx22702 6788 1 cx88_dvb > cx88_blackbird 19780 0 > cx8802 13764 2 cx88_dvb,cx88_blackbird > firmware_class 11200 4 ivtv,or51132,nxt200x,cx88_blackbird > cx2341x 11588 2 ivtv,cx88_blackbird > cx8800 35916 1 cx88_blackbird > cx88xx 68132 4 cx88_dvb,cx88_blackbird,cx8802,cx8800 > ir_common 29764 1 cx88xx > i2c_algo_bit 9032 3 ivtv,cx88_vp3054_i2c,cx88xx > video_buf 26500 6 > cx88_dvb,video_buf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx > tveeprom 15568 2 ivtv,cx88xx > compat_ioctl32 1408 1 cx8800 > btcx_risc 5128 3 cx8802,cx8800,cx88xx > videodev 27712 4 ivtv,cx88_blackbird,cx8800,cx88xx > v4l1_compat 14660 3 ivtv,cx8800,videodev > v4l2_common 22528 8 > ivtv,saa7115,msp3400,tuner,cx88_blackbird,cx2341x,cx8800,videodev > emu10k1_gp 4032 0 > gameport 16968 2 emu10k1_gp > snd_emu10k1 131968 0 > snd_rawmidi 26400 1 snd_emu10k1 > snd_ac97_codec 100704 1 snd_emu10k1 > snd_ac97_bus 2368 1 snd_ac97_codec > snd_util_mem 4928 1 snd_emu10k1 > snd_hwdep 10244 1 snd_emu10k1 > i2c_viapro 9236 0 > via686a 17096 0 > i2c_isa 5504 1 via686a > i2c_core 23952 21 > ivtv,saa7115,nvidia,msp3400,tuner,cx88_dvb,mt352,dvb_pll,or51132,nxt200x,i > sl > 6421,zl10353,cx24123,lgdt330x,cx22702,cx88xx,i2c_algo_bit,tveeprom,i2c_via > pr > o,via686a,i2c_isa > generic 5700 0 [permanent] > shpchp 41628 0 > pci_hotplug 36600 1 shpchp > via_agp 10240 1 > usbhid 41568 0 > at76c503_i3861 33220 0 > at76c503 96544 1 at76c503_i3861 > at76_usbdfu 6276 1 at76c503 > ftdi_sio 35464 1 > tsdev 8064 0 > usbserial 34856 3 ftdi_sio > mousedev 12448 2 > uhci_hcd 25612 0 > usbcore 144388 8 > usbhid,at76c503_i3861,at76c503,at76_usbdfu,ftdi_sio,usbserial,uhci_hcd > parport_pc 37188 0 > parport 39176 1 parport_pc > agpgart 36816 2 nvidia,via_agp > ext2 71368 1 > dm_mod 64856 3 > snd_seq_dummy 3972 0 > snd_seq_oss 36224 0 > snd_seq_midi_event 7808 1 snd_seq_oss > snd_seq 54928 5 > snd_seq_dummy,snd_seq_oss,snd_seq_midi_event > snd_seq_device 8396 5 > snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq > snd_pcm_oss 48928 0 > snd_pcm 86216 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss > snd_timer 25732 3 snd_emu10k1,snd_seq,snd_pcm > snd_page_alloc 10760 2 snd_emu10k1,snd_pcm > snd_mixer_oss 19072 1 snd_pcm_oss > snd 57508 11 > snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_s > eq > _device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss > psmouse 41992 0 > unix 29616 193 > > > Thank you for taking an interest in this, it is puzzling me! > > Roger >
Some more info on this. I now suspect that 0x44 is the I2C address of saa7127 driver (see below) which is also not being loaded. I also get the following message further down the log, which I think is telling me that the saa7115 (address 0x21 is driver is not being found. Jan 24 17:37:14 myth kernel: ivtv0: i2c addr 0x21 not found for command 0x4008646f! [EMAIL PROTECTED]:~/ivtv-0.9.1/driver$ vi ivtv-i2c.c #endif /* I2C_ADAP_CLASS_TV_ANALOG */ #define IVTV_CS53L32A_I2C_ADDR 0x11 #define IVTV_CX25840_I2C_ADDR 0x44 #define IVTV_SAA7115_I2C_ADDR 0x21 #define IVTV_SAA7127_I2C_ADDR 0x44 #define IVTV_SAA717x_I2C_ADDR 0x21 #define IVTV_MSP3400_I2C_ADDR 0x40 #define IVTV_HAUPPAUGE_I2C_ADDR 0x50 #define IVTV_WM8739_I2C_ADDR 0x1a #define IVTV_WM8775_I2C_ADDR 0x1b #define IVTV_TEA5767_I2C_ADDR 0x60 #define IVTV_UPD64031A_I2C_ADDR 0x12 #define IVTV_UPD64083_I2C_ADDR 0x5c #define IVTV_TDA985X_I2C_ADDR 0x5b So it seems to come back to my original question. Who is responsible for loading these modules and how should it be made to happen. I seem to remember in the dim and distant past you had to list them as dependencies in the modutils config. Roger _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
