questions vanity lights
Michael E Brown
Michael_E_Brown at dell.com
Fri Mar 23 23:17:46 CST 2007
On Wed, Mar 21, 2007 at 08:51:06AM +0100, Oliver Eichler wrote:
> Hi Michael,
>
> >
> > You have to have root access to access dcdbas. Unless you make the binary
> > setUid, this is not a limitation I can fix. I have not audited any of the code
> > to ensure safety for setUid operation, though.
> >
>
> My knowledge about Linux drivers is somewhat mediocre and antique, but
> doesn't dcdbas listen on a device node in '/dev'? And wouldn't the
> correct access rights for this node fix the problem?
Problem is that /dev/mem needs CAP_SYSADMIN, which is enforced inside the
kernel. There is no /dev/ node you can chmod for this. The other driver files
for dcdbas are under /sys, and those can be chowned.
I recommend 'sudo'.
> > Autoloading the driver: I'm not sure. Most distributions have a file you can
> > put the names of modules you want autoloaded at boot time.
>
> Normally you could assign a driver to a certain device node in
> modprobe.conf.
There is no device node for dcdbas.
>
> > This I dont know. All of the relevant docs are in the code. Ed might have some
> > idea. I dont have a platform to test this on, so I am relying on community
> > contributions to keep this one going. Patches accepted.
>
> Ok, let's see. Is there any chance to hurt the laptop while playing with
> it's BIOS?
Not that I know of.
--
Michael
More information about the libsmbios-devel
mailing list