cvs commit: src/sys/dev/usbmisc/ukbd

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Sep 5 14:23:36 PDT 2004


dillon      2004/09/05 14:23:34 PDT

DragonFly src repository

  Modified files:
    sys/dev/usbmisc/ukbd ukbd.c 
  Log:
  Leave the USB keyboard registered with the keyboard subsystem even if the
  USB keyboard is unplugged or reset.  USB keyboard resets can occur under a
  number of conditions, including during system boot and when other devices
  on the same controller are pulled or create problems for the controller.  If
  we were to deregister the keyboard then the console would disconnect from it
  and the keyboard would become unusable.
  
  Use the new keyboard preference feature and give a USB keyboard a higher
  priority then a standard atkbd keyboard.  ATKBD keyboards often probe even
  when no keyboard exists, especially if the BIOS was set to USB keyboard
  compatibility mode.  This way if there is a USB keyboard connected up, it
  will get priority over the AT keyboard even if the system thinks an AT
  keyboard exists.
  
  Revision  Changes    Path
  1.9       +67 -17    src/sys/dev/usbmisc/ukbd/ukbd.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ukbd/ukbd.c.diff?r1=1.8&r2=1.9&f=u





More information about the Commits mailing list