Description
I was able to get an old PCI-E SATA card working with a CM4108000 and the waveshare PoE board. I'm using Ubuntu 21.04 so I had to compile a custom kernel with SATA support.
There are no markings for manufacturer that I can see and it's been sitting in a box long enough that I don't remember where it came from, but it's using a JMB363 chip, so I think any other card with the same chip should work. There aren't any similar cards on amazon, but a google shopping search shows a bunch of clones on aliexpress for <$10.
The card I have can use eSATA or SATA, I have only tested the two internal SATA ports. It also has a single IDE connector which I haven't tested. There is a "JMicron PATA Support" kernel module that might enable the IDE support.
Looks like #203 with IDE support. The position of the PCI-E connector on the IO board is just a bit too far away from the edge requiring the removal of the bracket (really annoying oversight by waveshare).
lspci -v
01:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: JMicron Technology Corp. JMB363 SATA/IDE Controller
Device tree node: /sys/firmware/devicetree/base/scb/pcie@7d500000/pci@1,0/usb@1,0
Flags: bus master, fast devsel, latency 0, IRQ 68
Memory at 600010000 (32-bit, non-prefetchable) [size=8K]
Expansion ROM at 600000000 [virtual] [disabled] [size=64K]
Capabilities: [68] Power Management version 2
Capabilities: [50] Express Legacy Endpoint, MSI 01
Kernel driver in use: ahci
Kernel modules: ahci
01:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 85 [PCI native mode-only controller, supports bus mastering])
Subsystem: JMicron Technology Corp. JMB363 SATA/IDE Controller
Flags: fast devsel
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
Capabilities: [68] Power Management version 2