Contribute
Register

Help me with editing DSDT for ACPISensors

Status
Not open for further replies.
Joined
Apr 28, 2012
Messages
34
Motherboard
Mac os x 10.8.2
CPU
Core i7 720QM
Graphics
ATI Mobility Radeon HD 5850
Mac
  1. MacBook Pro
Classic Mac
  1. 0
Mobile Phone
  1. iOS
Help me to cope with it, please.
I wish to HWmonitor would have showed voltage and fan's speed as well.
I receive a little success.
Code:
             Device (SMCD)
             {
                 Name (_HID, "MONITOR")
                 Method (TCPU, 0, NotSerialized)
                 {
                     Store (^^EC.CTMP, Local0)
                     Return (Local0)
                 }
             }
With this method I got CPUHeatsink.
But I have no idea where is fan at my DSDT.
Help me fellows, please!
I know that I should add this method for fan
Code:
Method (FAN0, 0, NotSerialized)
                                     {
                                             Store (\_SB.PCI0.LPC.EC.[size=4][b]What should be here in my case?[/b][/size], Local0)
                                             Return (Local0)
                                     }
 

Attachments

  • Ver0.1DSDT.aml.zip
    57.3 KB · Views: 109
  • Screen Shot 2013-03-22 at 7.56.39 PM.png
    Screen Shot 2013-03-22 at 7.56.39 PM.png
    44 KB · Views: 248
Help me to cope with it, please.
I wish to HWmonitor would have showed voltage and fan's speed as well.
I receive a little success.
Code:
             Device (SMCD)
             {
                 Name (_HID, "MONITOR")
                 Method (TCPU, 0, NotSerialized)
                 {
                     Store (^^EC.CTMP, Local0)
                     Return (Local0)
                 }
             }
With this method I got CPUHeatsink.
But I have no idea where is fan at my DSDT.
Help me fellows, please!
I know that I should add this method for fan
Code:
Method (FAN0, 0, NotSerialized)
                                     {
                                             Store (\_SB.PCI0.LPC.EC.[size=4][b]What should be here in my case?[/b][/size], Local0)
                                             Return (Local0)
                                     }

Do any of your SSDTs contain code for PTID device? If so, it may offer some clues on fan speeds...

Otherwise you may be able to get fan readings from LPCSensors plugin...
 
Do any of your SSDTs contain code for PTID device? If so, it may offer some clues on fan speeds...

Otherwise you may be able to get fan readings from LPCSensors plugin...
Vast thanks that you're answering me.
I don't use any SSDT but I took some from DarwinDumper 2.6.9 it showed me nothing of the sort of SSDTs.
Would you be so kind to give me your full DSDT? Maybe it will help me.
In the internet is so little information that I undertand all of that little.
Tell me more exactly about LPCSensors. And How can I start voltage up?
Please, help me. I totally don't know what I should do next.
 

Attachments

  • SSDTs.zip
    1.3 KB · Views: 102
Vast thanks that you're answering me.
I don't use any SSDT but I took some from DarwinDumper 2.6.9 it showed me nothing of the sort of SSDTs.
Would you be so kind to give me your full DSDT? Maybe it will help me.
In the internet is so little information that I undertand all of that little.
Tell me more exactly about LPCSensors. And How can I start voltage up?
Please, help me. I totally don't know what I should do next.

If you install LPCSensors it might work for you. Latest version of kozlek FakeSMC+PlugIns is here: https://github.com/kozlek/HWSensors

If that's all you have for SSDTs then you don't have a PTID device so that won't give you any clues. The only thing left would be to look at the fields in your EC and see if anything jumps out at you as being fan related.

Other than that, finding an open source fan monitor (that works on your computer) or information from a program like AIDA64 (Windows) might help.
 
If you install LPCSensors it might work for you. Latest version of kozlek FakeSMC+PlugIns is here: https://github.com/kozlek/HWSensors

If that's all you have for SSDTs then you don't have a PTID device so that won't give you any clues. The only thing left would be to look at the fields in your EC and see if anything jumps out at you as being fan related.

Other than that, finding an open source fan monitor (that works on your computer) or information from a program like AIDA64 (Windows) might help.
I tried All kexts from the last version 5.1.50. But unfortunately fan wasn't detected by system
Kernel log shows me this line
3/23/13 7:05:45.438 PM com.apple.kextcache[704]: LPCSensors.kext is not authentic; omitting.
And IOreg shows me that LPCSensors wasn't taken by system.
I tried this
Code:
              Device (SMCD)
                {
                    Name (_HID, "MONITOR")
                    Method (FAN0, 0, NotSerialized)
                    {
                        Store (^^EC.HFN1, Local0)
                        Return (Local0)
                    }
                    Method (TCPU, 0, NotSerialized)
                    {
                        Store (^^EC.CTMP, Local0)
                        Return (Local0)
                    }
                }
Code:
       Field (ERAM, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0x84),
                        HFN1,   16
                    }
But system fun show me only hyphen"-"
I also got Tables from XPC in case if DarwinDumper was wrong.
Any suggestion else?
And why does HWmonitor call my processor "CPU Die" instead of "CPU Core"?
 

Attachments

  • Tables_from_XPC.zip
    19.5 KB · Views: 68
  • Ver2DSDT.aml.zip
    57.4 KB · Views: 92
  • Screen Shot 2013-03-23 at 6.18.43 PM.png
    Screen Shot 2013-03-23 at 6.18.43 PM.png
    57.9 KB · Views: 218
  • AIDAReport8942.htm.zip
    165.7 KB · Views: 91
I tried All kexts from the last version 5.1.50. But unfortunately fan wasn't detected by system
Kernel log shows me this line
3/23/13 7:05:45.438 PM com.apple.kextcache[704]: LPCSensors.kext is not authentic; omitting.
And IOreg shows me that LPCSensors wasn't taken by system.

Perhaps you need to repair permissions & rebuild cache?
 
Perhaps you need to repair permissions & rebuild cache?
Thanks for you answers and assistance!
I put LPCSensors to S/L/E and repair permissions with kext-utility
But after reboot I had received the result just like it was before. LPCSensors wan't taken by MacOSX
Maybe should I add something to DSDT or property-list(plist) of LPCSensors?
I have a notion!
I think that my fan is among these registers.
But I can't comprehend where is it exactly?
Code:
Offset (0x04),
                        CMCM,   8,
                        CMD1,   8,
                        CMD2,   8,
                        CMD3,   8,
                                Offset (0x18),
                        SMPR,   8,
                        SMST,   8,
                        SMAD,   8,
                        SMCM,   8,
                        SMD0,   256,
                        BCNT,   8,
                        SMAA,   8,
                        BATD,   16,
                        ACDF,   1,
                                Offset (0x41),
                            ,   5,
                        FLS4,   1,
                                Offset (0x42),
                                Offset (0x46),
                            ,   4,
                        EDTS,   1,
                                Offset (0x4B),
                        TBLV,   8,
                        ARCD,   1,
                            ,   3,
                        DOCK,   1,
                        LANC,   1,
                        LIDS,   1,
                        CRTS,   1,
                                Offset (0x51),
                        BLVL,   8,
                                Offset (0x53),
                        DOFF,   8,
                                Offset (0x58),
                        CTMP,   8,
                        RG59,   8,
                                Offset (0x60),
                        WLAN,   1,
                        BLTH,   1,
                        CPLE,   1,
                            ,   3,
                        WLST,   1,
                        BLTS,   1,
                            ,   2,
                        ST3G,   1,
                        MNST,   1,
                            ,   1,
                        ED3G,   1,
                        WIMX,   1,
                                Offset (0x62),
                                Offset (0x63),
                        TJ85,   1,
                        BBST,   1,
                            ,   5,
                        VGAF,   1,
                                Offset (0x70),
                        BTMD,   8,
                        MBTS,   1,
                        MBTF,   1,
                        BATF,   1,
                            ,   3,
                        MBDX,   1,
                        MBAD,   1,
                        MBTC,   1,
                            ,   2,
                        LION,   1,
                                Offset (0x77),
                        BA1C,   8,
                        MCYC,   16,
                        MTMP,   16,
                        MDAT,   16,
                        MUR0,   8,
                        MUR1,   8,
                        MRM0,   8,
                        MRM1,   8,
                        MVG0,   8,
                        MVG1,   8,
                        MRTF,   16,
                        MMER,   8,
                        BA2C,   8,
                        LCC0,   8,
                        LCC1,   8,
                        BTS0,   8,
                        BTS1,   8,
                        BTC0,   8,
                        BTC1,   8,
                        BTV0,   8,
                        BTV1,   8,
                        BTMN,   8,
                                Offset (0x93),
                        BTST,   8,
                                Offset (0x9D),
                        OSTP,   1,
                                Offset (0xA0),
                        ABMD,   8,
                        ABTS,   1,
                        ABFC,   1,
                            ,   4,
                        ABDX,   1,
                        ABAD,   1,
                        ABCG,   1,
                            ,   2,
                        ABTP,   1,
                                Offset (0xA8),
                        ACYC,   16,
                        ATMP,   16,
                        ADAT,   16,
                        ABCR,   16,
                        ABRM,   16,
                        ABVG,   16,
                        ARTF,   16,
                        AMER,   8,
                                Offset (0xB8),
                        AFCC,   16,
                        ABSN,   16,
                        ABDC,   16,
                        ABDV,   16,
                        ABMN,   8,
                                Offset (0xD0),
                        EBPL,   1,
                                Offset (0xD1),
                        PWRE,   1,
                                Offset (0xD2),
                            ,   6,
                        VAUX,   1,
                                Offset (0xD6),
                        DBPL,   8,
                                Offset (0xE0),
                        DESP,   8,
                        DTST,   8,
                        DE0L,   8,
                        DE0H,   8,
                        DE1L,   8,
                        DE1H,   8,
                        DE2L,   8,
                        DE2H,   8,
                        DE3L,   8,
                        DE3H,   8,
                        DE4L,   8,
                        DE4H,   8
                    }
 
Thanks for you answers and assistance!
I put LPCSensors to S/L/E and repair permissions with kext-utility
But after reboot I had received the result just like it was before. LPCSensors wan't taken by MacOSX
Maybe should I add something to DSDT or property-list(plist) of LPCSensors?

You must have something wrong w/ your kernel cache and/or set of kexts you have installed.
What kind of errors do you see in Console (system.log) when you rebuild cache?

I have a notion!
I think that my fan is among these registers.
But I can't comprehend where is it exactly?

There is no way to tell. You'd have to guess/experiment. Super time consuming...
 
Code:
4/5/13 3:08:39.762 PM coreservicesd[63]: Application App:"Kext Utility" [ 0x0/0x32032]  @ 0x0x7fcffa658150 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x33033:) ), so denying.
4/5/13 3:08:39.762 PM WindowServer[111]: [cps/setfront] Failed setting the front application to Kext Utility, psn 0x0-0x32032, securitySessionID=0x186a3, err=-13066
4/5/13 3:08:39.769 PM authexec[310]: executing /bin/sh
There is all that I see in Console! And Kext Utility told me that "All done"!(At that time LPCSensors assisted at S/L/E)
If I have any errors with repairing permissions I think I would have many problems with the other drivers.
Probably something different is cause of this error.
Code:
4/5/13 3:02:11.876 PM com.apple.kextcache[921]: LPCSensors.kext is not authentic; omitting.
Took it from AIDA.
Intel HM55 PCH - LPC Bridge [B-3]
I reckon it should be fit for LPCSensors, shouldn't it?
Await your answer! :)
 
Code:
4/5/13 3:08:39.762 PM coreservicesd[63]: Application App:"Kext Utility" [ 0x0/0x32032]  @ 0x0x7fcffa658150 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x33033:) ), so denying.
4/5/13 3:08:39.762 PM WindowServer[111]: [cps/setfront] Failed setting the front application to Kext Utility, psn 0x0-0x32032, securitySessionID=0x186a3, err=-13066
4/5/13 3:08:39.769 PM authexec[310]: executing /bin/sh
There is all that I see in Console! And Kext Utility told me that "All done"!(At that time LPCSensors assisted at S/L/E)
If I have any errors with repairing permissions I think I would have many problems with the other drivers.
Probably something different is cause of this error.
Code:
4/5/13 3:02:11.876 PM com.apple.kextcache[921]: LPCSensors.kext is not authentic; omitting.
Took it from AIDA.
Intel HM55 PCH - LPC Bridge [B-3]
I reckon it should be fit for LPCSensors, shouldn't it?
Await your answer! :)

I'm not sure what causes the "not authentic" but it sounds wrong and as if something is not installed correctly.

When you do a cache rebuild you should at least see this in system.log:
Code:
Apr  5 08:15:50 Speedy-ML.local com.apple.kextcache[4617]: / locked; waiting for lock.
Apr  5 08:15:54 Speedy-ML.local com.apple.kextcache[4617]: Lock acquired; proceeding.
Apr  5 08:15:54 Speedy-ML.local com.apple.kextcache[4617]: /: no supported helper partitions to update.

If you have issues with your /S/L/E/ you will see more error messages (likely from kextld).

Edit: Also check your system to be sure LPCSensors.kext is not in multiple places. It should be only under FakeSML.kext/Contents/PlugIns/LPCSensors.kext.
 
Status
Not open for further replies.
Back
Top