[mpf70-devel] USB timeout / disconnect handling
Status: Inactive
Brought to you by:
jeremy_laine
From: Jeremy <jer...@m4...> - 2003-03-05 16:39:35
|
I've commited some code that should handle USB timeout errors, but unfortunately I have yet to reproduce a timeout situation, so I can't be positive! One thing is for sure, disconnect situations are handled a lot more gracefully. In the old code a null pointer exception could occur as the "usbdev" pointer of the mpf70_t structure gets set to NULL on disconnect. Also, the module use count is now increased/decreased upon mount/unmount, not upon probing the device. Jeremy -- http://www.jerryweb.org/ : JerryWeb.org http://sailcut.sourceforge.net/ : Sailcut CAD http://mpf70.sourceforge.net/ : MPman MP-F70 support for Linux |