DSDT fix for LID sleep - no need for ClamshellDisplay.kext

All versions of Mac OS X

Moderator: SilverZero

Forum rules
The S netbook is NOT an Apple product and was never intended to run Mac OSX. Fortunately, enthusiasts have found ways to make OSX run on our netbook. However, the process may not be smooth for some. Make sure you have patience and time to get it to run. Most importantly, motivation to read and learn. This forum contains enough information to get OSX running. Most problems you may encounter can be solved just by reading through the forums or searching. So please take the time and read through the forums!

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby humph » Tue Mar 30, 2010 3:02 pm

phatbam,

Just checked the app, yes, there's an option for F10/11/12 as Mute/Down/Up.
Look for keyboard "F6:Illumination Up / F8:Play/Pause" style.

This hack works OK in 10.6.3 (see above!)
humph
Experienced
 
Posts: 96
Joined: Thu Aug 13, 2009 12:44 pm

Advertisement

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby phattbam » Tue Mar 30, 2010 3:03 pm

awesome humph... I'm going to match my netbook pro to my MBP :D
phattbam
Master
 
Posts: 450
Joined: Wed Sep 23, 2009 10:48 am
Color and Model: Black S10
OS(s) installed: Win7 Ultimate AND OSX SL 10.6.4

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby phattbam » Tue Mar 30, 2010 9:24 pm

so I installed function flip 2.02 but I can't seem to configure anything. I've checked around on google and on the creator's site as well. no luck :(
phattbam
Master
 
Posts: 450
Joined: Wed Sep 23, 2009 10:48 am
Color and Model: Black S10
OS(s) installed: Win7 Ultimate AND OSX SL 10.6.4

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby humph » Wed Mar 31, 2010 12:24 am

Hmm, well to get the brightness control, you have to also do the other stuff described by Prasys in the link in post further up (PNLF in DSDT etc).
I've not tried to see if Func Flip can do the other things (ie: volume) without making these changes.

I guess that the specific DSDT thing you'd have to do, is the "AAPL, has-embedded-fn-keys" edit to the PS2Keyboard section. (And be sure you have a DTGP method also).

That in itself does not get backlight and lid detect/sleep working, but if you are only looking for volume control with Function Flip, it may be sufficient. Not tested.
Last edited by humph on Wed Mar 31, 2010 12:38 am, edited 1 time in total.
humph
Experienced
 
Posts: 96
Joined: Thu Aug 13, 2009 12:44 pm

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby phattbam » Wed Mar 31, 2010 12:37 am

That's what I was afraid of.. Would you have the time to do a step by step tutorial on how I can do that? I'm not too keen on doing the patching an such. Thanks in advance
phattbam
Master
 
Posts: 450
Joined: Wed Sep 23, 2009 10:48 am
Color and Model: Black S10
OS(s) installed: Win7 Ultimate AND OSX SL 10.6.4

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby humph » Wed Mar 31, 2010 12:43 am

phattbam wrote:That's what I was afraid of.. Would you have the time to do a step by step tutorial on how I can do that? I'm not too keen on doing the patching an such. Thanks in advance


I'd be happy to make an edit to your DSDT.aml file, as I'm interested to check this is repeatable. I presume that your concern is related to doing the patch to DSDT. If you have extracted and decompiled to get a DSDT.dsl using iasl, pls post that, else post your DSDT.aml from within your /Extra folder and I'll take a look.

(DSDT.aml around 20kB vs DSDT.dsl around 200kB size)

(I'm not suggesting to use mine, as I have S9e so may be differences to your machine).

UPDATE:
Sort of off topic of the above note, but related to earlier discussions.
Just "converted" to use of Mekort's native power management approach and backlight/lid/sleep still works.
Changes to stuff in /Extra or /Extra/Extensions.
- Added CPUIDOverride
- Added CPUIDSymbols
- Added new NBI/Chameleon boot (kernel patch stuff)
- Removed NullCPUPM
- Removed SleepEnabler
- Removed VoodooPowerMini
- Changed entries in smbios.plist to reflect MacBook4,1 and point to std 10.6.3 mach_kernel
(Rebuilt cache)

All works OK except it killed BT OBEX file transfer (same problem seen on 10.6.2 prior to fixing), seems to have relation to the version of bootloader & smbios.

NOTE: I am still using 10.6.2 kexts in /E/E for graphics, audio etc. but with a vanilla 10.6.3 /S/L/E. Have not got around to updating those in Extra yet. It's possible that upgrading these may have an adverse impact.
humph
Experienced
 
Posts: 96
Joined: Thu Aug 13, 2009 12:44 pm

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby phattbam » Wed Mar 31, 2010 8:36 am

hi Humph,

here is my dsdt.aml file I'm just looking to use the F keys like I normally would on my MBP (minus the KB illumination)

I couldn't attach it as an .aml file so I used sendspace

http://www.sendspace.com/file/h73sxg
phattbam
Master
 
Posts: 450
Joined: Wed Sep 23, 2009 10:48 am
Color and Model: Black S10
OS(s) installed: Win7 Ultimate AND OSX SL 10.6.4

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby humph » Wed Mar 31, 2010 12:50 pm

OK, I've just done edit for Fn key support.

I saw several other things that ought to be fixed (enhancements), but let's not worry about those at this time!

On re-compilation, the report was:
Compilation complete. 0 Errors, 9 Warnings, 11 Remarks, 35 Optimizations

The warnings and remarks relate to items that are not present in my machine (S9e), so I've not tried to resolve them as I might just break something and obviously can't test it here. In theory, if your machine's working more or less OK now, then these warnings ought to not be a problem.

Attached Zip file which when extracted has new name DSDT_Fn.aml for tracking purposes.
Hopefully it does extract OK, as I've not got set up with one of the fileshare solutions on web!

When you copy it back to /Extra, pls change name to DSDT.aml else it won't work!

So, try this...let's see what happens.

And also attached the complete package inc .dsl files. You can see the changes buy doing a compare documents in TextWranger.
You do not have the required permissions to view the files attached to this post.
humph
Experienced
 
Posts: 96
Joined: Thu Aug 13, 2009 12:44 pm

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby phattbam » Thu Apr 01, 2010 3:28 pm

thanks alot humph. I just want to be able to use function flip with this modded dsdt file.. I"ll give it a go when I get home tonight. I'm using my MBP right now so every F# key works fine and correctly :D
phattbam
Master
 
Posts: 450
Joined: Wed Sep 23, 2009 10:48 am
Color and Model: Black S10
OS(s) installed: Win7 Ultimate AND OSX SL 10.6.4

Re: DSDT fix for LID sleep - no need for ClamshellDisplay.ke

Postby phattbam » Fri Apr 02, 2010 10:11 am

so with the zipped folder I would rename DSDT_Fn.aml and then reinstall function flip and I should be able to start using it right? after a reboot?

EDIT: Update.

It did not work. I don't have an identified keyboard listed on the right drop down menu. it just shows a highlghted check mark. I'm not sure if my keyboard file needs to be reinstalled or not. this is not stressing me out but just bummed out that it's not working for me.
phattbam
Master
 
Posts: 450
Joined: Wed Sep 23, 2009 10:48 am
Color and Model: Black S10
OS(s) installed: Win7 Ultimate AND OSX SL 10.6.4

PreviousNext

Return to Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests