X86 platform drivers
 help / color / mirror / Atom feed
From: Benoit Gschwind <gschwind@gnu-log.net>
To: Rolando Martins <rolando.martins@gmail.com>
Cc: platform-driver-x86@vger.kernel.org,
	Seth Forshee <seth.forshee@canonical.com>
Subject: Re: apple_gmux bug
Date: Thu, 24 Jan 2013 09:16:15 +0100	[thread overview]
Message-ID: <5100EDCF.1040208@gnu-log.net> (raw)
In-Reply-To: <5100ED34.4040400@gnu-log.net>

Hello Rolando,

I found that if you turn you computer in stanby (suspend to RAM) and 
turn it on again, gmux work again.

I didn't found a way ot enable this behaviour at boot.

Best regards

Le 24/01/2013 09:13, Benoit Gschwind a écrit :
> Hello Rolando,
>
> Do you use NVIDIA proprietary driver ?
>
> If this is the case, this explain your issue probably. NVIDIA driver
> seems disable gmux chips.
>
> Best regards.
>
> Le 24/01/2013 06:25, Rolando Martins wrote :
>> 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
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> platform-driver-x86" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe
> platform-driver-x86" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-01-24  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24  5:25 apple_gmux bug Rolando Martins
2013-01-24  8:13 ` Benoit Gschwind
2013-01-24  8:16   ` Benoit Gschwind [this message]
2013-01-24 13:37     ` Rolando Martins
2013-01-24 14:02       ` Benoit Gschwind

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5100EDCF.1040208@gnu-log.net \
    --to=gschwind@gnu-log.net \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rolando.martins@gmail.com \
    --cc=seth.forshee@canonical.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox