Check what kind of hardware slots are available linux
I think this will do it:
sudo dmidecode --type connector
For me, it shows a lot of ports - masses of USBs, a Firewire, ESATA and SATA connectors etc. I expect it will show an m.2 port - although it might have a different name - for example, my Firewire shows up as P1394
.
If you're interested, here is the output for me, and here is the output for just sudo dmidecode
.
Related videos on Youtube
simernes
Elite software developer Hire me or just reach out at https://modularity.no Main interests are: Space tech, biology tech, energy tech, autonomous vehicles
Updated on September 18, 2022Comments
-
simernes over 1 year
My laptop comes in different models, some of them have an m.2 sdd slot. The retailer I bought it from doesn't provide information in great detail and I'd like to know without opening up the laptop if I have m.2 available.
Is there a command I can run to check that? Like lspci for example?
-
You'reAGitForNotUsingGit almost 7 yearsCan you provide the exact model of your laptop? (From the sticker underneath or wherever it is?)
-
Byte Commander almost 7 yearsMaybe the output of
sudo lshw -businfo
can give a hint? -
Tim almost 7 yearsPost the lshw output to paste.ubuntu.com
-
-
Byte Commander almost 7 yearsCan't speak for the OP, but in my case the output does not list anything at all.
-
Tim almost 7 years@ByteCommander Thats's strange - here's my output: paste.ubuntu.com/24601088
-
Byte Commander almost 7 yearsI only get the first three lines talking about versions and SMBIOS, nothing useful. No idea why.
-
Organic Marble almost 7 yearsIt worked for me on a 64 bit 14.04 desktop system. Asus hardware.
-
simernes almost 7 yearsThat only returned a list of USB, network, and mini-jack connectors.. I think if would have been there it should have listed PCI interfaces at least as well?
-
Tim almost 7 years@simernes try the second command -
sudo dmidecode
-
simernes almost 7 yearsI did that both with --type and without, that's what I meant in my comment.
-
Tim almost 7 years@simernes that's really strange, let me do a bit of searching.
-
Matthew Piziak about 5 yearsMine shows the slots but doesn't display whether or not they are being used.
-
Tim about 5 years@MatthewPiziak I’m not sure mine shoes which are being used, but this was 2 years ago so my memory is poor! I don’t have Ubuntu on hand to test...
lsusb
will show you USBs that are plugged in... I’m not sure there’s a way to see ports and what’s connected.