HVR 1300: DVB channel lock problems since 2.6.28
Hi,
I recently upgraded my Debian MythTV box with a Hauupauge HVR1300 from Debian kernel 2.6.26 to 2.6.30 and could not get a channel lock for my DVB-T tv channels any more.
I then did some quick testing with vanilla linux kernels starting with 2.6.27 with the following results:
2.6.27: seems to work fine
2.6.28: channel lock could not be acquired reliably; sometimes switching channels worked fine, most of the time it failed
2.6.29: could not get any channel locks
2.6.30: the same, no channel lock
2.6.31-rc7: the same, no channel locks
I also tried the v4l-dvb repository last week-end with no success either. Has anyone an idea what to try next? I am willing to try patches.
Thanks and best wishes,
Martin.
Here's the dmesg output of 2.6.31-rc7:
[ 5.309454] Linux video capture interface: v2.00 [ 5.904394] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded [ 5.906786] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded [ 5.907339] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 17 [ 5.907348] alloc irq_desc for 17 on node 0 [ 5.907351] alloc kstat_irqs on node 0 [ 5.907364] cx8800 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17 [ 5.907903] cx88[0]: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300
DVB-T/Hybrid MPEG Encoder [card=56,autodetected], frontend(s): 1
[ 5.907907] cx88[0]: TV tuner type 63, Radio tuner type -1 [ 5.955101] cx2388x alsa driver version 0.0.7 loaded [ 6.001579] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 21 [ 6.001586] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level,
low) -> IRQ 21
[ 6.001633] HDA Intel 0000:00:07.0: setting latency timer to 64 [ 6.030099] cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner [ 6.074239] tuner 2-0043: chip found @ 0x86 (cx88[0]) [ 6.085269] tda9887 2-0043: creating new instance [ 6.085272] tda9887 2-0043: tda988[5/6/7] found [ 6.088655] tuner 2-0061: chip found @ 0xc2 (cx88[0]) [ 6.126608] tveeprom 2-0050: Hauppauge model 96019, rev D6D3, serial# 3106328 [ 6.126612] tveeprom 2-0050: MAC address is 00-0D-FE-2F-66-18 [ 6.126615] tveeprom 2-0050: tuner model is Philips FMD1216MEX (idx 133, type 78) [ 6.126619] tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L')
PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
[ 6.126622] tveeprom 2-0050: audio processor is CX882 (idx 33) [ 6.126625] tveeprom 2-0050: decoder processor is CX882 (idx 25) [ 6.126627] tveeprom 2-0050: has radio, has IR receiver, has IR transmitter [ 6.126630] cx88[0]: hauppauge eeprom: model=96019 [ 6.134285] tuner-simple 2-0061: creating new instance [ 6.134290] tuner-simple 2-0061: type set to 78 (Philips FMD1216MEX MK3 Hybrid Tuner) [ 6.138226] cx88[0]/0: found at 0000:01:07.0, rev: 5, irq: 17, latency: 64, mmio: 0xfd000000 [ 6.138239] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 6.145073] wm8775 2-001b: chip found @ 0x36 (cx88[0]) [ 6.151387] cx88[0]/0: registered device video0 [v4l2] [ 6.151414] cx88[0]/0: registered device vbi0 [ 6.151438] cx88[0]/0: registered device radio0 [ 6.155653] cx88[0]/2: cx2388x 8802 Driver Manager [ 6.155670] cx88-mpeg driver manager 0000:01:07.2: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17 [ 6.155679] cx88[0]/2: found at 0000:01:07.2, rev: 5, irq: 17, latency: 64, mmio: 0xfb000000 [ 6.155687] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 6.155758] cx88_audio 0000:01:07.1: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17 [ 6.155763] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 6.155793] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards [ 6.195845] cx88/2: cx2388x dvb driver version 0.0.7 loaded [ 6.195850] cx88/2: registering cx8802 driver, type: dvb access: shared [ 6.195854] cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56] [ 6.195858] cx88[0]/2: cx2388x based DVB/ATSC card [ 6.195860] cx8802_alloc_frontends() allocating 1 frontend(s) [ 6.229199] tuner-simple 2-0061: attaching existing instance [ 6.229208] tuner-simple 2-0061: couldn't set type to 63. Using 78 (Philips FMD1216MEX MK3 Hybrid Tuner) instead [ 6.233035] DVB: registering new adapter (cx88[0]) [ 6.233039] DVB: registering adapter 0 frontend 0 (Conexant CX22702 DVB-T)... [ 6.256103] cx2388x blackbird driver version 0.0.7 loaded [ 6.256107] cx88/2: registering cx8802 driver, type: blackbird access: shared [ 6.256111] cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56] [ 6.256116] cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design) [ 6.256335] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted [ 6.260536] cx88-mpeg driver manager 0000:01:07.2: firmware: requesting v4l-cx2341x-enc.fw [ 6.604124] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:07.0/input/input3 [ 8.789850] cx88[0]/2-bb: Firmware upload successful. [ 8.798164] cx88[0]/2-bb: Firmware version is 0x02060039 [ 8.804732] cx88[0]/2: registered device video1 [mpeg]
Hi, all I can say is that the HVR-1300 works fine over here, with the latest code and stock code from SUSE.
Have you tried Kaffeine, and scan to see what they get?
You have a firmware error in the log you posted, You could also pull down the latest firmware files
http://www.linuxtv.org/downloads/firmware/
I think from memory you need 3 of them.
Quoted 111 lines · Martin Kittel
Hi,
I recently upgraded my Debian MythTV box with a Hauupauge HVR1300 from Debian kernel 2.6.26 to 2.6.30 and could not get a channel lock for my DVB-T tv channels any more.
I then did some quick testing with vanilla linux kernels starting with 2.6.27 with the following results:
2.6.27: seems to work fine
2.6.28: channel lock could not be acquired reliably; sometimes switching channels worked fine, most of the time it failed
2.6.29: could not get any channel locks
2.6.30: the same, no channel lock
2.6.31-rc7: the same, no channel locksI also tried the v4l-dvb repository last week-end with no success either. Has anyone an idea what to try next? I am willing to try patches.
Thanks and best wishes,
Martin.
Here's the dmesg output of 2.6.31-rc7:
[ 5.309454] Linux video capture interface: v2.00 [ 5.904394] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded [ 5.906786] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded [ 5.907339] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 17 [ 5.907348] alloc irq_desc for 17 on node 0 [ 5.907351] alloc kstat_irqs on node 0 [ 5.907364] cx8800 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17 [ 5.907903] cx88[0]: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300DVB-T/Hybrid MPEG Encoder [card=56,autodetected], frontend(s): 1
[ 5.907907] cx88[0]: TV tuner type 63, Radio tuner type -1 [ 5.955101] cx2388x alsa driver version 0.0.7 loaded [ 6.001579] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 21 [ 6.001586] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level,low) -> IRQ 21
[ 6.001633] HDA Intel 0000:00:07.0: setting latency timer to 64 [ 6.030099] cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner [ 6.074239] tuner 2-0043: chip found @ 0x86 (cx88[0]) [ 6.085269] tda9887 2-0043: creating new instance [ 6.085272] tda9887 2-0043: tda988[5/6/7] found [ 6.088655] tuner 2-0061: chip found @ 0xc2 (cx88[0]) [ 6.126608] tveeprom 2-0050: Hauppauge model 96019, rev D6D3, serial# 3106328 [ 6.126612] tveeprom 2-0050: MAC address is 00-0D-FE-2F-66-18 [ 6.126615] tveeprom 2-0050: tuner model is Philips FMD1216MEX (idx 133, type 78) [ 6.126619] tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L')PAL(D/D1/K) ATSC/DVB Digital (eeprom
0xf4)[ 6.126622] tveeprom 2-0050: audio processor is CX882 (idx 33) [ 6.126625] tveeprom 2-0050: decoder processor is CX882 (idx 25) [ 6.126627] tveeprom 2-0050: has radio, has IR receiver, has IR transmitter [ 6.126630] cx88[0]: hauppauge eeprom: model=96019 [ 6.134285] tuner-simple 2-0061: creating new instance [ 6.134290] tuner-simple 2-0061: type set to 78 (Philips FMD1216MEX MK3 Hybrid Tuner) [ 6.138226] cx88[0]/0: found at 0000:01:07.0, rev: 5, irq: 17, latency: 64, mmio: 0xfd000000 [ 6.138239] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 6.145073] wm8775 2-001b: chip found @ 0x36 (cx88[0]) [ 6.151387] cx88[0]/0: registered device video0 [v4l2] [ 6.151414] cx88[0]/0: registered device vbi0 [ 6.151438] cx88[0]/0: registered device radio0 [ 6.155653] cx88[0]/2: cx2388x 8802 Driver Manager [ 6.155670] cx88-mpeg driver manager 0000:01:07.2: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17 [ 6.155679] cx88[0]/2: found at 0000:01:07.2, rev: 5, irq: 17, latency: 64, mmio: 0xfb000000 [ 6.155687] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 6.155758] cx88_audio 0000:01:07.1: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17 [ 6.155763] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 6.155793] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards [ 6.195845] cx88/2: cx2388x dvb driver version 0.0.7 loaded [ 6.195850] cx88/2: registering cx8802 driver, type: dvb access: shared [ 6.195854] cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56] [ 6.195858] cx88[0]/2: cx2388x based DVB/ATSC card [ 6.195860] cx8802_alloc_frontends() allocating 1 frontend(s) [ 6.229199] tuner-simple 2-0061: attaching existing instance [ 6.229208] tuner-simple 2-0061: couldn't set type to 63. Using 78 (Philips FMD1216MEX MK3 Hybrid Tuner) instead [ 6.233035] DVB: registering new adapter (cx88[0]) [ 6.233039] DVB: registering adapter 0 frontend 0 (Conexant CX22702 DVB-T)... [ 6.256103] cx2388x blackbird driver version 0.0.7 loaded [ 6.256107] cx88/2: registering cx8802 driver, type: blackbird access: shared [ 6.256111] cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56] [ 6.256116] cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design) [ 6.256335] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted [ 6.260536] cx88-mpeg driver manager 0000:01:07.2: firmware: requesting v4l-cx2341x-enc.fw [ 6.604124] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:07.0/input/input3 [ 8.789850] cx88[0]/2-bb: Firmware upload successful. [ 8.798164] cx88[0]/2-bb: Firmware version is 0x02060039 [ 8.804732] cx88[0]/2: registered device video1 [mpeg]--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · [email protected] wrote:
Have you tried Kaffeine, and scan to see what they get?
Thanks for the pointer. I tried kaffeine (0.8.7) today and it looks a bit better with this on 2.6.31-rc7.
While a scan with mythTV comes up with no stations found at all, kaffeine still finds some of the tv stations. But instead of the 27 stations I get with both mythTV and kaffeine on 2.6.26, kaffeine finds only 15 stations with 2.6.31-rc7. Tuning to those then often at first results in a 'could not get lock error', and succeeds on the second try. So part of the blame might be put on mythTV but I think there is still a problem with the driver.
Quoted 2 lines
You have a firmware error in the log you posted,
I don't think it is a real error but just the information that the firmware is still missing and will be requested (and the upload was successful:
[ 6.256335] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted [ 6.260536] cx88-mpeg driver manager 0000:01:07.2: firmware: requesting v4l-cx2341x-enc.fw ... [ 8.789850] cx88[0]/2-bb: Firmware upload successful. [ 8.798164] cx88[0]/2-bb: Firmware version is 0x02060039 [ 8.804732] cx88[0]/2: registered device video1 [mpeg]
Quoted 3 lines
You could also pull down the latest firmware files
http://www.linuxtv.org/downloads/firmware/
I think from memory you need 3 of them.
To be on the safe side, I added all v4l-cx* images from that site but the one I actually needed (v4l-cx2341x-enc.fw) is not available there.
So in summary, it still seems to me there is a problem with the driver because I cannot get all channels with kaffeine either.
Best wishes,
Martin
Another suggestion, in mythtv, try increasing the signal something timeout - I think the default is 1500ms.
Or scan has an option -5 (I think -- sorry its been a while and my box is recording) that increases the time wait before giving up.
Quoted 55 lines · Martin Kittel
Quoted 2 lines · [email protected] wrote:
Have you tried Kaffeine, and scan to see what they get?
Thanks for the pointer. I tried kaffeine (0.8.7) today and it looks a bit better with this on 2.6.31-rc7.
While a scan with mythTV comes up with no stations found at all, kaffeine still finds some of the tv stations. But instead of the 27 stations I get with both mythTV and kaffeine on 2.6.26, kaffeine finds only 15 stations with 2.6.31-rc7. Tuning to those then often at first results in a 'could not get lock error', and succeeds on the second try. So part of the blame might be put on mythTV but I think there is still a problem with the driver.Quoted 2 lines
You have a firmware error in the log you posted,
I don't think it is a real error but just the information that the firmware is still missing and will be requested (and the upload was successful:
[ 6.256335] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted [ 6.260536] cx88-mpeg driver manager 0000:01:07.2: firmware: requesting v4l-cx2341x-enc.fw ... [ 8.789850] cx88[0]/2-bb: Firmware upload successful. [ 8.798164] cx88[0]/2-bb: Firmware version is 0x02060039 [ 8.804732] cx88[0]/2: registered device video1 [mpeg]Quoted 4 lines
You could also pull down the latest firmware files
http://www.linuxtv.org/downloads/firmware/
I think from memory you need 3 of them.To be on the safe side, I added all v4l-cx* images from that site but the one I actually needed (v4l-cx2341x-enc.fw) is not available there.
So in summary, it still seems to me there is a problem with the driver because I cannot get all channels with kaffeine either.
Best wishes,
Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · [email protected] wrote:
Another suggestion, in mythtv, try increasing the signal something timeout - I think the default is 1500ms.
Or scan has an option -5 (I think -- sorry its been a while and my box is recording) that increases the time wait before giving up.
I stand corrected. scan seems to find all channels while mythTV doesn't find any with 2.6.31-rc7. I have tried all various (very) high time waits with no success.
I think I have to head over to the mythTV list...
Thanks for your help!
Martin.