I have repatched the dsdt once again with a fresh one. I delete all dsdt and did the patching once again, i still have sleep on lid close, Fn+F1, on the power button. I can wake thru power button with no problems, I can wake buy plugging or unplugging a usb device. But no wake on lid open or keyboard.
With this dsdt, clamshelldisplay.kext is not necessary anymore, so I have removed this kext. Btw I have modded my dsdt on LID as almost the same on earlier post by pentiumpc. Any ideas on how to enabel wake on lid open? |
What you need to find is the method that is called upon a lid switch event, which means it is under EC0, the embedded controller device. On a MacBook, it's typically _Q20, which looks like this:
Code:
Method (_Q20, 0, NotSerialized) Code:
Method (_Q8A, 0, NotSerialized) |
Enabled bluetooth on Acer Aspire 9420
Hi uman,
Do you remember, not a long time a go, I'm pursuing to enable bluetooth in Mac OS X? I'm still unable to get the bluetooth button working but I'm able to make the bluetooth device working via DSDT hacking. I'm still however unable to trigger the bluetooth ON/OFF button. I even trying to re-map the bluetooth ON/OFF button to another button (Fn+..) but unsuccessful. Therefore, I modify System Wake (_WAK) to enable bluetooth. This is for temporary solution. When hot booting the computer, it need to be put to sleep one time only & waking up the computer will turning ON the bluetooth device. To make it working cleanly, I modify both System Wake (_WAK) and Prepare to Sleep (_PTS). In the process, I also fixed the wireless device won't turn ON after waking from sleep. _WAK code:- Code:
Method (_WAK, 1, NotSerialized) - Preventing the wireless device from turn OFF before goes to sleep. Therefore, the wireless device can be turn ON after waking from sleep. Code:
Method (_PTS, 1, NotSerialized) Quote:
Code:
Device (USB4) kizwan |
Nice work! Too bad I don't have bluetooth!
I've come to the conclusion that getting access to keyboard events is impossible in DSDT. I think you have three choices: construct an AMW0 device kext to bind to the AMW0 (which I presume is in your DSDT). This would be a challenge, but might allow you to be straight retail. Two, hack at ApplePS2Keyboard (if PS2) or something else if USB. Or three, do the same with VoodooPS2 (again if PS2). If you have USB, your job may be easier, since you might be able to do it outside kernel space. |
Battery indicator
Hi uman,
I'm successfully compiled AMW0.kext for SL but got kernel panic while initializing some MethodTerm at boot. Since AMW0.kext project is not finished, I think I'm going to try ACPI4ASUS.kext instead. If ACPI4ASUS.kext developed to works with AMW0 v2 interface (AMW0 and WMID), it should works with other laptop model too. I'm trying to enable battery icon by patching DSDT. It is being done by adjusting ADP1 & BAT0 code according to DSDT from MBP4,1. Not successful yet, but the battery indicator did show up. It said battery is not detected & current power source is power adapter. Do you think it is possible to make it working by just patching the DSDT? EDIT: I have found the right "query method" to automatically turn ON Bluetooth device during boot-up. I just tried all of the "query method" in the DSDT until I found the right one. Code:
Method (_Q3F, 0, NotSerialized) |
Hello to all,
Can you somebody help me to enable my audio on Snow Leopard?My audio chip is Realtek ALC662: I make a codec dump:You can download and see it. http://hotfile.com/dl/32500771/8b28f...p.txt.rar.html I want to fix my audio in DSDT, so I read your tutorial and convert the Default pinconfig on each "[JACK]" device: Mic (colour:Pink) 01a19830 ---> reversed 3098a101 Mic which is not a jack 99a3093f ---> 3f09a399 HP - 0121401f ---> 1f402101 SPDIF -01441120 ---> 20114401 This is my audio configuration on my laptop. Thanks in advance! I don't know how to generate values which I haveto enter in my DSDT.This is my DSDT (HDEF): Code:
Device (HDEF) |
Quote:
Where you put this code? I searched in my DSDT for Code:
Method (_Q3F, 0, NotSerialized) |
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
EDIT: You may want to follow uman suggestion (next post) to get your audio working. It is much easier. As for your sound, you need to do a lot of work to get your sound working. You already have HDEF entry in DSDT, so you just missing legacy/patched kext. You need to put your ConfigData & Pin Config in legacy/patched kext. Use this legacy kext as a template:- http://www.mediafire.com/?vkzyzmtzozo If you like to put ConfigData & PinConfigurations in DSDT, this is how HDEF entry will look like (between "// start" & "// end"):- Code:
Device (HDEF) kizwan |