On Mon, 4 Nov 2002, Brad Hards wrote: > Please be realistic. You haven't described your device or what it is meant to > do, haven't provided a site to get the firmware, described the tests that > you've done that passed or failed (on Linux and other operating systems).
OK... It is a mp3 player based on compact flash. It is my final degree project. You can found pictures about the device at: http://www.salleurl.edu/~is04607/proyecto/images.html The idea is to be able to mount the compact flash and then write there all the files (through Usb) At the moment, I am just developing a very simple driver to test the hardware based on the usb-skeleton. My usb device has just one configuration with one interface that has two endpoints, one Bulk IN and the other Bulk OUT. The firmware is very simple at the moment. After enumeration process (this already works!!), firmware waits to receive information comming from the OUT endpoint and then rewrites all the information over the IN endpoint. When I plug my device all the enumeration seems to work perfectly: Nov 1 17:43:38 ligero kernel: hub.c: USB new device connect on bus1/1, assigned device number 17 Nov 1 17:43:42 ligero kernel: devuelta.c: He encontrado un IN endpoint @81 Nov 1 17:43:42 ligero kernel: devuelta.c: He encontrado un OUT endpoint @2 Nov 1 17:43:42 ligero kernel: devuelta.c: USB devuelta ahora esta ligado a devuelta driver Problem comes when I write information against my device: $ echo "navidad" >> /dev/myDevice Following the sources I see that this function is executed: retval = usb_submit_urb(dev->write_urb); So theoretically the urb is submitted correctly. But spite this, the write callback is not executed.... Besides my firmware doesn't seem to receive any INTERRUPT!!! What can I do to find what the hell is happening? What tools do I have to debug this????? If you want I will put relevant parts of the firmware source here..... Or all the code. By the way!!! I am using the National Semiconductors USBN9604 and my laptop computer has this software installed: - kernel : 2.4.19 - modutils : 2.4.18-3.7x - modulils devel: 2.4.14-3 - gcc : gcc version 2.96 20000731 (Yes I know it, it sucks!!!) - make : GNU Make version 3.79.1 - binutils : 9.2.1-1.7x.2 > Also, unless your device is based on Linux, or you're only seeing problems > when you run it on a Linux host, you are probably off-topic. I want to develope my device driver just for linux and for other open operating systems.... I think it is not an offtopic question... ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
