A short note here for those who (just like me) have problems with a UAS driver and USB3 external drives. The symptoms are that the device is recognized and you can see it with lsusb -t
command. The driver lists uas
, but the drive does not show up in /dev/sd*
.
root@AndyNet:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
At the same time, drives using usb-storage
driver work well. Unfortunately, removing the kernel module or actually removing the module file does not solve the problem and the drive is listed without any driver at all. So, the solution is to set a quirk to hint the system to use a specific driver for the drive:
- Get the ID of the external drive with
lsusb -v
. There should be something likeBus 002 Device 002: ID 059f:105e LaCie, Ltd
. Be careful to look for the actual device, not the USB hub. - Edit
/etc/modules.d/usb-storage
and appendquirks=DEVICE_ID:u
, so in my case the line looks likeusb-storage quirks=059f:105e:u
- Save and reboot. After reboot, check
lsusb -t
should list your drive with usb-storage driver instead of uas. And the drive should appear in/dev/
. - Enjoy!
A side note, I do have kmod-usb-core
, kmod-usb3
, kmod-usb-storage
, and kmod-usb-storage-uas
installed. And I do NOT have kmod-usb2
and kmod-usb-storage-extras
.