questions vanity lights
Michael E Brown
Michael_E_Brown at dell.com
Tue Mar 20 12:23:06 CST 2007
On Tue, Mar 20, 2007 at 01:16:47PM -0500, Michael E Brown wrote:
> On Tue, Mar 20, 2007 at 11:59:11AM +0100, Oliver Eichler wrote:
> > Hi,
> >
> > the latest add-on to control the XPS vanity lights is highly
> > appreciated. Just a couple questions:
> >
> > 1. The tools will run just for root. What has to be done to use them as
> > user, too? How do I make the dcdbas driver to load automatically? I
> > guess I have to make an entry to modprobe.conf for a certain device. But
> > what has to be entered exactly?
>
> 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.
>
> 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.
For fedora 6+ (possibly earlier):
cat >> /etc/rc.modules <<-EOF
modprobe dcdbas
EOF
chmod +x /etc/rc.modules
I'm sure others can mention how other distros work.
--
Michael
More information about the libsmbios-devel
mailing list