Opened 7 years ago
Last modified 6 years ago
#13916 new bug
PowerStatus: KDL while on APM
Reported by: | Giova84 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Power | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
hrev51713 gcc2h
Since I have to stay on APM instead of ACPI (ticket:13915) I would however check the status of my battery. Whenever I launch the app PowerStatus it cause a KDL. Screenshot attached.
Attachments (1)
Change History (7)
by , 7 years ago
Attachment: | DSC_0055.JPG added |
---|
comment:1 by , 7 years ago
patch: | 0 → 1 |
---|
comment:2 by , 7 years ago
patch: | 1 → 0 |
---|
comment:3 by , 7 years ago
Component: | Applications/PowerStatus → System/Kernel |
---|
comment:4 by , 7 years ago
If is System/Kernel related as you set this ticket, so could be also related the fact that APM, from time to time, freeze the system?
comment:5 by , 7 years ago
I also noticed an odd and fun behaviour. remember that I have ACPI disabled in the kernel setting file.
Despite the fact that I have apm enabled or disabled (i prefer keep it disable because freeze the system), when the battery is near to the full discharge, on the panel of the laptop I see blinking the power led (green) and the battery led (orange).
By look to the user manual, these two leds which are blinking (green and orange), indicate that the laptop is in standby mode. (low battery - near to 15% - instead is indicated by single blink of the battery orange led - and double blink occurs while charging). About 5 minutes after blinking with green and orange led, the laptop send a shutdown command which is like to do shutdown -q from a Terminal window (quick shutdown). In this case (auto shutdown), if I have some file or app opened, at the next boot the checkfs command, luckily, doesn't find corrupted files.
Well: the interesting thing is that when I power on the laptop after auto-shutdown, I see for few seconds (the battery is discharged) the Haiku's Desktop, like if the boot icons (startup process) are bypassed. Maybe is related to video shadow? Is the only explication, since Haiku doesn't still implemented standby nor hibernation, and also because this behavior occurs with ACPI and APM disabled.
http://xref.plausible.coop/source/xref/haiku/src/system/kernel/arch/x86/32/apm.cpp#91
Hmm, maybe the undefined references are legitimate and GCC2 just references the pointer anyway?