Re: sonypi kernel driver -- volunteers needed
"Daniel K." <[email protected]>
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
On 07/24/03 17:23, Ignacy Gawedzki typed onto the keyboard: > 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. This is exactly what I mean. To get this to work we probably have to disassemble the Windows driver to see what it does. > > 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). Thanks for the clues, I havent really had time to look into any of this yet. > > Has anyone else fiddled with the BIOS configuration data? > Daniel K.