Hi, using an Realtek RTL9210B in an NVME M.2 to USB enclosure, the kernel does not detect that it is a non rotational disk. `/sys/block/sdX/queue/rotational` is set to `1`, which is false, since this is no and can never be an HDD (adapter is for SSDs only). On another adapter with JMS583 chipset it already works and correctly detects queue/rotational -> 0. Only on the Realtek one it is wrong.
This bug should be assigned to the SCSI or block subsystem, not the USB subsystem. USB is not responsible for determining whether a disk drive is rotational. All it does is transfer commands from those higher layers to the drive and transfer the results from the drive back to the higher layers.
Thanks Alan for the hint, I changed it. But unfortunately I can't change the Assignee, which is still on drivers_usb.
I propose you create a udev rule to override what the device firmware erroneously reports.
(In reply to Martin K. Petersen from comment #3) > I propose you create a udev rule to override what the device firmware > erroneously reports. The whole point of such an adapter is to make the disk portable, which makes it possible to quickly connect it to many different machines (where some aren't mine). Creating a udev rule on every new machine is: 1.) annoying 2.) not possible since I don't always have root access This is only a workaround limited to own personal machines. But it would be much more useful if it was auto detected ootb correctly, hence this bug report.