Bug 175425 - [patch] kbdcontrol(1) printout about kbdmux isn't informative
Summary: [patch] kbdcontrol(1) printout about kbdmux isn't informative
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 02:00 UTC by yuri
Modified: 2017-12-31 22:29 UTC (History)
0 users

See Also:


Attachments
patch-ioctl-var-size.txt (4.56 KB, patch)
2013-01-21 06:01 UTC, Yuri Victorovich
no flags Details | Diff
patch-kbd-mux-contents.txt (6.15 KB, patch)
2013-01-21 06:01 UTC, Yuri Victorovich
no flags Details | Diff
patch-kbd-mux-contents.txt (6.15 KB, patch)
2013-01-21 19:12 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yuri 2013-01-19 02:00:01 UTC
I have USB keyboard in addition to the regular AT keyboard.
There is kbdmux0 device.

Command 'kbdcontrol -i < /dev/console' doesn't print ukbd0 at all:
# kbdcontrol -i < /dev/console
kbd1:
    kbdmux0, type:AT 101/102 (2)

So I can only tell that ukbd0 is attached by trying to remove it and not getting 'Device not configured' error, see the following command sequence.

# kbdcontrol -i < /dev/console
kbd1:
    kbdmux0, type:AT 101/102 (2)
# kbdcontrol -A ukbd0 < /dev/console
kbd1
    kbdmux0, type:AT 101/102 (2)
# kbdcontrol -A ukbd0 < /dev/console
kbd1
    kbdmux0, type:AT 101/102 (2)
kbdcontrol: unable to (un)mux the keyboard: Device not configured
Comment 1 Yuri Victorovich freebsd_committer 2013-01-21 06:01:14 UTC
Patches:
* patch-ioctl-var-size.txt : implements variable size ioctl(2) data 
parameter. This is used by the ioctl in the second patch. Userland 
truss(1) is updated accordingly.
* patch-kbd-mux-contents.txt : implements new ioctl KBLSTKBD listing 
contents of the kbd mux. Userland kbdcontrol is updated with the new 
option -I using KBLSTKBD.

Comment 2 Yuri Victorovich freebsd_committer 2013-01-21 19:12:07 UTC
Updated patch-kbd-mux-contents.txt
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:49 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped