X86 platform drivers
 help / color / mirror / Atom feed
* apple_gmux bug
@ 2013-01-24  5:25 Rolando Martins
  2013-01-24  8:13 ` Benoit Gschwind
  0 siblings, 1 reply; 5+ messages in thread
From: Rolando Martins @ 2013-01-24  5:25 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: Seth Forshee

Hi,
I am currently experienced problems with the apple_gmux driver
while using a MBP retina 10,1.
System description & behavior:
-Ubuntu 13.04 with kernel 3.8-rc4.
-dmesg: apple_gmux: Found gmux version 3.2.19 [indexed]
-Under /sys/class/backlight I only have gmux_backlight.
-Under gmux_backlight both actual and max brightness are equal to 2^24
= 16777216,
while brightness value is within [0,1023] (the value can be changed)
-The backlight is dimmed throughout the boot process and remains the same,
without being possible to adjust it.

If the following hack is applied then full brightness can be achieved,
however it remains nonadjustable.

 #define HACK_VALUE 1023
 ...
 In gmux_probe() :
 ...
 props.max_brightness = gmux_read32(gmux_data, GMUX_PORT_MAX_BRIGHTNESS);
 //hack
 props.max_brightness = HACK_VALUE;
 ....
 bdev->props.brightness = gmux_get_brightness(bdev);
 //hack
 bdev->props.brightness = HACK_VALUE;

Does anybody have a clue to solve this problem?

Thanks for the help,
Rolando

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-24 14:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24  5:25 apple_gmux bug Rolando Martins
2013-01-24  8:13 ` Benoit Gschwind
2013-01-24  8:16   ` Benoit Gschwind
2013-01-24 13:37     ` Rolando Martins
2013-01-24 14:02       ` Benoit Gschwind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox