On Tue, 2006-03-14 at 09:03 +0100, Rik van de Bovenkamp wrote: > Hi, > > If you check dmesg, is everything OK loading ivtv? > You should see the ivtv messages between two ======== lines. > Using diff to compare the dmesg output for different kernels has led me to > getting things to work.
I booted with my old kernel and copied the ivtv stuff from dmesg into a file. Here it is: [EMAIL PROTECTED] ~ $ cat ivtv-2.6.14-r5 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.2 (tagged release) loading ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 gcc-3.4 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 WinTV PVR 250 card (cx23416 based) ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 22 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: ivtv version tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8059944 tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = MSP4448 (type = 1b) tveeprom: decoder processor = SAA7115 (type = 13) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] saa7115 0-0021: ivtv driver saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] msp3400 0-0040: ivtv driver msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio mode=simpler ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40] msp3400 0-0040: msp34xxg daemon started tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) 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 tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 ivtv0: Initialized WinTV PVR 250, card #0 ivtv: ==================== END INIT IVTV ==================== [EMAIL PROTECTED] ~ $ Then I booted with the new kernel and did the same thing. Here it is: [EMAIL PROTECTED] ~ $ cat ivtv-2.6.15-r1 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.2 (tagged release) loading ivtv: Linux version: 2.6.15-gentoo-r1 SMP 486 gcc-3.4 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 WinTV PVR 250 card (cx23416 based) ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 22 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] tveeprom 0-0050: Hauppauge model 32552, rev C168, serial# 8059944 tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47) tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 0-0050: audio processor is MSP4448 (idx 27) tveeprom 0-0050: decoder processor is SAA7115 (idx 19) tveeprom 0-0050: has radio, has no IR remote tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] ivtv0: Failed to load module saa7115 ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b! msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio mode=simpler ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40] msp3400 0-0040: msp34xxg daemon started tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) 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 tuner 0-0061: type set to 47 (LG NTSC (TAPE series)) ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627! ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613! ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612! ivtv0: Initialized WinTV PVR 250, card #0 ivtv: ==================== END INIT IVTV ==================== [EMAIL PROTECTED] ~ $ And here's the diff: [EMAIL PROTECTED] ~ $ diff ivtv-2.6.14-r5 ivtv-2.6.15-r1 3c3 < ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 gcc-3.4 --- > ivtv: Linux version: 2.6.15-gentoo-r1 SMP 486 gcc-3.4 10,15d9 < tveeprom: ivtv version < tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8059944 < tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) < tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) < tveeprom: audio processor = MSP4448 (type = 1b) < tveeprom: decoder processor = SAA7115 (type = 13) 17c11,17 < tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 --- > tveeprom 0-0050: Hauppauge model 32552, rev C168, serial# 8059944 > tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47) > tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) > tveeprom 0-0050: audio processor is MSP4448 (idx 27) > tveeprom 0-0050: decoder processor is SAA7115 (idx 19) > tveeprom 0-0050: has radio, has no IR remote > tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) 19,22c19,20 < saa7115 0-0021: ivtv driver < saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) < ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] < msp3400 0-0040: ivtv driver --- > ivtv0: Failed to load module saa7115 > ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b! 26c24 < tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0) --- > tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0) 35c33,38 < tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 --- > tuner 0-0061: type set to 47 (LG NTSC (TAPE series)) > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! > ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627! > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613! > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612! [EMAIL PROTECTED] ~ $ As you can see, there was a failure to load module saa7115 and several warnings about client addresses not being found, among other things. I have no idea why these things are happening or how to fix them... > When you do a ivtv-tune -f xxx.xx to set frequency. camille ~ # ivtv-tune -f xxx.xx /dev/video0: 0.000 MHz (Signal Detected) > After that cat /dev/video0 > test.mpg and you playback test.mpg is that OK > (or you do mplayer /dev/video0) camille ~ # cat /dev/video0 > test.mpg camille ~ # ls -lh test.mpg -rw-r--r-- 1 root root 0 Mar 14 11:03 test.mpg Nothing. What should I do now? > > > > -----Original Message----- > From: Michael Sullivan [mailto:[EMAIL PROTECTED] > Sent: Monday, March 13, 2006 7:39 PM > To: gentoo-user > Subject: [gentoo-user] OT - Need help getting MythTV to work with new(er) > kernel > > I had MythTV working perfectly with linux-2.6.14-gentoo-r5. I've tried > to upgrade to linux-2.6.15-gentoo-r1 using genkernel and basing the > newer kernel's configuration off of the older one. I've booted with the > new kernel, remerged ivtv and rebooted again with the new kernel, but > still I cannot watch LiveTV in mythfrontend. Here's the output of > mythbackend.log: > > camille ~ # cat /var/log/mythtv/mythbackend.log > Starting up as the master server. > > It is current (I stopped mythbackend, deleted the old mythbackend.log, > restarted syslog-ng and then mythbackend.) When I start mythfrontend > and ask to watch LiveTV, all I see is the blank screen. Here is the > output of running mythfrontend from my terminal: > > [EMAIL PROTECTED] ~ $ mythfrontend > 2006-03-13 13:30:34.209 New DB connection, total: 1 > Total desktop width=1024, height=768, numscreens=1 > 2006-03-13 13:30:34.229 Using screen 0, 1024x768 at 0,0 > 2006-03-13 13:30:34.249 mythfrontend version: 0.18.1.20050510-1 > www.mythtv.org > 2006-03-13 13:30:34.250 Enabled verbose msgs : important general > 2006-03-13 13:30:34.526 Switching to square mode (G.A.N.T.) > mythtv: could not connect to socket > mythtv: No such file or directory > lirc_init failed for mythtv, see preceding messages > 2006-03-13 13:30:34.952 Joystick disabled. > 2006-03-13 13:30:35.069 Registering Internal as a media playback plugin. > 2006-03-13 13:30:40.671 New DB connection, total: 2 > 2006-03-13 13:30:40.710 Connecting to backend server: 192.168.1.3:6543 > (try 1 of 5) > 2006-03-13 13:30:40.733 Using protocol version 15 > 2006-03-13 13:30:40.890 Using protocol version 15 > 2006-03-13 13:30:46.209 taking too long to be allowed to read.. > 2006-03-13 13:30:51.213 taking too long to be allowed to read.. > 2006-03-13 13:31:00.218 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:04.222 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:08.226 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:12.230 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:16.234 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:20.238 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:24.242 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:28.246 Waited 4 seconds for data to become available, > waiting again... > 2006-03-13 13:31:28.247 Waited 14 seconds for data to become available, > aborting > Couldn't read file: rbuf://192.168.1.3:6543/mnt/store//ringbuf1.nuv > 2006-03-13 13:31:28.303 Changing from None to WatchingLiveTV > 2006-03-13 13:31:28.303 Decoder not alive, and trying to play.. > 2006-03-13 13:31:48.307 ReadStringList timeout (quick). > Remote encoder not responding. > 2006-03-13 13:31:48.323 Changing from None to None > 2006-03-13 13:31:58.483 ReadStringList timeout (quick). > 2006-03-13 13:31:58.483 RemoteFile::Read(): No response from control > socket. > 2006-03-13 13:31:58.483 RemoteFile::Read() failed in > RingBuffer::safe_read(). > 2006-03-13 13:31:58.495 WriteStringList: Bad socket > 2006-03-13 13:31:58.495 ReadStringList: Bad socket > 2006-03-13 13:31:58.495 Remote file timeout. > > > > I see there: > > mythtv: could not connect to socket > mythtv: No such file or directory > > But mythbackend IS running; from another teminal tab I issue this: > > camille ~ # ps ax | grep 'mythbackend' > 12762 ? Ss 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12766 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12767 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12769 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12770 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12771 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12772 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12773 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12774 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12775 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12776 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12777 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12792 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12793 ? S 0:00 /usr/bin/mythbackend --verbose none > --logfile /var/log/mythtv/mythbackend.log > 12821 pts/1 S+ 0:00 grep mythbackend > camille ~ # > > I would post the new kernel config, but since it's based off the old > kernel config, and the old one worked, I don't see the necessity. I > will post it if it would be helpful. Why is this not working? Have I > forgotten something? > > > > -- > gentoo-user@gentoo.org mailing list > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.2.2/280 - Release Date: 3/13/2006 > > -- gentoo-user@gentoo.org mailing list