[ltp] Enabling ThinkPad buttons R31 & SUSE 10.1

JP Renaud linux-thinkpad@linux-thinkpad.org
Tue, 18 Jul 2006 09:50:38 +0100


> Date: Tuesday 18 July 2006 00:25 
> From: James Knott <james.knott@rogers.com>
> Mendel Cooper wrote:
> > On Sun, 16 Jul 2006, James Knott wrote:
> >> I'm trying to enable ThinkPad buttons etc., in SUSE 10.1, on an R31.
> >> While the buttons appear to work, though not properly, there is still a
> >> configuration issue with /dev/nvram.  According to "Personal Settings"
> >> "IBM ThinkPad Laptop, /dev/nvram permissions are supposed to be set to
> >> 666.  However, I cannot get that value to stick.
> >
> > I had a similar problem with an A31 running FC5. Fixed it by adding
> >    chmod 666 /dev/nvram
> > to the tail end of /etc/rc.d/rc.local.
>
> The equivalent in SUSE, is after.local, where I've added that command,
> but it still fails.

you probably need a udev rule to do this. in the past, i wrote this a while 
ago about my  r51 (on gentoo):

---
Misc
Thinkpad kmilo plugin 
If you use KDE 3.3+, there is a Thinkpad configuration page in the KDE Control 
Center at System Administration -> IBM Thinkpad laptop. It allows you to have 
some feedback from the Thinkpad keys (volume, luminosity, light and the 
Access IBM blue button). You can enable it from the Control Center but for 
that you need NVRAM support in your kernel. If you have followed my 
instructions, you should have compiled nvram as a module so add it to the 
list of modules to load:
 echo nvram >> /etc/modules.autoload.d/kernel-2.6 
Also, /dev/nvram needs to have the permissions 664 or 666. If you use udev, 
you can change them in in /etc/udev/permissions.d either modify the existing 
50-udev.permissions or by create a new file (40-udev.permissions) containing:
 misc/nvram:root:root:0664
---

but now, i think you should put it in /etc/udev/rules.d instead of 
permissions.d

i hope this helps a bit.

-- 
JP Renaud
Bristol, UK