usb working partialy after resume

Robert David robert.david.public at gmail.com
Sat Apr 5 09:52:31 UTC 2014


Hi all,

I got read a lot of USB problems on freebsd vs suspend/resume. 

For example:
http://unethicalblogger.com/2013/12/03/scratchiest-neckbeard-freebsd-x200.html

My problem is similar, but suggested  solutions does not help.
I do not have  dev.uhci.*.wake ????

I run FreeBSD on Lenovo ThinkPad X61s.

I use FreeBSD stable/10, I compile my own kernel with vt enabled and
uhci/ehci disabled (to be build as modules).
I unload and load ehci/uhci module on suspend/resume. 
But after first resume, USB start working wired. 
For example, at home I got docking station connected to external
monitor with USB hub (connected keyboard,mouse) and this works all the
time after suspend/resume.  But in work I got some KVM switch with
keyboard/mouse connected, but after resume only mouse works, I even
cannot make keyboard work when connected directly to USB on notebook.
The USB seems to be much more nonworking that working, connecting USB
flash, scanner does not work. But the USB port on docking station
suprisingly  work, even can put here flash drive.

It is wired and seems to be something with internal USB hubs and its
power. Also wired is that In work I do not have docking station and the
KVM switch is connected to one of the notebook ports.

This messages are from connecting KVM in work:

ugen2.2: <vendor 0x0557> at usbus2
uhub6: <vendor 0x0557 product 0x8021, class 9/0, rev 1.10/1.00, addr 2>
on usbus2 uhub6: 4 ports with 4 removable, self powered
usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 3 failed,
USB_ERR_IOERROR usbd_req_re_enumerate: addr=3, set address failed!
(USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device
descriptor at addr 3 failed, USB_ERR_IOERROR wlan0: link state changed
to UP usbd_req_re_enumerate: addr=3, set address failed!
(USB_ERR_TIMEOUT, ignored) ath0: ath_rate_tx_complete: ts_rate=27
ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0
usbd_setup_device_desc: getting device descriptor at addr 3 failed,
USB_ERR_IOERROR usbd_req_re_enumerate: addr=3, set address failed!
(USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device
descriptor at addr 3 failed, USB_ERR_IOERROR usbd_req_re_enumerate:
addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 3 failed,
USB_ERR_IOERROR ugen2.3: <Unknown> at usbus2 (disconnected)
uhub_reattach_port: could not allocate new device ugen2.3: <vendor
0x0566> at usbus2 ums0: <vendor 0x0566 USB Mouse, class 0/0, rev
0x0566> 1.10/51.27, addr 3> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=0


Connecting for example flash drive to notebook port, does not produce
anything, also the flash drive with led diode does not 
lit up.



I will welcome any suggestions.  

Regards,
Robert.
 


More information about the freebsd-stable mailing list