NetBSD Problem Report #56056

From www@netbsd.org  Sat Mar 13 12:54:15 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2CA031A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 13 Mar 2021 12:54:15 +0000 (UTC)
Message-Id: <20210313125413.9E7A61A923E@mollari.NetBSD.org>
Date: Sat, 13 Mar 2021 12:54:13 +0000 (UTC)
From: fstd+netbsd@pr0.tips
Reply-To: fstd+netbsd@pr0.tips
To: gnats-bugs@NetBSD.org
Subject: (at least one but possibly multiple wrong/dupe USB IDs
X-Send-Pr-Version: www-1.0

>Number:         56056
>Category:       kern
>Synopsis:       (at least one but possibly multiple wrong/dupe USB IDs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 13 12:55:00 +0000 2021
>Closed-Date:    Tue Apr 20 08:03:46 +0000 2021
>Last-Modified:  Tue Apr 20 08:03:46 +0000 2021
>Originator:     Timo Buhrmester
>Release:        HEAD as of 2021-03-12
>Organization:
>Environment:
>Description:
sys/dev/usb/usbdevs has the following entries, the latter of which appears to be copypasted+forgotten to change a 'c' to an 'e':

> product BELKIN F5D7050C		0x705c	F5D705C 54g USB Network Adapter
> product BELKIN F5D7050E		0x705c	F5D705E 54g USB Network Adapter

(causing the Belkin F5D7050E to not attach to the run driver)

I then went on to identify any other suspicious duplicates, so whoever
fixes the above might want to also look at these:

> vendor CHICONY2		0x0c45	Chicony Electronics
> vendor MICRODIA		0x0c45	Microdia / Sonix Technology Co., Ltd.
> 
> vendor INTENSO		0x2109	INTENSO
> vendor VIALABS		0x2109	VIA Labs
> 
> product ACTIONTEC AR9287	0x1200	AR9287+AR7010
> product ACTIONTEC KL5KUSB101	0x1200	KL5KUSB101 USB Ethernet adapter
> 
> product LINKSYS2 WUSB11		0x2219	WUSB11
> product LINKSYS2 NWU11B		0x2219	Network Everywhere NWU11B
> 
> product OPTIONNV HSDPA		0x6701	GlobeTrotter HSDPA Modem
> product OPTIONNV MAXHSDPA	0x6701	GlobeTrotter Max HSDPA Modem
> 
> product UNKNOWN1 ZD1211B_1	0x5301	ZD1211B
> product UNKNOWN1 ZD1211B_2	0x5301	ZD1211B

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: nia <nia@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/56056: (at least one but possibly multiple wrong/dupe USB
 IDs
Date: Mon, 15 Mar 2021 07:07:26 +0000

 On Sat, Mar 13, 2021 at 12:55:01PM +0000, fstd+netbsd@pr0.tips wrote:
 > > product BELKIN F5D7050C		0x705c	F5D705C 54g USB Network Adapter
 > > product BELKIN F5D7050E		0x705c	F5D705E 54g USB Network Adapter
 > 
 > (causing the Belkin F5D7050E to not attach to the run driver)

 It looks like it's supposed to attach to the urtw driver, not run.
 Can you confirm it does (and works)?

From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56056 CVS commit: src/sys/dev/usb
Date: Mon, 15 Mar 2021 07:29:27 +0000

 Module Name:	src
 Committed By:	nia
 Date:		Mon Mar 15 07:29:27 UTC 2021

 Modified Files:
 	src/sys/dev/usb: usbdevs

 Log Message:
 correct usb device id for BELKIN F5D7050E

 matches freebsd / openbsd (sources of urtw driver), various online
 sources

 PR kern/56056


 To generate a diff of this commit:
 cvs rdiff -u -r1.792 -r1.793 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56056 CVS commit: [netbsd-9] src/sys/dev/usb
Date: Sat, 27 Mar 2021 13:00:45 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Mar 27 13:00:45 UTC 2021

 Modified Files:
 	src/sys/dev/usb [netbsd-9]: usbdevs

 Log Message:
 Pull up following revision(s) (requested by nia in ticket #1236):

 	sys/dev/usb/usbdevs: revision 1.793

 correct usb device id for BELKIN F5D7050E

 matches freebsd / openbsd (sources of urtw driver), various online
 sources

 PR kern/56056


 To generate a diff of this commit:
 cvs rdiff -u -r1.770.4.7 -r1.770.4.8 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56056 CVS commit: [netbsd-8] src/sys/dev/usb
Date: Sat, 27 Mar 2021 13:09:46 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Mar 27 13:09:46 UTC 2021

 Modified Files:
 	src/sys/dev/usb [netbsd-8]: usbdevs

 Log Message:
 Pull up following revision(s) (requested by nia in ticket #1667):

 	sys/dev/usb/usbdevs: revision 1.793

 correct usb device id for BELKIN F5D7050E

 matches freebsd / openbsd (sources of urtw driver), various online
 sources

 PR kern/56056


 To generate a diff of this commit:
 cvs rdiff -u -r1.736.2.6 -r1.736.2.7 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Tue, 20 Apr 2021 08:03:46 +0000
State-Changed-Why:
Suggested change has been committed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.