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?

  • Can you provide the exact model of your laptop? (From the sticker underneath or wherever it is?) – You'reAGitForNotUsingGit May 18 '17 at 21:14
  • Maybe the output of sudo lshw -businfo can give a hint? – Byte Commander May 18 '17 at 21:39
  • The version and other info I get from dmidecode and underneath from sticker is"Lenovo ideapad Y700-15ISK", "80NV00HGMX", base board: "Allsparks 5A SDK0J40709 WIN" – simernes May 19 '17 at 15:28
  • the lshw -businfo displays most things that I guess would be related to storage device, but it doesn't explicitly show anything with m.2 in it. Perhaps it means its not there, or can it be listed as a PCI interface? – simernes May 19 '17 at 15:32
  • Post the lshw output to paste.ubuntu.com – Tim May 19 '17 at 16:32

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.

  • Can't speak for the OP, but in my case the output does not list anything at all. – Byte Commander May 18 '17 at 21:34
  • 1
    @ByteCommander Thats's strange - here's my output: paste.ubuntu.com/24601088 – Tim May 18 '17 at 21:35
  • I only get the first three lines talking about versions and SMBIOS, nothing useful. No idea why. – Byte Commander May 18 '17 at 21:38
  • It worked for me on a 64 bit 14.04 desktop system. Asus hardware. – Organic Marble May 19 '17 at 1:55
  • 1
    That 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? – simernes May 19 '17 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.