NetBSD Problem Report #51248

From hauke@spg.tu-darmstadt.de  Wed Jun 15 09:18:35 2016
Return-Path: <hauke@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EF0487A48B
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Jun 2016 09:18:34 +0000 (UTC)
Message-Id: <201606150916.u5F9GVb8000729@Anscharte.nt.e-technik.tu-darmstadt.de>
Date: Wed, 15 Jun 2016 11:16:31 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: USB umodem0 yoyoes
X-Send-Pr-Version: 3.95

>Number:         51248
>Category:       kern
>Synopsis:       The HP 2170p umts umodem0 yoyoes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 15 09:20:00 +0000 2016
>Closed-Date:    Fri Aug 23 07:06:25 +0000 2019
>Last-Modified:  Fri Aug 23 07:06:25 +0000 2019
>Originator:     Hauke Fath
>Release:        NetBSD 7.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:


System: NetBSD Anscharte.nt.e-technik.tu-darmstadt.de 7.0_STABLE NetBSD 7.0_STABLE (HP2170P) #0: Wed Jun 15 11:02:09 CEST 2016 hf@Hochstuhl:/var/obj/netbsd-builds/7/amd64/sys/arch/amd64/compile/HP2170P amd64
Architecture: x86_64
Machine: amd64
>Description:

	On a HP Elitebook 2170p, the built-in umts modem 

umodem0 at uhub3 port 5 configuration 2 interface 6
umodem0: Sierra Wireless Inc HP un2430 Mobile Broadband Module, rev 2.00/0.02, addr 6, iclass 10/0
umodem0: no pointer to data interface

	yoyoes with

umodem0: detached
umodem0: at uhub3 port 5 (addr 6) disconnected
umodem0 at uhub3 port 5 configuration 2 interface 6
umodem0: Sierra Wireless Inc HP un2430 Mobile Broadband Module, rev 2.00/0.02, addr 6, iclass 10/0
umodem0: no pointer to data interface
umodem0: detached
umodem0: at uhub3 port 5 (addr 6) disconnected
umodem0 at uhub3 port 5 configuration 2 interface 6
umodem0: Sierra Wireless Inc HP un2430 Mobile Broadband Module, rev 2.00/0.02, addr 6, iclass 10/0
umodem0: no pointer to data interface

	etc. ad nauseam, filling up the console and syslog.

	This is especially annoying in single user mode.

	I have not tried whether the modem actually works, but I don't
	expect it to.


>How-To-Repeat:

	Install NetBSD (7 or current) on a HP Elitebook 2170p - or
	probably any notebook - with a built-in Sierra Wireless Inc
	un2430 umts modem. Watch the modem spam the console.

	Commenting out umodem in the kernel config doesn't buy
	anything, the device will show up as ugen0, and misbehave the
	same.


>Fix:
	Yes, please.



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->kern-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 26 Jun 2016 04:23:11 +0000
Responsible-Changed-Why:
fix up broken PR


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/51248: The HP 2170p umts umodem0 yoyoes
Date: Sun, 26 Jun 2016 04:26:28 +0000

 not sent to gnats (use gnats-bugs@)

 The ums(4) PR is 48441, but I doubt it's directly related.

    ------

 From: Paul Goyette <paul@whooppee.com>
 To: gnats@netbsd.org
 Subject: Re: pending/51248
 Date: Thu, 16 Jun 2016 09:57:13 +0800 (PHT)

 This same (or very similar) behavior is seen on my amd64 system, but for a usb
 mouse rather than a modem.  (Also, Christos - I think it was him - had opened
 a PR for the mouse behavior before, but I cannot find it.)

 For the mouse situation, the following messages cycle:

 	<60-seconds>
 	wsmouse0: detached
 	ums0: detached
 	uhidev0: detached
 	uhidev0: at uhub0 port 3 (addr 1) disconnected
 	<2-3 seconds>
 	uhidev0 at uhub0 port 3 configuration 1 interface 0
 	uhidev0: PixArt USB Optical Mouse, rev 2.00/1.00, addr 31, iclass 3/1
 	ums0 at uhidev0: 3 buttons and Z dir
 	wsmouse0 at ums0 mux 0
 	<60-seconds>
 	wsmouse0: detached
 	ums0: detached
 	uhidev0: detached
 	uhidev0: at uhub0 port 3 (addr 31) disconnected
 	...

 However, if I have X running, _and_ I have my wsdisplay on the X display
 (display #4), the messages stop;  they only occur when I am "watching" a non-X
 wsdisplay window, regardless of whether X is running.

 It seems as though X is "tickling" the mouse in some manner which results in a
 "keep-alive" behavior.  Without this, something(tm) happens and the mouse
 driver times out and then reconnects.


 +------------------+--------------------------+------------------------+
 | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
 | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
 | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
 +------------------+--------------------------+------------------------+

State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 20 Apr 2019 06:01:05 +0000
State-Changed-Why:
i feel like we figured this out elsewhere.  can you confirm if it works
or is still broken?  thanks!


State-Changed-From-To: feedback->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Fri, 23 Aug 2019 07:06:25 +0000
State-Changed-Why:
feedback timeout.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.