Michal Čihař - Userspace software suspend

Userspace software suspend

Yesterday I tested µswsusp for first time and everything suprisingly worked well on my desktop computer. I can suspend to disk and RAM and resume without any problems. Now it only needs my board to be whitelisted so that I don't have to force it. But for some reason ASUS have chosen to fill in total crap in DMI, probably to make identification harder:

Handle 0x0001, DMI type 1, 25 bytes
System Information
        Manufacturer: System manufacturer
        Product Name: System Product Name
        Version: System Version
        Serial Number: System Serial Number
        UUID: 94C96C90-74FE-D511-A6B9-13393877187A
        Wake-up Type: PCI PME#

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: P5LD2-VM
        Version: Rev 1.xx
        Serial Number: MB-1234567890

So the patch for whitelist would look a bit funny:

{ "System manufacturer", "System Product Name", "System Version", "0406    ", 0},

Yes it's too much work to fill in this information if you call your product "The Best Intel All in One Solution with Dual Core CPU Support"…