Skip to content

/sys/kernel/debug/asus-nb-wmi/dsts for dev id 0x0004001B returns the same value for both states, #17

@ldrahnik

Description

@ldrahnik

so how to read current state and calculate opposite new state when interface '/sys/devices/platform/asus-nb-wmi/ is not provided?

# always returns DSTS(0x4001b) = 0x3000
$ echo "0x0004001B" > dev_id && echo "0x0000001"|"0x0000000" > ctrl_param && cat devs && cat dsts

Responsible part of DSDT table:

$ sudo apt-get install iasl
$ cd <work-dir>
$ sudo cp /sys/firmware/acpi/tables/DSDT DSDT
$ sudo iasl -d DSDT
$ cat DSDT.dsl

...
If ((IIA0 == 0x0004001B))
{
   Local0 = Zero
   Local0 |= Local1
   Local2 = 0x00010000
   Local0 |= Local2
   Return (Local0)
}
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions