Package: laptop-mode-tools
Version: 1.45-1
Severity: normal
When I start my PPC based Powerbook G4 system with AC power disconnected,
laptop-mode is activated and correctly spins down my HD as requested.
However when plugging in the AC power, laptop mode seems to remain active and
HD is still put on stand-by, although I have disabled laptop-mode when
the system is on AC power. I have to stop the laptop-mode-tools service to
prevent my hard drive from spinning down. This problem does not happen
when AC power is connected at start-up.
Here's the laptop-mode-status output after I reconnected power, and then after
I stopped the laptop-mode service. I'm not sure whether it's normal
that after "Laptop mode status:" nothing is printed.
powerbook:/home/frederik# /etc/init.d/laptop-mode status
Laptop mode status:
Mounts:
/dev/mapper/linux-root on / type ext3
(rw,noatime,errors=remount-ro,commit=600)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/hda6 on /boot type ext3 (rw,noatime,commit=600)
/dev/mapper/linux-home on /home type ext3
(rw,noatime,usrquota,grpquota,user_xattr,commit=600)
none on /tmp type tmpfs (rw)
Drive power status:
/dev/hda:
drive state is: active/idle
/dev/hdc:
drive state is: standby
(NOTE: drive settings affected by Laptop Mode cannot be retrieved.)
Readahead states:
/dev/mapper/linux-root: 4096 kB
/dev/hda6: 4096 kB
/dev/mapper/linux-home: 4096 kB
Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists.
/proc/sys/vm/laptop_mode:
2
/proc/pmu/info:
PMU driver version : 2
PMU firmware version : 0c
AC Power : 1
Battery count : 1
/proc/sys/vm/dirty_ratio:
60
/proc/sys/vm/dirty_background_ratio:
1
/proc/sys/vm/dirty_expire_centisecs:
60000
/proc/sys/vm/dirty_writeback_centisecs:
60000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:
1499999
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:
1499999
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:
749999
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:
performance
powerbook:/home/frederik# /etc/init.d/laptop-mode stop
* Disabling laptop mode...
Polling is already disabled on the given drive.
[ ok ]
powerbook:/home/frederik# /etc/init.d/laptop-mode status
Laptop mode status:
Mounts:
/dev/mapper/linux-root on / type ext3 (rw,noatime,errors=remount-ro,commit=0)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/hda6 on /boot type ext3 (rw,noatime,commit=0)
/dev/mapper/linux-home on /home type ext3
(rw,noatime,usrquota,grpquota,user_xattr,commit=0)
none on /tmp type tmpfs (rw)
Drive power status:
/dev/hda:
drive state is: active/idle
/dev/hdc:
drive state is: standby
(NOTE: drive settings affected by Laptop Mode cannot be retrieved.)
Readahead states:
/dev/mapper/linux-root: 128 kB
/dev/hda6: 128 kB
/dev/mapper/linux-home: 128 kB
Laptop Mode Tools is NOT allowed to run: /var/run/laptop-mode-tools/enabled
does not exist.
/proc/sys/vm/laptop_mode:
0
/proc/pmu/info:
PMU driver version : 2
PMU firmware version : 0c
AC Power : 1
Battery count : 1
/proc/sys/vm/dirty_ratio:
40
/proc/sys/vm/dirty_background_ratio:
10
/proc/sys/vm/dirty_expire_centisecs:
3000
/proc/sys/vm/dirty_writeback_centisecs:
500
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:
1499999
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:
1499999
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:
749999
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:
performance
In laptop-mode-conf I have ENABLE_LAPTOP_MODE_ON_AC=0
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (300, 'testing'), (200, 'unstable'), (100, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages laptop-mode-tools depends on:
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
ii util-linux 2.13.1.1-1 Miscellaneous system utilities
Versions of packages laptop-mode-tools recommends:
ii apmd 3.2.2-10 Utilities for Advanced Power Manag
ii hal 0.5.11-2 Hardware Abstraction Layer
ii hdparm 8.9-1 tune hard disk parameters for high
pn sdparm <none> (no description available)
laptop-mode-tools suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]