Jump to content

Cannot get m2 sata adapter to work ASM1166


Recommended Posts

Posted

Hello,

I'm using Ubuntu noble lts with kernel 6.1 it appears.

 

I've enabled the orangepi-5-sata overlay.

 

In the photos I have showed how I've connected it.

 

When plugging in the pi with my official 5v 4a usbc charger, the adapter lights up for awhile. I'm not sure if it needs to stay on.

 

I then check fdisk -l and nothing new appears. This drive works if I put the sata to usb connector on it and plug it in - so it's not the drive.

 

 

Screenshot_2025-10-29-23-45-23-091_com.alibaba.aliexpresshd.jpg

IMG_20251029_234722.jpg

Posted
26 minutes ago, nom said:

orangepi-5-sata overlay

I think this is wrong. The overlay needs to enabled if there is an m2 sata ssd connected. However in this case we connect a pcie device which connects to a chip that multiplexes the sata devices. tl;dr: try disabling this overlay

Posted (edited)

Thank you @Werner it just worked perfectly once disabled. That'll teach me to enable things.
 

image.thumb.png.0562ae2bd58b9c320cf9158099241300.png

 

 

Beyond lower CPU usage compared to a USB to SATA adapter, I have some performance benchmarks.
 

// write
dd if=/dev/zero of=testfile bs=1M count=3000 oflag=direct
3145728000 bytes (3.1 GB, 2.9 GiB) copied, 11.382 s, 276 MB/s (usb)
3145728000 bytes (3.1 GB, 2.9 GiB) copied, 9.74696 s, 323 MB/s (sata)

 

// read

dd if=testfile of=/dev/null bs=1M iflag=direct
3145728000 bytes (3.1 GB, 2.9 GiB) copied, 10.8119 s, 291 MB/s (usb)
3145728000 bytes (3.1 GB, 2.9 GiB) copied, 9.09585 s, 346 MB/s (sata)

 

And some Jellyfin CPU vs Hardware accelerated transcoding usage:

image.thumb.png.9ad94784c5e37a39cd98828c01ce6a36.png

Edited by nom

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines