Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
Description
Due to broken ACPI in bios keyboard is not working properly, but I found fix that sends a "initializing byte" that code is designed for ubuntu 10.04 and compiled file should be executed like this "/home/tijesef/kbdfix 1" so 1 is enable and 0 is disable.
Here is the code:
#include <unistd.h>
|
#include <sys/io.h>
|
#define I8042_COMMAND_REG 0x64
|
int main(int argc, char *argv[]) {
|
char data = 0xae; // enable keyboard
|
ioperm(I8042_COMMAND_REG, 1, 1);
|
if (argc == 2 && argv[1][0] == '0')
|
data = 0xad; // disable keyboard
|
outb(data, I8042_COMMAND_REG);
|
return 0;
|
}
|
UPD: In liveusb / ramdisk / pxe keyboard working. And I think logs are useless. It's a bios problem.
Attachments
Issue Links
- is duplicated by
-
CORE-14264 Lenovo Ideapad S10-3c keyboard fix 2
- Resolved