Skip to content

discover register address read/write DSDT #562

@dartynn

Description

@dartynn

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)
{

direcciones hex

Expected behavior
I need control fan because heating to much.

System information

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions