[mythtv-users] HD3000 Firmware loading/unloading problem

H P Ladds householdwords at gmail.com
Wed Oct 24 13:12:06 UTC 2007


A new theory as to why the firmware fails to load occasionally.

udev or hotplug reads the system's devices in a different order and
assigns different numbers to the tuner cards; thus the firmware tries
to load to an erroneous address.

Please note the different tuner card numbers from the dmesg snips
below. There are several other instances where the same device is
assigned different numbers through out the dmesgs.

Thanks

dmesg of the system when not working properly:
<snip>
tuner 0-0043: chip found @ 0x86 (cx88[0])
tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 0-0043: type set to tda9887
tuner 0-0061: chip found @ 0xc2 (cx88[0])
tuner-simple 0-0061: type set to 60 (Thomson DTT 761X (ATSC/NTSC))
tuner 0-0061: type set to Thomson DTT 761X (ATSC/NTSC)
<snip>

dmesg of the system when working:
<snip>
tuner 2-0043: chip found @ 0x86 (cx88[0])
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 2-0043: type set to tda9887
tuner 2-0061: chip found @ 0xc2 (cx88[0])
tuner-simple 2-0061: type set to 60 (Thomson DTT 761X (ATSC/NTSC))
tuner 2-0061: type set to Thomson DTT 761X (ATSC/NTSC)
<snip>

The most relevant error message from dmesg is
<snip>
or51132: Waiting for firmware upload(dvb-fe-or51132-vsb.fw)...
or51132: I2C write (addr 0x15 len 1771) error: -121
or51132: load_firmware error 1
or51132: Writing firmware to device failed!
or51132: I2C error reading register 0: -121
or51132: read_status: error reading receiver status: -121
or51132: I2C error reading register 0: -121
or51132: read_status: error reading receiver status: -121........
<snip>


On 10/21/07, H P Ladds <householdwords at gmail.com> wrote:
> My system's Over The Air (OTA) signal is 0% after boot. This occurs
> once in every four boots (approx). The signal remains at 0% for every
> boot thereafter.
>
> If unplug the computer from power, wait a few minutes, and reboot.
> Then the card becomes operational again.
>
> Equipment:
> OS: Knoppmyth R5F27
> CPU: AMD Athlon64
> Capture Card #1: pcHDTV HD3000
> Capture Card #2: Hauppauge PVR-150
>
> Relevant dmesg output from when the system is working properly and
> also from when it is not working below.
>
> Thanks All
>
> NOT working properly:
> Linux video capture interface: v2.00
> cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
> cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
> ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
> ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [APC2] -> GSI 17 (level,
> low) -> IRQ 20
> cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
> cx88[0]: TV tuner type 60, Radio tuner type -1
> cx88[0]/0: found at 0000:04:08.0, rev: 5, irq: 20, latency: 32, mmio: 0xec000000
> tuner 0-0043: chip found @ 0x86 (cx88[0])
> tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
> tuner 0-0043: type set to tda9887
> tuner 0-0061: chip found @ 0xc2 (cx88[0])
> tuner-simple 0-0061: type set to 60 (Thomson DTT 761X (ATSC/NTSC))
> tuner 0-0061: type set to Thomson DTT 761X (ATSC/NTSC)
> cx88[0]/0: registered device video0 [v4l2]
> cx88[0]/0: registered device vbi0
> cx88[0]/0: registered device radio0
> cx88[0]/2: cx2388x 8802 Driver Manager
> ACPI: PCI Interrupt 0000:04:08.2[A] -> Link [APC2] -> GSI 17 (level,
> low) -> IRQ 20
> cx88[0]/2: found at 0000:04:08.2, rev: 5, irq: 20, latency: 32, mmio: 0xeb000000
> ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 23
> ACPI: PCI Interrupt 0000:00:10.2[C] -> Link [APCJ] -> GSI 23 (level,
> low) -> IRQ 16
> PCI: Setting latency timer of device 0000:00:10.2 to 64
> cx88/2: cx2388x dvb driver version 0.0.6 loaded
> cx88/2: registering cx8802 driver, type: dvb access: shared
> cx88[0]/2: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22]
> cx88[0]/2: cx2388x based DVB/ATSC card
> DVB: registering new adapter (cx88[0])
> DVB: registering frontend 0 (Oren OR51132 VSB/QAM Frontend)...
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> NET: Registered protocol family 23
> intel8x0_measure_ac97_clock: measured 50729 usecs
> intel8x0: clocking to 46827
> ivtv:  Start initialization, version 1.1.0
> ivtv0: Initializing card #0
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
> ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [APC3] -> GSI 18 (level,
> low) -> IRQ 21
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> parport: PnPBIOS parport detected.
> parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
> tveeprom 1-0050: Hauppauge model 26132, rev F0B2, serial# 9399280
> tveeprom 1-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
> tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 1-0050: audio processor is CX25841 (idx 35)
> tveeprom 1-0050: decoder processor is CX25841 (idx 28)
> tveeprom 1-0050: has no radio, has IR receiver, has IR transmitter
> ivtv0: Autodetected Hauppauge WinTV PVR-150
> ivtv0: Reopen i2c bus for IR-blaster support
> tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> cx25840 1-0044: cx25841-24 found @ 0x88 (ivtv i2c driver #0)
> wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
> tuner-simple 1-0061: type set to 50 (TCL 2002N)
> tuner 1-0061: type set to TCL 2002N
> ivtv0: Registered device video1 for encoder MPG (4096 kB)
> ivtv0: Registered device video32 for encoder YUV (2048 kB)
> ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
> ivtv0: Registered device video24 for encoder PCM (320 kB)
> ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
> i2c_adapter i2c-2: nForce2 SMBus adapter at 0x1c00
> i2c_adapter i2c-3: nForce2 SMBus adapter at 0x1c40
> ivtv:  End initialization
> Adding 1959920k swap on /dev/hda2.  Priority:-1 extents:1 across:1959920k
> EXT3 FS on hda1, internal journal
> bttv: driver version 0.9.17 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bt878: AUDIO driver version 0.0.0 loaded
> Non-volatile memory driver v1.2
> saa7130/34: v4l2 driver version 0.2.14 loaded
> <portion excerpted>
> ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> nvidia: module license 'NVIDIA' taints kernel.
> ACPI: PCI Interrupt Link [APC7] enabled at IRQ 16
> ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [APC7] -> GSI 16 (level,
> low) -> IRQ 22
> PCI: Setting latency timer of device 0000:00:05.0 to 64
> NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26
> 23:21:15 PST 2007
> cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> or51132: Waiting for firmware upload(dvb-fe-or51132-vsb.fw)...
> or51132: I2C write (addr 0x15 len 1771) error: -121
> or51132: load_firmware error 1
> or51132: Writing firmware to device failed!
> or51132: I2C error reading register 0: -121
> or51132: read_status: error reading receiver status: -121
> or51132: I2C error reading register 0: -121
> or51132: read_status: error reading receiver status: -121........
> #NOTE: the eight lines immediately above repeat until the end of file.
>
> When it IS working properly:
> Linux video capture interface: v2.00
> cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
> cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
> cx88[0]: TV tuner type 60, Radio tuner type -1
> cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
> tuner 2-0043: chip found @ 0x86 (cx88[0])
> tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
> tuner 2-0043: type set to tda9887
> tuner 2-0061: chip found @ 0xc2 (cx88[0])
> tuner-simple 2-0061: type set to 60 (Thomson DTT 761X (ATSC/NTSC))
> tuner 2-0061: type set to Thomson DTT 761X (ATSC/NTSC)
> cx88[0]/2: cx2388x 8802 Driver Manager
> ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
> ACPI: PCI Interrupt 0000:04:08.2[A] -> Link [APC2] -> GSI 17 (level,
> low) -> IRQ 20
> cx88[0]/2: found at 0000:04:08.2, rev: 5, irq: 20, latency: 32, mmio: 0xeb000000
> ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [APC2] -> GSI 17 (level,
> low) -> IRQ 20
> cx88[0]/0: found at 0000:04:08.0, rev: 5, irq: 20, latency: 32, mmio: 0xec000000
> cx88[0]/0: registered device video0 [v4l2]
> cx88[0]/0: registered device vbi0
> cx88[0]/0: registered device radio0
> ivtv:  Start initialization, version 1.1.0
> ivtv0: Initializing card #0
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
> ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [APC3] -> GSI 18 (level,
> low) -> IRQ 21
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> tveeprom 3-0050: Hauppauge model 26132, rev F0B2, serial# 9399280
> tveeprom 3-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
> tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 3-0050: audio processor is CX25841 (idx 35)
> tveeprom 3-0050: decoder processor is CX25841 (idx 28)
> tveeprom 3-0050: has no radio, has IR receiver, has IR transmitter
> ivtv0: Autodetected Hauppauge WinTV PVR-150
> ivtv0: Reopen i2c bus for IR-blaster support
> tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> cx25840 3-0044: cx25841-24 found @ 0x88 (ivtv i2c driver #0)
> wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
> tuner-simple 3-0061: type set to 50 (TCL 2002N)
> tuner 3-0061: type set to TCL 2002N
> ivtv0: Registered device video1 for encoder MPG (4096 kB)
> ivtv0: Registered device video32 for encoder YUV (2048 kB)
> ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
> ivtv0: Registered device video24 for encoder PCM (320 kB)
> ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
> ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 23
> ACPI: PCI Interrupt 0000:00:10.2[C] -> Link [APCJ] -> GSI 23 (level,
> low) -> IRQ 16
> PCI: Setting latency timer of device 0000:00:10.2 to 64
> ivtv:  End initialization
> cx88/2: cx2388x dvb driver version 0.0.6 loaded
> cx88/2: registering cx8802 driver, type: dvb access: shared
> cx88[0]/2: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22]
> cx88[0]/2: cx2388x based DVB/ATSC card
> DVB: registering new adapter (cx88[0])
> DVB: registering frontend 0 (Oren OR51132 VSB/QAM Frontend)...
> intel8x0_measure_ac97_clock: measured 51775 usecs
> intel8x0: clocking to 46891
> Adding 1959920k swap on /dev/hda2.  Priority:-1 extents:1 across:1959920k
> EXT3 FS on hda1, internal journal
> bttv: driver version 0.9.17 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bt878: AUDIO driver version 0.0.0 loaded
> Non-volatile memory driver v1.2
> saa7130/34: v4l2 driver version 0.2.14 loaded
> <portion excerpted>
> ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> nvidia: module license 'NVIDIA' taints kernel.
> ACPI: PCI Interrupt Link [APC7] enabled at IRQ 16
> ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [APC7] -> GSI 16 (level,
> low) -> IRQ 22
> PCI: Setting latency timer of device 0000:00:05.0 to 64
> NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26
> 23:21:15 PST 2007
> cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> or51132: Waiting for firmware upload(dvb-fe-or51132-vsb.fw)...
> or51132: Version: 10001134-19430000 (113-4-194-3)
> or51132: Firmware upload complete.
>


More information about the mythtv-users mailing list