Comment on Can the M.2 slot in my Dell Optiplex 3070 micro be used for ethernet? I don’t
homelabista@mastodon.social 17 hours ago
@djdarren Nobody's answered your actual last question, so: sudo dmidecode -t slot. That's DMI type 9, System Slots. It lists each slot with its bus width and whether it's occupied, so you can see which one is the x4 before spending a cent.
Pair it with -t connector (type 8). A SATA-only M.2 turns up there rather than under slots, which is the tell you're after.
This is the result of dmidecode
root\@OpenWrt:\~# dmidecode -t slot
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Handle 0x0026, DMI type 9, 17 bytes
System Slot Information
Designation: SLOT1_M.2
Type: x4 M.2 Socket 3
Current Usage: Available
Length: Long
Characteristics:
3.3 V is provided
PME signal is supported
Bus Address: 0000:ff:1f.7
Handle 0x0027, DMI type 9, 17 bytes
System Slot Information
Designation: SLOT2_M.2
Type: x1 M.2 Socket 1-SD
Current Usage: In Use
Length: Short
Characteristics:
3.3 V is provided
PME signal is supported
Bus Address: 0000:ff:00.0
As far as I can tell, the top one is the M.2 in question, so it’s a 4 channel PCIe slot. Running -t connector doesn’t show that slot at all, presumably because it’s not got anything connected to it currently.
I’ve order a cheap(ish) adapter that should arrive today, so I’ll bung it in and report back.