You are not logged in.

#1 2020-12-10 11:36:20

ubuntu83
Member
Registered: 2010-08-02
Posts: 6

[SOLVED] T490 ACPI Instructions are not clear

Hi, The ACPI section on the Thinkpad T490 Arch wiki page has the following info:

The default /etc/acpi/handler.sh script has a check for the device that looks like this:

ac_adapter)
        case "$2" in
            AC|ACAD|ADP0)

This will not work, since the T490 device is called ACPI0003 which is not matched by the above check. The instructions in Acpid does mention a pattern that does work and it is recommended to use this instead.

What exactly is the pattern on the Acpid page which has been recommended to be used instead?

here is the link to the Acpid wiki page ==> https://wiki.archlinux.org/index.php/Acpid

The link to the T490 Arch wiki page ==> https://wiki.archlinux.org/index.php/Le … nkPad_T490

Last edited by ubuntu83 (2020-12-10 14:01:57)

Offline

#2 2020-12-10 12:25:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,238

Re: [SOLVED] T490 ACPI Instructions are not clear

I'm assuming it's talking about the acpi_listen events mentioned in https://wiki.archlinux.org/index.php/Ac … figuration and the relevant identification you can make via https://wiki.archlinux.org/index.php/Ac … ple_events

In general the best way to ask for clarification regarding a wiki page is creating a Talk page discussion directly on the wiki page in question so that previous contributers to that page get notified and can provide clarifications/edits as necessary.

Offline

#3 2020-12-10 13:23:42

ubuntu83
Member
Registered: 2010-08-02
Posts: 6

Re: [SOLVED] T490 ACPI Instructions are not clear

Got it thanks. Issue resolved. Moderators can close the thread now.
Just changed:

 AC|ACAD|ADP0) 

to

 AC*|AD*) 

Last edited by ubuntu83 (2020-12-10 13:24:02)

Offline

#4 2020-12-10 13:41:04

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 3,539

Re: [SOLVED] T490 ACPI Instructions are not clear

ubuntu83 wrote:

Moderators can close the thread now.

We don't usually close solved threads. We ask that you mark your own thread by editing your first post and adding [SOLVED] to the title. It appears that you know how to do this (you marked your other thread solved).

Offline

#5 2020-12-10 14:03:52

ubuntu83
Member
Registered: 2010-08-02
Posts: 6

Re: [SOLVED] T490 ACPI Instructions are not clear

Marked the thread as solved. My other thread was created a few years back so I forgot the process.

Offline

Board footer

Powered by FluxBB