[linux-dvb] bttv twinhan thoughts

2004-04-28 Thread Brad Campbell
G'day all,
This is not strictly related to dvb I guess, more of a bttv issue.
In windows, when I insert my twinhan card and load standard bttv drivers it does not work, but it 
also does not hard lock the machine.
In linux, if I forget to tell bttv the card type, it hard locks. I'd love to see this behaviour 
change as it's a major usability issue. Now I realise the card is a pile of steaming excrement, but 
it's also cheap and unfortunately becoming quite widespread, plus when it does work, it does its job 
quite well.

This has just arisen again as I went to play with knoppix 3.3 which now probes for bttv cards on 
boot and because of this hardlocks the machine. I have not found a way to tell it not to probe for bttv.

Thoughts?
I'm willing to invest some more time in hardlocking the machine debugging this, but I feel it is 
going to require some changes in the bttv driver which I'm concerned will impact other cards.

Regards,
Brad
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.


[linux-dvb] Re: bttv twinhan thoughts

2004-04-28 Thread Brad Campbell
Gerd Knorr wrote:
As initializing the analog video stuff makes the card lock the PCI bus
I see to way around this.  Basically you must not touch any of the video
registers, which is impossible to do without breaking the analog cards,
at least the ones which also don't have a PCI Subsystem ID.  Unless you
find some way to detect the card without the ID ...
This is the bit that has me wondering.
If it's a standard connexant 878 chip on it (and it appears to be) then there must be some strange 
setup that causes it to lock the PCI bus.. This is the bit I'm wondering about. Why does the windows 
driver not do the same..
Perhaps it's time to get the dissasembler and debugger out again.

Regards,
Brad
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.


[linux-dvb] Re: DVB-Dec Hauppauge! DEC 3000-S (Technotrend)

2004-04-28 Thread Ernst Peinlich

Netgrabber wrote:
Is the Dec 3000 working on CVS?
I habe tried the 2.6.5 module and can't watch tv.
Some error logs:
./dvbscan dvb-s/Astra-19.2E
scanning dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
Frontend can not do INVERSION_AUTO, trying INVERSION_OFF instead
initial transponder 12551500 V 2200 5
 tune to: 12551:v:0:22000
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x
WARNING: filter timeout pid 0x0010
dumping lists (0 services)
Done.
./szap -r -n 1
reading channels from file '/root/.szap/channels.conf'
zapping to 1 'c5':
sat 0, frequency = 17750 MHz V, symbolrate 0, vpid = 0x, apid 
= 0x
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1f | signal 00ff | snr  | ber  | unc  | 
FE_HAS_LOCK
status 1f | signal 00ff | snr  | ber  | unc  | 
FE_HAS_LOCK
status 1f | signal 00ff | snr  | ber  | unc  | 
FE_HAS_LOCK
status 1f | signal 00ff | snr  | ber  | unc  | 
FE_HAS_LOCK

tail -f /var/log/messages
Apr 22 16:25:03 amd1700 kernel: usb 1-1: new full speed USB device 
using address 7
Apr 22 16:25:04 amd1700 kernel: ttusb_dec: no version info in Firmware
Apr 22 16:25:04 amd1700 kernel: ttusb_dec: found DSP code STB_USB_FW.
Apr 22 16:25:08 amd1700 kernel: drivers/usb/core/usb.c: registered new 
driver ttusb-dec
Apr 22 16:25:08 amd1700 usb.agent[7663]:  ttusb_dec: loaded 
sucessfully
Apr 22 16:25:10 amd1700 kernel: usb 1-1: USB disconnect, address 7
Apr 22 16:25:19 amd1700 kernel: usb 1-1: new full speed USB device 
using address 8
Apr 22 16:25:19 amd1700 kernel: DVB: registering new adapter (DEC3000-s).
Apr 22 16:25:19 amd1700 kernel: DVB: registering frontend 0:0 
(TechnoTrend/Hauppauge DEC3000-s Frontend)...
Apr 22 16:25:20 amd1700 usb.agent[7753]:  ttusb_dec: already loaded

fix for tuning-problem (CVS)
Ciao
Ernst
--- ttusb_dec.c.org 2004-03-31 11:55:34.0 +0200
+++ ttusb_dec.c 2004-04-28 10:01:31.0 +0200
@@ -1659,7 +1659,7 @@
p-u.qam.symbol_rate);
dprintk(inversion-%d\n, p-inversion);
 
-   freq = htonl(p-frequency * 1000 +
+   freq = htonl(p-frequency +
   (dec-hi_band ? LOF_HI : LOF_LO));
memcpy(b[4], freq, sizeof(u32));
sym_rate = htonl(p-u.qam.symbol_rate);


[linux-dvb] Re: Twinhan troubles

2004-04-28 Thread Måns Rullgård
Brad Campbell [EMAIL PROTECTED] writes:

 Måns Rullgård wrote:
 The producer TwinHan claims that the card is supported by linux, so
 I bought
this card.
 The red card is supported by drivers in Linux 2.6, except the
 conditional access module.  Twinhan have binary drivers for Linux
 2.4, but they don't implement the standard API, so few programs are
 likely to work well.  Many programs might work in a limited way if
 you first tune the card using their example programs.


 I'm afraid no standard linux dvb apps will work at all with the
 standard twinhan drivers.

They won't.  What is possible is to tune the card to the desired
channel and read the TS from the device with any program.

 Data transfer with the twinhan drivers is done with a very large
 buffer and special ioctls, plus the non-ci card generate a standard
 188byte packet TS while the -CI cards generate a 206(? it's been a
 while since I had my head in there) byte packet that needs to me
 slightly truncated before decoding the TS.

204, it's got something to do with error correction.

-- 
Måns Rullgård
[EMAIL PROTECTED]



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Re: Twinhan troubles

2004-04-28 Thread Brad Campbell
Måns Rullgård wrote:

204, it's got something to do with error correction.
I wrote that bit of the driver :p) (All 5 lines of it, Jamie did the heavy lifting)
iirc they forget to tell the tuner module to strip the ecc bytes from the back of the TS packet and 
just pass them through. This might be useful except that the tuner has already done the error 
correcting and thus they are redundant. Like I said, it's been a while since I had my head in the code.

You can only read the TS from the device for non-CI cards, otherwise you have to post-process it 
yourself first.

I use mine in concert with mplayer and my projector as my main TV, so it gets daily use. Does not 
mean it's not a pig of a card though!

I have just ordered some hardware to help me with my quest for getting the CI working.. hopefully in 
a couple of weeks I get some time to start.

Regards,
Brad
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.


[linux-dvb] [linux-dvb]Re: succeed in creating dvb0_0

2004-04-28 Thread cournil


   To create the dvb0_0 device it needs : dvbtune -n pid of the network device

   exple :  dvbtune -n 68

   


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Re: info visionplus usb-ter

2004-04-28 Thread Andrea Venturi
Peter Schildmann wrote:
Hi,
On Wed, Apr 21, 2004 at 02:47:37PM +0200, Andrea Venturi wrote:
hi,
we bought this usb dvb-t visionplus dvb-t usb-ter
 http://www.visionplus.com.tw/visiontv-2.htm
the main business is load any firmware available on the linux host to 
the chip. but i have not been able to recognize the firmware file in 
the driver directory of the MS OS driver package.. (maybe it's embedded 
in some of the .sys file there)

Try this:
yes, it works! from a cold start, the usb device comes to life with the 
final identity.

this is really the first step to make the bare metal running
now, linux is just missing the real dvb driver for this card!! ;-)
when i'll have some spare time i'll try to understand a bit the usb 
protocol with some usb snooping tool like this:

  http://benoit.papillault.free.fr/usbsnoop/
  http://www.toth.demon.co.uk/usb/reverse-0.2.txt
or  maybe try to dump usb log when the original driver is running on a 
vmware guest OS.

but may i ask, out of curiosity, if this firmware loader is just a 
hint of more meat to come?! ;-)

andrea venturi
--
   vp7041fwload.c
--
/*  
 * TwinHan Vision Plus USB-Ter firmware loader
 *
 * Copyright (c) 2004 Peter Schildmann [EMAIL PROTECTED]
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License, as published by the Free Software Foundation.  This
 * program is distributed WITHOUT ANY WARRANTY; without even the
 * implied warranty of merchantability or fitness for a particular
 * purpose.  You should have received a copy of version 2 of the GNU
 * General Public License along with this program; if not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */




signature.asc
Description: OpenPGP digital signature


[linux-dvb] Re: Twinhan troubles

2004-04-28 Thread Ralph Metzler
Brad Campbell writes:
  Måns Rullgård wrote:
   
   
   204, it's got something to do with error correction.
   
  
  I wrote that bit of the driver :p) (All 5 lines of it, Jamie did the heavy lifting)
  
  iirc they forget to tell the tuner module to strip the ecc bytes from the back of 
  the TS packet and 

I also have no idea why they leave the error correction stuff there
but there is a call which switches this off (at least it works on one of my
cards). Maybe Twinhan will release the documentation publically
sometime. They said they would, at least for the non-CI part, but that
was months ago. 


Ralph

-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Decode and save an Internet-Data-Stream

2004-04-28 Thread formtapez
Hello !

Is it possible to tune a DVB-s card to an Internet-Provider-Transponder
and save the files that are transfered on this stream ?
I know two Windows-Tools that are doing that (Streamreader ans SkyNet).


Bye.
formtapez


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Re: DVB-Dec Hauppauge! DEC 3000-S (Technotrend)

2004-04-28 Thread Johannes Stezenbach
Ernst Peinlich wrote:
 
 --- ttusb_dec.c.org   2004-03-31 11:55:34.0 +0200
 +++ ttusb_dec.c   2004-04-28 10:01:31.0 +0200
 @@ -1659,7 +1659,7 @@
   p-u.qam.symbol_rate);
   dprintk(inversion-%d\n, p-inversion);
  
 - freq = htonl(p-frequency * 1000 +
 + freq = htonl(p-frequency +
  (dec-hi_band ? LOF_HI : LOF_LO));
   memcpy(b[4], freq, sizeof(u32));
   sym_rate = htonl(p-u.qam.symbol_rate);

Thanks, I've comitted this to CVS.

Johannes


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Re: DVB-Dec Hauppauge! DEC 3000-S (Technotrend)

2004-04-28 Thread Alex Woods
On Wednesday 28 Apr 2004 14:57, Johannes Stezenbach wrote:
 Ernst Peinlich wrote:
  --- ttusb_dec.c.org 2004-03-31 11:55:34.0 +0200
  +++ ttusb_dec.c 2004-04-28 10:01:31.0 +0200
  @@ -1659,7 +1659,7 @@
  p-u.qam.symbol_rate);
  dprintk(inversion-%d\n, p-inversion);
 
  -   freq = htonl(p-frequency * 1000 +
  +   freq = htonl(p-frequency +
 (dec-hi_band ? LOF_HI : LOF_LO));
  memcpy(b[4], freq, sizeof(u32));
  sym_rate = htonl(p-u.qam.symbol_rate);

 Thanks, I've comitted this to CVS.

Eesh, I thought it must be close, but this is a surprise ;)
Thanks, Ernst.

Can someone confirm what is and isn't working with the DEC 3000-s now, please, 
so I can update the documentation?

Cheers,
Alex


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Running a DVB head-end with free software

2004-04-28 Thread Gabriele Del Prete
Hi!
I'm wondering if, using the software developed by the Linux DVB group 
and others, one can run an head-end station which can produce a DVB 
stream suitable to be aired for reception via either satellite or 
terrestrial network.
Software support for DVB for Linux allow almost anything one would like 
to do when receiving TV programming (watchin, recording, 
time-shifting...), I'm wondering if the same is true (or could be easily 
made true) for TV broadcasters, so that the only thing you need is a 
modulator, an amplifier and a transmitting antenna?

Bye!
Gabriele

--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.


[linux-dvb] 2.6.6-rc3 is very good!!!

2004-04-28 Thread Gregoire Favre
Hello,

as I was too lazy to patch with the 9 patches sent to lk to test the new
DVB, I just waited for 2.6.6-rc3 which include them all: the result is
very good !!!

It's the fastest zapping channels I ever tried, and after 1 hour and
30 minutes uptime, every thing seems to be perfect (even with xawtv on
G550).

Thank you very much for all this works :-)

Grégoire, happy user!!!
__
http://algebra.epfl.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED]


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Re: DVB-Dec Hauppauge! DEC 3000-S (Technotrend)

2004-04-28 Thread Netgrabber
/usr/src/dec3000/dvb-kernel# make
make -C /usr/src/dec3000/dvb-kernel/build-2.6
make[1]: Gehe in Verzeichnis »/usr/src/dec3000/dvb-kernel/build-2.6«
[ -L saa7146_video.c ] || ./getlinks
rm -rf bt848.h
ln -s /lib/modules/2.6.5-1-k7/build/drivers/media/video/bt848.h bt848.h
make -C /lib/modules/2.6.5-1-k7/build 
SUBDIRS=/usr/src/dec3000/dvb-kernel/build-2.6 AV7110_FIRMWARE= AV7110_OSD=
make[2]: Gehe in Verzeichnis »/usr/src/kernel-headers-2.6.5-1-k7«
*** Warning: Overriding SUBDIRS on the command line can cause
***  inconsistencies
 CC [M]  /usr/src/dec3000/dvb-kernel/build-2.6/bt878.o
In Datei, eingef?gt von /usr/src/dec3000/dvb-kernel/build-2.6/bt878.c:46:
/usr/src/dec3000/dvb-kernel/build-2.6/bt878.h:28:19: bt848.h: Datei oder 
Verzeichnis nicht gefunden
/usr/src/dec3000/dvb-kernel/build-2.6/bt878.c: In Funktion bt878_probe:
/usr/src/dec3000/dvb-kernel/build-2.6/bt878.c:460: error: 
`BT848_INT_MASK' undeclared (first use in this function)
/usr/src/dec3000/dvb-kernel/build-2.6/bt878.c:460: error: (Each 
undeclared identifier is reported only once
/usr/src/dec3000/dvb-kernel/build-2.6/bt878.c:460: error: for each 
function it appears in.)
make[3]: *** [/usr/src/dec3000/dvb-kernel/build-2.6/bt878.o] Fehler 1
make[2]: *** [/usr/src/dec3000/dvb-kernel/build-2.6] Fehler 2
make[2]: Verlasse Verzeichnis »/usr/src/kernel-headers-2.6.5-1-k7«
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis »/usr/src/dec3000/dvb-kernel/build-2.6«
make: *** [all] Fehler 2

I can't build the CVS drivers on devian (sid) (kernel-headers-2.6.5-1-k7 
) I'm using the header files.
bt848.h does'nt exist on 2.6 anymore how can I build the cvs? I need 
ttusb_dec

--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.


[linux-dvb] Re: AverTV DVB-T un-viewable QAM_64 channels (QAM_16 work perfectly) ...massive noise

2004-04-28 Thread Hamish Moffatt
On Thu, Apr 29, 2004 at 03:22:34AM +, Rick Hamnett wrote:
 I have recently purchased an AverMedia AverTV DVB-T pci card (NEBULA 
 clone) which i have installed under a 2.6.5-gentoo-r1 kernel. I am using 
 the card in the UK
 
 The card itself is working correctly and i can use XINE and MYTHTV to 
 view channels with QAM_16 perfectly.
 
 However, any channel that is QAM_64 (quite a lot of UK channels) load up 
 and they immediately make bad blocks all over the screen so the picture 
 is virtually unviewable, and the sound starts to sqeak and pop. I have 

I can't tell you why, but I can say that QAM64 channels work fine for me
on the Aver with 2.6.4. All of our channels in Australia are on QAM64.


Hamish
-- 
Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] dvb_bt8xx: unable to determine DMA core of card 0

2004-04-28 Thread Joseph H. Fry
When loading the modules to get my VP-1020 card running I get this
output in dmesg after running modprobe dvb_bt8xx 

bt878: AUDIO driver version 0.0.0 loaded 
dvb_bt8xx: unable to determine DMA core of card 0 
attach: checking monid 
attach: checking dvi 
attach: checking vga 
attach: checking crt2 
attach: checking bt878 #0 [hw] 
find by pci: checking bt878 #0 [hw] 

Then if I try to modprobe dst I get nothing, and no entrys are added
under /dev/dvb 

Any chance anyone know's whats causing this... I think the error is the
whole unable to determine DMA core of card 0... so I'm curious if it's
something to do with my PCI settings in bios or in the kernel. I read
somewhere that moving the card to a different slot helped someone get
past this problem, but after trying it I had no success. 

Any suggestions would be greatly appreciated!



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] b2c2 with opensky

2004-04-28 Thread babar haq
Hi
I am desperately trying to get my sky star 2(B2C2) card to work on linux kernel 2.6.5 
with open sky service. Apparently everything is working fine.
First, I load the B2C2 module. Then we load the front end module which is detected to 
be stv0299 . Then we use dvbtune to lock the frequency and create the dvb0_0 
interface.The locking displays all the parameters to be fine e.g FE_LOCK.
Lastly, Ifconfig is used to set a dummy ip and the mac address(given to opensky by us) 
of the dvb card.
After that we connect to the dial up and login to open sky services using lynx 
http://sdr.eutelsat.com. All the information displayed is correct i.e the ip address 
of our dial up ,the mac address of dvb card and the pid.
Then we set http_proxy variable to the opensky proxy to start recieving data from 
satellite. We do not get any data from the dish i.e 0 bytes.
Can some one please guide us. Thanx in advance.

Regards,
Babar Haq
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.



[linux-dvb] Re: dvb_bt8xx: unable to determine DMA core of card 0

2004-04-28 Thread Joseph H. Fry
Solved my own problem... for anyone else with this problem, here is what
I was doing wrong: 

in all my attempts to get this working I had configure Bt87x Audio
Capture to compile into the kernel 

Device Drivers - Sound - Advanced Linux Sound Architecture - PCI
devices - * Bt87x Audio Capture 

This SHOULD NOT be compiled into the kernel if you want the VP-1020 to
work!

Well now to figure out all this VDR stuff!

 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
 On Behalf Of Joseph H. Fry
 Sent: Thursday, April 29, 2004 12:13 AM
 To: [EMAIL PROTECTED]
 Subject: [linux-dvb] dvb_bt8xx: unable to determine DMA core of card 0
 
 When loading the modules to get my VP-1020 card running I get this
 output in dmesg after running modprobe dvb_bt8xx
 
 bt878: AUDIO driver version 0.0.0 loaded
 dvb_bt8xx: unable to determine DMA core of card 0
 attach: checking monid
 attach: checking dvi
 attach: checking vga
 attach: checking crt2
 attach: checking bt878 #0 [hw]
 find by pci: checking bt878 #0 [hw]
 
 Then if I try to modprobe dst I get nothing, and no entrys are added
 under /dev/dvb
 
 Any chance anyone know's whats causing this... I think the error is
the
 whole unable to determine DMA core of card 0... so I'm curious if
it's
 something to do with my PCI settings in bios or in the kernel. I read
 somewhere that moving the card to a different slot helped someone get
 past this problem, but after trying it I had no success.
 
 Any suggestions would be greatly appreciated!
 
 
 
 --
 Info:
 To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe
linux-
 dvb as subject.





-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.