Subject: kern/15344: Dectection problem with the USB Ethernet KLSI Driver
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lochin@rp.lip6.fr>
List: netbsd-bugs
Date: 01/23/2002 07:45:22
>Number:         15344
>Category:       kern
>Synopsis:       Dectection problem with the USB Ethernet KLSI Driver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 23 07:45:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Emmanuel Lochin
>Release:        NetBSD-1.5.2
>Organization:
LIP6
>Environment:
NetBSD lycos.lip6.fr 1.5.2 NetBSD 1.5.2 (GENERIC_LAPTOP)
>Description:
KLSI is detected in ugen0 instead of kue0

#usbdevs -v -a 2
return
#Controller /dev/usb0
#addr 2: power 90 mA, config 1, USB-Ethernet(0x0009), Kawasaki LSI Inc.(0x05e9), rev 2.08

an there isn't no 0x0009 input in  /sys/dev/usb/usbdevs
but there is duplicate input for 0x0008 !!!

Apply this patch to correct the problem for VAIO Sony
>How-To-Repeat:

>Fix:
Index: if_kue.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/usb/if_kue.c,v
retrieving revision 1.29.2.1
diff -u -r1.29.2.1 if_kue.c
--- if_kue.c	2001/03/13 20:46:18	1.29.2.1
+++ if_kue.c	2002/01/23 14:52:45
@@ -187,6 +187,7 @@
 	{ USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB },
 	{ USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_USB10T },
 	{ USB_VENDOR_KLSI, USB_PRODUCT_KLSI_DUH3E10BT },
+	{ USB_VENDOR_KLSI, USB_PRODUCT_KLSI_DUH3E11BT },
 	{ 0, 0 }
 };
 
Index: usbdevs
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/usb/usbdevs,v
retrieving revision 1.103.2.2
diff -u -r1.103.2.2 usbdevs
--- usbdevs	2000/10/08 19:49:04	1.103.2.2
+++ usbdevs	2002/01/23 14:52:45
@@ -507,6 +507,7 @@
 
 /* Kawasaki LSI products (?) */
 product KLSI DUH3E10BT		0x0008	10BT Ethernet adapter, in the DU-H3E
+product KLSI DUH3E11BT		0x0009	10BT Ethernet adapter, in the sony
 
 /* Kensington products */
 product KENSINGTON ORBIT	0x1003	Orbit USB/PS2 trackball
Index: usbdevs.h
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/usb/usbdevs.h,v
retrieving revision 1.104.2.2
diff -u -r1.104.2.2 usbdevs.h
--- usbdevs.h	2000/10/08 19:51:36	1.104.2.2
+++ usbdevs.h	2002/01/23 14:52:45
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs.h,v 1.104.2.2 2000/10/08 19:51:36 hubertf Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -514,6 +514,7 @@
 
 /* Kawasaki LSI products (?) */
 #define	USB_PRODUCT_KLSI_DUH3E10BT	0x0008		/* 10BT Ethernet adapter, in the DU-H3E */
+#define	USB_PRODUCT_KLSI_DUH3E11BT	0x0009		/* 10BT Ethernet adapter, in the sony */
 
 /* Kensington products */
 #define	USB_PRODUCT_KENSINGTON_ORBIT	0x1003		/* Orbit USB/PS2 trackball */
Index: usbdevs_data.h
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.104.2.2
diff -u -r1.104.2.2 usbdevs_data.h
--- usbdevs_data.h	2000/10/08 19:51:35	1.104.2.2
+++ usbdevs_data.h	2002/01/23 14:52:45
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs_data.h,v 1.104.2.2 2000/10/08 19:51:35 hubertf Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -740,6 +740,12 @@
 	    0,
 	    "Kawasaki LSI",
 	    "10BT Ethernet adapter, in the DU-H3E",
+	},
+	{
+	    USB_VENDOR_KLSI, USB_PRODUCT_KLSI_DUH3E11BT,
+	    0,
+	    "Kawasaki LSI",
+	    "10BT Ethernet adapter, in the sony",
 	},
 	{
 	    USB_VENDOR_KENSINGTON, USB_PRODUCT_KENSINGTON_ORBIT,
>Release-Note:
>Audit-Trail:
>Unformatted: