Various laptop mode problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
laptop-mode-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: laptop-mode
Dapper 6.06 + updates on a Thinkpad t60p.
$ sudo /usr/sbin/
disabled, not active [unchanged].
$ sudo /usr/sbin/
Mounts:
/dev/
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/
/dev/sda2 on /boot type ext3 (rw)
/dev/
/dev/sda1 on /media/sda1 type ntfs (rw,nls=
/dev/sda4 on /media/sda4 type vfat (rw,utf8,
/dev/
/dev/
/dev/
/dev/
Drive power status:
/dev/hda:
drive state is: unknown
(NOTE: drive settings affected by Laptop Mode cannot be retrieved.)
Readahead states:
/dev/mapper/
/usr/sbin/
Laptop Mode is NOT allowed to run: /var/run/
-----
I don't know why it's detecting /dev/hda. Maybe that's the cdrom?
There are at least two problems:
1. the "syntax error". I think this is an incompatibility between laptop_mode and LVM, but I can't be 100% sure.
2. The installation of laptop-mode is not creating /var/run/
Thanks for your bug report, which unfortunately has been left unanswered.
1. Is this still a problem in Feisty or Gutsy? If yes, please run: laptop_ mode status 2>output.txt main-root" and see what that gives.
sudo bash -x /usr/sbin/
and attach the file output.txt. You can also try "sudo /sbin/blockdev --getra /dev/mapper/
2. The file /var/run/ laptop- mode-enabled is created by /etc/init. d/laptop_ mode at boot, but only if laptop_mode is enabled in laptop- mode or /etc/default/ acpi-support.
/etc/default/