Contribute
Register

PS2 shortcut for sleep restarts Thinkpad x230

Status
Not open for further replies.
If it is not posible what ADB code is for sleep

Look at VoodooPS2Keyboard.cpp in my VoodooPS2Controller code on github.
Note:
Code:
        0x00,0x00,0x00, //7f POWER
 
Can I use ACPIKeyboard.kext for that? I'm not using your voodoops2controller becouse it is not supporting my trackpoint(tluck's fork is also not working) - it sometimes work and sometimes only keyboard and touchpad is initialize.
 
I've added this but It doesnt make my laptop sleep, key event is power down, power up.
 
The files are attached. Now I'm using voodoops2 :>.
 

Attachments

  • Rehabman2.zip
    685.9 KB · Views: 50
  • CLOVER.zip
    1.3 MB · Views: 67
Last edited:
The files are attached. Now I'm using voodoops2 :>.

You cannot send ADB codes with Notify.
Only PS2 codes.
Then, the PS2 code can be mapped to the 0x7f ADB with "Custom ADB Map".
 
It is working, mac os is recognizing this button as power, but it doesn't make it sleep it is just power button - when i hold it longer it ask me if i want to restart shutdown or sleep my system.

Also I think it would be better to fix DSDT
 
It is working, mac os is recognizing this button as power, but it doesn't make it sleep it is just power button - when i hold it longer it ask me if i want to restart shutdown or sleep my system.

I think it is the best you can expect.
 
Ok, so how can i fix DSDT? Where to start?
 
Status
Not open for further replies.
Back
Top