[linux-dvb] leadtek dtv1800 h support
Paul Chubb
paulc at singlespoon.org.au
Mon Aug 25 12:13:14 CEST 2008
Hi,
a few months ago Miroslav Sustek created a patch for this card
against Markus Rechberger's v4l repository. This patch is attached as
dtv1800.patch. A patched and compiled set of drivers fails on ubuntu
hardy heron 8.04 with lots of symbol errors. Hardy is running 2.6.24.19.
I have attempted to backport this patch to the current v4l tree with
limited success. The driver loads however fails to do anything useful.
My patch is attached as dtv1800h-v4l.patch.
I *think* the issue is with loading firmware. The tuner-xc2028.c
function check_firmware is passed a frontend without the firmware name -
producing the error shown in the dmesg listing below. If I hack the
function and hardcode the firmware file name, it attempts to load the
firmware but fails when it tries to read back.
Now that I am totally out of my depth I am not sure what to try next.
Any help will be gratefully received.
Cheers Paul
dmesg:
[ 28.783219] Linux agpgart interface v0.102
[ 28.888020] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x600
[ 28.888048] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x700
[ 29.925721] Linux video capture interface: v2.00
[ 30.130841] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 30.214305] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
[ 30.214405] cx88[0]: subsystem: 107d:6654, board: LeadTek Winfast
DTV1800 Hybrid [card=65,autodetected]
[ 30.214408] cx88[0]: TV tuner type 71, Radio tuner type 0
[ 30.305188] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
[ 31.206991] parport_pc 00:06: reported by Plug and Play ACPI
[ 31.207113] parport0: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[ 31.924986] cx88[0]: i2c register ok
[ 31.964435] cx88[0]/2: cx2388x 8802 Driver Manager
[ 31.964761] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 19
[ 31.964772] ACPI: PCI Interrupt 0000:04:09.2[A] -> Link [LNKB] -> GSI
19 (level, low) -> IRQ 20
[ 31.964781] cx88[0]/2: found at 0000:04:09.2, rev: 5, irq: 20,
latency: 64, mmio: 0xf9000000
[ 31.964830] ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [LNKB] -> GSI
19 (level, low) -> IRQ 20
[ 31.964838] cx88[0]/0: found at 0000:04:09.0, rev: 5, irq: 20,
latency: 64, mmio: 0xf7000000
[ 32.223609] cx88/2: cx2388x dvb driver version 0.0.6 loaded
[ 32.223614] cx88/2: registering cx8802 driver, type: dvb access: shared
[ 32.223618] cx88[0]/2: subsystem: 107d:6654, board: LeadTek Winfast
DTV1800 Hybrid [card=65]
[ 32.223621] cx88[0]/2-dvb: cx8802_dvb_probe
[ 32.223623] cx88[0]/2-dvb: ->being probed by Card=65 Name=cx88[0],
PCI 04:09
[ 32.223625] cx88[0]/2: cx2388x based DVB/ATSC card
[ 32.364033] xc2028: Xcv2028/3028 init called!
[ 32.364038] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
[ 32.366880] tuner' 2-0061: chip found @ 0xc2 (cx88[0])
[ 32.366901] cx88[0]: tuner' i2c attach [addr=0x61,client=(tuner unset)]
[ 32.366904] xc2028: Xcv2028/3028 init called!
[ 32.366907] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
[ 32.366910] xc2028 2-0061: xc2028_set_analog_freq called
[ 32.366912] xc2028 2-0061: generic_set_freq called
[ 32.366914] xc2028 2-0061: should set frequency 400000 kHz
[ 32.366918] xc2028 2-0061: check_firmware called
[ 32.366920] xc2028 2-0061: xc2028/3028 firmware name not set!
[ 32.373091] xc2028 2-0061: xc2028_sleep called
[ 32.377853] cx88[0]/0: registered device video0 [v4l2]
[ 32.377871] cx88[0]/0: registered device vbi0
[ 32.377885] cx88[0]/0: registered device radio0
[ 32.378262] xc2028 2-0061: xc2028_set_analog_freq called
[ 32.378265] xc2028 2-0061: generic_set_freq called
[ 32.386753] DVB: registering new adapter (cx88[0])
[ 32.386758] dvb_register_frontend
[ 32.386761] DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
[ 32.387035] xc2028 2-0061: should set frequency 400000 kHz
[ 32.387039] xc2028 2-0061: check_firmware called
[ 32.387041] xc2028 2-0061: xc2028/3028 firmware name not set!
[ 32.389074] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 23
[ 32.389080] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LAZA] -> GSI
23 (level, low) -> IRQ 16
[ 32.389101] PCI: Setting latency timer of device 0000:00:10.1 to 64
[ 33.774579] lp0: using parport0 (interrupt-driven).
[ 33.914661] NET: Registered protocol family 10
[ 33.914892] lo: Disabled Privacy Extensions
[ 34.192244] Adding 1317288k swap on /dev/sda5. Priority:-1 extents:1
across:1317288k
[ 34.850791] EXT3 FS on sda1, internal journal
[ 37.379550] No dock devices found.
[ 37.807328] powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3200+
processors (1 cpu cores) (version 2.20.00)
[ 37.807362] powernow-k8: 0 : fid 0xc (2000 MHz), vid 0x8
[ 37.807364] powernow-k8: 1 : fid 0xa (1800 MHz), vid 0x8
[ 37.807366] powernow-k8: 2 : fid 0x2 (1000 MHz), vid 0x12
[ 40.505929] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[ 40.505935] apm: overridden by ACPI.
[ 44.131140] eth0: no IPv6 routers present
[ 45.324947] xc2028 2-0061: xc2028_sleep called
[ 91.100371] Marking TSC unstable due to: cpufreq changes.
[ 91.108149] Time: acpi_pm clocksource has been installed.
[ 91.226100] dvb_frontend_open
[ 91.226112] cx88[0]/2-dvb: cx8802_dvb_advise_acquire
[ 91.226116] dvb_frontend_start
[ 91.228838] dvb_frontend_ioctl
[ 91.228849] dvb_frontend_thread
[ 91.228853] DVB: initialising frontend 0 (Zarlink ZL10353 DVB-T)...
[ 91.231486] dvb_frontend_release
[ 91.231493] cx88[0]/2-dvb: cx8802_dvb_advise_release
[ 91.231551] dvb_frontend_open
[ 91.231554] cx88[0]/2-dvb: cx8802_dvb_advise_acquire
[ 91.231558] dvb_frontend_start
[ 91.231563] dvb_frontend_ioctl
[ 91.231568] dvb_frontend_release
[ 91.231572] cx88[0]/2-dvb: cx8802_dvb_advise_release
[ 91.231631] dvb_frontend_open
[ 91.231642] cx88[0]/2-dvb: cx8802_dvb_advise_acquire
[ 91.231645] dvb_frontend_start
[ 91.231649] dvb_frontend_ioctl
[ 91.500033] Clocksource tsc unstable (delta = -199997434 ns)
[ 92.328714] xc2028 2-0061: xc2028_set_analog_freq called
[ 92.328725] xc2028 2-0061: generic_set_freq called
[ 92.328729] xc2028 2-0061: should set frequency 87500 kHz
[ 92.328737] xc2028 2-0061: check_firmware called
[ 92.328741] xc2028 2-0061: xc2028/3028 firmware name not set!
[ 92.343976] xc2028 2-0061: xc2028_sleep called
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtv1800.patch
Type: text/x-patch
Size: 5645 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080825/84976a1a/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtv1800h-v4l.patch
Type: text/x-patch
Size: 3921 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080825/84976a1a/attachment-0001.bin
More information about the linux-dvb
mailing list