[ltp] Making backup of BIOS settings?

Ryan Underwood linux-thinkpad@linux-thinkpad.org
Wed, 23 Aug 2006 12:21:48 -0500


On Wed, Aug 23, 2006 at 11:03:56AM -0500, Ryan Underwood wrote:
> 
> On Fri, Aug 18, 2006 at 08:40:55AM +0200, Felix E. Klee wrote:
> > Is it possible to read the BIOS settings of a T41 from within LINUX in
> > order to get some kind of backup.
> 
> You can read/write CMOS with a simple C program:

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.

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