hi,Mauro:
 thanks for replying.
i am not sure the dtv api can be used in my project.because cmmb's 
protocol is different to dmb :(

in Windows, we download firmware using windows driver,config fx2 as bulk 
transfer,and read the TS stream,finally decode it and display.
I also read this post: "http://www.linuxjournal.com/article/7466"----
Writing a Real Driver―In User Space.
if i just want to read the ts stream,should i use this method? or another 
way?





Mauro Carvalho Chehab <mche...@infradead.org> 
2009-09-22 12:53

收件人
liu.yao...@zte.com.cn
抄送
linux-media@vger.kernel.org
主题
Re: how to develop driver for cy7c68013(fx2 lp)?






Hi Liu,

Em Tue, 22 Sep 2009 10:47:18 +0800
liu.yao...@zte.com.cn escreveu:

> hi,all:
>   i have a cmmb usb card,based on fx2 lp.my kernel version is 2.6.24.7.i 

> already read some source in /driver/usb/misc and 
> /driver/media/dvb/dvb-usb, and still have no idea how to write the 
driver 
> .could you show me how to do it?
> maybe i just want to read/write cy7c68013 corrently,and not need v4l2 
api 
> :)
> thanks.

If the driver will support just digital TV, you don't need V4L2 API, just 
DVB
API. The latest version of the API's are at:

                 http://linuxtv.org/downloads/v4l-dvb-apis/

In order to start, you need first to understand the API. Then, you'll need 
to
get one driver as an example (for example, cxusb.c - if the device is 
USB). 

If the driver also supports analog TV, then the better is to use a driver 
that
supports both API's, like em28xx



Cheers,
Mauro





--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is 
solely property of the sender's organization. This mail communication is 
confidential. Recipients named above are obligated to maintain secrecy and are 
not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the originator of the 
message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.

Reply via email to