Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 213701 Details for
Bug 231768
[RHEL4] VIA EPIA-EK10000 does not reboot without PS/2 keyboard attached
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
test patch
rhel4-fix_reboot.patch (text/plain), 1.42 KB, created by
Aristeu Rozanski
on 2007-10-02 16:53:33 UTC
(
hide
)
Description:
test patch
Filename:
MIME Type:
Creator:
Aristeu Rozanski
Created:
2007-10-02 16:53:33 UTC
Size:
1.42 KB
patch
obsolete
>commit 59f4e7d572980a521b7bdba74ab71b21f5995538 >commit 8b93789808756bcc1e5c90c99f1b1ef52f839a51 > >--- > include/asm-i386/mach-default/mach_reboot.h | 31 ++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > >--- tree.orig/include/asm-i386/mach-default/mach_reboot.h 2004-10-18 17:53:50.000000000 -0400 >+++ tree/include/asm-i386/mach-default/mach_reboot.h 2007-10-02 10:30:52.000000000 -0400 >@@ -19,12 +19,43 @@ > static inline void mach_reboot(void) > { > int i; >+ >+ /* old method, works on most machines */ > for (i = 0; i < 100; i++) { > kb_wait(); > udelay(50); > outb(0xfe, 0x64); /* pulse reset low */ > udelay(50); > } >+ >+ /* New method: sets the "System flag" which, when set, indicates >+ * successful completion of the keyboard controller self-test (Basic >+ * Assurance Test, BAT). This is needed for some machines with no >+ * keyboard plugged in. This read-modify-write sequence sets only the >+ * system flag >+ */ >+ for (i = 0; i < 10; i++) { >+ int cmd; >+ >+ outb(0x20, 0x64); /* read Controller Command Byte */ >+ udelay(50); >+ kb_wait(); >+ udelay(50); >+ cmd = inb(0x60); >+ udelay(50); >+ kb_wait(); >+ udelay(50); >+ outb(0x60, 0x64); /* write Controller Command Byte */ >+ udelay(50); >+ kb_wait(); >+ udelay(50); >+ outb(cmd | 0x04, 0x60); /* set "System flag" */ >+ udelay(50); >+ kb_wait(); >+ udelay(50); >+ outb(0xfe, 0x64); /* pulse reset low */ >+ udelay(50); >+ } > } > > #endif /* !_MACH_REBOOT_H */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231768
:
149791
| 213701