meklort / netbook-installer

Automatically exported from code.google.com/p/netbook-installer
6 stars 2 forks source link

Backlight does not resume after waking from sleep #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put netbook to sleep (lid or hotkey).
2. Wake using power button or open lid.

What netbook are you using this on?
Lenovo S10-4231

What is the expected output? What do you see instead?
Expect screen to turn back on. Instead, display stays dark (but graphics
are present and can be seen with indirect light - backlighting does not
turn back on).

What version of the product are you using? On what operating system?
NBI 0.8.4 RC1, OSX 10.6.3

Please provide any additional information below.
Issue has been confirmed by other S10 users. System functions normally
(volume feedback can be heard, display can be seen with indirect lighting).

Original issue reported on code.google.com by silverz...@gmail.com on 31 Mar 2010 at 6:15

GoogleCodeExporter commented 9 years ago
I can definitely confirm and reproduce this for the EeePC 1000HEB

Original comment by talk2jor...@gmail.com on 31 Mar 2010 at 9:36

GoogleCodeExporter commented 9 years ago
This is also a problem with the US Samsung NC10

Original comment by livestro...@gmail.com on 1 Apr 2010 at 2:17

GoogleCodeExporter commented 9 years ago
I have the same issue.  I'm running NBI 0.8.4 RC1 and OSX 10.6.3 (via 
ComboUpdate) on
an Asus eeepc 1005HA.  Getting the computer to sleep via closing the lid or 
using the
apple menu works fine.  But when I go to try to wake the computer up, the 
display
remain blank, but I can hear the harddrive starting back up and I can see that 
the
Power Light has stopped blinking.

Original comment by luon7799...@gtempaccount.com on 3 Apr 2010 at 6:17

GoogleCodeExporter commented 9 years ago
I have a similar issue with 1000HE
Computer seems to wake, however the screen does not turn on.
Use to work before I went to 0.84 RC1 and 10.6.3

Original comment by chris.ru...@gmail.com on 13 Apr 2010 at 1:05

GoogleCodeExporter commented 9 years ago
i should also not that the graphics are present after waking from sleep, but 
the backlight is not turned on.

Original comment by chris.ru...@gmail.com on 13 Apr 2010 at 1:08

GoogleCodeExporter commented 9 years ago
This is also a problem on the Samsung n310. Sleep and wake work but backlight 
stays
off after resume. A restart is needed to bring the backlight back on. This makes
sleep unusable with 10.6.3/0.8.4rc1.

Original comment by sincohenfilms@gmail.com on 13 Apr 2010 at 1:38

GoogleCodeExporter commented 9 years ago
I read elsewhere that this is caused by AppleIntelIntegratedFramebuffer.kext 
and can be remedied by replacing 
the current one with the patched one from 10.6.2.  However I tried this and ran 
UpdateExtra, and only succeeded 
in making the computer unbootable. But hopefully this can help some other 
people.

Original comment by chris.ru...@gmail.com on 13 Apr 2010 at 3:20

GoogleCodeExporter commented 9 years ago
At the S10Lenovo.com forums, ronin510 has posted a fix to this problem:

1. Go into /Extra/S10Ext
2. Open AppleIntelIntegratedFramebuffer.kext (right-click->"Show Package 
Contents")
3. Open Info.plist with TextEdit
4. Look for: <string>6.0.0</string>
5. Edit to: <string>1006.0.0</string>
6. Save.
7. Run UpdateExtra in /Extra and Restart.

Apparently 10.6.3 updates this kext in /S/L/E and negates the one in 
/Extra/S10Ext,
so we need to patch the /E/S10Ext version to work correctly. Haven't tried it 
out,
will comment when I confirm.

Original comment by silverz...@gmail.com on 17 Apr 2010 at 8:48

GoogleCodeExporter commented 9 years ago
I got it following these instructions.  I have attached my DSDT.aml for the 
ASUS EeePC 1000HEB

I recommend this read:

Lenovo IdeaPad S Series Forum • View topic - NetBookInstaller + Mac OS X 
10.6.3 (Backlight Fixed)

1. Download iASLMe http://www.mediafire.com/?jchmtymqlmd and use it to 
decompile your DSDT.aml to a 
DSDT.dsl (See instructions after opening the proggie but its as simple as drag 
and drop)

2. Edit your DSDT.dsl by adding this code:
CODE: SELECT ALL
Device (PNLF)
        {
            Name (_HID, EisaId ("APP0002"))
            Name (_CID, "backlight")
            Name (_UID, 0x0A)
            Name (_STA, 0x0B)
        }

above the Device (PWRB) block of code.

3. Make a backup of the DSDT.aml just incase - sudo cp /Extra/DSDT.aml 
/Extra/DSDT.aml.bak. Recompile 
your DSDT.aml by dropping the edited DSDT.dsl file into iASLMe and copy the new 
DSDT.aml that is produced 
into /Extra overwriting the old one.

Jorge

Original comment by talk2jor...@gmail.com on 18 Apr 2010 at 2:58

Attachments:

GoogleCodeExporter commented 9 years ago
All credit to ronin510 from s10lenovo.com -
[http://s10lenovo.com/viewtopic.php?f=33&t=4128&p=28733#p28732 Re: 
NetBookInstaller + Mac OS X 10.6.3 
(Backlight Fixed)]

Original comment by odb...@gmail.com on 19 Apr 2010 at 2:52

GoogleCodeExporter commented 9 years ago
I can confirm that the DSDT method posted above fixes this problem for the 
Samsung n310.

Device (PNLF)
        {
            Name (_HID, EisaId ("APP0002"))
            Name (_CID, "backlight")
            Name (_UID, 0x0A)
            Name (_STA, 0x0B)
        }

Perhaps this patch should be applied by NBI (at least for the confirmed 
affected models).

Original comment by sincohenfilms@gmail.com on 19 Apr 2010 at 6:57

GoogleCodeExporter commented 9 years ago
I can confirm that the DSDT fixes the brightness on wake from sleep (on 
1000HE), but has the side effect of no 
longer being able to adjust the brightness from the keyboard. I would suggest 
this DSDT fix NOT be applied for 
affected models.

Original comment by chris.ru...@gmail.com on 19 Apr 2010 at 12:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
for anyone posting about the DSDT modification , this has already been examined 
at - 
http://s10lenovo.com/viewtopic.php?f=15&t=4024 where humph made reference to 
18seven's post -
http://www.projectosx.com/forum/index.php?showtopic=779 
and all consequences to the hack are known. In fact, were 
one to modify the DSDT a little more per the code here; 
http://prasys.co.cc/2009/12/getting-fn-toggle-key-to-work-on-hackbooks/ and 
here;
http://s10lenovo.com/viewtopic.php?f=15&t=4024&start=30#p28612
, one would achieve adjustable backlight until re-waking from sleep.

A more elegant and simple solution has been discovered to this problem and 
posted in the link at Comment 
10, it involves 
merely replacing one kext from 10.6.2  into the /Extra/*your-machine-folder* 
and running UpdateExtra. 
This find is care of ronin510 from s10lenovo. The DSDT fix is care of 18seven 
form projectosx.
Please read the other comments CAREFULLY before you post.
Regards,
qubit

Original comment by odb...@gmail.com on 19 Apr 2010 at 2:38

GoogleCodeExporter commented 9 years ago
Confirmed: Replacing AppleIntelIntegratedFramebuffer.kext in /Extra/S10Ext/ 
with a
version from /S/L/E in 10.6.2, then running UpdateExtra to rebuild kextcaches,
resolves the issue. Should be easy to include the 10.6.2 version in the next NBI
revision.

Original comment by silverz...@gmail.com on 20 Apr 2010 at 12:01

GoogleCodeExporter commented 9 years ago
What version of the kexts are we using now?  How does this affect moving 
forward?  Would using an older set 
of kernel extensions affect the performance with updated OpenGL frameworks in 
10.6.3?

My goal is to be as vanilla as possible.  This is why I usually opt for DSDT 
patches rather than kext or kernel 
patches.  What I like about NetbookInstaller is that it patches the ATOM 
support in the bootloader and leaves 
the OS as vanilla as possible.

To get the brightness to work, I use Keyboard Maestro.  I am already using it 
to fix the sound and other hot 
keys.  This is my preferred method because out of the 12 function keys, only 2 
were working.  The rest were 
fair game.

Original comment by talk2jor...@gmail.com on 20 Apr 2010 at 3:30

GoogleCodeExporter commented 9 years ago
This info pertains to the Samsung N310:

I have tried using the framebuffer kext method that retains the brightness 
controls
in display preferences for s10 users. However this kext does not enable these
controls for the N310. Therefore for the N310 it seems preferable to have the 
DSDT
patch since it achieves the same affect without using an outdated kext. Ideally 
there
will be a solution, in DSDT or using the latest kext that can enable display
brightness control for this and other affected models.

Original comment by sin@pbmg.net on 26 Apr 2010 at 7:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same problem with the 1005HA-H.
The computer wakes up, however the screen remains blank. Function keys don't 
restore
the brightness.

I have Mac OS X 10.6.3 and Netbook Installer 0.8.4RC1. Didn't work also with 
10.6 and
NBI 0.8.3.

Original comment by dnair...@gmail.com on 3 May 2010 at 5:33

GoogleCodeExporter commented 9 years ago
I confirm that comment #9 works on a Samsung NC10.

Original comment by warrense...@gmail.com on 15 May 2010 at 11:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I confirm too that comment #9 works on a eeepc 1000H on 10.6.4

Original comment by temp...@gmail.com on 13 Jul 2010 at 7:18

GoogleCodeExporter commented 9 years ago
Does the comment #10 solution work on 1000H?

Original comment by Nizami.H...@gmail.com on 8 Aug 2010 at 6:30

GoogleCodeExporter commented 9 years ago
solution, modified DSDT with comment #9 for 2GB for ASUS EEE PC 1000HE BLUE 
BIOS 1104 UPTIME: about 2+months ;)

Original comment by flo...@gmail.com on 7 Nov 2010 at 2:04

Attachments:

GoogleCodeExporter commented 9 years ago
RE: my last comment, replacing the frame buffer kext from s/l/e DOESNT WORK! 
Also make sure your using the correct com.apple.Boot.plist, attached for same 
device as on last comment (EEE pc 1000HE)

Original comment by flo...@gmail.com on 7 Nov 2010 at 2:09

Attachments:

GoogleCodeExporter commented 9 years ago
I've added the DEVICE (PNLF) to my DSDT, and this does fix this issue, but it 
also adds other issues.

The biggest issue is that after waking from sleep my screen is always at max 
brightness, I cannot change it.

There are also some smaller issues.
With PNLF, my pause/scroll keys change brightness, but without PNLF my FN+F3/F4 
keys did.
With PNLF I have a brightness slider in System Preferences->Display, without 
PNLF I don't.

Original comment by NTICompass on 13 Dec 2010 at 5:12

GoogleCodeExporter commented 9 years ago
The DSDT patching method works! But the fn Keys wont work after that and fan 
speeds are set to full after wake

So as far as the wake brightness is regarded you should get a fix. 
After 2 weeks of experimenting and patching DSDTs and kexts i found that this 
was the most simple solution. 
appleintegratedframebuffer has to be version 1.6.6. This goes vanilla and all 
system works great with no consequences!
It's appleintegratedframebuffer 1.6.6 that works great!  
Just install the following kext that fixes this! 
Link: 
http://dl.dropbox.com/u/2374229/osx86/AppleIntelIntegratedFramebuffer.kext.zip

Original comment by jimmyka...@gmail.com on 15 May 2011 at 12:20

GoogleCodeExporter commented 9 years ago
Preface: I know this is kinda old but I found this post in a google search and 
wanted to add what I have done for others who stumble along this.

HP Mini 1000.  OSX 10.6.8.  Almost totally Vanilla.  The only things different 
in /System/Library/Extensions is VoodooHDA.kext, and the 
AppleIntelIntegratedFramebuffer and AppleIntelGMA950 were patched for 27ae.

Started off with LeMaurien's DSDT, which is only _slightly_ different then the 
stock DSDT extracted using the tool DSDTSE.  This made sleep work. A version of 
sleepenabler.kext compatible with the mach_kernel for 10.8.0 is in 
/Extra/Extensions.

Get LeMaurien's Mini 1000 DSDT from:
http://mymacbookmini.blogspot.com/2009/10/snow-leo-efi-boot-guide-revamped-part-
4.html

Oh yeah, also using a com.apple.boot.plist EFI string, also copied from 
LeMauriens work.

Doing a diff between the stock DSDT and LeMaurien mods shows removal of "Device 
(EUSB)", portions of "Scope (\_GPE)" and a rewrite of "Scope (_SB.PCI0)"

I attached the stock DSDT and the modified DSDT that works for sleep + 
backlight, in the hopes it helps another person who may come across this - 
compare them with diff or Beyond Compare to see what was changed.

Adding "Device (PNLF)" with the same contents as comment #7 made the backlight 
resume after sleep, and enabled the brightness slider in Display preferences, 
but disabled the Fn+F3 and Fn+F4 for brightness.  However, now Pause and Scroll 
Lock modify brightness.

Original comment by partip...@gmail.com on 30 Aug 2011 at 1:09

Attachments: