Contribute
Register

lenovo u310 everything´s fine except sleep

Status
Not open for further replies.
Joined
May 5, 2013
Messages
28
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
hello,

the machine is:
lenovo u310
i3-2367
hd3000
msata ssd (os x) + hdd (data)

with a help from one friend i got everything to work except sleep.
we both don´t know how to do it and we don´t see any mistakes in dsdt.
can somebody please take a look to dsdt? i put also a pictures of chameleon.

thanx in advanceView attachment Archive.zip
 
hello,

the machine is:
lenovo u310
i3-2367
hd3000
msata ssd (os x) + hdd (data)

with a help from one friend i got everything to work except sleep.
we both don´t know how to do it and we don´t see any mistakes in dsdt.
can somebody please take a look to dsdt? i put also a pictures of chameleon.

thanx in advanceView attachment 56924

I had a u310 (touch) here a couple of weeks ago. I had the same issue with sleep (lockup upon invoking sleep). I was using a different set of patches (ig-platform-id to make HD4K work, and other). I was also using Ivy power management, MacBookPro9,2 smbios, and probably other differences from you.

I assume you don't have WiFi working (Intel "Centrino" not supported). I've heard that maybe replacing the WiFi card with one that is actually compatible with OS X might fix the sleep issue. I did not try, as there was other things I didn't like about the laptop (noisy fan, bouncy keyboard, poor screen) and changing the WiFi requires flashing an unlocked BIOS, and opening the bottom cover requires breaking the Lenovo "warranty seal" on one of the screws.

I ended up returning it for a refund.
 


thanx, but my wifi is working (atheros ar 9845)

Hmmm.. did your u310 come with Atheros? Also, never heard of Atheros AR9845... You sure?

But back on the sleep issue. What are the symptoms? Have you tried implementing Ivy PM?
 
oh, sorry: atheros ar9825. it´s working out of box!

i don´t know what is "Ivy PM"!?

i don´t know is this info valid to you, but i need to inform you what i have tried:
so, i follow one guide and made ssd through terminal:
Last login: Thu May 23 10:51:35 on console
localhost:~ anima$ curl -o ssdtPRGen.sh https://raw.github.com/Piker-Alpha/R...s/ssdtPRGen.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66150 100 66150 0 0 12414 0 0:00:05 0:00:05 --:--:-- 52709
localhost:~ anima$ chmod +x ssdtPRGen.sh
localhost:~ anima$ ./ssdtPRGen.sh


sdtPRGen.sh v6.1 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a MacBookPro8,1 [Mac-94245B3640C91C81]
Sandy Bridge Core i3-2367M processor [0x0901] setup
With a maximum TDP of 17 Watt, as specified by Intel

Warning: Low Frequency Mode is 0 (unknown)
Now using 1200 MHz for Mobile processor

Number logical CPU's: 4 (Core Frequency: 1400 MHz)
Number of Turbo States: 0
Number of P-States: 3 (1200-1400 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)

Warning: 'cpu-type' may be set improperly (0x0901 instead of 0x0601)

IASL not found. Downloading iasl...
Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1132k 100 1132k 0 0 214k 0 0:00:05 0:00:05 --:--:-- 534k
Done.

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input: /Users/anima/Desktop/ssdt_pr.dsl - 138 lines, 3455 bytes, 23 keywords
AML Output: /Users/anima/Desktop/ssdt_pr.aml - 600 bytes, 10 named objects, 13 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/anima/Desktop/ssdt_pr.aml to /Extra/ssdt.aml? (y/n)?y
localhost:~ anima$ exit
logout

[Process completed]


but i got KP during the boot and i can´t boot anymore, so i had to delete ssdt from extra.

p.s. i have allready patched appleintelcpumanagment and i have thrown away nullcpu

i have also tried 2 things:

1. to boot with ssdt and without generate C and P states
(also got KP)

2. to delete appleintelcpumanagment and install nullcpu
(can´t go to sleep and got only black screen without the possibility to go back to os x, so i had to manuelly shutdown

 
oh, sorry: atheros ar9825. it´s working out of box!

You mean AR9285
i don´t know what is "Ivy PM"!?


Ivy PM would be Ivy power management. Never mind about that. Your u310 must be older than the one that I had as yours has Sandy Bridge CPU. Mine had Ivy. I'm guessing that your u310 might be easier to get sleep to work than my u310.

But you do still want to implement PM (power management). Getting it right depends on having a lot of things done correctly, and they have to be done all correctly, all at once. Any one thing left out and you'll get KP on boot (you seemed to discover that).

Someday I'll write this down in a sticky in the laptop forum:
1. you need an SSDT generated for your specific CPU (I see you discovered Pike's ssdtPRgen, so that is good).
2. you need a proper smbios that matches your CPU/machine (MacBookPro8,1 should work well for you)
3. you need Processor objects declared in your DSDT (most DSDTs already have them, some don't -- for example, I had to add them to my desktop's DSDT).
4. you usually need DropSSDT in org.chameleon.Boot.plist
5. you should have GenerateCStates/GeneratePStates=No in org.chameleon.boot.plist
6. you need to get rid of NullCPUPowerManagement.kext
7. you need patched AppleIntelCPUPowerManagement.kext for your version of OS X (get through Multibeast)

That's Sandy/Ivy power management in a nutshell (there are other threads that deal with this in detail, especially for Ivy, as it is a little bit tricky).

That doesn't necessarily get you working sleep... sometimes there are things you must do in your DSDT, but you say your DSDT is already edited by someone who knows what they are doing??
 
That doesn't necessarily get you working sleep... sometimes there are things you must do in your DSDT, but you say your DSDT is already edited by someone who knows what they are doing??

FYI: You might want to take a close look at your DSDT. It doesn't have some of the typical Sandy laptop patches (IRQ, _PTS). And the _DSM for HDEF is outside the HDEF device itself (and therefore in the parent device, _SB.PCI0 instead of _SB.PCI0.HDEF).

You might consider starting over with the DSDT using a raw extract to start with and applying patches as necessary. There might be a lot this laptop would share in common with the ProBook. See: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch
 
thanx, so HDEF is now ok.
SSDT that i have made is maybe not ok, cause the script is for Ivy.
also IOREG give me one mistake with cpu:
ODeviceTree /cpus/CPU0@0 - there stand <01 09> and i think it should be <01 06>
there is in a attachment my IOREG

my friend also made 3 modified DSDT, although he thinks that the problem lies maybe at some kext, not in a DSDT, but he drives PC, not Notebook
so i will put all three modified dsdt in attachment (the green one is the one that i use and that is slightly modified)View attachment DSDT.zipView attachment ioreg.zip
 
does anyone know how to change the error. for my CPU stands <01 09> and i think it should be <01 06>.
at least that output gave me the terminal:
Warning: 'cpu-type' may be set improperly (0x0901 instead of 0x0601)
 
does anyone know how to change the error. for my CPU stands <01 09> and i think it should be <01 06>.
at least that output gave me the terminal:
Warning: 'cpu-type' may be set improperly (0x0901 instead of 0x0601)

I think the warning is incorrect. Mine is a Sandy i3 and displays perfectly although I get a warning from this script saying change to 0x701 (going from memory). If I change it (use SMcputype in smbios.plist) then my CPU is displayed incorrectly in About This Mac.

BTW, you should not use this script right now. It is not correct for Sandy Bridge mobile chips. See the last few posts on Pike's thread. He's committed some fixes, but they are not available from post #1 yet. As an alternative, you can run ProBook Installer v6.1 to generate an SSDT (it uses a modified version of Pike's script; currently version is beta 10 (patched). See the ProBook Forum for download.
 
Status
Not open for further replies.
Back
Top