[ltp] Making backup of BIOS settings?

Ryan Underwood linux-thinkpad@linux-thinkpad.org
Thu, 24 Aug 2006 09:36:27 -0500


On Wed, Aug 23, 2006 at 09:14:32PM +0200, U Kuehn wrote:
> > 
> > There is also this file:
> > crw-rw---- 1 root root 10, 144 2006-08-23 12:17 /dev/misc/nvram
> > corresponding to the nvram driver, you could try that driver and see if
> > it allows read/write access like you need.  It doesn't dump as much as
> > my program but I can't remember exactly the contents of the CMOS anyway.
> > 
> Let's assume that you can backup the BIOS settings this way. How do you
> restore if you need to? Maybe a sheet of paper would serve you better?

Given that the default mode of the device node is rw, it seems
reasonable to think that the driver just might allow you to write the
CMOS memory in the same way... see drivers/char/nvram.c

-- 
Ryan Underwood, <nemesis@icequake.net>