NetBSD Problem Report #20425
Received: (qmail 18279 invoked by uid 605); 19 Feb 2003 10:05:19 -0000
Message-Id: <20030219100517.2586F1114F@narn.netbsd.org>
Date: Wed, 19 Feb 2003 02:05:17 -0800 (PST)
From: nabe@nabechan.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: nabe@nabechan.org
To: gnats-bugs@gnats.netbsd.org
Subject: Incorrect USB Vendor code: 0x0bda is Realtek ID not GreenHouse.
X-Send-Pr-Version: www-1.0
>Number: 20425
>Category: kern
>Synopsis: Incorrect USB Vendor code: 0x0bda is Realtek ID not GreenHouse.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: mycroft
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 19 10:06:01 +0000 2003
>Closed-Date: Thu Sep 16 16:15:02 +0000 2004
>Last-Modified: Thu Sep 16 16:15:02 +0000 2004
>Originator: Shingo WATANABE
>Release: NetBSD 1.6O
>Organization:
>Environment:
NetBSD think.nabechan.org 1.6O NetBSD 1.6O (X30) #30: Wed Feb 19 15:30:51 JST 2003 nabe@think.nabechan.org:/sys/arch/i386/compile/X30 i386
>Description:
The USB vendor name of 0x0bda was incorrectly registered into the usbdevs file. It is my mistake when I wrote if_url(Realtek RTL8150L) driver, :-(
The vendor of "0x0bda" is Realtek, see "usb.if" from http://www.usb.org/app/pub/dump/comp_dump/ .
>How-To-Repeat:
see usbdevs in /sys/dev/usb/
>Fix:
apply following patch to usbdevs and if_url.c in /sys/dev/usb/.
diff -ur /home/nabe/work/cvs/NetBSD/src/sys/dev/usb/if_url.c usb/if_url.c
--- /home/nabe/work/cvs/NetBSD/src/sys/dev/usb/if_url.c 2003-01-22 10:31:54.000000000 +0900
+++ usb/if_url.c 2003-02-19 18:36:57.000000000 +0900
@@ -161,8 +161,8 @@
} url_devs [] = {
/* MELCO LUA-KTX */
{{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_LUAKTX }, 0},
- /* GREEN HOUSE USBKR100 */
- {{ USB_VENDOR_GREENHOUSE2, USB_PRODUCT_GREENHOUSE2_USBKR100}, 0}
+ /* Realtek RTL8150L Generic (GREEN HOUSE USBKR100) */
+ {{ USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8150L}, 0}
};
#define url_lookup(v, p) ((struct url_type *)usb_lookup(url_devs, v, p))
diff -ur /home/nabe/work/cvs/NetBSD/src/sys/dev/usb/usbdevs usb/usbdevs
--- /home/nabe/work/cvs/NetBSD/src/sys/dev/usb/usbdevs 2003-02-16 12:22:39.000000000 +0900
+++ usb/usbdevs 2003-02-19 18:40:33.000000000 +0900
@@ -330,7 +330,7 @@
vendor NEC2 0x0b62 NEC
vendor ATI2 0x0b6f ATI
vendor KURUSUGAWA 0x0b7e Kurusugawa Electronics, Inc.
-vendor GREENHOUSE2 0x0bda GREENHOUSE
+vendor REALTEK 0x0bda Realtek
vendor ADDONICS2 0x0bf6 Addonics Technology
vendor AGATE 0x0c08 Agate Technologies
vendor DMI 0x0c0b DMI
@@ -678,7 +678,6 @@
/* GREENHOUSE products */
product GREENHOUSE KANA21 0x0001 CF-writer with Portable MP3 Player
-product GREENHOUSE2 USBKR100 0x8150 USB Ethernet Adapter GH-USB100B
/* Griffin Technology */
product GRIFFIN IMATE 0x0405 iMate, ADB adapter
@@ -1173,6 +1172,9 @@
/* Rainbow Technologies products */
product RAINBOW IKEY2000 0x1200 i-Key 2000
+/* Realtek Products */
+product REALTEK RTL8150L 0x8150 Realtek RTL8150L USB-Ethernet Bridge
+
/* Roland products */
product ROLAND SC8850 0x0003 RolandED SC-8850 SOUND Canvas MIDI Synth.
product ROLAND UM1 0x0009 UM-1 MIDI I/F
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: mycroft
State-Changed-When: Wed Jul 7 21:51:26 UTC 2004
State-Changed-Why:
Fixed in -current. Let me know if there are any problems.
Responsible-Changed-From-To: kern-bug-people->mycroft
Responsible-Changed-By: mycroft
Responsible-Changed-When: Wed Jul 7 21:51:26 UTC 2004
Responsible-Changed-Why:
.
From: "Charles M. Hannum" <mycroft@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/20425 CVS commit: src/sys/dev/usb
Date: Wed, 7 Jul 2004 21:54:22 +0000 (UTC)
Module Name: src
Committed By: mycroft
Date: Wed Jul 7 21:54:22 UTC 2004
Modified Files:
src/sys/dev/usb: if_url.c usbdevs
Log Message:
GREENHOUSE2_USBKR100 -> REALTEK_RTL8150L, per PR 20425.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/usb/if_url.c
cvs rdiff -r1.377 -r1.378 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: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/20425 CVS commit: [netbsd-2-0] src/sys/dev/usb
Date: Sat, 10 Jul 2004 13:29:24 +0000 (UTC)
Module Name: src
Committed By: tron
Date: Sat Jul 10 13:29:23 UTC 2004
Modified Files:
src/sys/dev/usb [netbsd-2-0]: if_url.c
Log Message:
Pull up revision 1.10 (requested by mycroft in ticket #629):
GREENHOUSE2_USBKR100 -> REALTEK_RTL8150L, per PR 20425.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.2.1 src/sys/dev/usb/if_url.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/20425 CVS commit: [netbsd-2-0] src/sys/dev/usb
Date: Sat, 10 Jul 2004 13:29:49 +0000 (UTC)
Module Name: src
Committed By: tron
Date: Sat Jul 10 13:29:49 UTC 2004
Modified Files:
src/sys/dev/usb [netbsd-2-0]: usbdevs
Log Message:
Pull up revision 1.378 (requested by mycroft in ticket #629):
GREENHOUSE2_USBKR100 -> REALTEK_RTL8150L, per PR 20425.
To generate a diff of this commit:
cvs rdiff -r1.371 -r1.371.2.1 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: Shingo WATANABE <nabe@nabechan.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/20425
Date: Thu, 16 Sep 2004 14:56:59 +0900
Thank you for a fix of the vendor code.
At 7 Jul 2004 21:55:05 -0000,
mycroft@netbsd.org wrote:
>
> Synopsis: Incorrect USB Vendor code: 0x0bda is Realtek ID not GreenHouse.
>
> State-Changed-From-To: open->feedback
> State-Changed-By: mycroft
> State-Changed-When: Wed Jul 7 21:51:26 UTC 2004
> State-Changed-Why:
> Fixed in -current. Let me know if there are any problems.
>
>
> Responsible-Changed-From-To: kern-bug-people->mycroft
> Responsible-Changed-By: mycroft
> Responsible-Changed-When: Wed Jul 7 21:51:26 UTC 2004
> Responsible-Changed-Why:
> .
State-Changed-From-To: feedback->closed
State-Changed-By: mycroft
State-Changed-When: Thu Sep 16 16:14:53 UTC 2004
State-Changed-Why:
.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.