When ukbd0 arrives, attach to /dev/ukbd0 rather then /dev/kbd1 since

kbd1 might be something else.
This commit is contained in:
Brooks Davis 2005-01-08 06:00:24 +00:00
parent f644bbc45c
commit e6da72a102
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139897

View File

@ -60,7 +60,7 @@ detach 100 {
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
device-name "ukbd0";
action "test -c /dev/kbd1 && kbdcontrol -k /dev/kbd1 < /dev/console";
action "kbdcontrol -k /dev/ukbd0 < /dev/console";
};
detach 100 {
device-name "ukbd0";