On Mon, Apr 02, 2007 at 05:53:09AM -0500, Al Borchers wrote:
> Greg, Oleg --
> 
> I tested this in 2.6.21-rc5 and it no longer works.
> 
> The problem is a change in usb-serial.c, in usb_serial_probe().
> In 2.6.20 get_free_serial() is called before the attach function.
> In 2.6.21-rc5 get_free_serial() is called after the attach function.
> If the attach function returns non-zero (as it does in ti_usb_3410_5052
> when changing the configuration) then the device is disconnected,
> which calls usb_serial_disconnect(), usb_serial_put(), destroy_serial(),
> return_serial(), which NULLs out the serial table for minor number 0
> (the initial value of the usb_serial minor field before get_free_serial()
> is called.)  That is a problem if minor number 0 has already been allocated
> to another usb serial device.

OK, then i must recheck, why it works for me. Maybe it's just another
sysfs crap, because i tested on rc5 without any of it enabled.
____

-------------------------------------------------------------------------
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
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to