Jump to content

HowTo - SSE3 Kernel with Sleep + SpeedStep


Prasys
 Share

323 posts in this topic

Recommended Posts

hi all, i'm going to test this if i can with my system (see specs in my sign): i have a desktop and i miss sleep function. the most of other feature work, so this would be one of the last fixes for my system.

please tell me if i can try.

bye.

Link to comment
Share on other sites

oh it is working perfectly..

 

the fans kick in when the temp. reaches 49 or so..

temperature usually around 45

 

Depending on the load, the cpu speed modifies 1.33Ghz, 1.67Ghz, 2.0Ghz..with the dynamic setting.

 

no go on the sleep though.

 

 

post-11488-1173104745_thumb.jpg

Edited by Eskurza
Link to comment
Share on other sites

For those who are currently testing, try this kext (just unzip, repair permissions and kextload, or put it to startupitems and repair its permissions then reboot)

(this has throttling enabled using ACPI, not for brain dead bios's)

 

please post a dmesg after its loaded, and a sysctl -a | grep freq

Release.zip

Link to comment
Share on other sites

For those who are currently testing, try this kext (just unzip, repair permissions and kextload, or put it to startupitems and repair its permissions then reboot)

(this has throttling enabled using ACPI, not for brain dead bios's)

 

please post a dmesg after its loaded, and a sysctl -a | grep freq

 

I can not get this kext to load.

Link to comment
Share on other sites

Have you repaired its permissions?

 

chmod -R 755 <kext>

chown -R root:wheel <kext>

kextload <kext>

 

If it works with the older kext, no need for this

 

yeah i repaired the permissions. The first kext was working. this one giving me the error:

 

kextload: extension ACPICPUThrottle.kext appears to be valid

kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod

 

I tried multiple times to load the kext as you suggested. didn't help.

 

Anyways I am happy with the previous pkg. Just testing out the different kexts :thumbsup_anim:

Edited by Eskurza
Link to comment
Share on other sites

Thats cool, the other one uses Direct Drive to control the speed, this one talks through the ACPI table, not supposed to work with everyone

Thanks for testing :thumbsup_anim:

Link to comment
Share on other sites

joe-75s-computer-2:~ root# chmod -R 755 ACPICPUThrottle.kext

joe-75s-computer-2:~ root# chown -R root:wheel ACPICPUThrottle.kext

joe-75s-computer-2:~ root# kextload ACPICPUThrottle.kext

kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod

kextload: a link/load error occured for kernel extension ACPICPUThrottle.kext

load failed for extension ACPICPUThrottle.kext

(run kextload with -t for diagnostic output)

joe-75s-computer-2:~ root# kextload -t ACPICPUThrottle.kext

kextload: extension ACPICPUThrottle.kext appears to be valid

kextload: kmod_control/start failed for com.OSx86Project.kext.ACPICPUThrottle; destroying kmod

kextload: a link/load error occured for kernel extension ACPICPUThrottle.kext

load failed for extension ACPICPUThrottle.kext

(run kextload with -t for diagnostic output)

Link to comment
Share on other sites

you using paulicats kernel? Try this kext

Heres a updated Direct Drive Kext

 

yup loaded successfully

 

kern.exec: unknown type returned

hw.busfrequency = 532000000

hw.cpufrequency = 1067000000

hw.tbfrequency = 1000000000

kern.cputhrottle_curfreq: 1067

kern.cputhrottle_freqs: 1067 1333 1600

kern.cpu_currentfreq: 1333

kern.cpu_minfreq: 1000

kern.cpu_maxfreq: 2000

hw.busfrequency: 532000000

hw.busfrequency_min: 532000000

hw.busfrequency_max: 532000000

hw.cpufrequency: 1067000000

hw.cpufrequency_min: 1067000000

hw.cpufrequency_max: 1600000000

hw.tbfrequency: 1000000000

 

Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    dec_clock_rate_hz=15706717573093181952
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_num=15706717572625181952
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_den=15706717572093181953
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_cpu_rate_num=15706717572093181957
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_cpu_rate_den=15706717572093181954
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_dec_rate_num=15706717572093181953
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_dec_rate_den=15706717572093181952
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_hz=15706717573093181952
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_num=15706717572093181952
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_den=15706717572093181952
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_frequency_hz=532000000
Mar  5 23:55:25 john-belagios-computer kernel[0]: ACPICPUThrottle:    cpu_frequency_hz=1333000000
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: Setting CPU0 to powerstate 2
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: gPEClockFrequencyInfo after fixup:
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_hz=793826127108222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    cpu_clock_rate_hz=793826127909222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    dec_clock_rate_hz=793826127576222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_num=793826127108222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_den=793826126576222209
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_cpu_rate_num=793826126576222213
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_cpu_rate_den=793826126576222210
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_dec_rate_num=793826126576222209
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_dec_rate_den=793826126576222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_hz=793826127576222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_num=793826126576222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_den=793826126576222208
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_frequency_hz=532000000
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    cpu_frequency_hz=1333000000
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: rtc_cycle_count=80000000, newcount=53350000, cutoff=50000000
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: Throttle succeeded with cur_status=0x81e, want_status=0x0!
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: rtc_cycle_count=80000000, newcount=53350000, cutoff=50000000
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle: gPEClockFrequencyInfo after fixup:
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_hz=11686971879737109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    cpu_clock_rate_hz=11686971880272109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    dec_clock_rate_hz=11686971880205109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_num=11686971879737109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_clock_rate_den=11686971879205109761
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_cpu_rate_num=11686971879205109764
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_cpu_rate_den=11686971879205109762
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_dec_rate_num=11686971879205109761
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_to_dec_rate_den=11686971879205109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_hz=11686971880205109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_num=11686971879205109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    timebase_frequency_den=11686971879205109760
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    bus_frequency_hz=532000000
Mar  5 23:55:26 john-belagios-computer kernel[0]: ACPICPUThrottle:    cpu_frequency_hz=1067000000

 

 

what exactly is updated in this kext?

Edited by Eskurza
Link to comment
Share on other sites

Well it seems to be working for you joe75, im trying to find out what failing code is

 

EDIT:just realised XD, it doesnt matter for you anyway, because one cpu is disabled :hysterical:

Link to comment
Share on other sites

Sorry I've been away folks, but after spending many nights on getting the code into the kernel I had to take a step away from coding and relax for a bit. I havent looked at the code much since I released it, only made a couple small changes (removed the annoying -.- {censored} from dmesg for which I'll post a kernel build soon.

I've been using mifki based tree on my laptop because I don't need all the emulation stuff for my laptop, also, it doesnt have the annoying kext loading {censored} in dmesg either. If anyone knows how to get rid of that let me know and I'll make a build with that {censored} removed.

Keep up the good work on the kext Kiko. Hopefully you can get one that will do coreduo and core2duo together.

Be back soon...

 

Paulicat

Link to comment
Share on other sites

 Share

×
×
  • Create New...