Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14256

Lenovo Ideapad S10-3c keyboard fix

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.9
    • Component/s: Drivers: Other
    • Labels:
      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

        1. DEBUG.LOG
          33 kB
        2. i8042prt.sys
          108 kB

          Issue Links

            Activity

              People

              • Assignee:
                hbelusca hbelusca
                Reporter:
                tijesef tijesef
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: