mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-27 01:25:59 +03:00
[GH-ISSUE #562] discover register address read/write DSDT #510
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#510
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dartynn on GitHub (Sep 19, 2018).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/562
Describe the bug
there isnt any config file for laptop Samsung Rv510. I tried create one but I cant find address in dsdt file to read and write values fan.
To Reproduce
I check DSDT file. Code it is showed below:
SAMSUNG RV510
Scope (_TZ)
{
Name (ETMD, One)
PowerResource (FN00, 0x00, 0x0000)
{
Method (_STA, 0, Serialized)
{
Return (VFN0)
}
Method (_ON, 0, Serialized)
{
Store (One, VFN0)
}
Method (_OFF, 0, Serialized)
{
Store (Zero, VFN0)
}
}
Device (FAN0)
{
Name (_HID, EisaId ("PNP0C0B"))
Name (_UID, Zero)
Name (_PR0, Package (0x01)
{
FN00
})
}
PowerResource (FN01, 0x00, 0x0000)
{
Method (_STA, 0, Serialized)
{
Return (VFN1)
}
Method (_ON, 0, Serialized)
{
Store (One, VFN1)
}
Method (_OFF, 0, Serialized)
{
Store (Zero, VFN1)
}
}
Device (FAN1)
{
Name (_HID, EisaId ("PNP0C0B"))
Name (_UID, One)
Name (_PR0, Package (0x01)
{
FN01
})
}
ThermalZone (TZ00)
{
Method (_CRT, 0, Serialized)
{
Return (Add (0x0AAC, Multiply (_SB.CRTT, 0x0A)))
}
Method (_SCP, 1, Serialized)
{
Store (Arg0, CTYP)
}
Method (_TMP, 0, Serialized)
{
If (LAnd (ECON, ETMD))
{
Store (_SB.PCI0.LPCB.H_EC.CTMP, Local0)
If (LNotEqual (Local0, 0xFF))
{
Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
}
Else
{
Return (0x0C1C)
}
}
Return (0x0BB8)
}
Method (_PSL, 0, Serialized)
{
If (MPEN)
{
Return (Package (0x02)
{
_PR.CPU0,
_PR.CPU1
})
}
Return (Package (0x01)
{
_PR.CPU0
})
}
Method (_PSV, 0, Serialized)
{
Return (Add (0x0AAC, Multiply (_SB.PSVT, 0x0A)))
}
Method (_TC1, 0, Serialized)
{
Return (_SB.TC1V)
}
Method (_TC2, 0, Serialized)
{
Return (_SB.TC2V)
}
Method (_TSP, 0, Serialized)
{
Return (_SB.TSPV)
}
}
ThermalZone (TZ01)
{
Method (_CRT, 0, Serialized)
{
Return (Add (0x0AAC, Multiply (_SB.CRTT, 0x0A)))
}
Method (_SCP, 1, Serialized)
{
Store (Arg0, CTYP)
}
Method (_TMP, 0, Serialized)
{
If (LAnd (DTSE, ETMD))
{
If (LGreaterEqual (DTS1, DTS2))
{
Return (Add (0x0AAC, Multiply (DTS1, 0x0A)))
}
Return (Add (0x0AAC, Multiply (DTS2, 0x0A)))
}
If (LAnd (ECON, ETMD))
{
Store (_SB.PCI0.LPCB.H_EC.CTMP, Local0)
If (LNotEqual (Local0, 0xFF))
{
Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
}
Else
{
Return (0x0C1C)
}
}
Return (0x0BB8)
}
Method (_PSL, 0, Serialized)
{
If (MPEN)
{
Return (Package (0x02)
{
_PR.CPU0,
_PR.CPU1
})
}
Return (Package (0x01)
{
_PR.CPU0
})
}
Method (_PSV, 0, Serialized)
{
Return (Add (0x0AAC, Multiply (_SB.PSVT, 0x0A)))
}
Method (_TC1, 0, Serialized)
{
Return (_SB.TC1V)
}
Method (_TC2, 0, Serialized)
{
Return (_SB.TC2V)
}
Method (_TSP, 0, Serialized)
{
Return (_SB.TSPV)
}
}
}
Scope (_SB.PCI0)
{
Expected behavior
I need control fan because heating to much.
System information
Additional context
Add any other context about the problem here.
@github-actions[bot] commented on GitHub (Nov 23, 2019):
This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed