[mythtv-users] nvram-wakeup with 7nif2
Michael T. Dean
mtdean at thirdcontact.com
Thu Apr 15 19:12:28 EDT 2004
Mitko Haralanov wrote:
>Just out of curiosity, has anyone been able to get the nvram-wakeup to
>work with a Chaintech 7nif2 nForce2 board to work? For one, I don't even
>have the /dev/nvram device...
>
>
Maybe this will get you started... (But I can't answer your question
directly becaues I don't have that motherboard.)
From the Linux kernel's configuration help:
CONFIG_NVRAM
If you say Y here and create a character special file /dev/nvram with
major number 10 and minor number 144 using mknod ("man mknod"), you get
read and write access to the extra bytes of non-volatile memory in the
real time clock (RTC), which is contained in every PC and most Ataris.
The actual number of bytes varies, depending on the nvram in the system,
but is usually 114 (128-14 for the RTC).
This memory is conventionally called "CMOS RAM" on PCs and "NVRAM" on
Ataris. /dev/nvram may be used to view settings there, or to change them
(with some utility). It could also be used to frequently save a few bits
of very important data that may not be lost over power-off and for which
writing to disk is too insecure. Note however that most NVRAM space in a
PC belongs to the BIOS and you should NEVER idly tamper with it. See
Ralf Brown's interrupt list for a guide to the use of CMOS bytes by your
BIOS.
On Atari machines, /dev/nvram is always configured and does not need to
be selected.
This driver is also available as a module ( = code which can be inserted
in and removed from the running kernel whenever you want). The module
will be called nvram.o. If you want to compile it as a module, say M
here and read <file:Documentation/modules.txt>.
More information about the mythtv-users
mailing list