On Sun, Apr 07, 2002, Dominik Kuhlen <[EMAIL PROTECTED]> wrote: > I'm new to Kernel- and USB programming. > > My digital camera does some USB Spec violation (eg : Request type 0x04 > (reserved for future use)), so I'm not sure if its a good idea to write a > driver. > > The next question is how to implement it. > Best would be libusb support -> gphoto support. > Is it possible to use libusb for writing drivers for arbitrary usb devices?
Absolutely. That's the intent. gphoto2 uses libusb to communicate with USB digital still cameras. > TOC reading is working, but if I like to read Thumbnails > I get some severe error : "uhci.c: d400: host system error, PCI problems?" This typically indicates you passed an invalid buffer. Could you give us the code you used? > Is it save (are they in future Kernelversion still available) to use > "usb_control_msg" / "usb_bulk_msg" for easy testing/access? Absolutely. Those will be always there, but if it's just for testing, I guess it wouldn't matter if they are there in the future. > Are there any further documentations ? > these one do I have already: > - lkmpg > - usb.cs.tum.edu/usbdoc (2000/12/25 (quite old ?)) http://usb.cs.tum.edu/usbdoc/ is the best text documentation. The sources would be better documentation :) JE _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel