Hi! gaf mentioned above that the work around for keyboard issue was to compile and run as root program that was mentioned in (http://blog.yjl.im/2010/08/disable-laptop-ps2-at-keyboard-i8042.html) and this was the script below;
#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; }
I'm a novice and know nothing about script, please help me, can somebody provide a step by step how this program(script)
Hi! gaf mentioned above that the work around for keyboard issue was to compile and run as root program that was mentioned in (http:// blog.yjl. im/2010/ 08/disable- laptop- ps2-at- keyboard- i8042.html) and this was the script below;
#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;
}
I'm a novice and know nothing about script, please help me, can somebody provide a step by step how this program(script)