Re: Writing Driver for video card attached to an USB

2010-07-19 Thread Alex Deucher
On Mon, Jul 19, 2010 at 1:40 AM, PRASANNA KUMAR
prasanna_tsm_ku...@yahoo.co.in wrote:
 Hi,
     I have a video card which is attached via USB hub. I want to write a
 driver for the video card. Is there any way to write user space device
 driver using LibUSB. I am new for creating video driver code. Where could i
 find tutorials for writing video driver (xorg) driver.


There's a userspace xorg driver for sis-based USB video cards that you
can use as a reference:
http://cgit.freedesktop.org/xorg/driver/xf86-video-sisusb/

Alex
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Writing Driver for video card attached to an USB

2010-07-19 Thread Shashi Shekar B.S.
On Mon, Jul 19, 2010 at 11:10 AM, PRASANNA KUMAR
prasanna_tsm_ku...@yahoo.co.in wrote:
 Hi,
     I have a video card which is attached via USB hub. I want to write a
 driver for the video card. Is there any way to write user space device
 driver using LibUSB. I am new for creating video driver code. Where could i
 find tutorials for writing video driver (xorg) driver.

A good starting point would be:
http://www.x.org/wiki/DriverDevelopment?action=showredirect=Development%2FDocumentation%2FXorgVideoHOWTO

You can also find DESIGN.pdf there, which explains the essentials that
need to go in a driver.

-Shashi
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com