Matan Ziv-Av wrote:
> 

> The CTX 1300ex monitor controls (picture width, height, color, shape,
> convergence, etc.) can be controlled from the computer, with the usb
> connection. The device is:
> 
> T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0698 ProdID=1786 Rev= 0.01
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl= 16ms
What this tells you is that this device has one Human Interface Device
interface. You need a dump of the HID descriptor to know more.
 
> The question is - how do I drive it?
You use a bit of software that interfaces to the USB stack,
imaginatively called a driver. This can be done in (mainly) user-space,
using the usbdevfs driver, or in (mainly) kernel-space, using a custom
driver. You might be able to do a user-space driver using (perhaps some
modification of) the event interface provided by Vojtech's HID stuff.

> Is there a standard for monitor hid devices?
Indeed there is. You can get all the standard USB specs from
http://www.usb.org/. The monitor class specification is
http://www.usb.org/developers/data/devclass/usbmon10.pdf and the HID
spec is http://www.usb.org/developers/hidpage.html#Class_Definition

> Otherwise are there any cheap ways to find out what windows does (a
> windows device driver)? I can connect another computer in between, if it
> can be used as a repeater.
Another computer isn't going to help much. You need either a hardware
sniffer device (such as the increadibly useful but expensive CATC
analyser) or a software sniffer that goes into the windows driver stack
(see http://www.jps.net/koma/ and maybe
http://altern.org/vii/programs/linux/usb-robot/)

> Is there some kind of "usb generic" device that enables me to write
> random packets to the device?
Yes, it is called the usbdevfs driver, and you can see the interface
from the header files in the kernel.

Brad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to