Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hibernate and nvram won't play nicely together
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
johtib
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 128

PostPosted: Thu Mar 30, 2006 3:48 pm    Post subject: hibernate and nvram won't play nicely together Reply with quote

I've installed hibernate (with Suspend 2) and it works nicely except that tpb (ThinkPad Buttons) stops working when resuming for hibernation. I've tried to add nvram to the unload modules list in hibernate.conf but this doesn't work since the module is in use (unloading fails).

I have even tried to remove it manually with "rmmod -f" but when I load it again with "insmod" tpb still doesn't work (i.e. raising/loweting the volume using the volume buttons doesn't result in any volume bars appearing on the screen).
Back to top
View user's profile Send private message
nadi
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 280
Location: Norway

PostPosted: Thu Mar 30, 2006 3:52 pm    Post subject: Reply with quote

Do you get 'enabled' in
Code:
cat /proc/acpi/ibm/hotkeys
?
or is it being disabled everytime you resume?
I did not do anything with nvram in my conf.

Nadi
Back to top
View user's profile Send private message
johtib
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 128

PostPosted: Thu Mar 30, 2006 4:16 pm    Post subject: Reply with quote

Code:
# cat /proc/acpi/ibm/hotkey
status:         enabled
mask:           0x080c
commands:       enable, disable, reset, <mask>
Back to top
View user's profile Send private message
nadi
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 280
Location: Norway

PostPosted: Thu Mar 30, 2006 4:46 pm    Post subject: Reply with quote

which kernel are you using? did you enabeld the ibm-acpi in the kernel or are you using the package in portage? it is problably not the problem, as ibm.acpi will only install events and so, but I dont have another option.
these are my kernel acpi config
Code:
nadi etc # cat /usr/src/linux/.config |grep ACPI
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=y
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_PNPACPI is not set
# CONFIG_SERIAL_8250_ACPI is not set
Back to top
View user's profile Send private message
johtib
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 128

PostPosted: Fri Mar 31, 2006 6:12 am    Post subject: Reply with quote

I'm using the linux-2.6.15-suspend2-r8 sources. Here's the ACPI options in the kernel. I don't use the separate ibm-acpi package.
Code:
redwood linux # cat /usr/src/linux/.config | grep ACPI
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=y
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_X86_ACPI_CPUFREQ is not set
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_PNPACPI=y
# CONFIG_SERIAL_8250_ACPI is not set

I'm starting TPB from within Gnome in Desktop -> Preferences -> Sessions -> Startup Programs where I have "tpb -d".

The nvram device looks healthy:
Code:
redwood linux # ls -l /dev/nvram
crw-rw----  1 root nvram 10, 144 Mar 30 17:41 /dev/nvram


But TPB doesn't:
Code:
redwood linux # ps aux | grep tpb
johtib    9106  0.0  0.0      0     0 ?        Zl   Mar30   0:00 [tpb] <defunct>
root     13270  0.0  0.0   1528   436 pts/0    S+   08:11   0:00 grep tpb
Back to top
View user's profile Send private message
johtib
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 128

PostPosted: Sat Apr 01, 2006 5:50 am    Post subject: Reply with quote

Anyone? Just to clarify, the buttons for sound etc. works but nothing is displayed on screen (by xosd).
Back to top
View user's profile Send private message
mmathure
n00b
n00b


Joined: 04 Jul 2006
Posts: 1

PostPosted: Tue Jul 04, 2006 8:16 pm    Post subject: hibernate and nvram won't play nicely together Reply with quote

I'm facing the same problem. Any solutions?
Back to top
View user's profile Send private message
Caalvin
n00b
n00b


Joined: 15 Apr 2004
Posts: 20
Location: Wiesbaden/Germany

PostPosted: Mon Jul 24, 2006 1:50 pm    Post subject: Reply with quote

Hi,

i have nearly the same problems. The xosd display of tpb stops after a while of running the laptop. Also the acpi-deamon stops working (no events shown /var/log/acpid.d).


So in fact, increasing and decreasing with the buttons is workin, but no xosd.... suspend via FN+F4 is also not working (normally this works, i can suspend und resume the laptop (IBM T21) several times without any problems.)
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