I tried to find a solution the whole day until now 3am. I'm cooked.
I am running Ubuntu on a Raspberry Pi with USB 3 and connected to it some external storage enclosures via a USB hub. One of them is controlled by JMicron controller. lsusb
Bus 002 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
In the dmesg I can see it is blacklisted for some reason.
[ 2.134591] usb 2-2.1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 2.155251] usb 2-2.1: New USB device found, idVendor=152d, idProduct=0567, bcdDevice= 2.05
[ 2.155259] usb 2-2.1: New USB device strings: Mfr=10, Product=11, SerialNumber=5
[ 2.155264] usb 2-2.1: Product: USB to ATA/ATAPI Bridge
[ 2.155268] usb 2-2.1: Manufacturer: JMicron
[ 2.155272] usb 2-2.1: SerialNumber: 152D00539000
[ 2.169663] usb-storage 2-2.1:1.0: USB Mass Storage device detected
[ 2.169914] usb-storage 2-2.1:1.0: Quirks match for vid 152d pid 0567: 5000000
[ 2.169997] scsi host0: usb-storage 2-2.1:1.0
[ 2.170329] usbcore: registered new interface driver usb-storage
[ 2.173030] usbcore: registered new interface driver uas
It says registered for the interface driver uas.
However it is not used. I believe because of the Quirks. lsmod gives
uas 28672 0
usb_storage 81920 6 uas
I read it this way. 6 uas capable devices use usb_storage driver instead of uas. I believe this is because of the Quirks (I hate that word).
I tried many things, many of which I do not remember anymore, brain is a pudding.
My goal is to unblacklist these devices. How can I do that?
Let me know any information you need if you can help and I shall provide.
lsblktell you, anddmesg | grep sd?[ 2.169914] usb-storage 2-2.1:1.0: Quirks match for vid 152d pid 0567: 5000000means a match was found for a quirks, which afaik means that somehow it is blacklisted.lsblkshows the disk property and I can use it, but only with limited speed. Regarding dmesg and sd: I see the devices are used with the scsi interface. That is not my problem. My problem is that usb_storage driver is used instead of uas, which can be translated to: the system uses usb 2 instead of usb 3 - that is my problem. This can popularly happen on a raspberry pi unfortunately.