InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 05-29-2009, 05:06 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
Could DSDT solve this annoying issue?

I have an annoying issue that I think is solvable in the DSDT, but I need to first understand what's going on, before trying various fixes.

When my Gateway resumes from sleep, it acts like something is holding down the up arrow key. So if the desktop/finder is displayed, icons flash as they are highlighted one by one. If an app is up and I click the menubar, menubar items are activated one by one. Or text will scroll if in an editor app. Or it will just beep at me, if nothing is selected.

If I touch *any* key, the problem goes away. So, like a trained monkey, I hit ESCAPE upon resume from sleep. It doesn't matter if it's Clamshell sleep, or regular sleep.

My best guess is that the USB/PS2 device may not be notified properly that was woken from sleep. But if that's true, why would a keypress solve the problem?

Anyone have a clue? I'd like to try fixing this in the DSDT.

Thanks.

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #2  
Old 05-30-2009, 10:15 AM
thorazine74 thorazine74 is offline
 
Join Date: May 2009
Location: Spain
Posts: 411
I dont know if that can be fixed with the DSDT but maybe you can also do it using a different set of PS/2 kexts, are you using VoodooPS2 or ApplePS2?
Reply With Quote
  #3  
Old 05-30-2009, 02:39 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
Quote:
Originally Posted by thorazine74 View Post
I dont know if that can be fixed with the DSDT but maybe you can also do it using a different set of PS/2 kexts, are you using VoodooPS2 or ApplePS2?
This is embarrasing but I don't remember. When I was using iATKOS, I remember needing ACPIPS2Nub.kext (said no to stock ACPIPlatform), but after installing iPC, I don't remember what I chose.

I suspect that I am using ApplePS2 (although this should be a builtin USB keyboard-- maybe I need to revisit my bios options on Legacy USB...).

Anyway, I'll give the VoodooPS2 a try. Thanks.

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #4  
Old 05-30-2009, 11:10 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
No dice on the VoodooPS2Controller. And that kext has its issues as you can see in the Voodoo labs forum.

I think I'll try patching in some changes from a MacBook Pro DSDT file around USB notification in the _WAK method...

I noticed that other laptops have this issue-- some Dell users complained about it on insanelymac. No fix yet

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #5  
Old 05-31-2009, 02:22 AM
SportsGuy's Avatar
SportsGuy SportsGuy is offline
Panther
 
Join Date: Apr 2009
Location: Kentucky
Posts: 170
I can't my DSDT to work either

and I have a dell... I can't boot from chameleon, I have to use my install disk, and use one cpu

SportsGuy
Dell Studio Desktop 540
Intel Core 2 Quad 2.83 GHz Q9550 (All cores work)
EVGA nVidia GeForce 9500 GT (1GB) (Works)
M-Audio Fast Track Ultra Sound (Works)
Realtek Ethernet (Works)
8 GB DDR2 RAM (Of course works)
24" Dell 1920x1080 16:9 Monitor

Tri Boot with Snow Leopard 10.6.3 (64-bit) and Vista (64-bit) and Linux Mint
Reply With Quote
  #6  
Old 05-31-2009, 10:36 AM
thorazine74 thorazine74 is offline
 
Join Date: May 2009
Location: Spain
Posts: 411
You didnt get VoodooPS2 to work or you get the same stuck key side effect?
You need either ACPIPS2Nub+ApplePS2Controller OR VoodooPS2Controller, you cant have both installed at the same time.
The ACPIPS2Nub needs a stock ACPIPlatform (vanilla), also you need a version-independent ACPIPS2Nub (one that works with any ACPIPlatform, olders ones needed to be modded for each different ACPIPlatform version: i.e. you updated ACPIPlatform, you lost PS2 Devices...). Look for the one made by Chunnan/Eureka, theres a thread on insanelymac.; there is also alt kexts for situations like USB Keyboard+PS/2 Mouse, if thats what you have.
In any case a clean system (using a single set of PS/2 kexts, without mixing it all together) is advisable.
Also at least in my system Legacy USB Mouse & Keyboard BIOS otions has an effect on PS/2 support (for some unknown reason..).
Reply With Quote
  #7  
Old 05-31-2009, 12:46 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
SportsGuy -- I have a fixed/patched DSDT working. I just did one fix, the fix posted to enable the sleep/restart/shutdown popup when you hit the power button. That's encouraged me to futz with the DSDT more.

Detail your problem some more-- I might be able to help.

Quote:
Originally Posted by thorazine74 View Post
You didnt get VoodooPS2 to work or you get the same stuck key side effect?
Both. VodooPS2 almost worked-- but I lost side-scroll, and it crashed once. I was planning on hacking the code in Xcode, but restrained myself-- too many other things to do.

Quote:
Originally Posted by thorazine74 View Post
You need either ACPIPS2Nub+ApplePS2Controller OR VoodooPS2Controller, you cant have both installed at the same time.
The ACPIPS2Nub needs a stock ACPIPlatform (vanilla), also you need a version-independent ACPIPS2Nub (one that works with any ACPIPlatform, olders ones needed to be modded for each different ACPIPlatform version: i.e. you updated ACPIPlatform, you lost PS2 Devices...). Look for the one made by Chunnan/Eureka, theres a thread on insanelymac.; there is also alt kexts for situations like USB Keyboard+PS/2 Mouse, if thats what you have.
In any case a clean system (using a single set of PS/2 kexts, without mixing it all together) is advisable.
Also at least in my system Legacy USB Mouse & Keyboard BIOS otions has an effect on PS/2 support (for some unknown reason..).
Yeah, I deleted both ACPIPS2Nub and ApplePS2Controller. Like I said, it worked, but not well enough for me to keep. Most annoying side-effect was losing the ~ key. Man did I hate typing /Users/... instead of ~ !

I also have Legacy USB turned off in the bios.

I'm going to try some of candycane's DSDT hacks from the MacBook Pro DSDT applied to this one to fix USB/EHCI. Maybe that will help. If I feel brave, I may try the AppleHDA DSDT fixes or VoodooHDA too.

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #8  
Old 05-31-2009, 01:26 PM
thorazine74 thorazine74 is offline
 
Join Date: May 2009
Location: Spain
Posts: 411
Well if they fix the stuck key problems why dump them? Maybe the new problems can be fixed somehow (lost ~ key is caused by using wrong kb layout maybe?), Voodoo trackpad scrolling I think is a current limitation, you can check on voodoo forum for more specific help.
But I doubt you will be able to fix that with Macbook's DSDT, arent Macbooks kb & trackpad USB or something (not PS/2)?
Reply With Quote
  #9  
Old 06-02-2009, 01:33 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
Quote:
Originally Posted by thorazine74 View Post
Well if they fix the stuck key problems why dump them? Maybe the new problems can be fixed somehow (lost ~ key is caused by using wrong kb layout maybe?), Voodoo trackpad scrolling I think is a current limitation, you can check on voodoo forum for more specific help.
But I doubt you will be able to fix that with Macbook's DSDT, arent Macbooks kb & trackpad USB or something (not PS/2)?
I guess I wasn't clear. The VodooPS2Controller had the same problem. But I have found a fix. I posted it in the voodoolabs forum. It was found by kenp in the Dell Mini forums. Basically, the Apple code in ApplePS2Keyboard.cpp has a bug, in that it doesn't deregister/re-register an interrupt handler.

If I decide to take the time, I may compile a new ApplePS2Keyboard.cpp and try it out to make sure it fixes things.

The other problem I had with VoodooPS2 is that I lost side-scroll.

BTW, I noticed that you're using VoodooHDA. What sound chip do you have? Are you happy with it?



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
Reply