View previous topic :: View next topic |
Author |
Message |
johtib Tux's lil' helper

Joined: 14 Jun 2004 Posts: 128
|
Posted: Thu Mar 30, 2006 3:48 pm Post subject: hibernate and nvram won't play nicely together |
|
|
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 |
|
 |
nadi Apprentice


Joined: 06 Aug 2004 Posts: 280 Location: Norway
|
Posted: Thu Mar 30, 2006 3:52 pm Post subject: |
|
|
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 |
|
 |
johtib Tux's lil' helper

Joined: 14 Jun 2004 Posts: 128
|
Posted: Thu Mar 30, 2006 4:16 pm Post subject: |
|
|
Code: | # cat /proc/acpi/ibm/hotkey
status: enabled
mask: 0x080c
commands: enable, disable, reset, <mask> |
|
|
Back to top |
|
 |
nadi Apprentice


Joined: 06 Aug 2004 Posts: 280 Location: Norway
|
Posted: Thu Mar 30, 2006 4:46 pm Post subject: |
|
|
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 |
|
 |
johtib Tux's lil' helper

Joined: 14 Jun 2004 Posts: 128
|
Posted: Fri Mar 31, 2006 6:12 am Post subject: |
|
|
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 |
|
 |
johtib Tux's lil' helper

Joined: 14 Jun 2004 Posts: 128
|
Posted: Sat Apr 01, 2006 5:50 am Post subject: |
|
|
Anyone? Just to clarify, the buttons for sound etc. works but nothing is displayed on screen (by xosd). |
|
Back to top |
|
 |
mmathure n00b

Joined: 04 Jul 2006 Posts: 1
|
Posted: Tue Jul 04, 2006 8:16 pm Post subject: hibernate and nvram won't play nicely together |
|
|
I'm facing the same problem. Any solutions? |
|
Back to top |
|
 |
Caalvin n00b

Joined: 15 Apr 2004 Posts: 20 Location: Wiesbaden/Germany
|
Posted: Mon Jul 24, 2006 1:50 pm Post subject: |
|
|
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 |
|
 |
|