Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: dvbtune / Nova-T unable to lock on frequencyproblems



Hi Holger,

Holger Waechtler wrote:
>
> please use tzap for simple testing, it's output is a little more
> informative when looking for problems...

Here's the latest outputs from tzap/dvbtune (you may remember this is an ongoing saga since Christmas, and DVB-T has never got close to working in that time). This is now with Mandrake 9.1 (stock kernel 2.4.21-0.13mdk), linuxtv-dvb-1.0.0-pre2 and recent dvbtune from CVS. The drivers, tzap and dvbtune all appear to compile cleanly.

[root@localhost szap]# ./tzap BBC-1
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 505833334 Hz
status 07 | signal 2f2f | snr e8e8 | ber 0000ffff | unc 00000004 |
status 1f | signal 2f2f | snr e8e8 | ber 0000003a | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2f2f | snr e8e8 | ber 00000043 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2f2f | snr e8e8 | ber 00000042 | unc 00000000 | FE_HAS_LOCK

[root@localhost szap]# ./tzap ITV-1
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 481833334 Hz
status 03 | signal 2f2f | snr d4d4 | ber 0000ffff | unc 00000000 |
status 1f | signal 2f2f | snr d3d3 | ber 000001a5 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2f2f | snr d2d2 | ber 000001a5 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2f2f | snr d2d2 | ber 0000019a | unc 00000000 | FE_HAS_LOCK

[root@localhost dvbtune]# ./dvbtune -f 505833 -qam 16 -cr 3_4 -i
Using DVB card "Grundig 29504-401"
tuning DVB-T (in United Kingdom) to 505833000 Hz
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Bit error rate: 64
Signal strength: 12079
SNR: 59624
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
<transponder type="T" freq="505833000">
Nothing to read from fd_pat
Nothing to read from fd_sdt
</transponder>

[root@localhost dvbtune]# ./dvbtune -f 505833 -qam 16 -cr 3_4 -m
Signal=12079, Verror=69, SNR=59624dB, BlockErrors=13, (S|L|C|V|SY|)
Signal=12079, Verror=61, SNR=59624dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=12079, Verror=58, SNR=59367dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=12079, Verror=61, SNR=59624dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=12079, Verror=65, SNR=59624dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=12079, Verror=65, SNR=59881dB, BlockErrors=0, (S|L|C|V|SY|)

[root@localhost dvbtune]# ./dvbtune -f 481833 -qam 16 -cr 3_4 -i
Using DVB card "Grundig 29504-401"
tuning DVB-T (in United Kingdom) to 481833000 Hz
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Bit error rate: 447
Signal strength: 12079
SNR: 53970
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
<transponder type="T" freq="481833000">
Nothing to read from fd_pat
Nothing to read from fd_sdt
</transponder>

[root@localhost dvbtune]# ./dvbtune -f 481833 -qam 16 -cr 3_4 -m
Signal=12079, Verror=420, SNR=54227dB, BlockErrors=5, (S|L|C|V|SY|)
Signal=12079, Verror=438, SNR=54227dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=12079, Verror=419, SNR=54484dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=12079, Verror=451, SNR=54227dB, BlockErrors=0, (S|L|C|V|SY|)

I'm not sure -qam 16 -cr 3_4 is appropriate for 481833kHz (ITV channels), but I tried the other options for -qam and -cr, and it didn't help.

I know I shouldn't be running these as root, but:

[bruno@localhost dvbtune]$ ./dvbtune -f 481833 -qam 16 -cr 3_4 -m
frontend: 8FRONTEND DEVICE: : Permission denied

[bruno@localhost szap]$ ./tzap BBC-1
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ERROR: failed opening '/dev/dvb/adapter0/frontend0' (Permission denied)

[bruno@localhost szap]$ ls -l /dev/dvb/adapter0/
total 0
crw------- 1 root root 250, 4 Jan 1 1970 demux0
crw------- 1 root root 250, 5 Jan 1 1970 dvr0
crw------- 1 root root 250, 3 Jan 1 1970 frontend0
crw------- 1 root root 250, 7 Jan 1 1970 net0

This is on yet another m/board (I decided to see whether the problem was something to do with the Via/Athlon combination on the last board). This is now an Intel 845GE-based board with a P4 2.4. The ethernet controller is onboard, so I can't move it to see if the problem is due to IRQ clashes, but anyway (a) IRQ clashes proved not to be the cause on the last board, and (b) this board seems to be doing something different with interrupts - I've never seen more than 16 before. I could try moving the card, but I've been round that circle before and it made no difference.

For reference, system info from /proc/interrupts, lspci-v and lsmod is attached below.

It would be nice to finally get this working, or at least feel like I have made some progress.

Cheers,

Bruno Prior


[root@localhost dvbtune]# cat /proc/interrupts
CPU0
0: 22380442 IO-APIC-edge timer
1: 17887 IO-APIC-edge keyboard
2: 0 XT-PIC cascade
8: 1 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 819962 IO-APIC-edge PS/2 Mouse
14: 102164 IO-APIC-edge ide0
15: 10 IO-APIC-edge ide1
16: 10973712 IO-APIC-level usb-uhci
17: 207336 IO-APIC-level Intel ICH4
18: 464198 IO-APIC-level usb-uhci
19: 0 IO-APIC-level usb-uhci
21: 27399223 IO-APIC-level eth0, saa7146(0)
23: 0 IO-APIC-level ehci-hcd
NMI: 0
LOC: 22380682
ERR: 0
MIS: 0

[root@localhost dvbtune]# lspci -v
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 02)
Subsystem: Giga-byte Technology: Unknown device 2560
Flags: bus master, fast devsel, latency 0
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [6105]
Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: e0000000-e1ffffff
Prefetchable memory behind bridge: d8000000-dfffffff

00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at d800 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at d000 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at d400 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Giga-byte Technology: Unknown device 5004
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at e4000000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 00009000-0000bfff
Memory behind bridge: e2000000-e3ffffff

00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at f000 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 02)
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: medium devsel, IRQ 17
I/O ports at 5000 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 02)
Subsystem: Giga-byte Technology: Unknown device a002
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at e000 [size=256]
I/O ports at e400 [size=64]
Memory at e4001000 (32-bit, non-prefetchable) [size=512]
Memory at e4002000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] (prog-if 00 [VGA])
Subsystem: Hightech Information System Ltd.: Unknown device 0207
Flags: bus master, stepping, 66Mhz, medium devsel, latency 32, IRQ 16
Memory at d8000000 (32-bit, prefetchable) [size=128M]
I/O ports at c000 [size=256]
Memory at e1000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

02:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: Technotrend Systemtechnik GmbH: Unknown device 1005
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at e3024000 (32-bit, non-prefetchable) [size=512]

02:09.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)
Subsystem: Intel Corp.: Unknown device 3013
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 21
Memory at e3000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 9000 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

[root@localhost dvbtune]# lsmod
Module Size Used by Not tainted
dvb-ttpci 302768 0 (unused)
ves1820 4988 0
stv0299 7984 0
grundig_29504-491 4928 0
grundig_29504-401 4680 1
alps_tdlb7 5068 0
alps_tdmb7 4836 0
alps_bsrv2 5016 0
dvb-core 48516 3 [dvb-ttpci ves1820 stv0299 grundig_29504-491 grundig_29504-401 alps_tdlb7 alps_tdmb7 alps_bsrv2]
evdev 5632 0 (unused)
input 5664 0 [dvb-ttpci evdev]
videodev 7872 0 [dvb-ttpci]
parport_pc 25096 1 (autoclean)
lp 8096 0 (autoclean)
parport 34176 1 (autoclean) [parport_pc lp]
radeon 107428 0
agpgart 40896 1 (autoclean)
sg 34636 0 (autoclean) (unused)
st 29488 0 (autoclean) (unused)
sr_mod 16920 0 (autoclean) (unused)
sd_mod 13100 0 (autoclean) (unused)
scsi_mod 103284 4 (autoclean) [sg st sr_mod sd_mod]
ide-cd 33856 0 (autoclean)
cdrom 31648 0 (autoclean) [sr_mod ide-cd]
i810_audio 26248 2
soundcore 6276 0 [i810_audio]
ac97_codec 12488 0 [i810_audio]
nfsd 74256 0 (autoclean)
af_packet 14952 1 (autoclean)
floppy 55132 0
button 3724 0 (unused)
thermal 8224 0 (unused)
processor 10872 0 [thermal]
fan 2528 0 (unused)
ac 2784 0 (unused)
battery 7008 0 (unused)
e1000 49504 1 (autoclean)
supermount 15296 2 (autoclean)
dabusb 35632 0 (unused)
printer 8448 0
ehci-hcd 18568 0 (unused)
usb-uhci 24652 0 (unused)
usbcore 72992 1 [dabusb printer ehci-hcd usb-uhci]
rtc 8060 0 (autoclean)
ext3 59916 1
jbd 38972 1 [ext3]



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index