Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root: ACPI event unhandled: thermal_zone LNXTHERM:0 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Thu May 11, 2017 11:23 am    Post subject: root: ACPI event unhandled: thermal_zone LNXTHERM:0 [solved] Reply with quote

Code:
user.notice root: ACPI event unhandled: thermal_zone LNXTHERM:00 00000081 00000000

this is flooding my syslog, every few seconds. what am i missing?


Last edited by josephg on Sun May 14, 2017 9:47 am; edited 2 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu May 11, 2017 8:24 pm    Post subject: Re: user.notice root: ACPI event unhandled: thermal_zone LNX Reply with quote

josephg wrote:
Code:
user.notice root: ACPI event unhandled: thermal_zone LNXTHERM:00 00000081 00000000

this is flooding my syslog, every few seconds. what am i missing?

josephg ... it's basically a fallback in /etc/acpi/default.sh ...

/etc/acpi/default.sh:
log_unhandled() {
   logger "ACPI event unhandled: $*"
}

... so you can comment it, and any call made to the function.

HTH & best ... khay
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Thu May 11, 2017 9:42 pm    Post subject: Re: user.notice root: ACPI event unhandled: thermal_zone LNX Reply with quote

either i messed up, or this acpi logging is messed up. it seems acpi is capturing any and all sorts of events..
these events below are clearly handled, but acpi still spits them out to syslog as unhandled.
Code:
user.notice root: ACPI event unhandled: button/volumedown VOLDN 00000080 00000000 K
user.notice root: ACPI event unhandled: button/volumeup VOLUP 00000080 00000000 K
user.notice root: ACPI event unhandled: jack/headphone HEADPHONE plug
user.notice root: ACPI event unhandled: jack/headphone HEADPHONE unplug


i would expect this only while debugging. wonder if i accidentally turned some debugging on somewhere. do others get these and ignore or do something else?

thank you khay! i have commented it out, like so..
/etc/acpi/default.sh:
log_unhandled() {
   #logger "ACPI event unhandled: $*"
}


hopefully with the above commented out, my syslog won't get unnecessarily drowned by acpi.


Last edited by josephg on Fri May 12, 2017 11:31 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu May 11, 2017 10:19 pm    Post subject: Reply with quote

josephg ...

looks as though you didn't restart the acpi service, I think you might need to do that otherwise the function is defined (as it was prior to the edit) in acpid env.

best ... khay
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5912

PostPosted: Fri May 12, 2017 8:17 pm    Post subject: Re: user.notice root: ACPI event unhandled: thermal_zone LNX Reply with quote

josephg wrote:
what am i missing?

Maybe an adequate heatsink?
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat May 13, 2017 8:15 pm    Post subject: Reply with quote

khayyam wrote:
looks as though you didn't restart the acpi service, I think you might need to do that otherwise the function is defined (as it was prior to the edit) in acpid env.

you mean acpid service :) this was before i actioned off your advice. resolved now.. thanks!

Ant P. wrote:
josephg wrote:
what am i missing?

Maybe an adequate heatsink?

this is a laptop. i don't know if i have heat problems. fan seems to kick in occasionally.

josephg wrote:
either i messed up, or this acpi logging is messed up. it seems acpi is capturing any and all sorts of events..
these events below are clearly handled, but acpi still spits them out to syslog as unhandled.

in hindsight, this was rather handy as it started me thinking.. dangerous i know ;)
i have now moved these event actions from the wm to acpi, which i think is more efficient. and i move closer to wm independence.[/quote]

/etc/acpi/default.sh:
volumeup)       amixer -q set Master 1+ ;;
volumedown)     amixer -q set Master 1- ;;


Last edited by josephg on Wed May 17, 2017 6:56 am; edited 5 times in total
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat May 13, 2017 8:20 pm    Post subject: Reply with quote

i added an action to handle thermal_zone, and uncommented the log_unhandled as i want to see everything acpi can handle.

/etc/acpi/default.sh:
thermal_zone) : ;;

could i have handled this better?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum