DragonFly BSD
DragonFly commits List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Sep 2004 14:23:34 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]