cvs commit: src/sys/dev/kbdmux kbdmux.c src/sys/sys kbio.h src/usr.sbin/kbdcontrol kbdcontrol.1 kbdcontrol.c

Maksim Yevmenkin emax at FreeBSD.org
Thu Jul 14 22:43:20 GMT 2005


emax        2005-07-14 22:43:20 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/kbdmux       kbdmux.c 
    sys/sys              kbio.h 
    usr.sbin/kbdcontrol  kbdcontrol.1 kbdcontrol.c 
  Log:
  kbdmux(4) keyboard multiplexer integration
  
  o Slightly change KBADDKBD and KBRELKBD ioctl() interface. Instead of passing
    keyboard index pass keyboard_info_t structure with populated 'kb_unit' and
    'kb_name' fields. Keyboard index is not very user-friendly and is not very
    easy to obtain. Keyboard driver name and unit, on the other hand, is much
    more user friendly and known almost all the time;
  
  o Move definition of keyboard_info_t structure up;
  
  o Teach kbdcontrol(1) how to attach/detach keyboards to/from the keyboard
    multiplexor;
  
  o Update kbdcontrol(1) man page and document new functionality.
  
  To attach/detach keyboard to/from keyboard multiplexor one needs to use
  keyboard device name (i.e. ukbd0).
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.2       +24 -19    src/sys/dev/kbdmux/kbdmux.c
  1.9       +11 -10    src/sys/sys/kbio.h
  1.37      +22 -0     src/usr.sbin/kbdcontrol/kbdcontrol.1
  1.49      +70 -2     src/usr.sbin/kbdcontrol/kbdcontrol.c


More information about the cvs-src mailing list