Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-07-08 Thread Stefan Lucke
On Monday 21 May 2007 22:36, laasa wrote:
 Yesterday I have my first DVB-S2-streams with the TT3200.
 
 Sources
 - Manus snapshot at http://jusst.de/manu/stb0899-v4l-dvb.tar.bz2
 - the szap-sources from http://dev.kewl.org/tmp/hvr4000/szap2.tgz
 
 
 Envoirenment
 - TT3200 (SAA7146AH, STB0899 C2L, STB6100, LNBP21 PD, 27000 MHz, board 
 B2S3000 Rev 1.0 TT2006.1)
   = may be that the skystar HD is worked like TT3200 with that patch
 - Tested succesfully with
   = Linux-Kernel 2.6.16-45 (from kernel.org)
   = 2.6.17-chw-8 (MythTV R5D1) and
   = 2.6.21.1 (from kernel.org)
 - 32-bit-CPU (Pentium 4, 2.8 GHz with Hyperthreading) = Have no 64-bit- and 
 no SMP-system!

Thanks for your work.

I tested this with:
- linux 2.6.21-5
- Technisat SkyStar HD
- AMD Athlon(tm) 64 X2 Dual Core Processor 3800+

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

jarada stefan # lspci -v -n -s 02:06.0
02:06.0 0480: 1131:7146 (rev 01)
Subsystem: 13c2:1019
Flags: bus master, medium devsel, latency 32, IRQ 20
Memory at feaffc00 (32-bit, non-prefetchable) [size=512]

Tuning in general seems to be really slow. Somtimes it takes up to
to one minute for szap2 to get a lock:
zapping to 1 'Pro7HD':
sat 0, frequency = 12722 MHz H, symbolrate 2200, vpid = 0x00ff, apid = 
0x0103 sid = 0x27d8 (fec = -2147483648, mod = 2)
Querying info .. Delivery system=DVB-S2
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
-- Using 'STB0899 DVB-S2' DVB-S2
diseqc: sat_no:0 pol_vert:0 hi_band:1 cmd:e0 10 38 f3 wait:0

do_tune: API version=2, delivery system = 2
do_tune: Frequency = 2122000, Srate = 2200 (DVB-S2)
do_tune: Frequency = 2122000, Srate = 2200 (SET_PARAMS)


status 1a | signal 05aa | snr 0026 | ber  | unc fffe | FE_HAS_LOCK
status 1a | signal 05aa | snr 0027 | ber 00145855 | unc fffe | FE_HAS_LOCK
status 1a | signal 05aa | snr 0026 | ber 0065b9aa | unc fffe | FE_HAS_LOCK
status 1a | signal 05aa | snr 0025 | ber 00145855 | unc fffe | FE_HAS_LOCK
status 1a | signal 05aa | snr 0026 | ber  | unc fffe | FE_HAS_LOCK

Status 0x1a seems a bit doubtfull:
FE_HAS_SIGNAL and FE_HAS_VITERBI are not set.

In DVB-S mode, I've problems to get a lock with some
transpoders at all: ZDF works with vdr, ARD doesn't .

-- 
Stefan Lucke

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-29 Thread laasa
hermann pitton schrieb:

Am Dienstag, den 29.05.2007, 01:57 +0200 schrieb hermann pitton:
  

Am Dienstag, den 29.05.2007, 01:34 +0200 schrieb Markus Rechberger:


On 5/28/07, Peter Magellan [EMAIL PROTECTED] wrote:
  

I just removed those and it worked somehow, still having bad problems
  

about locking and every time you acan channels it find diffrent ones. Is it
possible to get this TT3200 card work like normal technotrend budget DVB-S1
card? on windows atleast all technotrends have same drivers.

That's because in Linux, people have nothing better to do than bitch, act
I'm-holier-than-thou,
and don't spend time designing a good driver/architecture model first before
coding spaghetti
non-working code.



I wouldn't overall say linux, but I can say that's the truth with v4l
and dvb at least.
People who fundamentally want to change something are not welcome here
since some people who've been with that project for a longer time are
very closed minded and do not allow changes beside what they think is
correct, the outcome of such a story are broken drivers, fundamentally
flawed frameworks and unfriendly discussions which do not help anyone.

Markus

  

ACKED.

That is why we have some who the hell is Mauro currently ;)

At least for my little part ...



But I can't see, how this should be related to Manu's S2 drivers yet.
He takes care to take everything disturbing out.

That is the other side of it.

Hermann



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


  

Sorry for having disturbances caused by my postings. Because it was not 
my intention to do that I will stop it.

Thanks for the clearly words of Markus.

Regards.


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-28 Thread Latdna

I found problem it was:

4l-dvb.org/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+   memset(fepriv-fe_info, 0, sizeof (struct dvbfe_info));
+   fepriv-fe_info.delivery = DVBFE_DELSYS_DVBS;
+   fe-ops.get_info(fe, fepriv-fe_info);

I just removed those and it worked somehow, still having bad problems
about locking and every time you acan channels it find diffrent ones.
Is it possible to get this TT3200 card work like normal technotrend
budget DVB-S1 card? on windows atleast all technotrends have same
drivers.
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-28 Thread Peter Magellan
 I just removed those and it worked somehow, still having bad problems about 
 locking and every time you acan channels it find diffrent ones. Is it 
 possible to get this TT3200 card work like normal technotrend budget DVB-S1 
 card? on windows atleast all technotrends have same drivers.
 
That's because in Linux, people have nothing better to do than bitch, act 
I'm-holier-than-thou,
and don't spend time designing a good driver/architecture model first before 
coding spaghetti
non-working code.
 
 
_
Change is good. See what’s different about Windows Live Hotmail. 
http://www.windowslive-hotmail.com/learnmore/default.html?locale=en-usocid=RMT_TAGLM_HMWL_reten_changegood_0507
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-28 Thread Markus Rechberger
On 5/28/07, Peter Magellan [EMAIL PROTECTED] wrote:
  I just removed those and it worked somehow, still having bad problems
 about locking and every time you acan channels it find diffrent ones. Is it
 possible to get this TT3200 card work like normal technotrend budget DVB-S1
 card? on windows atleast all technotrends have same drivers.

 That's because in Linux, people have nothing better to do than bitch, act
 I'm-holier-than-thou,
 and don't spend time designing a good driver/architecture model first before
 coding spaghetti
 non-working code.


I wouldn't overall say linux, but I can say that's the truth with v4l
and dvb at least.
People who fundamentally want to change something are not welcome here
since some people who've been with that project for a longer time are
very closed minded and do not allow changes beside what they think is
correct, the outcome of such a story are broken drivers, fundamentally
flawed frameworks and unfriendly discussions which do not help anyone.

Markus

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-28 Thread hermann pitton
Am Dienstag, den 29.05.2007, 01:34 +0200 schrieb Markus Rechberger:
 On 5/28/07, Peter Magellan [EMAIL PROTECTED] wrote:
   I just removed those and it worked somehow, still having bad problems
  about locking and every time you acan channels it find diffrent ones. Is it
  possible to get this TT3200 card work like normal technotrend budget DVB-S1
  card? on windows atleast all technotrends have same drivers.
 
  That's because in Linux, people have nothing better to do than bitch, act
  I'm-holier-than-thou,
  and don't spend time designing a good driver/architecture model first before
  coding spaghetti
  non-working code.
 
 
 I wouldn't overall say linux, but I can say that's the truth with v4l
 and dvb at least.
 People who fundamentally want to change something are not welcome here
 since some people who've been with that project for a longer time are
 very closed minded and do not allow changes beside what they think is
 correct, the outcome of such a story are broken drivers, fundamentally
 flawed frameworks and unfriendly discussions which do not help anyone.
 
 Markus
 

ACKED.

That is why we have some who the hell is Mauro currently ;)

At least for my little part ...

Cheers,
Hermann



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-28 Thread Uwe Bugla
Am Dienstag, 29. Mai 2007 01:34 schrieb Markus Rechberger:
 On 5/28/07, Peter Magellan [EMAIL PROTECTED] wrote:
   I just removed those and it worked somehow, still having bad problems
 
  about locking and every time you acan channels it find diffrent ones. Is
  it possible to get this TT3200 card work like normal technotrend budget
  DVB-S1 card? on windows atleast all technotrends have same drivers.
 
  That's because in Linux, people have nothing better to do than bitch, act
  I'm-holier-than-thou,
  and don't spend time designing a good driver/architecture model first
  before coding spaghetti
  non-working code.

 I wouldn't overall say linux, but I can say that's the truth with v4l
 and dvb at least.
 People who fundamentally want to change something are not welcome here
 since some people who've been with that project for a longer time are
 very closed minded and do not allow changes beside what they think is
 correct, the outcome of such a story are broken drivers, fundamentally
 flawed frameworks and unfriendly discussions which do not help anyone.

 Markus

YES! Markus! You got it!

Thanks!

P. S.: I will start another attempt soon, and I will not stop until the code 
is there where it belongs to (guess you know what and whom I mean - I will 
send you another copy of the attempt)


 ___
 linux-dvb mailing list
 linux-dvb@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-28 Thread hermann pitton
Am Dienstag, den 29.05.2007, 01:57 +0200 schrieb hermann pitton:
 Am Dienstag, den 29.05.2007, 01:34 +0200 schrieb Markus Rechberger:
  On 5/28/07, Peter Magellan [EMAIL PROTECTED] wrote:
I just removed those and it worked somehow, still having bad problems
   about locking and every time you acan channels it find diffrent ones. Is 
   it
   possible to get this TT3200 card work like normal technotrend budget 
   DVB-S1
   card? on windows atleast all technotrends have same drivers.
  
   That's because in Linux, people have nothing better to do than bitch, act
   I'm-holier-than-thou,
   and don't spend time designing a good driver/architecture model first 
   before
   coding spaghetti
   non-working code.
  
  
  I wouldn't overall say linux, but I can say that's the truth with v4l
  and dvb at least.
  People who fundamentally want to change something are not welcome here
  since some people who've been with that project for a longer time are
  very closed minded and do not allow changes beside what they think is
  correct, the outcome of such a story are broken drivers, fundamentally
  flawed frameworks and unfriendly discussions which do not help anyone.
  
  Markus
  
 
 ACKED.
 
 That is why we have some who the hell is Mauro currently ;)
 
 At least for my little part ...

But I can't see, how this should be related to Manu's S2 drivers yet.
He takes care to take everything disturbing out.

That is the other side of it.

Hermann



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-24 Thread Latdna

Hi

You patch work good with DVB-S2 tt3200 card but when i install those to
modules 2 dvb-t usb cards stop working.
kernel  2.6.21-1-686
DVB-T usb card: AVerTV Volar DVB-T USB
module what its use: dvb-usb-dib0700

after that patch(diff what you posted earlier this start happening)


dvb-usb: found a 'AVerMedia AVerTV DVB-T Volar' in warm state.
i2c_adapter i2c-1: SMBus Quick command not supported, can't probe for chips
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (AVerMedia AVerTV DVB-T Volar).
i2c_adapter i2c-2: SMBus Quick command not supported, can't probe for chips
DVB: registering frontend 0 (DiBcom 7000MA/MB/PA/PB/MC)...
MT2060: successfully identified (IF1 = 1220)
dvb-usb: AVerMedia AVerTV DVB-T Volar successfully initialized and
connected.
dvb-usb: found a 'AVerMedia AVerTV DVB-T Volar' in warm state.
i2c_adapter i2c-3: SMBus Quick command not supported, can't probe for chips
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (AVerMedia AVerTV DVB-T Volar).
i2c_adapter i2c-4: SMBus Quick command not supported, can't probe for chips
DVB: registering frontend 1 (DiBcom 7000MA/MB/PA/PB/MC)...
MT2060: successfully identified (IF1 = 1220)
dvb-usb: AVerMedia AVerTV DVB-T Volar successfully initialized and
connected.
usbcore: registered new interface driver dvb_usb_dib0700
BUG: unable to handle kernel NULL pointer dereference at virtual address

printing eip:

*pde = 
Oops:  [#1]
SMP
Modules linked in: mt2060 dvb_usb_dib0700 dib7000m dib7000p dvb_usb dvb_core
dvb_pll dib3000mc dibx000_common sit tunnel4 xt_tcpudp iptable_filter
ip_tables x_tables binfmt_misc nfs tcp_diag inet_diag nfsd exportfs lockd
nfs_acl sunrpc ppdev lp button ac battery ipv6 dm_snapshot tun eeprom
i2c_i801 via686a w83781d hwmon_vid i2c_isa 8021q aes loop sd_mod snd_via82xx
gameport snd_ac97_codec tsdev ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm
snd_page_alloc snd_mpu401_uart snd_seq_dummy snd_seq_oss snd_seq_midi
snd_seq_midi_event snd_seq floppy parport_pc parport rtc snd_timer
snd_rawmidi snd_seq_device firmware_class snd i2c_viapro psmouse serio_raw
pcspkr soundcore i2c_core shpchp pci_hotplug evdev via_agp agpgart reiserfs
dm_mirror dm_mod usb_storage ide_disk generic via82cxxx ide_core via_rhine
mii ehci_hcd uhci_hcd usbcore ata_generic sata_via libata scsi_mod r8169
thermal processor fan
CPU:0
EIP:0060:[]Not tainted VLI
EFLAGS: 00210286   (2.6.21-1-686 #1)
EIP is at _stext+0x3fefecdc/0x14
eax: c1a83000   ebx: 40246f4c   ecx:    edx: eb8390d4
esi: e2098a80   edi: eb839278   ebp:    esp: e2933c3c
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process vdr (pid: 8639, ti=e2932000 task=e2784a90 task.ti=e2932000)
Stack: f8a9da87 e2933e94 e2933e94 e2933e94 e2933ea4  c017225a

   c1a83000 eb839000 fe00 e2784a90 c011d236 00100100
00200200
  eb839a44 e2933ef4 1000 8017  c0181fe8 1000
e2933cbc
Call Trace:
[f8a9da87] dvb_frontend_ioctl+0x5f0/0xd5a [dvb_core]
[c017225a] __pollwait+0x0/0xac
[c011d236] default_wake_function+0x0/0xc
[c0181fe8] __getblk+0x23/0x26f
[c011b428] __wake_up+0x32/0x43
[c011b0fe] __activate_task+0x1c/0x29
[c011d22c] try_to_wake_up+0x39b/0x3a5
[c0181fbb] __find_get_block+0x17c/0x186
[f897bf7f] search_by_key+0x169/0xd21 [reiserfs]
[c011af06] __wake_up_common+0x32/0x55
[c011b428] __wake_up+0x32/0x43
[c023c69c] sock_def_readable+0x39/0x63
[c01c80ec] __next_cpu+0x12/0x21
[c011bad8] find_busiest_group+0x1b4/0x4c5
[c0102ff1] __switch_to+0xfe/0x131
[c029cebd] __sched_text_start+0x675/0x73b
[c0139c1f] futex_wake+0xa3/0xad
[c015a050] find_extend_vma+0x12/0x49
[c01397dc] get_futex_key+0x3a/0xe3
[c029d611] schedule_timeout+0x13/0x8d
[c015a050] find_extend_vma+0x12/0x49
[f8a97105] dvb_usercopy+0xa9/0x100 [dvb_core]
[f8a9718e] dvb_generic_ioctl+0x32/0x3b [dvb_core]
[f8a9d497] dvb_frontend_ioctl+0x0/0xd5a [dvb_core]
[c0170e6c] do_ioctl+0x4c/0x62
[c01710c6] vfs_ioctl+0x244/0x256
[c013b258] sys_futex+0x98/0xab
[c0171124] sys_ioctl+0x4c/0x64
[c0103d8c] syscall_call+0x7/0xb
===
Code:  Bad EIP value.
EIP: [] _stext+0x3fefecdc/0x14 SS:ESP 0068:e2933c3c
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DVB-S- and DVB-S2-streams with TT3200

2007-05-24 Thread Artem Makhutov
Hi,

On Thu, May 24, 2007 at 05:23:48PM +0300, Latdna wrote:
 Hi
 
 You patch work good with DVB-S2 tt3200 card

Same for my SkyStar HD. I have tested the card on a 64-bit SMP system
with DVB-S streams. I will test DVB-S2 later.

The only problem I run into was getting a lock. Sometimes it did not
worked and I had to restart szap.

Thanks to Manu, Lassa and all other people involved in the driver
development! Good job!

 but when i install those to
 modules 2 dvb-t usb cards stop working.
 kernel  2.6.21-1-686
 DVB-T usb card: AVerTV Volar DVB-T USB
 module what its use: dvb-usb-dib0700
 
 [...]
 after that patch(diff what you posted earlier this start happening)
 [...] 

The same problem happend to me too. My old DVB-S card stopped working.

Please correct me if I am wrong:

The new modules are using Multistandard. This new standard was
implemented in the dvb-core modules (of Manus source) and the
TT3200-modules.

After installing the new drivers your old dvb-core-modules were
replaced with new ones, but you DVB-T modules were still compiled agains
the old ones.

To make both cards work simultaneously you have to recompile the DVB-T
modules agains the new dvb-core modules and maybe modify them to use
multistandard.

Regards, Artem

-- 
Artem Makhutov
Unterort Str. 36
D-65760 Eschborn

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb