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/13831729/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
Bugs, which is subscribed to Ubuntu.

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

Reply via email to