SL on S10-2: sleep question (DSDT?)

Discussion of Mac OS X specifically on the IdeaPad S10-2

Moderator: SilverZero

SL on S10-2: sleep question (DSDT?)

Postby prstar » Fri Oct 23, 2009 1:36 am

SL is running great on S10-2 with vaniii's Enabler. just updated to 10.6.1.

just want to know if there is a way to fix the sleep issue. I'm def a big n00b but i have been reading about editing DSDT files and what not. I have linux mint installed, that sleeps just fine, a fix couldn't be as simple as copying the dsdt.aml file from the mint install, could it?? i have read the dsdt file is the same format regardless of OS. Any thoughts?

EDIT: I found something here http://www.infinitemac.com/f84/can-i-use-dsdt-aml-from-my-ubuntu-t3936/ but still wondering what I will need to 'patch&fix' if i use the dsdt from mint.
prstar
Beginner
 
Posts: 18
Joined: Tue Oct 13, 2009 2:45 am
Color and Model: S10-2 - 320GB - 2GB
OS(s) installed: OSX 10.6.2 - Ubuntu 9.10

Advertisement

Re: SL on S10-2: sleep question (DSDT?)

Postby mikeybycrikey » Fri Oct 23, 2009 3:38 am

I don't know but it can't hurt to give it a try.

I've been meaning to look into it sometime soon myself but haven't got my machine all set up just yet since it only arrived on Tuesday. It has been a bit of a learning curve and I've been trying to tackle the easy stuff first. I have been a little surprised there hasn't been more discussion about this issue so far. When I close the lid, it reboots, which seems pretty serious!

Other than that everything seems to work so thank to vaniii and everyone else here for all their work.
mikeybycrikey
New User
 
Posts: 1
Joined: Wed Oct 21, 2009 5:29 am
Color and Model: S10-2 white

Re: SL on S10-2: sleep question (DSDT?)

Postby vaniii » Fri Oct 23, 2009 4:23 am

For the S10 (not -2), the Enabler patches the _PRW function of the USB ports so that it returns Zero, which causes the USB ports to be powered down during sleep, allowing for the machine to sleep correctly.

Looking at the DSDT.aml I received froma a S10-2 owner, it looks quite a bit different from my S10.
So here's what I think needs to be changed, but since I don't have a S10-2 to test with, this is pure speculation.

For UHC1 and UHC4, things look pretty straightforward:

Code: Select all
            Device (UHC1)
            {
                Name (_ADR, 0x001D0000)
                Name (_PRW, Package (0x02)
                {
                    0x03,
                    Zero /* <---------- CHANGE */
                })
                OperationRegion

This basically tells the computer to power down the UHC1 and UHC4 USB ports during sleep.

UHC2 and UHC3 are strange, because they have no _PRW that we could change:

Code: Select all
            Device (UHC2)
            {
                Name (_ADR, 0x001D0001)
                OperationRegion (USBR, PCI_Config, 0xC4, One)
                Field (USBR, AnyAcc, NoLock, Preserve)
                {
                    URES,   8
                }
            }

So maybe it's not needed to change anything here, or (more likely) we need to create a _PRW like the other UHCs have.
Image
vaniii
Master
 
Posts: 476
Joined: Tue Sep 08, 2009 10:46 am

Re: SL on S10-2: sleep question (DSDT?)

Postby prstar » Fri Oct 23, 2009 5:54 am

Thanks for the tip vaniii. I made the corrections to the DSDT that I took from Mint - for all 4 USB - recompiled with iASLme and replaced in /Extra. No change, still reboots on wake from sleep. Also, I had a usb light plugged in and it stayed on while asleep. So I don't know if I effed up or missed something when adding the code to power the ports down on sleep, ... i attached the dsl files as txt in the zip. I notice there are quite a few little differences between this file and the original enabler installed DSDT. if anyone has any clues...let me know
You do not have the required permissions to view the files attached to this post.
prstar
Beginner
 
Posts: 18
Joined: Tue Oct 13, 2009 2:45 am
Color and Model: S10-2 - 320GB - 2GB
OS(s) installed: OSX 10.6.2 - Ubuntu 9.10

Re: SL on S10-2: sleep question (DSDT?)

Postby vaniii » Fri Oct 23, 2009 10:45 am

Please have a look at your log files. Is there anything regarding hibernation?
Image
vaniii
Master
 
Posts: 476
Joined: Tue Sep 08, 2009 10:46 am

Re: SL on S10-2: sleep question (DSDT?)

Postby prstar » Thu Oct 29, 2009 5:16 pm

I looked through the Console. I couldn't see anything about hibernation, but there are quite a few of these logs: (they show up in the start up logs)

org.voodoo.driver.VoodooHDA.helper[42] sleepwatcher: IOServiceGetMatchingService failed

also found these (also on startup):
09-10-30 8:23:09 AM kernel [SleepEnabler] Registering PowerManagement dispatch table...
09-10-30 8:23:09 AM kernel [SleepEnabler] Calling pmInitComplete()...
09-10-30 8:23:09 AM kernel Sleep failure code 0x00000000 0x15000000

in the system.log, these are the entries for closing the lid to sleep:
loginwindow[27]: loginwindow SleepWakeCallback WILL sleep
configd[13]: PMConnection IPConfiguration com.apple.powermanagement.applicationresponse.slowresponse 476 ms

is there anything else in particular I should be looking for?
prstar
Beginner
 
Posts: 18
Joined: Tue Oct 13, 2009 2:45 am
Color and Model: S10-2 - 320GB - 2GB
OS(s) installed: OSX 10.6.2 - Ubuntu 9.10

Re: SL on S10-2: sleep question (DSDT?)

Postby williamsonoma » Wed Dec 23, 2009 8:17 am

bumping this up to the top.
Any fix for the sleep issues?
williamsonoma
Novice
 
Posts: 26
Joined: Tue Nov 17, 2009 10:22 am
Color and Model: White S10
OS(s) installed: 10.6

Re: SL on S10-2: sleep question (DSDT?)

Postby _Dave03_ » Sun Jan 24, 2010 6:49 am

Hello everyobody!

I really want to get this thing to work.

The s10-2 goes to sleep now BUT reboots when powered on again!

This is what I've changed

Code: Select all
Device (ECHI)
            {
                Name (_ADR, 0x001D0007)
                Name (_PRW, Package (0x02)
                {
                    0x0D,
                    Zero //Change
                })
                OperationRegion (USBR, PCI_Config, 0xC4, One)
                Field (USBR, AnyAcc, NoLock, Preserve)
                {
                    URES,   8
                }
            }


Any Ideas? Can we power down ehci? Is something wrong in the _WAK?

Give me an advise and I will test it!

Kind regards

Dave
You do not have the required permissions to view the files attached to this post.
_Dave03_
Beginner
 
Posts: 6
Joined: Fri Jan 22, 2010 12:40 pm

Re: SL on S10-2: sleep question (DSDT?)

Postby waldeis » Fri Jan 29, 2010 12:02 pm

is anyone any further on this issue?
waldeis
Novice
 
Posts: 38
Joined: Sat May 23, 2009 10:42 am

Re: SL on S10-2: sleep question (DSDT?)

Postby _Dave03_ » Thu Feb 04, 2010 1:42 am

Using the "chocolate legacy kernel" the computer goes into sleep just fine.

It wakes up, but it won't turn on the lid or read from the harddisk.

At several times I also got an kernel panic saying someting about voodoo hda. But removing the kext didn't work for me.

there seems to be no errors in my logs...

_Dave03_
_Dave03_
Beginner
 
Posts: 6
Joined: Fri Jan 22, 2010 12:40 pm

Next

Return to IdeaPad S10-2 OS X Discussion

Who is online

Users browsing this forum: No registered users and 1 guest