InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 01-16-2009, 04:42 PM
pentiumpc pentiumpc is offline
 
Join Date: Jan 2009
Posts: 12
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..
Attached Files
File Type: zip ACPI4ASUS.01c.kext.zip (11.5 KB, 284 views)

Last edited by pentiumpc; 01-19-2009 at 05:50 AM.
Reply With Quote
  #2  
Old 01-16-2009, 04:45 PM
pentiumpc pentiumpc is offline
 
Join Date: Jan 2009
Posts: 12
Reserved for more info!!
Reply With Quote
  #3  
Old 01-19-2009, 05:59 AM
pentiumpc pentiumpc is offline
 
Join Date: Jan 2009
Posts: 12
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.
Reply With Quote
  #4  
Old 01-19-2009, 07:36 AM
pentiumpc pentiumpc is offline
 
Join Date: Jan 2009
Posts: 12
For those with EEEPC 1000H or 901/904.
Here is my dsdt.aml.
Attached Files
File Type: zip dsdt.aml.zip (9.3 KB, 216 views)

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)
Reply With Quote
  #5  
Old 02-02-2009, 11:04 AM
rkkc rkkc is offline
Cheetah
 
Join Date: Jan 2009
Posts: 1
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
Reply With Quote
  #6  
Old 02-21-2009, 03:22 AM
shanwookie shanwookie is offline
Cheetah
 
Join Date: Feb 2009
Posts: 2
bump bump bump
Reply With Quote
  #7  
Old 03-02-2009, 11:55 AM
Slither2008 Slither2008 is offline
Cheetah
 
Join Date: Mar 2009
Posts: 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.
Reply With Quote
  #8  
Old 05-17-2009, 06:41 PM
Thireus Thireus is offline
Cheetah
 
Join Date: May 2009
Posts: 4
Any news here?
Reply With Quote
  #9  
Old 06-13-2009, 02:15 PM
THeKiNG THeKiNG is offline
Cheetah
 
Join Date: Jan 2008
Posts: 11
Seems no
Reply With Quote
  #10  
Old 01-14-2010, 06:14 PM
lemonsoda lemonsoda is offline
Puma
 
Join Date: Jan 2010
Posts: 21
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.

Reply With Quote
Reply