Mailing List archive

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

[linux-dvb] Problems with SkyStar2, Kernel 2.6.6, EOF on /dev/dvb/adapter0/demux0



Hiho,

I just exchanged the not working Pinnacle card with a TechniSat SkyStar2
card. Everything up to a first test with szap went fine, but I can't 
view any video. /dev/dvb/adapter0/demux0 always gives EOF.

I tried the shipped Kernel 2.6.6 drivers from Debian unstable, the 
linuxtv-dvb-1.1.1 tarball and a recent CVS checkout: made no difference.

This is the dmesg output from insmod.sh:

  Linux video capture interface: v1.00
  tda1004x: Unknown symbol request_firmware
  dvb_ttpci: Unknown symbol release_firmware
  dvb_ttpci: Unknown symbol request_firmware
  saa7146: register extension 'budget dvb'.
  saa7146: register extension 'budget_ci dvb'.
  saa7146: register extension 'budget dvb /w video in'.
  usbcore: registered new driver Technotrend/Hauppauge USB-Nova
  ttusb_dec: Unknown symbol request_firmware
  /mega/src/dvb-kernel/build-2.6/skystar2.c: FlexCopIIB(rev.195) chip found
  /mega/src/dvb-kernel/build-2.6/skystar2.c: the chip has 38 hardware filters
  DVB: registering new adapter (Technisat SkyStar2 driver).
  master_xfer: read error !
  message 0: flags=0x0, addr=0xe, buf=0x7e, len=1 
  message 1: flags=0x1, addr=0xe, buf=0xa1, len=1 
  probe_tuner: try to attach to Technisat SkyStar2 driver
  /mega/src/dvb-kernel/build-2.6/stv0299.c: setup for tuner Samsung TBMU24112IMB
  DVB: registering frontend 0 (STV0299/TSA5059/SL1935 based)...

From my understanding the following should work:

* start "szap -n 1" (with an appropriate ~/.szap/channels.conf) and
  keep it running
* view the ts stream with xine or mplayer by reading 
/dev/dvb/adapter0/demux0

szap works fine. I get FE_HAS_LOCK quickly.

  status 1f | signal c0cc | snr d5f9 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

But the latter doesn't work, because the device always gives EOF. A 
simple

  % cat /dev/dvb/adapter0/demux0

should result in a nice garbage in the terminal, but this command simply
exits (EOF).

  % xine -v dvb://

doesn't work either. xine's log output contains this line

  input_dvb: cannot open dvb device

but nothing more. I tried strace to see which device file xine accesses
here, but couldn't find anything useful.

I also tried enabling the debug mode (./insmod.sh debug). This is an 
excerpt of /var/log/messages when running szap in debugging mode:

  Jun 21 22:04:35 wizard kernel: flexcop_i2c_xfer
  Jun 21 22:04:35 wizard last message repeated 44 times
  Jun 21 22:04:35 wizard kernel: flexcop_diseqc_ioctl: FE_SET_VOLTAGE
  Jun 21 22:04:35 wizard kernel: flexcop_diseqc_ioctl: SEC_VOLTAGE_18, 1
  Jun 21 22:04:35 wizard kernel: set_tuner_polarity : polarity = 2 
  Jun 21 22:04:35 wizard kernel: flexcop_i2c_xfer
  Jun 21 22:04:35 wizard last message repeated 28 times
  Jun 21 22:04:35 wizard kernel: dvb_start_feed: PID=101, type=0
  Jun 21 22:04:35 wizard kernel: filter_enable_mask_filter: op=1
  Jun 21 22:04:35 wizard kernel: add_pid: pid=101
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=101
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=101 searching slot=0
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=101 slot=0
  Jun 21 22:04:35 wizard kernel: pid_set_hw_pid: id=0  pid=101
  Jun 21 22:04:35 wizard kernel: pid_set_hw_pid: id=0  addr=300 l  pid=101
  Jun 21 22:04:35 wizard kernel: filter_enable_hw_filter: id=0 op=1
  Jun 21 22:04:35 wizard kernel: open_stream: adapter->dma_status=30000000
  Jun 21 22:04:35 wizard kernel: dma_start_stop: dma_mask=3
  Jun 21 22:04:35 wizard kernel: dma_start_stop: starting dma
  Jun 21 22:04:35 wizard kernel: dvb_start_feed: PID=102, type=0
  Jun 21 22:04:35 wizard kernel: filter_enable_mask_filter: op=1
  Jun 21 22:04:35 wizard kernel: add_pid: pid=102
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=102
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=102 searching slot=0
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=102 searching slot=1
  Jun 21 22:04:35 wizard kernel: add_hw_pid: pid=102 slot=1
  Jun 21 22:04:35 wizard kernel: pid_set_hw_pid: id=1  pid=102
  Jun 21 22:04:35 wizard kernel: pid_set_hw_pid: id=1  addr=300 h  pid=102
  Jun 21 22:04:35 wizard kernel: filter_enable_hw_filter: id=1 op=1
  Jun 21 22:04:35 wizard kernel: open_stream: adapter->dma_status=30000007
  Jun 21 22:04:35 wizard kernel: flexcop_i2c_xfer
  Jun 21 22:05:06 wizard last message repeated 355 times

Don't understand much but at least I can't see any error message ;)

What am I doing wrong? Any help is appreciated.

Thanks,

Jörn

-- 
sub i($){print$_[0]}*j=*ENV;sub w($){sleep$_[0]}sub _($){i"$p:$c> ",w+01
,$_=$_[0],tr;i-za-h,;a-hi-z ;,i$_,w+01,i"\n"}$|=1;$f='HO';($c=$j{PWD})=~
s+$j{$f."ME"}+~+;$p.="$j{USER}\@".`hostname`;chop$p;_"kl",$c='~',_"zu,".
"-zn,*",_"#,epg,lw,gwc,mfmkcbm,cvsvwev,uiqt,kwvbmvb?",i"$p:$c> ";w+1<<07

Attachment: pgp00006.pgp
Description: PGP signature


Home | Main Index | Thread Index