← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 439163] Re: HVR-1300 HVR-3000 HVR-4000 broken in kernel

 

hello

here is my history with this bug:

- ubuntu 8.04 rock solid
- upgrade to 10.04 with 2.6.32-22 - disaster (too many other problems to list here, but HVR-1300 is one problem)
- go insane for 1 week trying to fix
- finally download v4l-dvb-20100130	from kewl.org and install
- intermittent problems with 1300 still... mythbackend scan only finds "probable" channels, no lock or partial lock when trying live TV, etc.

Eventually i noticed that one patch Gunni had reverted was the "cx88:
HVR1300 ensure switching from Encoder to DVB-T and back is reliable" as
seen in http://www.mail-archive.com/linuxtv-
commits@xxxxxxxxxxx/msg04710.html. I noticed that this patch is NOT
reverted in v4l-dvb-20100130, but the other patch Gunni suggested
reverting (http://www.mail-archive.com/linuxtv-
commits@xxxxxxxxxxx/msg02195.html) IS reverted in 20100130.

So this made me think. I had been using the V4L analog tuner in my
mythbackend setup. and it would always be the first tuner used by
frontend when i started live TV to do testing. And analog would always
work, but digital/dvb would then never work (wn i switched via live tv
menu "Switch Input" option). so i thought maybe using analog first and
switching to digital was the problem.

so i removed the analog tuner from my back end setup and now digital
works!!

a couple of things i could now try:

1. add analog back into backend, change card priorities so that when i test in LiveTV it doesn't start in analog, then try switching from digital to analog and back again (instead of other way around which i know fails)
2. revert patch in my copy of the 20100130 source, recompile, try switching from analog to digital again 

here is my latest dmesg:

~$ dmesg | egrep "i2c|cx88"
[   22.106181] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
[   22.106202] cx8800 0000:05:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   22.106361] cx88[0]: subsystem: 0070:9600, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56,autodetected], frontend(s): 1
[   22.106363] cx88[0]: TV tuner type 63, Radio tuner type -1
[   22.110554] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
[   22.244072] cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner
[   22.263857] tuner 0-0043: chip found @ 0x86 (cx88[0])
[   22.272096] tuner 0-0061: chip found @ 0xc2 (cx88[0])
[   22.313139] cx88[0]: hauppauge eeprom: model=96559
[   22.323577] cx88[0]/0: found at 0000:05:01.0, rev: 5, irq: 17, latency: 64, mmio: 0xfb000000
[   22.323585] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[   22.325667] wm8775 0-001b: chip found @ 0x36 (cx88[0])
[   22.332843] cx88[0]/0: registered device video0 [v4l2]
[   22.332883] cx88[0]/0: registered device vbi0
[   22.332927] cx88[0]/0: registered device radio0
[   22.336955] cx88[0]/2: cx2388x 8802 Driver Manager
[   22.336967] cx88-mpeg driver manager 0000:05:01.2: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   22.336974] cx88[0]/2: found at 0000:05:01.2, rev: 5, irq: 17, latency: 64, mmio: 0xfd000000
[   22.336977] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[   22.337077] cx88_audio 0000:05:01.1: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   22.337081] IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[   22.337095] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[   22.349016] cx88/2: cx2388x dvb driver version 0.0.7 loaded
[   22.349018] cx88/2: registering cx8802 driver, type: dvb access: shared
[   22.349020] cx88[0]/2: subsystem: 0070:9600, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
[   22.349022] cx88[0]/2: cx2388x based DVB/ATSC card
[   22.349024] cx8802_alloc_frontends() allocating 1 frontend(s)
[   22.364371] DVB: registering new adapter (cx88[0])
[   22.375928] cx88/2: registering cx8802 driver, type: blackbird access: shared
[   22.375930] cx88[0]/2: subsystem: 0070:9600, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
[   22.375932] cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
[   22.376152] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
[   22.380523] cx88-mpeg driver manager 0000:05:01.2: firmware: requesting v4l-cx2341x-enc.fw
[   25.096449] cx88[0]/2-bb: Firmware upload successful.
[   25.105986] cx88[0]/2-bb: Firmware version is 0x02060039
[   25.113887] cx88[0]/2: registered device video1 [mpeg]
[   30.576143] tda9887 0-0043: i2c i/o error: rc == -6 (should be 4)
[   91.943237] cx88[0]: irq mpeg  [0x100000] ts_err?*
[   91.943241] cx88[0]/2-mpeg: general errors: 0x00100000

-- 
HVR-1300 HVR-3000 HVR-4000 broken in kernel
https://bugs.launchpad.net/bugs/439163
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Triaged
Status in MythTV: Invalid
Status in “linux” package in Ubuntu: Triaged

Bug description:
This is a continuation of bug #436564. Please refer to that for relevant dmesg'.
The capture card I have is the Hauppauge HVR-1300.
The card is now correctly recognized as DVB-T but channel scan fails with message "Timed out, no signal" at each channel is scanned.
The command scan <location> > channels.conf ends correcly and file channels.conf is feeded with all tunable channels.
I tried to import such channels.conf with the same result.
Increasing the signal and channel timeout in the DVB settings (now up to 1000 but I planned to increase to ignore) doesnt solve the problem.
Tonight I will try what Marc suggested - mythtv-setup --verbose channelscan,siparser,channel,record - then I will report the log.