/usr/share/acpi-support depends on nonexistent /var/lib/acpi-support files

Bug #554178 reported by Akkana Peck
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: acpi-support

Running /etc/acpi/sleep.sh (or presumably other /etc/acpi scripts) prints error messages:

cat: /var/lib/acpi-support/system-manufacturer: No such file or directory
cat: /var/lib/acpi-support/system-product-name: No such file or directory
cat: /var/lib/acpi-support/system-version: No such file or directory
cat: /var/lib/acpi-support/bios-version: No such file or directory

This appears to happen because the scripts in /usr/share/acpi-support have lines like:

    manufacturer=`cat /var/lib/acpi-support/system-manufacturer||dmidecode --string system-manufacturer|sed -e 's/ *$//'`

However, those files in /var/lib/acpi-support, which were part of the acpi-support package in karmic, are no longer there in lucid's acpi-support.

Probably either the /usr/share/acpi-support scripts should be updated not to need the removed files, or the removed files should be put back. I'm not sure what those files do (sleep.sh still works fine without them) so I'm not sure which way is the best way, but I'd be happy to make a patch to do one or the other if it would help.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: acpi-support 0.133
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Fri Apr 2 19:14:49 2010
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 SHELL=/bin/tcsh
SourcePackage: acpi-support

Revision history for this message
Akkana Peck (akkzilla) wrote :
Revision history for this message
eljoest (eljoest) wrote :

It seems to prevent sending my notebook (Dell Latitude D830) to sleep via the sleep button on my keyboard (XF86Sleep) - running acpid -d gives me the output
cat: /var/lib/acpi-support/system-manufacturer: No such file or directory
cat: /var/lib/acpi-support/system-product-name: No such file or directory
cat: /var/lib/acpi-support/system-version: No such file or directory
cat: /var/lib/acpi-support/bios-version: No such file or directory
at every press of this button but no reaction follows. Using the Suspend command from the menu works, as well as calling org.freedesktop.UPower.Suspend via dbus.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in acpi-support (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.