[linux-usb-devel] Tools

2004-03-16 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a free tool that can take USB logs from windows and replay them at a slower rate on linux so that you can find out which commands to a device do what? Thanks, David -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAV3

[linux-usb-devel] USB Video.h

2004-01-02 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm maintaining a driver which uses usbvideo.h. The problem I'm having with distributing it is that if users don't have the kernel source installed, there is no copy of usbvideo.h on their system, so I'm having to distribute a copy of it with the dr

Re: [linux-usb-devel] Guide to the format of usb sniffs?

2004-01-01 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > They are basically the windows API, which closely reflects the USB > specification. If you are super-familiar with the spec, it is obvious. > Until then, read Chapter 9 of the USB spec. > http://www.stillhq.com/cgi-bin/getpage?area=usblogdump&page=i

[linux-usb-devel] Guide to the format of usb sniffs?

2004-01-01 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there anywhere where I could find a guide to decoding the usb sniffs from USB Sniff or Snoopy Pro? This is the basic format of the logs I have: [11610 ms] >>> URB 15 going down >>> - -- URB_FUNCTION_VENDOR_DEVICE: TransferFlags = 000

Re: [linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Why care about the version number at all? > What's wrong with just using USB_DEVICE()? Well it doesn't really matter to my device as far as I know, so I might just do that instead. *looks up docs* Thanks, David - -- It's not that engineers are b

Re: [linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > You need to familiarize yourself with the linux/include/linux/usb*.h files. > > From 2.4.21, usb.h says: > > #define USB_DEVICE_VER(vend,prod,lo,hi) \ > match_flags: USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION, idVendor: (vend), > idProduct: (prod),

[linux-usb-devel] Volcano DG640E Driver Development Hilarity thread!!

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Please forgive me for asking all these stupid questions. Okay here's another round of useless stupid questions: When I register a driver with usbvideo, what happens? I've got printk's in my probe function and it never seems to get called. What do

[linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm writing my device driver for a webcam here, using usbvideo.h. I'm using ibmcam.c as an example of how to build a usb video driver. This is my id_table: static struct usb_device_id id_table[] = { { USB_DEVICE_VER(VOLCANO_DG640E_VENDOR_ID

[linux-usb-devel] Testing

2003-09-02 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to get direct access to a device on usb via usermode? I'm just thinking it might be easier to try and figure out how to use my device from that mode. Thanks, David - -- It's not that engineers are boring people, we just get excited

[linux-usb-devel] usbvideo.h docs?

2003-09-02 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there some documentation for using usbvideo to create a usb camera driver? I'm sorta copying another driver, but it would be nice if I understood what some of this stuff means. For instance, what is usbvideo_cb_t? Thanks, David - -- It's not t