Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Load module with custom parameters after hibernation
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
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 448
Location: Kraków/Darmstadt/Munich

PostPosted: Thu Aug 21, 2014 9:28 am    Post subject: Load module with custom parameters after hibernation Reply with quote

I must load kernel module with custom parameters to make hotkeys of Thinkpad T440s working. But after hibernation it is (re)loaded with default parameters.

In my /etc/modprobe.d/thinkpad_acpi:
Quote:
# cat /etc/modprobe.d/thinkpad_acpi.conf
options thinkpad_acpi experimental=1 fan_control=1 hotkey=enable,0xffff8f bluetooth=enable


Message when loading module with this parameters:
Quote:
Aug 21 11:10:12 coop kernel: [212012.499100] thinkpad_acpi: asked for hotkey mask 0xffffffff, but firmware forced it to 0xfffffffb


Message after resuming from hibernation:
Quote:
Aug 21 11:11:13 coop kernel: [212041.324050] thinkpad_acpi: asked for hotkey mask 0x0070ffbf, but firmware forced it to 0x0070ffbb


The thinkwiki page suggest to configure PM to unload the module when hibernating. I did it but does not help.

How should I configure the system to make it working?
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