[linux-dvb] Help! I cant view video. BUT I can scan!!

Per Blomqvist p.blomqvist at lsn.se
Sun Feb 10 15:28:59 CET 2008


Hello Jonas Andren.
(Kom inte o säg att Anden är dansk)

The Harware I have, I have said.  Its the media-card, is this: 
http://www.linuxtv.org/wiki/index.php/Asus_My_Cinema-P7131_Hybrid
(running on a amd64, mother-board m2a-vm.. Inköpt på Kjell&Co byggsats 
för 2 veckor sedan...

I also said that the same Media-card did function (somewhat) on my old 
computer (a PII330MHz, though with terrible video result). And it works 
in Windows XP. So, the Media-card function.

I downloaded&installed  linuxtv-dvb-apps-1.1.1.tar.bz2 
<http://www.linuxtv.org/downloads/linuxtv-dvb-apps-1.1.1.tar.bz2>
(and all so called utils: "dvbdate" "dvbtrafick" "scan" and "zap" 
worked. BUT, nothing under the test)

Your tips, with "mplayer dvb://1@TV6", produce:
<!-- code begin -->
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ (Family: 15, Model: 
107, Ste
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing dvb://0@TV6.
The username option must be >= 1: 0
Struct dvbin, field username parsing error: 0
dvb_tune Freq: 506000000
dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 1484 bytes
dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 1108 bytes
dvb_streaming_read, attempt N. 4 failed with errno 0 when reading 1108 bytes
dvb_streaming_read, attempt N. 3 failed with errno 0 when reading 1108 bytes
dvb_streaming_read, attempt N. 2 failed with errno 0 when reading 1108 bytes
dvb_streaming_read, attempt N. 1 failed with errno 0 when reading 1108 bytes
dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 2048 bytes
TS file format detected. (and here its freeze, until I terminate it)

MPlayer interrupted by signal 2 in module: demux_open
<!--/ code end -->

I turned on some debug options on kernel-module "saa7134" .
Eew, the line "modprobe saa7134 video_debug=1 ts_debug=1 i2c_debug=1 
i2c_scan=1"

If I use i2c_scan=1, I get these lines as:
Feb 10 15:20:37 redeb kernel: saa7133[0]: i2c xfer: < 79 ERROR: NO_DEVICE
Feb 10 15:20:37 redeb kernel: saa7133[0]: i2c xfer: < 7b ERROR: NO_DEVICE
Feb 10 15:20:37 redeb kernel: saa7133[0]: i2c xfer: < 7d ERROR: NO_DEVICE
Feb 10 15:20:37 redeb kernel: saa7133[0]: i2c xfer: < 7f ERROR: NO_DEVICE
(there where many many more...

And when I zap, I get lines as:
Feb 10 15:21:56 redeb kernel: saa7133[0]/ts: buffer_activate 
[ffff810027793a00]<7>saa7133[0]/ts: - [top]     buf=ffff810027793a00 
next=ffff810027793800
Feb 10 15:21:56 redeb kernel: saa7133[0]/ts: buffer_activate 
[ffff810027793800]<7>saa7133[0]/ts: - [bottom]  buf=ffff810027793800 
next=ffff810027793600
Feb 10 15:21:56 redeb kernel: saa7133[0]/ts: buffer_activate 
[ffff810027793600]<7>saa7133[0]/ts: - [top]     buf=ffff810027793600 
next=ffff810027793400
Feb 10 15:21:56 redeb kernel: saa7133[0]/ts: buffer_activate 
[ffff810027793400]<7>saa7133[0]/ts: - [bottom]  buf=ffff810027793400 
next=ffff810027793200



Jonas Anden wrote:
> I haven't followed this thread from the beginning, but did you say what
> kind of DVB hardware you have?
>
> I know the Nova-TD stick is a bit picky. Too strong a signal will cause
> the behavior you describe on this device. On my Nova-TD, using a good
> antenna will yield no data stream (but a 100% signal), whereas if I use
> the little mobile antenna that came with the stick, I get a stream but
> mpeg artefacts in the picture (due to low signal).
>
> I would try attenuating the signal (or removing amplifiers) or a
> different antenna. I would also give it a shot (since you're using
> mplayer to test) to use mplayer to control the whole scenario (tune,
> stream-on, demux, decode and display). Try the following command:
>
> mplayer dvb://1@TV6
>
> Using the TV6 channel will avoid any obstacles by the channel name
> containing extended-ascii (Ö) and space ... TV6 should be an unencrypted
> channel and on the same MUX as TV4, even in the Öresund region ;)
>
>   // J 
>
> On Sat, 2008-02-09 at 01:28 +0100, Per Blomqvist wrote:
>   
>> The channel isn't encrypted.
>> (I have tested with many public chanels, that I know isnt encrypted. 
>> Cant get any video out)
>>
>> Im Debian-tesing user, and this is a freshly installed system. On a amd64..
>> (as I mentioned, in previous email)
>>
>> Turns out "/dev/dvb/adapter0/dvr0" isnt the only device that doesnt work.
>> (framebuffer didnt work ether, "/dev/fd0" are missing totaly, regardless 
>> of bootloader vga=791 options or so).
>>
>> I removed (by now mistake) older kernels when I distupgraded, cant 
>> nerrow down the error search, by testing other linux-kernels.
>> (since I only have one, the 2.6.22-3-amd64)
>>
>> And snapshot.debian.net didnt record any older.. Only option left, to 
>> start compilling by myslef.
>> (but to rough)
>>
>> Probably testing another distro (Ubunto) next week.
>>
>>
>> CityK wrote:
>>     
>>> Per Blomqvist wrote:
>>>       
>>>> I just signed up for this mailing-list ( I hope this is the right 
>>>> forum..   
>>>>         
>>> Hi, yes, you're in the right place.
>>>
>>>       
>>>> I can "dvbscan" and  "tzap", and gets indication of a good signal. 
>>>> BUT, I cant view the video!
>>>> (from the dvb device)
>>>>
>>>> Also "dvbdate" command works (that returns time and date from the 
>>>> air, I presume). But not a command as "dvbsnoop" (that need 
>>>> "/dev/dvb/adapter0/dvr").
>>>>
>>>> A sample: ( Its step by step of your guide:
>>>> http://www.linuxtv.org/wiki/index.php/Testing_your_DVB_device )
>>>>
>>>> In one console I run: /.tzap# tzap -r -c channels.conf "TV4 Öresund" 
>>>> ( and are getting lines as:
>>>> status 1f | signal c3c3 | snr ffff | ber 0000004a | unc 00000000 | 
>>>> FE_HAS_LOCK
>>>> status 1f | signal c3c3 | snr ffff | ber 0000004e | unc 00000000 | 
>>>> FE_HAS_LOCK
>>>> ...
>>>> AND in another console:
>>>> mplayer -v /dev/dvb/adapter0/dvr0
>>>> (thats basically halts without any further information)
>>>>
>>>> ALSO if I type: "cat /dev/dvb/adapter0/dvr0 > afile.txt"
>>>> (But then again, "afile.txt" remains empty)
>>>>
>>>> Conclusion, /dev/dvb/adapter0/dvr0 never returns anything. This 
>>>> "/dev/dvb/adapter0/dvr" isnt proper. Must be a Linux-kernel/module 
>>>> problem..
>>>>   
>>>>         
>>> Not so fast! If the channel is encrypted, this is precisely what you 
>>> will observe ... though, because this is over-the-air that we're 
>>> talking about, this seems less likely to be the case (but you will 
>>> have to confirm nonetheless).  
>>> I'm more inclined to think that this is related to an issue with 
>>> stream identifiers.  Is Sweden using MP4 now? Some further questions, 
>>> what drivers are you using (distro or recent LinuxTV)?
>>> What dvb-apps ... Christophe had updated the dvb-apps not to long ago 
>>> with some changes in regards to MP4 streams (can't remember the exact 
>>> nature, but perhaps you should grab a new copy from LinuxTV and try 
>>> with those).
>>>
>>>       
>> Whatever frontend I test, it will not work.
>> The device, never stream anything.
>>
>> I can tune, but not view the video.
>> (thats it)
>>
>>
>>     
my dmesg are messed up with debugging messages now.

Here are my fresh lsmod output:

Module                 Size  Used by
saa7134_dvb        22412  0
saa7134               143956  1 saa7134_dvb
snd_hda_intel         311968  0
ipv6                  296840  16
button                 13472  0
ac                     10376  0
battery                15496  0
dm_snapshot            21704  0
dm_mirror              26240  0
dm_mod                 64112  2 dm_snapshot,dm_mirror
firewire_sbp2          18180  0
loop                   23044  0
tda827x                12036  1
dvb_pll                21124  1 saa7134_dvb
video_buf_dvb          11524  1 saa7134_dvb
dvb_core               89520  1 video_buf_dvb
tda1004x               19972  2 saa7134_dvb
firmware_class         15360  2 saa7134_dvb,tda1004x
tsdev                  13312  0
tuner                  66856  0
snd_pcm                89992  1 snd_hda_intel
pcspkr                  7680  0
serio_raw              11780  0
parport_pc             42664  0
video_buf              30980  3 saa7134_dvb,saa7134,video_buf_dvb
compat_ioctl32         13056  1 saa7134
ir_kbd_i2c             14352  1 saa7134
ir_common              41476  2 saa7134,ir_kbd_i2c
videodev               32512  1 saa7134
v4l2_common            24320  4 saa7134,tuner,compat_ioctl32,videodev
i2c_piix4              13836  0
parport                44428  1 parport_pc
v4l1_compat            16388  2 saa7134,videodev
snd_timer              28424  1 snd_pcm
psmouse                45468  0
i2c_core               31488  8 
saa7134_dvb,saa7134,tda827x,dvb_pll,tda1004x,tuner,ir_kbd_i2c,i2c_piix4
shpchp                 38428  0
pci_hotplug            37252  1 shpchp
snd                    65896  3 snd_hda_intel,snd_pcm,snd_timer
soundcore              13088  1 snd
snd_page_alloc         15376  2 snd_hda_intel,snd_pcm
k8temp                 10496  0
evdev                  15232  4
ext3                  137232  4
jbd                    68080  1 ext3
mbcache                13832  1 ext3
ide_disk               21888  0
ide_cd                 44832  0
cdrom                  39848  1 ide_cd
generic                10372  0 [permanent]
usb_storage            90432  0
sd_mod                 33280  6
atiixp                 10640  0 [permanent]
ide_core              147728  5 ide_disk,ide_cd,generic,usb_storage,atiixp
floppy                 67560  0
firewire_ohci          22784  0
firewire_core          49728  2 firewire_sbp2,firewire_ohci
crc_itu_t               6656  1 firewire_core
ahci                   28804  5
ata_generic            13188  0
libata                132528  2 ahci,ata_generic
scsi_mod              164536  4 firewire_sbp2,usb_storage,sd_mod,libata
ehci_hcd               37900  0
ohci_hcd               25860  0
r8169                  36488  0
thermal                19600  0
processor              39912  1 thermal
fan                     9992  0



More information about the linux-dvb mailing list