Skip to content

Failed to open memory buffer (/dev/mem): Permission denied #15

Description

@RMPR

The command:

python dmidecode.py

produces

** COLLECTED WARNINGS **
Failed to open memory buffer (/dev/mem): Permission denied
No SMBIOS nor DMI entry point found, sorry.
** END OF WARNINGS **

While

sudo dmidecode

displays correctly the information needed.
After research, I found out that the problem can be with python3-dmidecode because the following code:

import dmidecode
print(dmidecode.bios())

prints an empty dictionary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions