On 1/18/06, Mark Knecht <[EMAIL PROTECTED]> wrote:
> Hi,
>    I tried updating the ivtv driver to the new 0.4.2 version this
> morning and seem to have broken my MythTV server. I now only get
> channel 4. Audio and picture are fine but the tuner/tuners won't
> change channels. I have two PVR cards (a 150 and a 250) which were
> working fine with the 0.4.0 driver.
>
>    Has anyone else done this update and tested whether it's working
> for them yet?
>
>    I did try deleting and recreating the cards in mythsetup already.
> That did not help. Other ideas gladly accepted.
>
>    Off to read the forums and look at Bugzilla.
>
> Thanks,
> Mark
>

Following up on the previous report. I found a number of old files
hanging around so I did an emerge -C ivtv and then removed everything
from /lib/modules that was left over and seemed remotely involved with
ivtv. Following that I re-emerged ivtv. The emerge went cleanly and
following a reboot I now have the first card (PVR-150) working
correctly. Unfortunately the second card just hangs up. I get 1 second
of video. The card freezes and then comes back to MythTV saying there
was a problem playing video. I hit escape and I'm back in Myth.

There is nothing strange to my eyes in dmesg:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.2 (tagged release) loading
ivtv:  Linux version: 2.6.13-gentoo-r3-ht SMP preempt PENTIUM4 gcc-3.3
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 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:01:01.0[A] -> GSI 22 (level, low) -> IRQ 21
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8095579
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25841 (type = 23)
tveeprom: decoder processor = CX25841 (type = 1c)
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]
cx25840 0-0044: ivtv driver
cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: ivtv driver
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
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)
tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 150, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected WinTV PVR 250 card (cx23416 based)
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 17 (level, low) -> IRQ 22
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7913638
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
saa7115 1-0021: ivtv driver
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=saa7115, addr=21]
msp3400 1-0040: ivtv driver
msp3400 1-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
msp3400 1-0040: msp34xxg daemon started
ivtv1: i2c attach to card #1 ok [client=MSP3445G-B8, addr=40]
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv1: Encoder revision: 0x02050032
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #1
ivtv1: Initialized WinTV PVR 250, card #1
ivtv:  ====================  END INIT IVTV  ====================

Following the reboot this was added to the /var/log/mythtv/mythbackend.log

2006-01-18 14:48:34.106 New DB connection, total: 1
Starting up as the master server.
2006-01-18 14:48:34.590 New DB connection, total: 2
2006-01-18 14:48:34.667 ChannelBase: Could not find input: Tuner 0 on
card when setting channel 3

2006-01-18 14:48:34.734 New DB connection, total: 3
2006-01-18 14:48:34.902 New DB scheduler connection
2006-01-18 14:48:34.913 mythbackend version: 0.18.1.20050510-1 www.mythtv.org
2006-01-18 14:48:35.009 Enabled verbose msgs :important
2006-01-18 14:48:42.984 Recording starts soon, AUTO-Startup assumed
2006-01-18 14:49:57.489 adding: dragonfly as a client (events: 0)
2006-01-18 14:49:57.549 adding: dragonfly as a client (events: 1)
2006-01-18 14:49:57.573 adding: dragonfly as a client (events: 0)
2006-01-18 14:49:57.621 adding: dragonfly as a client (events: 0)
2006-01-18 14:49:57.637 adding: dragonfly as a remote ringbuffer
2006-01-18 14:50:19.894 adding: dragonfly as a client (events: 0)
2006-01-18 14:50:19.926 adding: dragonfly as a client (events: 0)
2006-01-18 14:50:19.942 adding: dragonfly as a remote ringbuffer
2006-01-18 14:50:22.189 joined null string in WriteStringList
2006-01-18 14:50:44.874 adding: dragonfly as a client (events: 0)
2006-01-18 14:50:44.906 adding: dragonfly as a client (events: 0)
2006-01-18 14:50:44.922 adding: dragonfly as a remote ringbuffer
2006-01-18 14:51:38.722 adding: dragonfly as a client (events: 0)
2006-01-18 14:51:38.754 adding: dragonfly as a client (events: 0)
2006-01-18 14:51:38.774 adding: dragonfly as a remote ringbuffer
2006-01-18 14:51:40.974 joined null string in WriteStringList
2006-01-18 14:52:02.750 adding: dragonfly as a client (events: 0)
2006-01-18 14:52:02.782 adding: dragonfly as a client (events: 0)
2006-01-18 14:52:02.798 adding: dragonfly as a remote ringbuffer
2006-01-18 15:00:02.018 ChannelBase: Could not find input: Tuner 0 on
card when setting channel 58

It now seems unclear as to whether card 0 (PVR-150) is working or
whether it's really card 2 that's working. I started a recording and
it's recording the wrong channel. Bummer.

Anyone have any experience in this sort of debug?

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list

Reply via email to