This patch should fix it.  Problem is that we're doing bitwise
arithmetic on a signed long that happens to be negative.  Wackiness
ensues, making the result an invalid offset for mmap().  Changing the
long to unsigned fixes it.

** Attachment added: "mmap() patch against hal-0.5.11~rc2"
   http://launchpadlibrarian.net/13831731/macbook-backlight-mmap.patch

-- 
MacBook brightness adjustment does not work in Hardy
https://bugs.launchpad.net/bugs/206921
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to