On Wed, 9 May 2007, Stanislaw Gruszka wrote:

> > Can you please provide the dmesg log from the Pentium-2 machine with UHCI
> > and with CONFIG_USB_DEBUG set?  Show what happens when you connect the
> > mouse and then plug in the ueagle-atm device.
> 
> Ok, in dmesk.2 the modem is connected when there is open /dev/input/mouse 
> file (for about 1 second). I can read data until close file and open it again.

This looks like it's all working properly.  When the mouse device is
opened it reserves 93 us of bandwidth.  When the ueagle-atm driver puts
the modem into the highest-speed setting, it tries to allocate 36 + 794
us, for a total of 923 us.  This is more than the 900 us maximum bandwidth
allowed by the USB spec for periodic transfers, so the attempt fails.

In this situation the ueagle-atm driver ought to fall back to a slower 
setting.

Conversely, if the modem is already running (and using 830 us of
bandwidth) when you open the mouse device file, the mouse driver won't be
able to allocate its 93 us.  But if you would close the mouse device file
and turn off the modem, then the next time you open the mouse file it
ought to work.  You shouldn't need to unplug the mouse.

Can you try doing that experiment?  If it doesn't work then send the dmesg 
log.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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