$Id: HOWTO.logreading,v 1.1 2002/10/15 13:29:58 poeml Exp $ Alright, Spike has given you a nice log, now what to do with it! Official primer (must read!): http://www.aracnet.com/~seagull/NJB/tools/spike-primer.html Quick primer: CS = Command structure C< = Result from device to program Your log (if you followed my steps from HOWTO.usbtracing) will start with a few lines like: CS 80 06 00 01 00 00 12 00 You can ignore these, these are the USB set up packets, and these are handled for you automagically by libusb. NOTE: they are worth interpreting if you need to know which configuration and interface to use with the camera! NOTE: the CL20 in digicam mode uses configuration 1 (there is only 1) NOTE: the CL20 in digicam mode uses interface 1 (there is 0 and 1) NOTE: CL20 interface 0 is for webcam mode Look for the line: CS c1 00 00 00 21 05 01 00 C< 0000: 00 0000: 00 To send this command using libusb: char * data = calloc(1, 0x10); // Safe size int result; result = usb_control_msg( 0xC1, 0x00, 0x0000, 0x0521, data, 0x01 ); data[0] will be the 1 byte that was returned by the device. #TODO continue :-)