re: re: Re: how to develop driver for cy7c68013(fx2 lp)?

2009-09-22 Thread liu . yaojin
hi Patrick:
  the data stream is multiplex with h264 and acc-plus. we have ourself SDK 
to demultiplex it.
i use my device in this way:
1、search for valid channel(read/write through ep0)
2、read stream continuously(read through ep6(out) ) - demultiplex 
-display.
so,i think the important way is how to operate CY7C68013.correct me if 
wrong.





Hi Liu,

(please avoid top-posts on this list)

On Tue, 22 Sep 2009, liu.yao...@zte.com.cn wrote:

 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 :(

Then the API needs to be extended. Maybe by you. Correct me if I'm wrong, 
but CMMB does not have standard MPEG2-TS and the configuration really 
needs real-time constraints.

How does it work for your device?

To have proper support for non-MPEG2-TS DTV streams we could add a new 
demuxer-type which handles it.

To tune a CMMB device we'd need to add the DTV_PROPERTIES to frontend.h

 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?

This option is rather useful for debugging/prototyping, IMO.

In the future we will have to support several CMMB device from different 
manufacturers. Up to now, we have used the kernel-user-interface to have 
stable API for different standards - we should continue to do so.

It would be nice to start the RFC-process for CMMB's extension to DVB API 
5 .

regards,

--

Patrick Boettcher - Kernel Labs
http://www.kernellabs.com/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html






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.


how to develop driver for cy7c68013(fx2 lp)?

2009-09-21 Thread liu . yaojin
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.



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.
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


re: Re: how to develop driver for cy7c68013(fx2 lp)?

2009-09-21 Thread liu . yaojin
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.