You are not logged in.
Pages: 1
Hello.
I've got an ASUS W2Pc laptop.
My ACPI has been behaving weirdly since the very first kernel upgrade (2.6.25 >>> 2.6.31), which was a long time ago, but these issues did not bother me until now.
The first is ASUS laptop ACPI extensions, which can not be detected. Tried reloading asus_acpi:
# modprobe -r asus_acpi
# modprobe asus_acpi
got:
FATAL: Error inserting asus_acpi (/lib/modules/2.6.33-ARCH/kernel/drivers/platform/x86/asus_acpi.ko): No such device
which means that /proc/acpi/asus does not exist.
The other occurs when I try to suspend the laptop for the second time.
No matter how the machine is suspended (with or without X, to RAM or to HDD, etc).
First suspend/resume cycle works flawlessly.
But when the next suspend is attempted, the screen just turns blank and the laptop continues working (seemingly; it does not react on anything except Reset button).
Every answer is appreciated, i'm fed up with rebooting
Last edited by hidefromkgb (2010-05-28 18:48:21)
Offline
Not entirely sure, but have you tried installing the kernel-headers?
Sometimes that solves some of these problems.
“There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-- C.A.R. Hoare
Offline
asus_acpi module is deprecated. Use asus_laptop instead.
Not entirely sure, but have you tried installing the kernel-headers?
Had them updated a couple of hours ago. The problem still remains
asus_acpi module is deprecated. Use asus_laptop instead.
Thanks.
But still, ACPI extensions could not be detected, even with asus-laptop loaded.
Offline
Can you successfully load this module?
# lsmod|grep asus
asus_laptop 15238 0
led_class 2609 2 sdhci,asus_laptop
thus, yes.
However:
# acpitool -A
Sorry, but no Asus ACPI extensions were found on this system.
Last edited by hidefromkgb (2010-05-28 17:35:29)
Offline
run
acpi -V
or run
acpi_listen
to catch extrabuttons acpi events
# acpi -V
Adapter 0: on-line
Thermal 0: active, 64.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 110.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 100.0 degrees C
Thermal 0: trip point 2 switches to mode active at temperature 60.0 degrees C
Cooling 0: LCD 0 of 15
Cooling 1: Processor 0 of 7
Cooling 2: Processor 0 of 7
acpi_listen works well; furthermore, ive got all extra buttons working (with all actions scripted in /etc/acpi/handler.sh).
Last edited by hidefromkgb (2010-05-28 17:43:18)
Offline
So, it is solved? Mark it if it is.
Coacher,
Can not consider it solved
How can i control my "e-mail" LED or switch CPU in low-performance mode without that Acpitool utility?
However, you nearly persuaded me that it's Acpitool bug...
*gone to google...
Last edited by hidefromkgb (2010-05-28 18:10:21)
Offline
show
ls /sys/devices/platform/asus_laptop/
[asus_laptop]# ls .
bluetooth driver infos leds ls_switch power uevent
display gps ledd ls_level modalias subsystem wlan
hm...
Discovered the file "brightness" in leds/asus::mail.
Successfully turned the LED on & off
Now going to try CPU clock lowering...
stand by for report ©
Last edited by hidefromkgb (2010-05-28 18:17:06)
Offline
For dynamic CPU clocks you can use one of the default power governors(conservative does the trick for me).
See http://wiki.archlinux.org/index.php/Cpufrequtils for more
or you can use userspace clocks changing via cpufreqd
Last edited by Coacher (2010-05-28 18:31:41)
Just installed cpufrequtils and loaded acpi-cpufreq.
This is what info reads:
# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 996 MHz - 1.66 GHz
available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
available cpufreq governors: userspace, ondemand, performance
current policy: frequency should be within 996 MHz and 1.66 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 1.66 GHz (asserted by call to hardware).
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 996 MHz - 1.66 GHz
available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
available cpufreq governors: userspace, ondemand, performance
current policy: frequency should be within 996 MHz and 1.66 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 1.66 GHz (asserted by call to hardware).
cpufreq-set -f 996000 does not work...
(cpufreq-info simply shows me the same values of 1.66 GHz)
[UPD:]
Stop... wait!
Governor "conservative" managed to set it right!
Thank you, Coacher!
Well, one problem resolved.
Last edited by hidefromkgb (2010-05-28 18:47:54)
Offline
What remains?
The other occurs when I try to suspend the laptop for the second time.
No matter how the machine is suspended (with or without X, to RAM or to HDD, etc).
First suspend/resume cycle works flawlessly.
But when the next suspend is attempted, the screen just turns blank and the laptop continues working (seemingly; it does not react on anything except Reset button).
new kernel-headers package (as it was advised by 3])) didn't solve the problem...
[UPD:] Also tried Alt+SysRQ+B to reboot the machine while it was "hanging" after unsuccessful suspend. No effect. SysRq kernel access is guaranteed to be switched on:
# cat /proc/sys/kernel/sysrq
1
Last edited by hidefromkgb (2010-05-29 11:14:58)
Offline
Do you use pm-utils for suspending?
Or how do you put you machine in suspend then?
Concering Magic SysRq keys see description in kernel documentation
For example here: http://www.mjmwired.net/kernel/Documentation/sysrq.txt
Probably you dont have proper scancode.
showkey -s
in TERMINAL
(not terminal emulator in X) will give you the values
[UPD:] Also tried Alt+SysRQ+B to reboot the machine while it was "hanging" after unsuccessful suspend. No effect. SysRq kernel access is guaranteed to be switched on:
# cat /proc/sys/kernel/sysrq 1
just insert "halt" in your handler.sh in PWR button section and then use it to turn off you machine safely.
Last edited by Coacher (2010-05-29 12:28:20)
Do you use pm-utils for suspending?
Yes. Also tried s2ram/s2disk and direct writing to system state files in /proc.
Same effect.
Concering Magic SysRq keys see description in kernel documentation
For example here: http://www.mjmwired.net/kernel/Documentation/sysrq.txt
Probably you dont have proper scancode.showkey -s
in TERMINAL
(not terminal emulator in X) will give you the values
Well. Experiments showed that Alt+SysRq+B works in all cases except this goddamn suspend.
just insert "halt" in your handler.sh in PWR button section and then use it to turn off you machine safely.
This is the very point that i don't want my machine to be powered off and on everytime.
This is why i want suspend back
Last edited by hidefromkgb (2010-05-29 13:17:18)
Offline
Also tried s2ram/s2disk and direct writing to system state files in /proc.
Same effect.
You then should check log files trying to find something unusual about this. Or paste them somewhere and provide links.
Sorry, can't post right now, will be back in 2-3 hours.
Offline
First attempt (successful):
Initial commandline parameters:
Сбт Май 29 23:27:03 MSD 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux nbk-01 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
Module Size Used by
pppoe 10602 2
pppox 1962 1 pppoe
ppp_generic 22979 6 pppoe,pppox
slhc 4915 1 ppp_generic
iptable_filter 2402 1
ipt_MASQUERADE 1618 1
iptable_nat 4747 1
nf_nat 15547 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 11037 3 iptable_nat,nf_nat
nf_conntrack 55799 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 1219 1 nf_conntrack_ipv4
ip_tables 16692 2 iptable_filter,iptable_nat
x_tables 15918 3 ipt_MASQUERADE,iptable_nat,ip_tables
bridge 47229 0
stp 1584 1 bridge
llc 3688 2 bridge,stp
ipv6 280670 16
cpufreq_conservative 9164 2
acpi_cpufreq 6483 0
freq_table 2331 1 acpi_cpufreq
vboxdrv 1725064 0
xfs 891922 1
exportfs 3506 1 xfs
saa7134_alsa 10895 0
btusb 11425 1
snd_hda_codec_si3054 3798 1
saa7134 155042 1 saa7134_alsa
bluetooth 50432 1 btusb
arc4 1354 2
snd_hda_codec_realtek 258986 1
snd_seq_dummy 1439 0
ecb 1985 2
snd_seq_oss 28928 0
snd_seq_midi_event 5412 1 snd_seq_oss
snd_seq 50530 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
ir_common 27134 1 saa7134
v4l2_common 13788 1 saa7134
snd_hda_intel 22514 3
videodev 39355 2 saa7134,v4l2_common
v4l1_compat 15546 1 videodev
snd_hda_codec 68863 3 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
v4l2_compat_ioctl32 10641 1 videodev
videobuf_dma_sg 9163 2 saa7134_alsa,saa7134
snd_seq_device 5233 3 snd_seq_dummy,snd_seq_oss,snd_seq
tpm_infineon 8331 0
mmc_block 8961 0
iwl3945 155591 0
snd_hwdep 6150 1 snd_hda_codec
radeon 707496 3
videobuf_core 13721 2 saa7134,videobuf_dma_sg
sdhci_pci 6738 0
uhci_hcd 22067 0
snd_pcm_oss 39096 0
iwlcore 155164 1 iwl3945
ttm 46389 1 radeon
ir_core 4268 2 saa7134,ir_common
sdhci 16075 1 sdhci_pci
snd_mixer_oss 16956 1 snd_pcm_oss
snd_pcm 70924 6 saa7134_alsa,snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss
ehci_hcd 35468 0
drm_kms_helper 23796 1 radeon
snd_timer 19684 3 snd_seq,snd_pcm
firewire_ohci 23477 0
iTCO_wdt 10541 0
tveeprom 13113 1 saa7134
mmc_core 52043 2 mmc_block,sdhci
joydev 9698 0
usbcore 144544 4 btusb,uhci_hcd,ehci_hcd
iTCO_vendor_support 1841 1 iTCO_wdt
drm 160401 5 radeon,ttm,drm_kms_helper
asus_laptop 15238 0
ricoh_mmc 3117 0
firewire_core 44030 1 firewire_ohci
snd 57209 17 saa7134_alsa,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_hda_intel,snd_hda_codec,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
tpm_tis 8208 0
mac80211 171331 2 iwl3945,iwlcore
soundcore 6153 1 snd
video 18845 0
irtty_sir 4113 0
tpm 11109 2 tpm_infineon,tpm_tis
crc_itu_t 1273 1 firewire_core
snd_page_alloc 7161 2 snd_hda_intel,snd_pcm
output 1948 1 video
led_class 2609 2 sdhci,asus_laptop
i2c_algo_bit 5031 1 radeon
sir_dev 9609 1 irtty_sir
tpm_bios 5449 1 tpm
ac 3081 0
intel_agp 27329 0
battery 9535 0
thermal 12154 0
button 4778 0
cfg80211 126817 3 iwl3945,iwlcore,mac80211
evdev 8711 1
irda 106664 1 sir_dev
rfkill 15214 3 bluetooth,cfg80211
r8169 35297 0
i2c_core 17959 8 saa7134,v4l2_common,videodev,radeon,drm_kms_helper,tveeprom,drm,i2c_algo_bit
sg 25200 0
mii 3802 1 r8169
crc_ccitt 1307 1 irda
processor 29630 3 acpi_cpufreq
psmouse 53352 0
serio_raw 4526 0
pcspkr 1795 0
rtc_cmos 8886 0
rtc_core 14471 1 rtc_cmos
rtc_lib 1874 1 rtc_core
ext3 126087 1
jbd 47131 1 ext3
mbcache 5754 1 ext3
sr_mod 14810 0
sd_mod 27507 4
cdrom 35745 1 sr_mod
ata_piix 21156 3
ata_generic 3079 0
pata_acpi 3224 0
libata 154235 3 ata_piix,ata_generic,pata_acpi
scsi_mod 94308 4 sg,sr_mod,sd_mod,libata
total used free shared buffers cached
Mem: 2057584 689252 1368332 0 317596 123132
-/+ buffers/cache: 248524 1809060
Swap: 2000084 0 2000084
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Сбт Май 29 23:27:04 MSD 2010: performing suspend
Сбт Май 29 23:27:14 MSD 2010: Awake.
Сбт Май 29 23:27:14 MSD 2010: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg resume suspend:success.
/usr/lib/pm-utils/sleep.d/01grub resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend:success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend:success.
Сбт Май 29 23:27:15 MSD 2010: Finished.
Second (unsuccessful):
Initial commandline parameters:
Сбт Май 29 23:29:01 MSD 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux nbk-01 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
Module Size Used by
nls_utf8 1256 1
nls_cp1251 5066 1
vfat 10290 1
fat 48379 1 vfat
rfcomm 34769 8
sco 8489 2
bnep 8702 2
l2cap 33600 16 rfcomm,bnep
crc16 1273 1 l2cap
pppoe 10602 2
pppox 1962 1 pppoe
ppp_generic 22979 6 pppoe,pppox
slhc 4915 1 ppp_generic
iptable_filter 2402 1
ipt_MASQUERADE 1618 1
iptable_nat 4747 1
nf_nat 15547 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 11037 3 iptable_nat,nf_nat
nf_conntrack 55799 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 1219 1 nf_conntrack_ipv4
ip_tables 16692 2 iptable_filter,iptable_nat
x_tables 15918 3 ipt_MASQUERADE,iptable_nat,ip_tables
bridge 47229 0
stp 1584 1 bridge
llc 3688 2 bridge,stp
ipv6 280670 16
cpufreq_conservative 9164 2
acpi_cpufreq 6483 0
freq_table 2331 1 acpi_cpufreq
vboxdrv 1725064 0
xfs 891922 1
exportfs 3506 1 xfs
saa7134_alsa 10895 0
btusb 11425 2
snd_hda_codec_si3054 3798 1
saa7134 155042 1 saa7134_alsa
bluetooth 50432 9 rfcomm,sco,bnep,l2cap,btusb
arc4 1354 2
snd_hda_codec_realtek 258986 1
snd_seq_dummy 1439 0
ecb 1985 2
snd_seq_oss 28928 0
snd_seq_midi_event 5412 1 snd_seq_oss
snd_seq 50530 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
ir_common 27134 1 saa7134
v4l2_common 13788 1 saa7134
snd_hda_intel 22514 3
videodev 39355 2 saa7134,v4l2_common
v4l1_compat 15546 1 videodev
snd_hda_codec 68863 3 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
v4l2_compat_ioctl32 10641 1 videodev
videobuf_dma_sg 9163 2 saa7134_alsa,saa7134
snd_seq_device 5233 3 snd_seq_dummy,snd_seq_oss,snd_seq
tpm_infineon 8331 0
mmc_block 8961 2
iwl3945 155591 0
snd_hwdep 6150 1 snd_hda_codec
radeon 707496 3
videobuf_core 13721 2 saa7134,videobuf_dma_sg
sdhci_pci 6738 0
uhci_hcd 22067 0
snd_pcm_oss 39096 0
iwlcore 155164 1 iwl3945
ttm 46389 1 radeon
ir_core 4268 2 saa7134,ir_common
sdhci 16075 1 sdhci_pci
snd_mixer_oss 16956 1 snd_pcm_oss
snd_pcm 70924 6 saa7134_alsa,snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss
ehci_hcd 35468 0
drm_kms_helper 23796 1 radeon
snd_timer 19684 3 snd_seq,snd_pcm
firewire_ohci 23477 0
iTCO_wdt 10541 0
tveeprom 13113 1 saa7134
mmc_core 52043 2 mmc_block,sdhci
joydev 9698 0
usbcore 144544 4 btusb,uhci_hcd,ehci_hcd
iTCO_vendor_support 1841 1 iTCO_wdt
drm 160401 5 radeon,ttm,drm_kms_helper
asus_laptop 15238 0
ricoh_mmc 3117 0
firewire_core 44030 1 firewire_ohci
snd 57209 17 saa7134_alsa,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_hda_intel,snd_hda_codec,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
tpm_tis 8208 0
mac80211 171331 2 iwl3945,iwlcore
soundcore 6153 1 snd
video 18845 0
irtty_sir 4113 0
tpm 11109 2 tpm_infineon,tpm_tis
crc_itu_t 1273 1 firewire_core
snd_page_alloc 7161 2 snd_hda_intel,snd_pcm
output 1948 1 video
led_class 2609 2 sdhci,asus_laptop
i2c_algo_bit 5031 1 radeon
sir_dev 9609 1 irtty_sir
tpm_bios 5449 1 tpm
ac 3081 0
intel_agp 27329 0
battery 9535 0
thermal 12154 0
button 4778 0
cfg80211 126817 3 iwl3945,iwlcore,mac80211
evdev 8711 1
irda 106664 1 sir_dev
rfkill 15214 4 bluetooth,cfg80211
r8169 35297 0
i2c_core 17959 8 saa7134,v4l2_common,videodev,radeon,drm_kms_helper,tveeprom,drm,i2c_algo_bit
sg 25200 0
mii 3802 1 r8169
crc_ccitt 1307 1 irda
processor 29630 3 acpi_cpufreq
psmouse 53352 0
serio_raw 4526 0
pcspkr 1795 0
rtc_cmos 8886 0
rtc_core 14471 1 rtc_cmos
rtc_lib 1874 1 rtc_core
ext3 126087 1
jbd 47131 1 ext3
mbcache 5754 1 ext3
sr_mod 14810 0
sd_mod 27507 4
cdrom 35745 1 sr_mod
ata_piix 21156 3
ata_generic 3079 0
pata_acpi 3224 0
libata 154235 3 ata_piix,ata_generic,pata_acpi
scsi_mod 94308 4 sg,sr_mod,sd_mod,libata
total used free shared buffers cached
Mem: 2057584 726464 1331120 0 317628 129168
-/+ buffers/cache: 279668 1777916
Swap: 2000084 0 2000084
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Сбт Май 29 23:29:01 MSD 2010: performing suspend
Offline
Adding quirks from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3
Such an addition I have in my pm-suspend.log. But these all are video related, if you problem connected with videocard they can help. Also try adding radeon to the list of modules, that should be loaded/unloaded during suspend/resume in /etc/pm/power.d
Pages: 1