paulicat
Aug 19 2007, 07:55 PM
No problem.
Its a real shame they lock down the bios that much.
Even my crappy HP has *some* bios options, however, none related to power management.
Paulicat.
Satyr
Aug 19 2007, 09:17 PM
There are some options, boot priority, TMP etc but none CPU related. No wonder when BIOS code is 450 kB and for the other desktop computer is 3.5 MB.
btw CPU throttling works excellent on linux but not with speedstep module but acpi-cpufreq, which is weird in my opinion.
I'm downloading linux source right now and I'll try to figure this out.
Satyr
Aug 19 2007, 09:50 PM
Is it possible to add something like this to the kext?
CODE
/* Check to see if Enhanced SpeedStep is enabled, and try to
enable it if not. */
rdmsr(MSR_IA32_MISC_ENABLE, l, h);
if (!(l & (1<<16))) {
l |= (1<<16);
dprintk("trying to enable Enhanced SpeedStep (%x)\n", l);
wrmsr(MSR_IA32_MISC_ENABLE, l, h);
/* check to see if it stuck */
rdmsr(MSR_IA32_MISC_ENABLE, l, h);
if (!(l & (1<<16))) {
printk(KERN_INFO PFX "couldn't enable Enhanced SpeedStep\n");
return -ENODEV;
goofy
Aug 20 2007, 01:16 AM
Anybody got experiences with 10,4,10 ?
I installed Jas 10.4.8 afterwards i installed koolcal 10.4.10 and intel only Kernel on a Gigabyte P35 DS4.
Runs very good!
I dont want to screw up my system, but what i want is speedstep and S3 sleep if possible, my 4 cores are burning.
I only read about 10.4.9.
paulicat
Aug 20 2007, 01:28 PM
Satyr, I'll look into that code bit, but I'm pretty sure thats similar to how the kext does it right now. As for linux using the acpi module, as I was saying earlier, as of 10.4.8 osx has zero support for speedstep via acpi. I'm pretty sure the AppleACPIPlatform.kext had all the speestep acpi code stripped out of it. Its either directdrive or nothing.
Goofy, the sources have not been released for 10.4.10 so there is no speedstep support until that happens.
BOBSONATOR
Aug 20 2007, 07:16 PM
Paulicat, i just did a fresh install of 10.4.8, which download should i grab first?
Thank you for your wonderful work.
Satyr
Aug 20 2007, 07:22 PM
Thanks again. I have original kext source and I couldn't find anything similar inside although my c++ knowledge almost == 0. You probably have modified source though... I have now reinstalled windows and I'm dissecting power utility trying to figure out how it works.
paulicat
Aug 21 2007, 04:12 PM
Hey Satyr,
I took a look at the source again, I think I found something funny between whats in the source, and whats in your dmesg.
Can you confirm for me that in your dmesg you don't see a line like this:
ACPICPUThrottle: Adding CPU0
If not, I think I might have found something and I can build a kext tonight for you to try.
Your dmesg posted above had these lines instead:
ACPICPUThrottle: Adding CPU1
and
ACPICPUThrottle: Adding CPU2
Paulicat.
Satyr
Aug 21 2007, 04:27 PM
I noticed that too but looking at the IORegistry Explorer , CPUs are labeled exactly the same, 1 and 2. You mentioned you have Core Solo so that might explain the difference. btw, AppleIntelCPUpowr...kext identifies CPUs as well as 1 and 2. Can't see the logic behind it though..
paulicat
Aug 21 2007, 07:51 PM
Ok thats really interesting.
I'm going to compile a kext tonight for you.
I could be wrong, but I think the kext basically says if cpu 0 is not active, you get no throttling.
I'll post it around 6pm est.
paulicat
Aug 21 2007, 10:00 PM
Ok here it is Satyr.
chown -R root:wheel before you try to load it.
You dont need to put it in any special directory to see if it loads, but you do have to do the chown -R on it.
Let me know how it goes.
Do a sysctl -a | grep throt and post output please.
There will be other errors in this build as I lost my original sources so I have to remember a few things I changed.
Regardless, this has a fix for cpu1 in it and it should load and create the sysctl entries for throttle.
Paulicat
Satyr
Aug 21 2007, 10:43 PM
Aug 22 00:40:57 -computer kernel[0]: ACPICPUThrottle: Adding CPU1
Aug 22 00:40:57 -computer kernel[0]: ACPICPUThrottle: Failed with code -536870212
Aug 22 00:40:57 -computer kernel[0]: ACPICPUThrottle: Adding CPU2
Aug 22 00:40:57 -computer kernel[0]: ACPICPUThrottle: Failed with code -536870212
Aug 22 00:40:57 s-computer kernel[0]: ACPICPUThrottle: No valid CPUs returned by ACPI! ....
-computer:~/Desktop $ sysctl -a | grep throt
kern.exec: unknown type returned
:<
Edit: tried with
1> 8.9.1 Darwin Kernel Version 8.9.1: Sun May 6 17:37:57 UZT 2007; made by ToH:xnu-792.18.15/BUILD/obj/RELEASE_I386 i386 i386
2> 8.9.1 Darwin Kernel Version 8.9.1: Wed Apr 18 21:20:01 EDT 2007; paulicat:xnu-792.18.15/BUILD/obj/RELEASE_I386 i386 i386
paulicat
Aug 21 2007, 11:04 PM
Damn, now I'm really running out of ideas

can you do a ioreg -l | grep CPU1 and paste here please?
Paulicat
Satyr
Aug 21 2007, 11:09 PM
xxxs-computer:~/Desktop xxx$ ioreg -l | grep CPU1
| +-o CPU1@1 <class IOACPIPlatformDevice, registered, matched, active, bus$
| | | "name" = <"CPU1">
paulicat
Aug 21 2007, 11:15 PM
Is there anything else below that line or is it just those two lines??
Paulicat
Satyr
Aug 21 2007, 11:22 PM
Just those 2 lines (I have a bad feeling about this lol)
paulicat
Aug 22 2007, 12:05 AM
Your screenshot looks about normal.
I'm stuck for now.
I'm still thinking though...
Paulicat
Satyr
Aug 22 2007, 01:09 AM
I have compiled Enhanced Speedstep (FreeBSD rip) driver to see if it would work and I get
Aug 22 02:42:11 s-computer kernel[0]: Processor claims to support Enhanced Speedstep, but is not recognized.
Aug 22 02:42:11 s-computer kernel[0]: Please update driver or contact the maintainer.
Aug 22 02:42:11 s-computer kernel[0]: cpu_vendor = GenuineIntel msr = 6130d2a06000d2a, BUSCLK = 64
Now, I'm in search for Core Duo datasheet so I can fill kext with appropriate info, if there is any in datasheet.
Is this possible or should I give up?
Where is ACPICPUThrottle.kext getting CPU powerstates from?
paulicat
Aug 22 2007, 02:01 AM
The odd thing here is that I have confirmed with other users that Coreduos work already (Thinkpad T60 I believe it was).
I'm more inclined to think your bios is causing all the problems.
Paulicat
Satyr
Aug 22 2007, 02:17 AM
There is one other thing that I noticed. This particular CPU, T2250 is for OEMs only, it isn't mentioned anywhere in the datasheets and there is only one page on intel.com that mentions T2250.
And about the BIOS: there are 3 versions, 304, 305, 306. On 305 and 306, acpi-cpufreq on linux doesn't works so I'm using 304.
I also tried 305 and 306 with os x but to no avail. Well, screw the BIOS if I get this to work...somehow...
Now I have to reinstall windows to get correct FID and VID values
paulicat
Aug 23 2007, 01:46 AM
Just FYI, my Core Solo is also the OEM, its a T1350.
I've been looking into a few things, and I found one thing that bothers me, I don't think the C states are being used at all (at least on my notebook).
I loaded up Ubuntu on it and the temps are WAY less than under osx. I also ran Archlinux which had no cpu frequency scaling by default, so my cpu was running full speed, and the temps were STILL 12 degrees less than in OSX.
It could be linked to efi somehow, cause the kernel code doesn't really do any specific checking besides a cpuid check.
I'm not sure what to do about it right now though.
Paulicat
TheGreatDeceiver
Aug 24 2007, 11:18 PM
would like to get some advice from the experts here. I upgraded to 10.4.10 (with Pascal's) from 10.4.8 (Jas). I have an Intel Core Duo (Dell Inspiron E1505). I got the cputhrottle to work in 10.4.8. My sleep never worked. What are my chances to get sleep and/or speedstep to work under 10.4.10? I have looked through the posts and there are some conflicting results, some say sleep and speedstep still work, some say it shouldn't work.
any help appreciated
thanks!
Satyr
Aug 25 2007, 04:44 PM
Pauli: I give up for now. I just can't figure out some things. I tried to disassemble asus cpu clock freq utility and there are things that puzzle me.
Ubuntu recognizes 4 power states, one <1 GHz, 3 > 1 GHz, under windows there are at least 6 power states, the lowest being 269 MHz and with different voltages etc. I went through Intel datasheets, ACPI, linux kernel, os x kernel, I learned a lot but to no avail... I really appreciate your help, thanks for everything!
btw that cpu temp monitor is 10+ degrees C off but still, laptop runs hot and fan is blasting like a jet engine.
The great deceiv.. : There is now .10 kernel sources yet so speedstep can't be implemented (yet). Best thing is to experiment with .9 kerneles, there is plenty of them and you might get lucky.
clockworx
Aug 26 2007, 12:02 AM
I'm trying this on the uphuck 10.4.9i r3 install on a toshiba laptop, and still can't seem to get sleep to work. I had a couple questions I was hoping someone knowledgeable might be able to answer.
1) Would having a Celeron (which doesn't support SpeedStep) affect my ability to go to sleep mode? Obviously, I can do it in Windows, but I was wondering if the Mac version might be more tied together than that. I may eventually pop in a non-Celeron processor later, but not right now...
Edit: Actually, the CPU is somehow throttling down in Windows Vista, despite the fact that everything I've read (including the Intel docs) says that it does not support SpeedStep. Checking the processor speed using CPU-Z shows it throttling down to 800 Mhz-1 Ghz when I set the Vista Power scheme to Maximum Battery.
2) Would I possibly have better luck with sleep under 10.4.8, or should the compatability under 10.4.9 be the same as 10.4.8?
paulicat
Aug 27 2007, 02:41 PM
The Great Deceiv...: No speedstep at all in 10.4.10 until Apple releases the kernel sources.
Satyr: Sorry we couldn't get it working bro.
Clockworx: Which model celeron is it supposed to be? I've NEVER heard of a celeron of any kind have any sort of throttling. I don't trust Vista either. I didn't notice any difference between 4.8 and 4.9 regarding sleep, but I can't speak for everyone.
Paulicat
clockworx
Aug 27 2007, 03:49 PM
QUOTE(paulicat @ Aug 27 2007, 02:41 PM)

Clockworx: Which model celeron is it supposed to be? I've NEVER heard of a celeron of any kind have any sort of throttling. I don't trust Vista either. I didn't notice any difference between 4.8 and 4.9 regarding sleep, but I can't speak for everyone.
Here's the official spec sheet from intel for the specific one I have.
http://processorfinder.intel.com/details.aspx?sspec=sl9wnHonestly, I'm kind of scratching my head as well. Notebook Hardware Control (my previous favorite for throttling on my old Pentium M laptop) doesn't seem to be able to make it work, but I checked the processor speed using CPU-Z. Vista wasn't telling me what the clock speed what, I just used Vista to set the "power saver" mode and noted the clock speed drop in CPU-Z. It seemed to work by throttling down the bus speed (originally at 133), with the multiplier staying locked 12x. So original speed is 133 * 12 = 1.60 Ghz, but then it drops as the bus speed throttles down. I've seen the core clock speed drop to around 400 Mhz if I'm not taxing the CPU at all. I fired up SETI@home to tax the processor, then paused, restarted, repeat......watching the processor clock speed rise and fall on demand.
I downloaded the
RMClock utility and that seemed to do a very good job of throttling on demand. Vist seemed to either throttle at 800Mhz or 1.6 Ghz, whereas RMClock hit lots of levels in between and went down to 400Mhz when idle.
I'm actually more interested in getting sleep working than SpeedStep, I just found the experiments w/ CPU throttling on another platform to be interesting and might be an option for celeron users on Mac.
clockworx
Aug 28 2007, 12:25 PM
Not knowing how my CPU was throttling when I didn't have speedstep was irritating me, so I found my own answer. The celerons perform something called ODCM - On-Demand Clock Modulation. It appears to be a pretty crappy feature, and does little to truly increase battery life (except by limiting performance intentionally). Here's a bit more about it:
http://paulsiu.wordpress.com/2007/06/23/do...nserve-battery/So it looks like I won't get any speedstep til I buy a new processor. Any hints on getting it to sleep?
Emad rashad
Aug 29 2007, 05:01 PM
QUOTE(Prasys @ Feb 19 2007, 02:51 AM)

Hey guys,
Guess what. Mr Paulicat has done it again. This time he has fixed Semthex's kernel to support Sleep - aka S3 Sleep. Usually , you could sleep the hack , but then if you try to wake it up..It does not. So , Mr Paulicat has found a way to fix it , its simply by creating a patched Kernel to support SpeedStep Extensions and S3 Sleep. So if you're on a laptop , you'll know that you need it soo much
Please bear in mind , this whole thing is 'Beta'. Meaning that , it might or might not work for you.
Please backup your kernel and your Library/StartupItems folder.
Oh one more thing , if you plan to use your Old Kernel back , make sure you delete the ACPI Folder from the StartupItems. Otherwise you'll get a Kernel Panic
Oh yeah , it does not work on AMDs !
Okay , enough of the blah blah blahing . Now lets get back to our topic
Firstly , please make sure you're using OSX 10.4.8 with 8.8.1 Kernel [and please make sure your Processor supports SSE3 Extensions and Intel ® SpeedStep ™ Technology [ this includes the enhanced version found on Core 2 Duo , Core Duo , Core Solo processors]
Link down
3. Install it and reboot . If everything goes okay , you should have OSX Kickin' In. You may want to test Sleep [if it wakes up - kudos] , if it does not [Then I am sorry]. Thirdly , you might also notice that this 'patch' increases your battery life. Whenever you unplug , the processor automatically goes to power-saving mode a.k.a the 'slowest' speed to 'extend your battery life'
where is the link
Slip
Aug 31 2007, 02:05 PM
CPU Temp. Sleep doesn't work in 10.4.9 Upchuck 1.4 on Toshiba A200-TR6 core 2 duo 1.73 Mhz. The speed step display shows the current speed. My concern is battery and temp though. Not sure how accurate the temp display is. Cinebench 9.5 increases the rendering 2 cpu test to 69c ouch. 48 to 52c on idle. Battery seems to fast drain after 45 min the render test wouldn't run, or cycle higher than 800MHz probably from heat. It was Bloody Hot. S Off Topic I know . Got a ACPI error installing Jas 10.4.8 so took the easy route and used the above install.
JeffM
Sep 6 2007, 03:29 AM
Here is creen shot of my hackintosh It is plain old
uphuck
v1.4i r3
10.4.9
paulcats sse3 /speedstep patch
I have tried and tried to get the wake to happen goes to sleep fine but on wake there is HD activity but the screen still stays black.I love my hackintosh it is much faster then my xp or vista was I have nothing but osx on this laptop , by the way a
Dell 6400/1505
coreduo 1.85 gb (t2600)
1gb of 533 ram
40 gb hitatichi hd (Os X native)
intel 950 graphics 1390 truemobil
broadcom 10/100 ethernet
DVD rw /cdrw combo drive
anyway i give up I have tried this for a week.
Thanks all Bunkerboy
josftx
Sep 7 2007, 03:07 AM
is there ome kernel that it fix the both cores trouble?.. i'm tired to restart my laptop for have the both cores enabled. i have T7200
donruper
Sep 8 2007, 09:00 PM
i have an intel core 2 duo 6320 processor. I nedd to install this kext or not install this kext?
Mac OS original give support for speedstep?
i'm using uphuck 1.4.9 v4ir3 and I install speedstep package of this CD (uphuck 1.4.9 v4ir3
sorry for my english
niddy
Sep 12 2007, 04:53 AM
I'm having a bit of a problem...
I installed something called speedstep.pkg on my T7200 core 2 duo machine. The computer froze up right when I clicked on restart, and now the computer won't boot past the gray apple screen. I'm running JAS 10.4.8 with the 10.4.9 update (used the tutorial here, and everything was working fine until I installed that speedstep.pkg).
Anyways, can someone please tell me how I can remove the files/folders included in this package using single user mode? I would be forever thankful.
Your friend,
P. Niddy
niddy
Sep 15 2007, 05:00 PM
Well here's how I resolved the problem, thanks to Mr. Bluedragon1971:
At the Darwin bootloader, hit F8 to get the options prompt and enter -x to start up in safe mode (skips loading startup items). Go to /Library/StartupItems/ and delete the ACPICPUThrottler folder. Then you can delete the SpeedStep.app from your Applications folder. That should get rid of it. You can then reboot and should be working fine.
J o e l
Sep 18 2007, 04:46 AM
can i have the link to the file that fixes the sleep problem?
hongxianglong
Sep 18 2007, 01:04 PM
QUOTE(Prasys @ Feb 19 2007, 04:51 AM)

<br />Hey guys,<br /><br />Guess what. Mr Paulicat has done it again. This time he has fixed Semthex's kernel to support Sleep - aka S3 Sleep. Usually , you could sleep the hack , but then if you try to wake it up..It does not. So , Mr Paulicat has found a way to fix it , its simply by creating a patched Kernel to support SpeedStep Extensions and S3 Sleep. So if you're on a laptop , you'll know that you need it soo much<br /><br /><font size="5">Please bear in mind , this whole thing is 'Beta'. Meaning that , it might or might not work for you.</font><br /><br /><br /><font size="5"><font color="#FF0000"><font color="#000000">Please backup your kernel and your Library/StartupItems folder.</font></font></font><br /><br />Oh one more thing , if you plan to use your Old Kernel back , make sure you delete the ACPI Folder from the StartupItems. Otherwise you'll get a Kernel Panic<br /><br />Oh yeah , it does not work on AMDs !<br /><br />Okay , enough of the blah blah blahing . Now lets get back to our topic<br /><br />Firstly , please make sure you're using OSX 10.4.8 with 8.8.1 Kernel [and please make sure your Processor supports SSE3 Extensions and Intel ® SpeedStep ™ Technology [ this includes the enhanced version found on Core 2 Duo , Core Duo , Core Solo processors]<br /><br /><br />Link down<br /><br />3. Install it and reboot . If everything goes okay , you should have OSX Kickin' In. You may want to test Sleep [if it wakes up - kudos] , if it does not [Then I am sorry]. Thirdly , you might also notice that this 'patch' increases your battery life. Whenever you unplug , the processor automatically goes to power-saving mode a.k.a the 'slowest' speed to 'extend your battery life'<br />
<br /><br /><br />can you tell me how to do it step by step? thx.
QUOTE(paulicat @ Aug 17 2007, 02:16 AM)

<br /><a href="http://www.hostclip.com/dl/7d6b719485feb7050f3fff956f19f77d" target="_blank">http://www.hostclip.com/dl/7d6b719485feb7050f3fff956f19f77d</a><br /><br />This is 10.4.9 mach_kernel and the associated ACPICPUThrottle files.<br /><br />Unzip this and you will get 1 file and 1 folder.<br />Move mach_kernel to /<br />Unzip the ACPICPUThrottle.zip and move the resulting folder to /Library/StartupItems<br />Reboot.<br />You'll get a prompt to repair permissions for the ACPICPUThrottle StartupItem. <br />Click the Fix button and reboot once more.<br />Upon the next login, run sysctl -a | grep throttle and look for lines such as:<br />kern.cputhrottle_curfreq: 800<br />kern.cputhrottle_verbose: 0<br />kern.cputhrottle_freqs: 800 1067 1333 1600 1867<br />If these lines don't show up, the ACPICPUThrottle.kext didn't load for some reason.<br /><br />One thing to try is to turn OFF any speedstep related items in your bios.<br />Sometimes this causes OSX to not be able to throttle the cpu.<br /><br />As far as I know, AppleIntelCPUPowermanagement.kext has no impact on Speedstep.<br />For the record though, this kext is loaded up on my laptop.<br /><br />Good luck.<br />Paulicat.<br />
<br /><br /><br />MAC system quote" the item mach_kernel cannot be replaced because it is invisible", and how can i do ?
boohoo
Sep 24 2007, 01:36 PM
Hi.
May I ask where can I download it?
Thanks!
macgirl
Oct 11 2007, 05:03 PM
Can a laptop with 10.4.10 get proper sleep and wake? I don't care if SpeedStep doesn't work
consolation
Oct 19 2007, 07:28 AM
QUOTE(macgirl @ Oct 12 2007, 06:03 AM)

Can a laptop with 10.4.10 get proper sleep and wake? I don't care if SpeedStep doesn't work
try this
http://www.hackint0sh.org/forum/showthread...90547#post90547worked for me....
macgirl
Oct 19 2007, 10:51 PM
Thanks

EDIT:
Didn't work
Conroe Mac
Oct 31 2007, 05:14 PM
QUOTE(xfidelity @ Sep 18 2007, 04:46 AM)

can i have the link to the file that fixes the sleep problem?
QUOTE(boohoo @ Sep 24 2007, 01:36 PM)

Hi.
May I ask where can I download it?
Thanks!
I'm going to third that inquiry. Could someone post a link? Is this thread dead?
MacintizeD
Nov 12 2007, 07:21 PM
This might do the trick.
Click to view attachment
Nozumi
Nov 14 2007, 11:21 PM
QUOTE(consolation @ Oct 19 2007, 06:28 PM)

I can't register new account there (their registration image screw up)...
Anyone can post the method out? thank you
macgirl
Nov 16 2007, 12:05 AM
QUOTE(porcupine;199)
Disable Safe Sleep (pseudo hiberbate), especially useful if ram is misreported - sleepimage is created the same size as reported ram.
To check how much space you are losing, open terminal and:
CODE
ls -l /var/vm/sleepimage
To disable:
CODE
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
reboot
to enable again:
CODE
sudo pmset -a hibernatemode 1
reboot
Nico3d3
Dec 16 2007, 04:31 AM
Can anyone upload the AppleACPILPC.kext file from Leopard on a filesharing website? I don't have it on my Leopard setup.
saepe
Dec 28 2007, 04:23 PM
How can i get speedstep running on my 10.5.1 vanilla kernel?
Is there a 10.5.1 speedstep-kernel? Where do i get it?
macgirl
Dec 28 2007, 06:48 PM
QUOTE(saepe @ Dec 28 2007, 11:20 AM)

How can i get speedstep running on my 10.5.1 vanilla kernel?
You can't, unless you have a real Mac.
QUOTE(saepe @ Dec 28 2007, 11:20 AM)

Is there a 10.5.1 speedstep-kernel? Where do i get it?
Look here:
http://forum.osx86scene.com/viewtopic.php?f=16&t=2727or go to IRC, irc.osx86.hu #leopard channel
attempts
Jan 9 2008, 08:47 PM
has anyone tried solution here:
http://forum.osx86scene.com/viewtopic.php?f=16&t=2727 with vanilla kalyway?
thanks!
Nico3d3
Jan 20 2008, 05:45 PM
attempts: I tried the solution today, it didn't break my Kalyway install but my computer is still not waking up from sleep.
First time I tried to use sleep after I applied the patch, when it woke I got a black screen and no response from Keyboard and mouse, so I decided to go into my bios to activate "repost video on s3 resume" then I retried it. It was still not working, when it woke up, I had a black screen but now, there's a string of text on top left.
tommy143
Feb 7 2008, 05:30 AM
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.