I have a new SATA HDD and a SATA connector (incl. support UASP, TRIM [unrelated to HDD]), which the vendor says is Linux compatible with 2.6.3+. The chip is ASM1153, which is documented to be Linux compatible.
I use it with a 3,5" HDD, so it needs additional power. When everything is connected (power to HDD and subsequently HDD to USB), the HDD is shortly running but then goes to sleep: it is never shown in the system. The same for the USB connector, which is not in lsusb that way. I assumed the latter is the origin of the first. When I re-connect power, the disk comes back and goes sleep again. When I re-connect USB, nothing occurs at all. In all cases, nothing is shown.
However, when I removed the power cable of the connector, and plugged in solely the USB-SATA-connector to the USB/Laptop (no HDD nor power cable in USB-SATA-connector), it became visible:
lsusb | grep ASMedia Bus 004 Device 000: ID 174c:1153 ASMedia Technology Inc. ASM1153 SATA 3Gb/s bridge
However, the HDD does not work without external power, so I connected it again, first HDD, then Power cable:
Now the HDD starts again, and while the lsusb | grep ASMedia output disappears for a moment, it comes back after a few seconds: I get now the output in KDE that the device “ugreen … … USB storage” was connected (ugreen is the USB-SATA-connector vendor), but I cannot identify a device. After some time, also the lsusb | grep ASMedia output disappears again, KDE says its disconnected, and I am back to the origin.
If I want to reproduce this “best outcome”, I need to unplug everything at all, then plugin the USB-connector by USB, then attach the HDD, then attach power.
I have just started to search, but having not played with stuff like this for long, I thought someone maybe knows of the cuff to explain this behavior
My expectation at this time is that the compatibility is limited and this will not work out reliably, but maybe I prove wrong ![]()
Happy to offer more details if required.
I cannot exclude a relation about this:
-
just for the record (while I think it is not useful here):
ls /dev/ -la | grep <minute of connecting>suggests thatcrw-rw-rw-. 1 root tty 5, 2 Feb 12 12:45 ptmxgets updated when doing the “best outcome” plugging in. The same for/dev/block, but the latter’s content does not change. -
Just to have it tested: I tried to open updated entries in /dev/ with
parted, but they are no storage devices
-
The journal does not contain useful information, except a correlating log in two cases, which would suggest the kernel tried to consider the USB device as smart card reader and then as printer (each time both first printer treatment and then smartcard reader treatment; though this correlated only twice in many more test cases) [1].
-
I cannot exclude the HDD to have experienced a transport damage due to unsafe shipment.
[1] one of the two cases, just in case someone finds it relevant:
Feb 12 12:02:38 fedora rtkit-daemon[1975]: Successfully made thread 22206 of process 21271 (/usr/lib64/firefox/firefox) owned by '1000' RT at priority 10.
Feb 12 12:02:35 fedora pcscd[5187]: 00000142 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client
Feb 12 12:02:35 fedora pcscd[5187]: 00023941 ../src/auth.c:166:IsClientAuthorized() Process 22140 (user: 1000) is NOT authorized for action: access_pcsc
Feb 12 12:02:35 fedora pcscd[5187]: 00000140 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client
Feb 12 12:02:35 fedora pcscd[5187]: 00024061 ../src/auth.c:166:IsClientAuthorized() Process 22140 (user: 1000) is NOT authorized for action: access_pcsc
Feb 12 12:02:35 fedora pcscd[5187]: 00000108 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client
Feb 12 12:02:35 fedora pcscd[5187]: 00023968 ../src/auth.c:166:IsClientAuthorized() Process 22140 (user: 1000) is NOT authorized for action: access_pcsc
Feb 12 12:02:35 fedora pcscd[5187]: 00000359 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client
Feb 12 12:02:35 fedora pcscd[5187]: 99999999 ../src/auth.c:166:IsClientAuthorized() Process 22140 (user: 1000) is NOT authorized for action: access_pcsc
Feb 12 12:02:30 fedora cupsd[2187]: REQUEST localhost - - "POST / HTTP/1.1" 200 564 Create-Printer-Subscriptions successful-ok
Feb 12 12:02:30 fedora cupsd[2187]: REQUEST localhost - - "POST / HTTP/1.1" 200 215 Create-Printer-Subscriptions client-error-bad-request
Feb 12 12:02:30 fedora cupsd[2187]: [Client 9] Returning IPP client-error-bad-request for Create-Printer-Subscriptions (/) from localhost.
Feb 12 12:02:30 fedora cupsd[2187]: REQUEST localhost - - "POST / HTTP/1.1" 200 185 Renew-Subscription client-error-not-found
Feb 12 12:02:28 fedora cupsd[2187]: REQUEST localhost - - "POST / HTTP/1.1" 200 303 Create-Printer-Subscriptions successful-ok
Feb 12 12:02:28 fedora cupsd[2187]: REQUEST localhost - - "POST / HTTP/1.1" 200 215 Create-Printer-Subscriptions client-error-bad-request
Feb 12 12:02:28 fedora cupsd[2187]: [Client 8] Returning IPP client-error-bad-request for Create-Printer-Subscriptions (/) from localhost.
Feb 12 12:02:28 fedora cupsd[2187]: REQUEST localhost - - "POST / HTTP/1.1" 200 185 Renew-Subscription client-error-not-found
Feb 12 12:02:23 fedora kdeconnectd[3629]: No uuids found for "DF:3E:F8:66:91:D1"