On Fri, Dec 13, 2002 at 12:44:15PM +0100, Oliver Kurth wrote: > Hello again, > > I just tried to reset the device as the first command in the probe() > function... and it hangs. This eliminates problems with the firmware. > > I get the impression, that there is either a serious bug in usbcore, > or usb_reset_device() in the probe() function is plain not allowed. > Though the old driver does it... > > I will now spread debugging messages in drivers/usb/hub.c, to see > where exactly it hangs.
That was a great step forward. It hangs here, in hub.c, function
usb_reset_device():
int usb_reset_device(struct usb_device *dev)
{
...
if (port < 0)
return -ENOENT;
info("before down(&usb_address0_sem)");
down(&usb_address0_sem);
info("after down(&usb_address0_sem)");
The info() messages are set by me.
I never get the message "after down(&usb_address0_sem)".
I already tried to do up(&usb_address0_sem); before reset, but
then I get "unresolved symbols".
Suggestions welcome...
Greetings,
Oliver
--
Oh my, the stars!
me, first time I stared at the night sky with my new contact lenses
msg09993/pgp00000.pgp
Description: PGP signature
