Re: sonypi kernel driver -- volunteers needed

Ignacy Gawedzki <[email protected]>
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
On Thu, Jul 24, 2003 at 07:54:19AM -0700, thus spake Vance Lankhaar:
> On Thu, 2003-07-24 at 04:49, Daniel K. wrote:
> 
> > e.g. the "keep LCD brightness setting over reeboot" feature you know 
> > from Windows.
> 
> That shouldn't be too hard to do... It doesn't sound like a driver
> issue, though. It sounds like you need to write yourself a little
> script. Just write a wrapper for spicctrl that records the brightness
> level in a file somewhere, be sure to always use the wrapper, and then
> have a startup script that reads that file and sets the brightness.

That would be a solution, but I think what Windows do is writing it
somewhere in NVRAM for the BIOS to check at boot (at least in my Z1A).
For example, If you set the brightness to minimum under Windows, then
halt and start the computer again, the brightness is set by the BIOS to
the minimum at the very beginning.

I tried to compare the data from /dev/nvram in the two states, and
indeed there is a difference.  But /dev/nvram doesn't seem to reach all
the BIOS configuration data, since writing one of the saved data back
into /dev/nvram, somehow disabled the boot animation and set the sound
volume back to factory default (in addition to changing the default
brightness).

Has anyone else fiddled with the BIOS configuration data?

-- 
Information wants to be beer, or something like that.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.