NetBSD Problem Report #44706

From www@NetBSD.org  Thu Mar 10 09:59:23 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 1FFAE63B966
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Mar 2011 09:59:23 +0000 (UTC)
Message-Id: <20110310095922.6F00563B961@www.NetBSD.org>
Date: Thu, 10 Mar 2011 09:59:22 +0000 (UTC)
From: Christoph_Egger@gmx.de
Reply-To: Christoph_Egger@gmx.de
To: gnats-bugs@NetBSD.org
Subject: USB mouse does not attach at boot
X-Send-Pr-Version: www-1.0

>Number:         44706
>Category:       kern
>Synopsis:       USB mouse does not attach at boot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 10 10:00:00 +0000 2011
>Last-Modified:  Thu Mar 10 16:30:02 +0000 2011
>Originator:     Christoph Egger
>Release:        NetBSD/amd64 -current
>Organization:
>Environment:
>Description:


I have this mouse device:

ehci1: handing over low speed device on port 2 to ohci1
uhub3: port 2, device disappeared after reset
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Logitech USB Optical Mouse, rev 2.00/27.20, addr 2, iclass 3/1
ums0 at uhidev0: 8 buttons, W and Z axis
wsmouse1 at ums0 mux 0


It attaches and detaches properly after boot.

When I plug in the mouse before I turn on the machine, NetBSD
does not detect the mouse. I have to unplug and re-plug it.


>How-To-Repeat:


Plug in the mouse before turning on the machine.

dmesg | grep "ums"  is empty.


>Fix:

>Audit-Trail:
From: Christoph Egger <Christoph_Egger@gmx.de>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, 
 netbsd-bugs@netbsd.org
Subject: Re: kern/44706: USB mouse does not attach at boot
Date: Thu, 10 Mar 2011 17:20:07 +0100

 I booted a kernel with EHCI_DEBUG and UHUB_DEBUG.
 ehci_debug and uhub_debug are set to debug level 1.

 Then in the dmesg at boot I get these message:

 ehci_disown: index=2 lowspeed=1
 ehci1: handing over low speed device on port 2 to ohci1
 ehci_pcd: change=0x04
 uhub3: port 2, device disappeared after reset
 uhub_explore: status change hub=1 port=2
 ehci after reset, status=0x00001005
 ehci port 3 reset, status = 0x00001005
 ehci after reset, status=0x00001005
 ehci port 2 reset, status = 0x00001005
 ehci after reset, status=0x00001005
 ehci port 2 reset, status = 0x00001005
 ehci after reset, status=0x00001005
 ehci port 3 reset, status = 0x00001005


 When I unplug and replug the USB mouse after boot
 then I get these messages:

 ehci_disown: index=2 lowspeed=1
 ehci1: handing over low speed device on port 2 to ohci1
 ehci_pcd: change=0x04
 uhub_explore: status change hub=1 port=2
 uhub3: port 2, device disappeared after reset
 uhub_explore: status change hub=1 port=2
 uhidev0 at uhub2 port 2 configuration 1 interface 0
 uhidev0: Logitech USB Optical Mouse, rev 2.00/27.20, addr 2, iclass 3/1
 ums0 at uhidev0: 8 buttons, W and Z dirs
 wsmouse1 at ums0 mux 0


 Christoph

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.