Hi, On Sun, Feb 02, 2003 at 02:04:45PM -0600, Caylan Van Larson wrote: > The information I provided (and interpretation) was purely for your > enjoyment :) I dont really know what I am talking about but I am willing > to learn.
If you know perl, just try to follow the comments I gave. If you know C, use that instead. There is not much difference in how the libusb functions are called as that perl module is based on libusb. See http://libusb.sourceforge.net/doc/ for documentation. > In the commands I have provided how would I get the value for the control > endpoint? (minor request) I think that's number 0. Usually the functions to send a control message don't need the endpoint (at least not with libusb). There is only one control endpoint per device. > The real question is, can anyone provide me with a c program or > modifications to my tries (earlier email) that will compile that would > mimic this simple communication and open my drawer? If there is any more > information anyone needs, I will be happy to submit it. Try the perl script but use the number of the interface. That should at least avoit the error from claim_interface. > Actually, let me post the whole log on the net... just in case someone is > willing (wow would that make my day! ;). > > http://www.aero.und.edu/~caylan/cashdrawer_usbSniff.log > > All I need is a starting point and I can take it from their. I can > decipher my own logs, its just the initial communication. Remember, "fb" > is used to open the drawer in some way, they are toward the end, (just in > case you do take on this challenge). There seem to be only tree different commands: 0x32, 0xfa and 0xfb. All are control messages and get back 8 bytes of data. Most probably, these 8 bytes contain info about the status of the device (open/close). Bye, Henning ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
