Hi,
I wrote a driver for fullspeed device based on the code in usb_skeleton.
Sending data to the device goes through 2 interrupt-endpoints.
So my code uses the fill_int_urb() and submit_urb() and a callback for 
writing..
I allow a limited number of urbs to be submitted at the same time, just like 
in usb_skeleton.
Everything works fine when I first boot my machine, then plug in the device 
and write the data to it. Urbs get submitted without an error and the 
callback receives the status for the urbs.

But...
when I boot (or reboot) my machine with the device already plugged in and then 
start to write to it, the usb_submit_urb() will return no error (0) , but my 
callback-function never gets called! 

Replugging the device immediatly solves the problem.
 
I'm using Kernel 2.6.16
The node for the device is created by udev (does that matter?)

Any ideas are welcome ...

Thanks for reading 
Eberhard Fahle







-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to