On Mon, May 02, 2005 at 03:42:27PM +0530, anil nagaraj wrote: > hi all / sir, > i am working on a cypress cy7c68013 prototype to control a simple torch. > the device accepts only 8 bytes of data. > i tried with a driver which downloads a intel hex record of 64 bytes and > led driver which uses libusb . > the driver is not giving me the desired results. > > PROBLEMS : > 1. HOW DO I LIMIT THE DRIVER TO SEND 8 BYTES ONLY (driver code attached)
<snip> This code is a blatent copy of my code published in Linux Journal magazine. I hope you put my copyright and license back on it. Also, it is specifically written for a single type of device. The odds that the same exact vendor command will work for your device is pretty impossible. Please look at the original linux journal article for the makefile and how to build this code if you have questions about that. Also, you will need to get the documentation for your device, as to figure out how to write the proper command to it. And please put my name back on the code, I do not think that whoever you will be sending this file to would appreciate the fact that it was copied from someone else, with the copyright and license removed. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel