Mailing List archive

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

[linux-dvb] Twinhan DVB-T: Works, what's next?



Greetings,

I've got Twinhan DVB-T card frontend working as you can see here:
http://robdvd.radfiles.net/viewtopic.php?t=341.

Now I want to make a proper frontend driver for it.

I started with Twinhan DVB-S "dst" frontend and butchered
it to death in the process. There are a some things in 
common between the two but there are some subtle differences.
It may be easier for me to do a completely new frontend for 
this card only and leave dst as it is as I have no way of 
testing my changes with the satellite version.
The frontend is going to be quite small and simple really.
bttv and dvb-bt8xx will do most of the hard work, I only need
to set up the tuner.

The card supports 2 commands (those that I'm aware of).
One is SET_TUNER, it takes frequency and bandwidth and returns
non-zero if the tuner has a lock, 0 otherwise. The CPU on board
takes care of the rest. It can take upto 1 second to complete. 
The other command is GET_STATUS, it returns 3 1-byte values 
somehow related to signal strength and quality. The first byte 
is zero if the tuner is not locked onto signal and non-zero 
otherwise. Apart from that I've no idea how to interpret them yet.

I have a few questions


* Are these 2 commands above enough to control the tuner 
or do I need to dig deeper?

* What API level should I aim for? I understand that version 
3 is current and v4 is being discussed, is it correct?

* My card only requires frequency and bandwidth. I can
ignore all the extra parameters in SET_FRONTEND but what 
should I return in GET_FRONTEND?

* Do I need to implement non-blocking mode in my frontend?
I see that not all of the front-ends have it.
Do I need to worry about locking at all?

* I'm running the latest and greatest 2.6.0-testX kernels.
2.4.x simply does not work well on my hardware (something 
to do with SATA and ACPI, has only been fixed recently).
Is there anything special I need to do to make my frontend
work with 2.4.x kernels? 

* What is the scale of SNR, BER and signal strength
values as returned by the frontend? Where are they used?
Do I have to implement all of them?

* Anything else I'm missing?

One last thing, I guess I will need CVS access sometines soon.

Thanks,
Dmitri





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



Home | Main Index | Thread Index