Comments (9)
Just added MON0000 and FAN0000, but as I see the name must be 7 chars long not 8.
from hwsensors.
Thanks, but I really need FAN00000 (5-zeros), otherwise I will forever have my own branch.
According to ACPI spec: "A valid PNP ID must be of the form "AAA####" where A is an uppercase letter and # is a hex digit. A valid ACPI ID must be of the form "NNNN####" where N is an uppercase letter or a digit ('0'-'9') and # is a hex digit. This specification reserves the string "ACPI" for use only with devices defined herein. It further reserves all strings representing 4 HEX digits for exclusive use with PCI-assigned Vendor IDs."
So, the seven character type is a PNP ID, and the 8 char one is ACPI ID.
from hwsensors.
I tried to compile my DSDT with MON00000 (5 digits) and it fail to match to IOPrimaryMathcing. I decompiled DSDT and see the name is changed to MON0000 (4 digits). I has an older IASL compiler, but I don't think I'll change it in near future...
from hwsensors.
Sorry, my fault. Need to use _HID instead of compatable ID (_CID)
from hwsensors.
ASL Optimizing Compiler version 20110623-64 [Jun 23 2011]
ame (_HID, EisaId ("MON00000"))
Error 4037 - EISAID string must be of the form "UUUXXXX" (3 uppercase, 4 hex digits) ^ (MON00000)
Name (_CID, EisaId ("MON00000"))
Error 4037 - EISAID string must be of the form "UUUXXXX" (3 uppercase, 4 hex digits) ^ (MON00000)
from hwsensors.
ASL Optimizing Compiler version 20121114-32 [Nov 25 2012]
/Users/kozlek/Desktop/Clover/EFI/OEM/P55-USB3/ACPI/patched/DSDT.dsl 436: Name (_HID, EisaId ("MON00000"))
Error 4045 - EISAID string must be of the form "UUUXXXX" (3 uppercase, 4 hex digits) ^ (MON00000)
from hwsensors.
Here is snippet from 4530s Probook DSDT:
Device (SMCD)
{
Name (_HID, "FAN00000") // _HID: Hardware ID
Method (FAN0, 0, Serialized)
{
Store (\_TZ.GFRM (), Local0)
If (LEqual (0x03C4, Local0))
{
Store (Zero, Local0)
Return (Local0)
}
Return (Local0)
}
Method (TCPU, 0, Serialized)
{
Acquire (\_SB.PCI0.LPCB.EC0.ECMX, 0xFFFF)
Store (One, \_SB.PCI0.LPCB.EC0.CRZN)
Store (\_SB.PCI0.LPCB.EC0.DTMP, Local0)
Release (\_SB.PCI0.LPCB.EC0.ECMX)
Return (Local0)
}
...
}
Not using EisaID...
from hwsensors.
Compiler requires EisaID compatible name. I don't understand how you where able to compile this code but anyway I've added this long names into matching dictionary.
from hwsensors.
Thanks for this addition!
And for future reference, here is some code examples from the ACPI 5.0 spec, Dec 6 2011 (page 257, _HID section):
Example ASL:
Name (_HID, EISAID ("PNP0C0C")) // Control-Method Power Button
Name (_HID, EISAID ("INT0800")) // Firmware Hub
Name (_HID, "ACPI0003") // AC adapter device
Name (_HID, "MSFT0003") // Vendor-defined device
Name (_HID, "80860003") // PCI-assigned device identifier
Yes... the code we have is valid, and thus the compiler accepts it.
from hwsensors.
Related Issues (20)
- Source Available Doesn't Match Binaries HOT 1
- Can't find the app
- Repeated requests for helper tool installation HOT 4
- AMD Vega Family Support HOT 3
- Clover autoboot (timeout) HOT 1
- X299 Plug-in Support HOT 1
- Unable to install FakeSMC.kext onto real MacBook Pro 11,3 HOT 1
- Skylake-X Support HOT 1
- Support for Nvidia GT 1030 HOT 54
- High Sierra dark mode - dark text
- broken Macs Fan Control support
- CPU Sensors kernel panic on Broadwell
- GPUSensors not work?
- No Radeon PowerPlay PWM control (fan speed control), not even the default auto mode.
- GPU Sensors NVIDIA GeForce GT 710 2047 Mo HOT 2
- drive temperatures
- ambient sensor
- User supplied sensor-values from file/pipe? Like nvme temperatures via smartctl/grep?
- Vega64 - No temp, no speed
- Please update section Relases for download last build version of HWSensors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwsensors.