PS/2 Keyboard disappeared after upgrade from 8.2 to 9.2

Cejka Rudolf cejkar at fit.vutbr.cz
Sun Jan 26 21:18:04 UTC 2014


Hello,
  maybe it will be interesting for you. I had a problem with disappeared
PS/2 keyboard after upgrade from 8.2 to 9.2. It is on old Intel ECG3510M
motherboard, but it is possible that the same ACPI bug could be on some
other motherboards and maybe there would be beneficial to implement
a workaround, atleast because 8.2 had no problem with this DSDT. Full
DSDT dump is downloadable from 

ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/acpi-ecg3510m/acpi-ecg3510m.asl

If you look inside, there is PS2M before PS2K, and PS2M unconditionally
allocates ports 0x60-0x64 and stoles them from subsequent PS2K, even if
PS2K is enabled, so PS2K fails to detect/activate.

Result on 8.2, which is resistant to this DSDT bug (is it really bug?):

    psmcpnp0 pnpinfo _HID=PNP0F03 _UID=0 at handle=\_SB_.PCI0.LPC_.PS2M
        Interrupt request lines:
            12
    atkbdc0 pnpinfo _HID=PNP0303 _UID=0 at handle=\_SB_.PCI0.LPC_.PS2K
        I/O ports:
            0x60
            0x64
      atkbd0
          Interrupt request lines:
              1
      psm0
          Interrupt request lines:
              12

Result on 9.2:

    psmcpnp0 pnpinfo _HID=PNP0F03 _UID=0 at handle=\_SB_.PCI0.LPC_.PS2M
        I/O ports:
            0x60
            0x64
    unknown pnpinfo _HID=PNP0303 _UID=0 at handle=\_SB_.PCI0.LPC_.PS2K

I tried to swap the PS2M and PS2K definitions, so that PS2K is before
PS2M, and it solves the problem under 9.2 and it detects PS/2 Keyboard
again.

Best regards.

-- 
Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic


More information about the freebsd-acpi mailing list