You are not logged in.

#1 2009-03-14 23:11:45

methuselah
Member
Registered: 2007-10-02
Posts: 570

My HP battery issue..... problem with boot/shut-down/suspend

Hello, I've had an issue with my HP Laptop for a while now. It all started around kernel 2.6.26

My problem is that I can't unplug my AC adapter cord and have my laptop shutdown or suspend properly..... it just hangs there. Same thing goes for booting up with the cord unplugged.


As for boot...... I can usually just press the "enter" button a few times to get it past the modules line and the udev line to finish booting. Same thing goes for shutting down. (sometimes this does not work, like today)


It will usually stall at this line during a boot up (sometimes at the Modules and Udev lines also):

loading standard ACPI modules  (it won't even print a BUSY message)

Then after plugging in the AC adapter it finally prints a BUSY and a DONE and moves on to Udev.


As for xfce4.6 suspend/hibernate...... it will work with the AC adapter plugged in (I have to click the power button twice for some reason)..... but if I have the cord unplugged it will just sit there with a black screen until I plug it in and then it will bring my screen back from a normal suspend.


my lsmod:

$ lsmod
Module                  Size  Used by
fuse                   51264  4 
uvcvideo               53896  0 
sdhci_pci               8384  0 
sdhci                  16132  1 sdhci_pci
psmouse                49628  0 
compat_ioctl32          8512  1 uvcvideo
mmc_core               48256  1 sdhci
pcspkr                  3264  0 
k8temp                  5376  0 
serio_raw               6276  0 
nvidia               8117480  42 
ricoh_mmc               4608  0 
i2c_core               21792  1 nvidia
firewire_ohci          23556  0 
firewire_core          36992  1 firewire_ohci
sg                     26960  0 
crc_itu_t               2560  1 firewire_core
videodev               32896  2 uvcvideo,compat_ioctl32
v4l1_compat            12804  2 uvcvideo,videodev
video                  20884  5 
output                  3584  1 video
ohci_hcd               24988  0 
ssb                    37956  1 ohci_hcd
pcmcia                 33944  1 ssb
pcmcia_core            33380  2 ssb,pcmcia
thermal                19360  0 
fan                     5768  0 
button                  7904  0 
battery                13064  0 
ac                      5576  0 
cpufreq_powersave       2240  0 
cpufreq_ondemand        8080  0 
evdev                  11088  9 
hp_wmi                  6128  0 
wmi                     7360  1 hp_wmi
rfkill                 11264  3 hp_wmi
powernow_k8            13380  1 
freq_table              4416  2 cpufreq_ondemand,powernow_k8
processor              45112  4 thermal,powernow_k8
snd_seq_oss            29376  0 
snd_seq_midi_event      7040  1 snd_seq_oss
snd_seq                48784  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7252  2 snd_seq_oss,snd_seq
snd_hda_intel          86684  2 
snd_hwdep               8328  1 snd_hda_intel
snd_pcm_oss            37120  0 
snd_pcm                70920  2 snd_hda_intel,snd_pcm_oss
snd_timer              20624  2 snd_seq,snd_pcm
snd_page_alloc          9360  2 snd_hda_intel,snd_pcm
snd_mixer_oss          15104  1 snd_pcm_oss
snd                    55608  13 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               7376  1 snd
forcedeth              53712  0 
rtc_cmos               11352  0 
rtc_core               17332  1 rtc_cmos
rtc_lib                 3200  1 rtc_core
ext3                  122256  2 
jbd                    49000  1 ext3
mbcache                 8132  1 ext3
sd_mod                 24488  5 
sr_mod                 15412  0 
cdrom                  32680  1 sr_mod
ahci                   32648  4 
ata_generic             6404  0 
pata_amd               13508  0 
pata_acpi               5440  0 
libata                154368  4 ahci,ata_generic,pata_amd,pata_acpi
scsi_mod              106152  4 sg,sd_mod,sr_mod,libata

my lspci:

$ lspci
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:12.0 VGA compatible controller: nVidia Corporation GeForce 7150M (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
02:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
02:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
02:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
02:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)

My kernel .config section:


#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="/dev/sda5"
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_WMI=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_PCI_SLOT=m
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_SBS=m

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_POWERNOW_K8=m
CONFIG_X86_POWERNOW_K8_ACPI=y
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

I have no idea what is going on with the battery issue.

EDIT: Maybe I should have posted in the laptop thread, I'm sorry..... feel free to move it there.

Last edited by methuselah (2009-03-14 23:25:44)

Offline

#2 2009-03-14 23:51:01

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: My HP battery issue..... problem with boot/shut-down/suspend

I also checked the Arch Bugs and I haven't seen anyone with this issue and an HP Pavilion dv9920us.

I did see some others that had acpi issues that were different than mine and they used things like "acpi=off" in there kernel line.

I saw both of these options but am not sure what it does exactly (google-ing right now):

acpi=off
nolapic_timer

Offline

Board footer

Powered by FluxBB