#
64297e67 |
| 08-Jun-2006 |
Nate Lawson <njl@FreeBSD.org> |
Minor tweaks to the resume code that might help people debug.
* Add hw.acpi.resume_beep tunable and sysctl, default to 0. Beeps the PC speaker soon after waking to diagnose whether the wakeup code
Minor tweaks to the resume code that might help people debug.
* Add hw.acpi.resume_beep tunable and sysctl, default to 0. Beeps the PC speaker soon after waking to diagnose whether the wakeup code is even getting run before other drivers possibly hang the system. To stop the beep, cause another beep (i.e. keyboard bell). Submitted by takawata@, I changed the frequency to be lower.
* Use 4096 instead of 4 byte alignment. Might be useful although doesn't seem to be necessary.
* Remove a useless assignment to acpi_reset_video. It was overwritten by the default sysctl value anyway.
show more ...
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0 |
|
#
b8619d36 |
| 22-Apr-2005 |
Ian Dowse <iedowse@FreeBSD.org> |
Pick up the selectors to use for various kernel segments from assym.s instead of assuming fixed offsets within the GDT. The hard-coded values here have been incorrect since Peter's GDT rearranging ar
Pick up the selectors to use for various kernel segments from assym.s instead of assuming fixed offsets within the GDT. The hard-coded values here have been incorrect since Peter's GDT rearranging around 10 days ago, causing ACPI resume problems.
Reviewed by: peter
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
0906e0c5 |
| 01-Jan-2004 |
Nate Lawson <njl@FreeBSD.org> |
Use <machine/asmacros.h> since <machine/asm.h> is a userland-only header and gives very wrong macros for ENTRY(), etc. for kernel programs.
PR: Suggested by: bde Reviewed by: Approved by: Obtained f
Use <machine/asmacros.h> since <machine/asm.h> is a userland-only header and gives very wrong macros for ENTRY(), etc. for kernel programs.
PR: Suggested by: bde Reviewed by: Approved by: Obtained from: MFC after:
show more ...
|
#
00295e74 |
| 01-Nov-2003 |
Nate Lawson <njl@FreeBSD.org> |
Fix the logic to match the new name of the tunable.
Pointed out by: iwasaki
|
#
cc65a50c |
| 01-Nov-2003 |
Nate Lawson <njl@FreeBSD.org> |
Change the reset video option to be positive (hw.acpi.reset_video). Requested by: jhb
Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: ta
Change the reset video option to be positive (hw.acpi.reset_video). Requested by: jhb
Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: takawata
Fix style bugs in acpi_wakecode.S Requested by: bde
Remove the kernel option now that we have the tunable.
show more ...
|
#
fbbdf7c7 |
| 30-Oct-2003 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add sysctl MIB and loader tunable `hw.acpi.no_reset_video' as the same effect as ACPI_NO_RESET_VIDEO kernel option.
|
#
92781c35 |
| 29-Oct-2003 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add kernel option ACPI_NO_RESET_VIDEO as workaround for problems (e.g. LCD white-out after resume) on some machine cased by re-initialize video BIOS code in acpi_wakecode.
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
450b6ff6 |
| 27-Oct-2003 |
Nate Lawson <njl@FreeBSD.org> |
Call the VESA reset BIOS vector on the resume path. This may help displays after resume. I have not found it to break anything.
|
#
cacbbaa7 |
| 28-Aug-2003 |
Nate Lawson <njl@FreeBSD.org> |
Style cleanups.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
cef2a2e3 |
| 02-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
6161544c |
| 20-Jul-2001 |
Takanori Watanabe <takawata@FreeBSD.org> |
Add ACPI S2-S4BIOS Suspend/Resume code. Some problems may remain.
Reviewed by:iwasaki
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0 |
|
#
716d09af |
| 10-Jun-2006 |
Nate Lawson <njl@FreeBSD.org> |
Minor tweaks to the resume code. Previous commit reverted alignment back to 4. There is no need to be more strict at assembly time since we copy the code anyway to a private page.
* Clear the dire
Minor tweaks to the resume code. Previous commit reverted alignment back to 4. There is no need to be more strict at assembly time since we copy the code anyway to a private page.
* Clear the direction flag and eflags. Probably not necessary but it won't hurt to be safe. * Add prefixes to all instructions to prevent any assembler mistakes. * Remove zeroing of eax - edi. We use those registers immediately after to transfer values to protected mode so this was pointless. * Update comments to reflect info found during code review.
show more ...
|
#
b46f4324 |
| 10-Jun-2006 |
Nate Lawson <njl@FreeBSD.org> |
Move the reset beep tunable/sysctl to debug.acpi.resume_beep. This makes more sense than under hw.acpi. Also, document this in the man page.
|
#
64297e67 |
| 08-Jun-2006 |
Nate Lawson <njl@FreeBSD.org> |
Minor tweaks to the resume code that might help people debug.
* Add hw.acpi.resume_beep tunable and sysctl, default to 0. Beeps the PC speaker soon after waking to diagnose whether the wakeup code
Minor tweaks to the resume code that might help people debug.
* Add hw.acpi.resume_beep tunable and sysctl, default to 0. Beeps the PC speaker soon after waking to diagnose whether the wakeup code is even getting run before other drivers possibly hang the system. To stop the beep, cause another beep (i.e. keyboard bell). Submitted by takawata@, I changed the frequency to be lower.
* Use 4096 instead of 4 byte alignment. Might be useful although doesn't seem to be necessary.
* Remove a useless assignment to acpi_reset_video. It was overwritten by the default sysctl value anyway.
show more ...
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0 |
|
#
b8619d36 |
| 22-Apr-2005 |
Ian Dowse <iedowse@FreeBSD.org> |
Pick up the selectors to use for various kernel segments from assym.s instead of assuming fixed offsets within the GDT. The hard-coded values here have been incorrect since Peter's GDT rearranging ar
Pick up the selectors to use for various kernel segments from assym.s instead of assuming fixed offsets within the GDT. The hard-coded values here have been incorrect since Peter's GDT rearranging around 10 days ago, causing ACPI resume problems.
Reviewed by: peter
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
0906e0c5 |
| 01-Jan-2004 |
Nate Lawson <njl@FreeBSD.org> |
Use <machine/asmacros.h> since <machine/asm.h> is a userland-only header and gives very wrong macros for ENTRY(), etc. for kernel programs.
PR: Suggested by: bde Reviewed by: Approved by: Obtained f
Use <machine/asmacros.h> since <machine/asm.h> is a userland-only header and gives very wrong macros for ENTRY(), etc. for kernel programs.
PR: Suggested by: bde Reviewed by: Approved by: Obtained from: MFC after:
show more ...
|
#
00295e74 |
| 01-Nov-2003 |
Nate Lawson <njl@FreeBSD.org> |
Fix the logic to match the new name of the tunable.
Pointed out by: iwasaki
|
#
cc65a50c |
| 01-Nov-2003 |
Nate Lawson <njl@FreeBSD.org> |
Change the reset video option to be positive (hw.acpi.reset_video). Requested by: jhb
Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: ta
Change the reset video option to be positive (hw.acpi.reset_video). Requested by: jhb
Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: takawata
Fix style bugs in acpi_wakecode.S Requested by: bde
Remove the kernel option now that we have the tunable.
show more ...
|
#
fbbdf7c7 |
| 30-Oct-2003 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add sysctl MIB and loader tunable `hw.acpi.no_reset_video' as the same effect as ACPI_NO_RESET_VIDEO kernel option.
|
#
92781c35 |
| 29-Oct-2003 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add kernel option ACPI_NO_RESET_VIDEO as workaround for problems (e.g. LCD white-out after resume) on some machine cased by re-initialize video BIOS code in acpi_wakecode.
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
450b6ff6 |
| 27-Oct-2003 |
Nate Lawson <njl@FreeBSD.org> |
Call the VESA reset BIOS vector on the resume path. This may help displays after resume. I have not found it to break anything.
|
#
cacbbaa7 |
| 28-Aug-2003 |
Nate Lawson <njl@FreeBSD.org> |
Style cleanups.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
cef2a2e3 |
| 02-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
6161544c |
| 20-Jul-2001 |
Takanori Watanabe <takawata@FreeBSD.org> |
Add ACPI S2-S4BIOS Suspend/Resume code. Some problems may remain.
Reviewed by:iwasaki
|