Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 1999 10:25:34 -0500 (CDT)
From:      "M. L. Dodson" <bdodson@beowulf.utmb.edu>
To:        "Bill A. K." <billieakay@yahoo.com>
Cc:        "FreeBSD Questions" <questions@FreeBSD.ORG>
Subject:   Logitech USB Mouse
Message-ID:  <199908201525.KAA23423@beowulf.utmb.edu>
In-Reply-To: <005701bee601$fb27d500$01010101@bopper>
References:  <005701bee601$fb27d500$01010101@bopper>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill A. K. writes:
 > Hi,
 >      Some of you have maybe seen me posting about this question before.
 > 
 > i'm having a problem with a Logitech USB Mouse.
 > 
 > When I shutdown the system or even killall moused, the system crashes with
 > an error. i think it's a page fault if i remember correctly (i would post
 > the output, but i don't know how to get the dmesg output)
 > 
 > I have tried this and seen the same behavior on FreeBSD 3.2-RELEASE and
 > FreeBSD 4.0-CURRENT (Just downloaded yesterday night and compiled today, so
 > my current is current)
 > 
[elided]
 > If anybody else has run into this problem and knows how to fix it, or if
 > anybody know of any patches or updates or anything at all, please let me
 > know.
 > 
 > Thanks
 > 
 > Bill
 > billieakay@yahoo.com
 > 

I've been able to reproduce your problem on 3.2R+PAO3, and will
furnish a patch from the BSD-USB mailing list.  Also, if you
start having trouble with the USB mouse, try changing the order
of the usb _devices_ in the kernel config file; something
happened recently, I think, to change the probe order relative to
that in LINT, and it causes the mouse to be found on the probe to
ugen0 (but I am not sure of the technical details).  You need to
create /dev/{ums0,usb0}, if you have not done so.

Patch relative to /usr/src/sys:

*** dev/usb/usbdi.c.orig	Sat May  8 18:04:58 1999
--- dev/usb/usbdi.c	Thu Aug 19 16:15:05 1999
***************
*** 917,923 ****
  {
  	usbd_request_handle reqh;
  
! #if 0
  	for (;;) {
  		reqh = SIMPLEQ_FIRST(&pipe->queue);
  		if (reqh == 0)
--- 917,923 ----
  {
  	usbd_request_handle reqh;
  
! #if 1
  	for (;;) {
  		reqh = SIMPLEQ_FIRST(&pipe->queue);
  		if (reqh == 0)

-- 
M. L. Dodson                                bdodson@scms.utmb.edu
409-772-2178                                FAX: 409-772-1790


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908201525.KAA23423>