usb probs ehci works vs uhci hangs with Linksys usb200M ( axe0 )

mark mark at node.to
Fri May 14 22:49:20 PDT 2004


On May 14, 2004, at 11:34 AM, Bernd Walter wrote:

> On Fri, May 14, 2004 at 03:59:27AM +0000, mark wrote:
>>
>>
>>
>> I'm looking for a work around to this usb ethernet problem.
>>
>>
>> With FreeBSD-5.2.1-p5, "device ehci" added to the default GENERIC 
>> kernel,
>> the axe device works fine in USB 2.0 mode, when plugged in after boot
>> (AFTER ehci driver is loaded)B.
>>
>>
>> However, without ehci, uhci tries to attach the device and hangs with
>> "read PHY failed". If booted with device plugged, boot stops. If 
>> device is
>> plugged in after boot, the axe module hangs, looping forever on the 
>> read
>> error (you can unplug the device but usb never deregisters it) but the
>> system remains useable.
>>
>>
>> If the system has ehci enabled, and is booted with the device plugged 
>> in,
>> it hangs when uhci module is loaded because it begins immediate probe
>> before ehci is loaded. Thus it is impossible to boot the system in any
>> config with the device plugged in at boot.
>>
>>
>> Is there any way to disable USB autoprobing, to send a signal or 
>> something
>> to tell it when to start probing. Alternatively, is there a way to 
>> prevent
>> USB probing until all USB controllers are loaded (specifically, the 
>> ehci
>> module)?
>
> You can set the #if 1 to 0 in usb.c to delay probing as a workaround.
> Unfortunately this may cause troubles if you have USB devices that are
> needed sonner.
>

Genius. That fixes the problem. Now all probes occur after ehci load. 
Maybe it would be useful for this to be a device.hints configurable 
setting?

Thanks for help,
mark


> -- 
> B.Walter                   BWCT                http://www.bwct.de
> bernd at bwct.de                                  info at bwct.de
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"
>



More information about the freebsd-hackers mailing list