backlight module for nvidia cards -- control backlight even with offb

2008-01-12 Thread Andy Wingo
es. Ideas about a "proper solution" are appreciated. Regards, Andy /* * nvbacklight.c: Backlight driver for nVidia graphics cards * * Copyright 2008 Andy Wingo <[EMAIL PROTECTED]> * Copyright 2004 Antonino Daplas <[EMAIL PROTECTED]> * * This file is subject to the te

[PATCH] macintosh: fix fabrication of caplock key events

2008-01-10 Thread Andy Wingo
If the user has turned on the "restore_caplock_events" parameter, the code mangles the capslock events correctly, then erroneously ignores those events. Fix logic to allow correct fallthrough. Signed-off-by: Andy Wingo <[EMAIL PROTECTED]> --- diff --git a/drivers/macintosh/ad

[PATCH] macintosh: fix fabrication of caplock key events

2008-01-10 Thread Andy Wingo
If the user has turned on the restore_caplock_events parameter, the code mangles the capslock events correctly, then erroneously ignores those events. Fix logic to allow correct fallthrough. Signed-off-by: Andy Wingo [EMAIL PROTECTED] --- diff --git a/drivers/macintosh/adbhid.c b/drivers