Package: eeepc-acpi-scripts Version: 1.1.10 Severity: important EeePC 1001P If I boot with battery, it hangs on this line: # set_shengine "${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}" || : so I commented it out.
It works fine if boot with plug, even if un-pluged after boot. -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages eeepc-acpi-scripts depends on: ii acpi-support-base 0.137-5 scripts for handling base ACPI eve ii acpid 1:2.0.7-1 Advanced Configuration and Power I ii pm-utils 1.3.0-3 utilities and scripts for power ma ii rfkill 0.4-1 tool for enabling and disabling wi Versions of packages eeepc-acpi-scripts recommends: ii alsa-utils 1.0.23-3 Utilities for configuring and usin Versions of packages eeepc-acpi-scripts suggests: pn aosd-cat <none> (no description available) pn gnome-osd <none> (no description available) ii gsfonts-x11 0.21 Make Ghostscript fonts available t ii ttf-dejavu 2.31-1 Metapackage to pull in ttf-dejavu- ii ttf-freefont 20090104-7 Freefont Serif, Sans and Mono True ii ttf-liberation 1.05.2.20091019-4 Fonts with the same metrics as Tim -- Configuration Files: /etc/init.d/eeepc-acpi-scripts changed: test -f /usr/share/eeepc-acpi-scripts/functions.sh || exit 0 test -d /sys/bus/platform/devices/eeepc || exit 0 PATH="/sbin:/bin" .. /lib/lsb/init-functions load_module () { log_action_cont_msg "$1" maybe_warn modprobe $@ } maybe_warn () { local WARN WARN="$($@ 2>&1 || :)" if [ -n "$WARN" ]; then log_warning_msg "$WARN" fi } case "$1" in start|restart|reload|force-reload) # First, get the kernel version. KERNEL="`uname -r`" case "$KERNEL" in 2.6.*) KERNEL="`echo $KERNEL | sed -re 's/^([0-9]+\.){2}([0-9]+).*$/\2/'`" ;; *) KERNEL=0 ;; esac # Now load the modules. We ignore failure since it's possible that # they're built into the running kernel. log_action_begin_msg 'Loading EeePC support modules' # Load pciehp if required. # There are three recognised cases: # - kernel 2.6.26 & older: two parameters required # - kernel 2.6.27 & .28 : one of those parameters has been removed # - kernel 2.6.29 & newer: hotplugging is handled in eeepc-laptop except on the # EeePC 900A model # - kernel 2.6.32 & newer: eeepc-laptop also works on the EeePC 900A if [ -d /sys/module/pciehp ]; then # Hmm, already present if [ "$KERNEL" -ge 29 -a "`cat /sys/class/dmi/id/product_name`" != "900A" ]; then # 2.6.29 and newer on all but the EeePC 900A - unload pciehp if loaded log_warning_msg 'Module "pciehp" is loaded; trying to unload' maybe_warn modprobe -r pciehp elif [ "$KERNEL" -ge 32 ]; then # 2.6.32 and newer on all EeePC models - unload pciehp if loaded log_warning_msg 'Module "pciehp" is loaded; trying to unload' maybe_warn modprobe -r pciehp fi else # Load it if needed if [ "$KERNEL" -lt 27 ]; then # 2.6.26 and older load_module pciehp pciehp_force=1 pciehp_slot_with_bus=1 elif [ "$KERNEL" -lt 29 ]; then # 2.6.27 and 2.6.28 load_module pciehp pciehp_force=1 elif [ "$KERNEL" -lt 32 -a "`cat /sys/class/dmi/id/product_name`" = "900A" ]; then # 2.6.29 to 2.6.31 on the EeePC 900A load_module pciehp pciehp_force=1 fi fi # Load rfkill-input if possible, i.e. kernel is 2.6.28, .29 or .30. # This results in faster WLAN hw toggling. if [ "$KERNEL" -ge 28 -a "$KERNEL" -le 30 ]; then if grep -q '^H.*\brfkill\b' /proc/bus/input/devices; then : else load_module rfkill-input fi fi # Done. log_action_end_msg 0 if [ -f /etc/acpi/lib/shengine.sh ]; then log_action_begin_msg 'Setting super hybrid engine according to configuration' if [ -f /etc/default/eeepc-acpi-scripts ]; then . /etc/default/eeepc-acpi-scripts fi . /etc/acpi/lib/shengine.sh if shengine_supported; then if [ "${SHENGINE_SETTING:-auto}" != auto ]; then log_action_cont_msg '(manual)' elif [ "$(cat /sys/class/power_supply/AC0/online 2>/dev/null)" = 0 ]; then log_action_cont_msg '(battery)' #GUIMI set_shengine "${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}" || : else log_action_cont_msg '(AC)' set_shengine "${PWR_CLOCK_AC:-0}" || : fi else log_action_cont_msg '(model not supported)' fi log_action_end_msg $? fi ;; stop) # Nothing to do. ;; *) echo "Usage: /etc/init.d/eeepc-acpi-scripts {start|stop|restart|reload|force-reload}" exit 1 ;; esac exit 0 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org