Jump to content

smbios dumper and matching dmidecode


  • Please log in to reply
8 replies to this topic

#1
fxtentacle

fxtentacle

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
this allows you to dump your smbios and decode it to readable form. useful if you are toying with smbios enablers / patchers and wonder why certain programs notice you are on a hackintosh.

run in a terminal:

./smbios-reader
that will generate dump.bin
./dmidecode -i dump.bin
that will show you all the info

source included

Attached Files



#2
Beerkex'd

Beerkex'd

    Content Provider

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,000 posts
  • Gender:Male
  • Location:Belo Horizonte - Brazil
Interesting. Thanks!

Could someone please run this on a real MacPro3,1 and post the output here? Thanks.

#3
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male
This is something I was looking for; for people willing to test the latest version of Revolution [with: DSDT, SSDT and SMBIOS tables compiled into /boot].

Thank you!

#4
jlvaio

jlvaio

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
where to place file?

#5
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,049 posts
  • Gender:Male
  • Location:Brazil
It doesn't matter, you can run it from anywhere you want.

#6
lolof

lolof

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
Hi, I try this from the terminal on real mac.

The terminal output :


# dmidecode 2.9
/dev/mem: No such file or directory


How can I get it to work. I am on 10.6.6

Thanks very much

#7
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,049 posts
  • Gender:Male
  • Location:Brazil
You must be doing something wrong.
Make sure you have a dump.bin as generated by smbios-reader before running dmidecode.

You can try this instead, it is easier to use:
http://www.insanelym...howtopic=266634

#8
lolof

lolof

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
I would like to have dmidecode working because I want to use it with flashrom.
I do not have a /dev/mem directory but I have an alias named dev in /
When I go there on the terminal, there is no mem directory

Could it be the problem ??

#9
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,049 posts
  • Gender:Male
  • Location:Brazil
It will not work, and the problem is not with dmidecode. Due to OS architectural differences you can't use that function of flashrom on OS X, it's a leftover from the Linux or BSD versions or whatever.

Flashrom is trying to have dmidecode read dmi data from /dev/mem which on Linux provides access to certain memory locations. On OS X there is no such thing, there is nothing there for dmidecode to read. You can't "fix" this.

Google "what is /dev/mem/" for more information.

Install Linux on your Mac, then it will work.

If you want to get at your DMI data then follow the instructions in the first post or follow the link I posted and use the other app.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy