OR using EOL release, and no response since 2012.

** No longer affects: linux (Ubuntu)

** Package changed: linux (Fedora) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Medium => Undecided

** Changed in: linux (Ubuntu)
       Status: Fix Released => New

** Changed in: linux (Ubuntu)
 Remote watch: Red Hat Bugzilla #625171 => None

** Changed in: linux (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/625276

Title:
  nouveau: MacBook Pro backlight too dim
  (/sys/class/backlight/nv_backlight/max_brightness is wrong)

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Reproduction of https://bugzilla.redhat.com/show_bug.cgi?id=625171 for
  tracking purposes.

  Description lifted from that of the Fedora bug reported by Will Woods 
(2010-08-18 14:48:40 EDT):
  /sys/class/backlight/nv_backlight/max_brightness is hardcoded to 1025 in
  drivers/gpu/drm/nouveau/nouveau_backlight.c. But setting brightness to 1025
  puts the screen brightness at something very dim.

  Increasing max_brightness to 0xffff allows for (as far as I can tell) the full
  range of brightness. It seems like nouveau_backlight.c needs some way to
  actually determine max_brightness rather than hardcoding it.

  I tried the obvious thing:

    unsigned int bl = 0xffffffff;
    nv_wr32(dev, NV50_PDISPLAY_SOR_BACKLIGHT, bl);
    printk("nv_backlight: wrote %x, read %x\n", bl,
      nv_rd32(dev, NV50_PDISPLAY_SOR_BACKLIGHT));

  0xffffffff hardlocks the system; 0x80ffffff yields 0x00ffffff (which is almost
  assuredly a lie).

  As for guessing the actual max value - there's a noticeable difference between
  44000 and 50000, but no difference that I can perceive between 50000 and 
65535.
  So the actual max value, wherever it's hidden, is probably somewhere between
  44000 and 50000 - or the brightness scales nonlinearly as it approaches 
0xffff.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/625276/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to