Hi Hans. An update for you. I've installed an uprated power supply, and so far my i2c stability problems seem to have improved. (touch wood)
I'm trying now to get the IR port working, which may also be i2c related. Can you please tell me, where does the cvs ivtv 0.6.3 look for it's i2c definitions? Christoph Bartelmus (the lircProject Admin) has asked to make sure I2C_HW_B_CX2341X is being defined in the ivtv header files. I can see this is defined in i2c-id.h in the svn version of ivtv, but am unsure where it's defined for CVS 0.6.3. Should this be defined in the base '/usr/include/linux/i2c-id.h'? Should I add : #define I2C_HW_B_CX2341X 0x010020 /* Conexant CX2341X MPEG encoder cards */ to '/usr/include/linux/i2c-id.h'? Simon ----- Original Message ----- From: "Hans Verkuil" <[EMAIL PROTECTED]> To: "Simon Baxter" <[EMAIL PROTECTED]> Sent: Saturday, June 17, 2006 9:02 AM Subject: Re: Another test > On Saturday 17 June 2006 17:52, you wrote: >> Hi Hans. >> >> Unfortunately despite having the box unplugged overnight, I could not >> get the tveeprom to be recognised properly this morning. > > Do you have other hardware in your PC? It all seems like an unstable i2c > bus. I'm wondering if the powersupply provides enough power. I've seen > cases like that before. Just something else to look at. > > Regards, > > Hans > >> >> I obtained the latest 0.6 cvs and applied your patch. >> >> modprobe ivtv newi2c=0 <-- took about 10 minutes to come back >> ivtv: ==================== START INIT IVTV ==================== >> ivtv: version 0.6.3 (development snapshot compiled on Sat 17 Jun >> 2006 08:49:10 AM PDT) loading >> ivtv: Linux version: 2.6.16.18 686 REGPARM 4KSTACKS gcc-4.1 >> 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 WinTV PVR-150 card (cx23416 based) >> ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 21 >> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) >> ivtv0 warning: A scl=00000000 sda=00000000 >> ivtv0 warning: B scl=00000000 sda=00000001 >> ivtv0: Encoder revision: 0x02050032 >> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB >> total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers >> (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 >> buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream: >> 455 x 4608 buffers (2048KB total) >> ivtv0: Create encoder radio stream >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: i2c addr 0x44 not found for command 0xc0045627! >> ivtv0: i2c hardware 0x00000020 not found for command 0x40345622! >> ivtv0: i2c addr 0x44 not found for command 0x40345622! >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: Initialized Hauppauge WinTV PVR-150, card #0 >> ivtv: ==================== END INIT IVTV ==================== >> >> modprobe ivtv newi2c=1 <--- came straight back: >> ivtv: ==================== START INIT IVTV ==================== >> ivtv: version 0.6.3 (development snapshot compiled on Sat 17 Jun >> 2006 08:49:10 AM PDT) loading >> ivtv: Linux version: 2.6.16.18 686 REGPARM 4KSTACKS gcc-4.1 >> 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 WinTV PVR-150 card (cx23416 based) >> ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 21 >> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) >> ivtv0 warning: A scl=00000000 sda=00000001 >> ivtv0 warning: B scl=00000000 sda=00000001 >> ivtv0: Encoder revision: 0x02050032 >> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB >> total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers >> (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 >> buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream: >> 455 x 4608 buffers (2048KB total) >> ivtv0: Create encoder radio stream >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: i2c addr 0x44 not found for command 0xc0045627! >> ivtv0: i2c hardware 0x00000020 not found for command 0x40345622! >> ivtv0: i2c addr 0x44 not found for command 0x40345622! >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c! >> ivtv0: Initialized Hauppauge WinTV PVR-150, card #0 >> ivtv: ==================== END INIT IVTV ==================== >> >> >> I will leave the box unplugged again for a while and see if I can't >> get things to start up correctly, and then try your suggested 'rmmod >> ...' before power cycle. >> >> >> Simon >> ----- Original Message ----- >> From: "Hans Verkuil" <[EMAIL PROTECTED]> >> To: "Simon Baxter" <[EMAIL PROTECTED]> >> Sent: Saturday, June 10, 2006 3:03 AM >> Subject: Another test >> >> > Hi Simon, >> > >> > I've two more tests for you. >> > >> > First (using the standard 0.6.3 dev. snapshot) do a cold start so >> > the tveeprom is recognized. Then run: >> > >> > rmmod ivtv cx25840 wm8775 tda9887 tuner tveeprom >> > >> > before power cycling. I hope I got the order right. In any case >> > before power cycling all these modules should no longer be loaded. >> > >> > Does this make a difference afterwards? >> > >> > The second test is patching 0.6.3 with the attached patch. This >> > completely disables calling tveeprom. Does this make any >> > difference? >> > >> > Thanks, >> > >> > Hans _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
