On 05/24/2017 09:36 PM, Kai-Heng Feng wrote:
> Create a file, "/etc/modprobe.d/uas-quirk.conf" with this line inside:
> options usb-storage quirks=xxxx:xxxx:u
>
> Replace "xxxx" with the storage device's vid:pid in lsusb.
>
I created the file and rebooted with the drive connecte. The reboot
restored the Autosuspend to good.
> lsusb
...
Bus 006 Device 005: ID 1058:25e2 Western Digital Technologies, Inc.
Bus 006 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 002: ID 2109:0810 VIA Labs, Inc. VL81x Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
...
I disconnected the drive and dmesg shows the disconnect.
I reconnected the drive and dmesg does not show the drive
> lsusb
...
Bus 006 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 002: ID 2109:0810 VIA Labs, Inc. VL81x Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
...
The drive is not recognized.
I set Autosuspend to bad with powertop
Bad Autosuspend for USB device xHCI Host Controller [usb6]
> sudo lsusb -v
The drive led blinks and the drive is in dmesg
I disconnected the drive and dmesg shows the disconnect.
I reconnected the drive and dmesg does not show the drive
On 05/24/2017 09:36 PM, Kai-Heng Feng wrote: d/uas-quirk. conf" with this line inside:
> Create a file, "/etc/modprobe.
> options usb-storage quirks=xxxx:xxxx:u
>
> Replace "xxxx" with the storage device's vid:pid in lsusb.
>
I created the file and rebooted with the drive connecte. The reboot
restored the Autosuspend to good.
> cat /etc/modprobe. d/uas-quirk. conf
options usb-storage quirks=1058:25e2:u
> lsusb
...
Bus 006 Device 005: ID 1058:25e2 Western Digital Technologies, Inc.
Bus 006 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 002: ID 2109:0810 VIA Labs, Inc. VL81x Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
...
I disconnected the drive and dmesg shows the disconnect.
I reconnected the drive and dmesg does not show the drive
> lsusb
...
Bus 006 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 006 Device 002: ID 2109:0810 VIA Labs, Inc. VL81x Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
...
The drive is not recognized.
I set Autosuspend to bad with powertop
Bad Autosuspend for USB device xHCI Host Controller [usb6]
> sudo lsusb -v
The drive led blinks and the drive is in dmesg
I disconnected the drive and dmesg shows the disconnect.
I reconnected the drive and dmesg does not show the drive
Tom Dean