Hello Marco, On Wednesday 11 May 2005 08:35, Marco Schramel wrote: > we use linux 2.4.25. Our device has 2 endpoint (bulk in/bulk out). I > am writing a device driver which serves the bulk endpoints > periodically. Exactly i start a timer. If this timer expires the > timer service will send a write urb to the device. Immediately after > the write access i have to read out some datas of the device over the > bulk in endpoint. If the driver calls the "usb_bulk_msg()" function > the whole system hangs without return. But this code has to work > because the functions are successful if they are called manually over > ioctl.
You are using the synchronous usb_bulk_msg from inside a kernel timer function? I fear you have to use the asynchronous way... best regards Wolfgang ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel