[linux-dvb] Tuning failed / no response from DVB cards

Tom Lanyon tom at netspot.com.au
Wed Nov 16 01:44:20 CET 2005


Hi All,

(Please excuse the length of this email.)
I have two VisionPlus DVB-T cards based on the TwinHan chipset in a
machine running linux 2.6.10 with a few misc patches.

I've loaded the appropriate drivers, and as such the cards are detected
properly, as shown in dmesg: 

    Linux video capture interface: v1.00
    bttv: driver version 0.9.15 loaded
    bttv: using 8 buffers with 2080k (520 pages) each for capture
    bttv: Bt8xx card found (0).
    ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 9
    ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 9 (level, low) -> IRQ 9
    bttv0: Bt878 (rev 17) at 0000:02:0a.0, irq: 9, latency: 32, mmio:
    0xcf000000
    bttv0: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem
    ID is 1822:0001
    bttv0: using: Twinhan DST + clones [card=113,insmod option]
    bttv0: gpio: en=00000000, out=00000000 in=00f100fe [init]
    bttv0: using tuner=4
    bttv0: add subdevice "dvb0"
    bttv: Bt8xx card found (1).
    ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 9 (level, low) -> IRQ 9
    bttv1: Bt878 (rev 17) at 0000:02:0b.0, irq: 9, latency: 32, mmio:
    0xce000000
    bttv1: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem
    ID is 1822:0001
    bttv1: using: Twinhan DST + clones [card=113,autodetected]
    bttv1: gpio: en=00000000, out=00000000 in=00f100fe [init]
    bttv1: using tuner=4
    bttv1: add subdevice "dvb1"
    bt878: AUDIO driver version 0.0.0 loaded
    bt878: Bt878 AUDIO function found (0).
    ACPI: PCI interrupt 0000:02:0a.1[A] -> GSI 9 (level, low) -> IRQ 9
    bt878(0): Bt878 (rev 17) at 02:0a.1, irq: 9, latency: 32, memory:
    0xce800000
    bt878: Bt878 AUDIO function found (1).
    ACPI: PCI interrupt 0000:02:0b.1[A] -> GSI 9 (level, low) -> IRQ 9
    bt878(1): Bt878 (rev 17) at 02:0b.1, irq: 9, latency: 32, memory:
    0xcd800000
    DVB: registering new adapter (bttv0).
    dst_check_ci: recognize DTTDIG
    DST type : terrestrial
    DST type flags :
    DVB: registering frontend 0 (DST DVB-T)...
    DVB: registering new adapter (bttv1).
    dst_check_ci: recognize DTTDIG
    DST type : terrestrial
    DST type flags :
    DVB: registering frontend 1 (DST DVB-T)...

After a little bit of mucking around with udev's rules and permissions
I've managed to get the devices nodes created properly:

    /dev/dvb:
    total 0
    drwxr-xr-x  2 root root 0 Nov  7 20:03 adapter0
    drwxr-xr-x  2 root root 0 Nov  7 20:03 adapter1

    /dev/dvb/adapter0:
    total 0
    crw-rw----  1 root video 212, 4 Nov  7 20:03 demux0
    crw-rw----  1 root video 212, 5 Nov  7 20:03 dvr0
    crw-rw----  1 root video 212, 3 Nov  7 20:03 frontend0
    crw-rw----  1 root video 212, 7 Nov  7 20:03 net0

    /dev/dvb/adapter1:
    total 0
    crw-rw----  1 root video 212, 68 Nov  7 20:03 demux0
    crw-rw----  1 root video 212, 69 Nov  7 20:03 dvr0
    crw-rw----  1 root video 212, 67 Nov  7 20:03 frontend0
    crw-rw----  1 root video 212, 71 Nov  7 20:03 net0


However, I can't seem to get the card to tune in to any stations:

    elmo tom # scan -vv -a0 au-lofty
    scanning au-lofty
    using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
    initial transponder 226500000 1 2 0 3 1 2 0
    >>> tune to:
    226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
    >>> tuning status == 0x00
    ...
    >>> tuning status == 0x00
    WARNING: >>> tuning failed!!!


    elmo tom # scan -vv -a1 au-lofty
    scanning au-lofty
    using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
    initial transponder 226500000 1 2 0 3 1 2 0
    >>> tune to:
    226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
    >>> tuning status == 0x00
    ...
    >>> tuning status == 0x00
    WARNING: >>> tuning failed!!!


    elmo tom # dvbtune -c 0 -i -m -bw 7 -tm 8 -f 226500000
    Using DVB card "DST DVB-T"
    tuning DVB-T (Australia) to 226500000 Hz
    polling....
    Getting frontend event
    FE_STATUS:
    polling....


    elmo tom # dvbtune -c 1 -i -m -bw 7 -tm 8 -f 226500000
    Using DVB card "DST DVB-T"
    tuning DVB-T (Australia) to 226500000 Hz
    polling....
    Getting frontend event
    FE_STATUS:
    polling....



Any help is much appreciated - please let me know if I have not provided
enough information.

Regards,
Tom

-- 
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd
183 Melbourne Street, North Adelaide, 5006
Ph: +618 8361 6800   Fax: +618 8361 6811
Email: tom at netspot.com.au




More information about the linux-dvb mailing list