#1
|
|||
|
|||
ASUS Hotkey for 1000H
Hi all on my first post here,
I am trying to make KEXT to support the Hotkeys on my 1000H. I am not much of a coder, more of a hack, I used references from Superhai's AMW0, Apple examples and Linux's EEEPC driver to hack out this KEXT. Currently it can read all Instant keys, all FN keys, no LID or Power Button detections. The problem is I only know how to read Setting using ACPI methods but have no idea how to Write (set) Control methods with an argument. So what I did is hack the DSDT tables with new methods as toggles, lol. Although it works but if someone can teach me the proper method to send the method with an argument, that will be great. So what is working? (only with modded DSDT.aml) 1. FN+F2 : Bluetooth on/off - disabled "WIFI on/off" as it is cannot be turn on. 2. Instant Key 3 : User Key1 : Card reader on/off. Without modded DSDT.aml Can read brightness levels, on/off Setting from WIFI, Card Reader, Camera? , Bluetooth and all ACPI keycode. Should work with most ASUS notebook with "ATKD" device. (check your IOREG) To keep things simple, I will post the KEXT without modded DSDT.aml (to read keypress), the keypress code will be sent to your log. Once I know how to write to the ACPI, we should be able to turn things on and off. Remember : tested only on EEEPC1000H! For now test it and let me know if it can read all your ACPI keys. For other ASUS model, let me know if it works, so it can be incorporated eventually. Thanks. Anyone interested in helping out with the code. please let me know, would love to learn from you. Thanks in advance, Update with new Kext.. Last edited by pentiumpc; 01-19-2009 at 05:50 AM. |
#2
|
|||
|
|||
Reserved for more info!!
|
#3
|
|||
|
|||
Current update..
will leave KExt as just a feedback and logging tool. until I learn how to write to the Hotkey Device. just by modding the DSDT, I got the following to work. 1. Display panel on/off. 2. WIFI / Bluetooth on/off. - (currently WIFI cannot be turn on after you turn it off.) 3. Card reader on/off. (no graceful dismount if you have media in your Card Reader) 4. Onboard Camera on/off. 5. Brightness control. I am using BCM94321MC for WIFI, I think that might be the cause for the WIFI on turning on. and few other mods not related to this KEXT. Will start a new thread to share my findings. Last edited by pentiumpc; 01-19-2009 at 07:38 AM. |
#4
|
|||
|
|||
For those with EEEPC 1000H or 901/904.
Here is my dsdt.aml. ASUS EEEPC 1000H - Atom N270 - 2GB RAM, 500GD HD. OSX 10.5.6 (vanilla) Gigabyte P35-DS3L, E2180, 2 GB RAM, 2 1 TB HD, GT8800 512M. OSX 10.5.6 (vanilla) |
#5
|
|||
|
|||
Thanks for your findings and dsdt.aml.
I found the line "Name (_CID, 0x0C0CD041)" rather than "Name (_CID, EisaId ("PNP0C0C"))" in the "Device (PWRB)" block, is either one ok? Sorry for my carelessness, which hotkey does control the Camera of 1000H? Regards |
#6
|
|||
|
|||
bump bump bump
|
#7
|
|||
|
|||
Would like to see a modded version of your test kext
Hi pentiumpc,
It's slither2008 from the ipis forum. I was just wondering if you could advise me on something. I'm looking for a way to capture the FN key presses on my Toshiba. I'm pretty sure you've coded your test kext to read the keypresses for only ASUS laptops. Is it possible to modify it for reading my Toshiba key strokes please? I have some experience in compiling drivers in Xcode and have it handy if you'd like me to try something different to your test kext. Regards, Steve. |
#8
|
|||
|
|||
Any news here?
|
#9
|
|||
|
|||
Seems no
|
#10
|
|||
|
|||
Maybe we could try sending PPC some logs (all asus models) and maybe this will get the ball rolling again. Hope so anyway :-)
Thx 💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers. |