On Tue, Mar 28, 2000 at 01:03:00AM +0000, Johan Verrept wrote:
> Georg Acher wrote:
> > If you mean control messages to EP0 work but not bulk to EP7, then only
> > some problems with the configuration/alternate setting seem plausible to
> > me.
>
> The latter off course. (control messages to EP0 work but not bulk to
> EP7)
> There is only one possible configuration, so that should be ok.
> There are three possible alternate settings for the second interface, I
> checked the setting with a USB_REQ_GET_INTERFACE control message and it
> is also ok.
> I am running out of idea's of things to try...
Me too... Have you tried to clear the stall condition of EP7 with
usb_clear_halt?
> usb_set_interface(dev, 1, 2) should be enough to set the alternate
> setting on the interface right ?
>
> But it might be a side effect, because i am also getting other weird
> things.
> For example, sometimes after I unplug the device and unload the module
> and replug it, all bulk transfers to the device block. (this is without
> the module loaded, trying bulk tranfer from userspace...)
Only bulk transfers, does this also happen to control transfers?
> If this happens, i can plug and unplug the device as often as i like,
> this condition only goes away on reboot. Even rmmod'ing and insmod'ing
> the usbcore and usb-uhci driver modules doesn't work (only tried this
> under 2.3.39 though...they are no longer modules now).
Try the latest usb stuff, there were large patches in between.
> That is why I am suspecting there is a problem in the uhci module too...
> triggered by something i do or something the device does ( the timeout
> ?).
You said that both uhci drivers show this behavior. That makes it a bit more
unlikely that it is actually a problem in the HCD (but doesn't exclude
it...)
--
Bye
Georg Acher, [EMAIL PROTECTED]
http://www.in.tum.de/~acher/
"Oh no, not again !" The bowl of petunias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]