[GH-ISSUE #562] discover register address read/write DSDT #510

Closed
opened 2026-02-26 00:32:51 +03:00 by kerem · 1 comment
Owner

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

direcciones hex

Expected behavior
I need control fan because heating to much.

System information

Additional context
Add any other context about the problem here.

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) { ![direcciones hex](https://user-images.githubusercontent.com/43411541/45755999-0eea1f80-bc20-11e8-951c-ce3fb8a7dde0.JPG) **Expected behavior** I need control fan because heating to much. **System information** - Windows 7 64 bits - NBFC version 1.5.0 - log files (see [NBFC files and directories overview](https://github.com/hirschmann/nbfc/wiki/Files-and-directories-overview)) **Additional context** Add any other context about the problem here.
kerem 2026-02-26 00:32:51 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@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

<!-- gh-comment-id:557738456 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#510
No description provided.