usb/125736: [ukbd] [hang] system hangs after AT keyboard detect if ukbd loaded as a module

Martin Matuska mm at FreeBSD.org
Thu Jul 29 21:10:03 UTC 2010


The following reply was made to PR usb/125736; it has been noted by GNATS.

From: Martin Matuska <mm at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc: admin at lissyara.su, Hans Petter Selasky <hselasky at c2i.net>
Subject: Re: usb/125736: [ukbd] [hang] system hangs after AT keyboard detect
 if ukbd loaded as a module
Date: Thu, 29 Jul 2010 23:03:28 +0200

 This is a multi-part message in MIME format.
 --------------090802020002090909050102
 Content-Type: text/plain; charset=windows-1250
 Content-Transfer-Encoding: 7bit
 
 Hans Petter Selasky <hselasky at FreeBSD.org> recommended me to use
 
 MODULE_VERSION(ukbd, 1);
 in sys/dev/usb/input/ukbd.c
 
 I can confirm that this patch solves the problem and if there is nothing
 in the way I suggest importing it into HEAD and MFC-ing into stable/8
 and stable/7.
 
 Thanks!
 
 --------------090802020002090909050102
 Content-Type: text/plain;
  name="ukbd.c.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="ukbd.c.patch"
 
 Index: sys/dev/usb/input/ukbd.c
 ===================================================================
 --- sys/dev/usb/input/ukbd.c	(revision 210632)
 +++ sys/dev/usb/input/ukbd.c	(working copy)
 @@ -1887,3 +1887,4 @@
  
  DRIVER_MODULE(ukbd, uhub, ukbd_driver, ukbd_devclass, ukbd_driver_load, 0);
  MODULE_DEPEND(ukbd, usb, 1, 1, 1);
 +MODULE_VERSION(ukbd, 1);
 
 --------------090802020002090909050102--


More information about the freebsd-usb mailing list