Find the answer to your Linux question:
Results 1 to 3 of 3
How do i get DMI Informations (stuff displayed by dmidecode) in a kernel module? I need some "System Information" like Vendor, Model and UUID....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    DMI Informations In a Kernel Module?


    How do i get DMI Informations (stuff displayed by dmidecode) in a
    kernel module? I need some "System Information" like Vendor, Model
    and UUID.

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Location
    Silver Spring, MD
    Posts
    95

    Vendor, Model, UUID

    Quote Originally Posted by Twas View Post
    How do i get DMI Informations (stuff displayed by dmidecode) in a
    kernel module? I need some "System Information" like Vendor, Model
    and UUID.
    ==========================

    dmesg | egrep -i "vendor|uuid|model"

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Location
    Silver Spring, MD
    Posts
    95

    Vendor, Model, UUID

    Also, you could download a file called sysinfo:

    Ubuntu:

    apt-get install sysinfo

    Fedora:

    Pick the version you are using, download the file

    install it using rpm -Uvh <filename>

    Suse:

    Go to Suse's website and download file

    zypper -i <filename>

    An alternative would be to download webmin (web based unix managed tool) to view hardware information as well.

    Take care.

    Tdsan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •