CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2023/08/12 04:03:05
Modified files: sys/dev/i2c : ihidev.c Log message: Don't power down if the device is already opened. This happens when an ikbd(4) attaches and becomes the console keyboard. We would power down the device but never power it on again when userland opened ikbd(4) as an input device since that is only done on the first open. The result was a non-functioning keyboard if the hardware actually implemented the power down command. A lot of hardware actually doesn't (which is why this wasn't noticed for some time) but the ASUS X205T does. ok miod@