Summary: | Stalled USB transfer | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Juraj Lutter <otis> | ||||
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> | ||||
Status: | Closed Unable to Reproduce | ||||||
Severity: | Affects Many People | CC: | hselasky, ian, otis | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | arm | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Juraj Lutter
2015-12-10 21:54:40 UTC
This was showing signs of failing to attach because it was requesting more power than the port could supply (although the hub on an rpi is configured as self-powered and the ports should allow 500ma attachments). I suggested turning on hub debug to see if it would provide clues about the power, and somehow that made it work. Some kind of timing problem that was "cured" by the extra debug output, maybe? I also tried on my rpi-b attaching a thumb drive that requires 200ma, and it is able to attach without any errors, so there's something more than just the power involved I guess. Hi, What does "usbconfig -d X.Y dump_device_desc" say about this device? Did you try to add a quirk for your device? Some device's firmware reset once they receive the first SCSI command they don't support. usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE --HPS In mass storage mode: ugen0.4: <Toshiba USB Storage Toshiba Incorporated> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0930 idProduct = 0x0d46 bcdDevice = 0x0000 iManufacturer = 0x0001 <Toshiba Incorporated> iProduct = 0x0002 <Toshiba USB Storage> iSerialNumber = 0x0003 <015020684058> bNumConfigurations = 0x0001 After adding a quirk, it does not work, see previous comment. In situation where the modem is plugged while the RPI2 boots, it works. After subsequent unplug/plug, it does not work again. Can you try connecting the device through a self powered external USB HUB? --HPS If you mean USB hub with its own power supply, then yes, I will connect. Yes. Situation turned in the way that I'll not be able to reproduce the problem any soon. Toshiba G450 I possess, has gone into production with Linux on ARM :-( Unable to reproduce as of now. |