Subject: kern/22432: Sony Ericsson DCU10 USB Cable doesn't work
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <cagney@mac.com>
List: netbsd-bugs
Date: 08/11/2003 01:33:43
>Number:         22432
>Category:       kern
>Synopsis:       Sony Ericsson DCU10 USB Cable doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 11 01:34:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Cagney
>Release:        1.6.1
>Organization:
>Environment:
PPC
>Description:
The Sony Ericsson DCU10 USB Cable doesn't work.
>How-To-Repeat:
Plug in a DCU10 Cable - not supported message appears.  I'd include the text only ...
>Fix:
... a web search turned up the trivia that DCU10 is a uplcom series variant.  Below works like a charm.  Suggest also updating the GPRS modem page.

uplcom0 at uhub1 port 1
uplcom0: Sony Ericsson USB Cable, rev 1.10/0.01, addr 2
ucom0 at uplcom0


Index: uplcom.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uplcom.c,v
retrieving revision 1.27
diff -u -r1.27 uplcom.c
--- uplcom.c	2002/03/16 16:10:19	1.27
+++ uplcom.c	2003/08/11 01:18:59
@@ -167,6 +167,8 @@
 	{ USB_VENDOR_TDK, USB_PRODUCT_TDK_UHA6400 },
 	/* TDK USB-PDC Adapter UPA9664 */
 	{ USB_VENDOR_TDK, USB_PRODUCT_TDK_UPA9664 },
+	/* Sony Ericsson USB Cable */
+	{ USB_VENDOR_SONYERICSSON, USB_PRODUCT_SONYERICSSON_DCU10 },
 };
 #define uplcom_lookup(v, p) usb_lookup(uplcom_devs, v, p)
 
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.250.2.2
diff -u -r1.250.2.2 usbdevs
--- usbdevs	2003/01/26 09:14:25	1.250.2.2
+++ usbdevs	2003/08/11 01:19:29
@@ -233,6 +233,7 @@
 vendor SMC		0x0707	Standard Microsystems
 vendor PUTERCOM		0x0708	Putercom
 vendor MCT		0x0711	MCT
+vendor SONYERICSSON	0x0731  Sony Ericsson
 vendor DIGITALSTREAM	0x074e	Digital Stream
 vendor AUREAL		0x0755	Aureal Semiconductor
 vendor MIDIMAN		0x0763	Midiman
@@ -1167,6 +1168,9 @@
 product SONY PS2MOUSE		0x0061	PlayStatoin2 mouse
 product SONY CLIE_40		0x0066	Sony Clie v4.0
 product SONY CLIE_40_MS		0x006d	Sony Clie v4.0 Memory Stick slot
+
+/* Sony Ericsson products */
+product SONYERICSSON DCU10	0x0528	USB Cable
 
 /* STMicroelectronics products */
 product STMICRO COMMUNICATOR	0x7554	USB Communicator
Index: usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.255.2.2
diff -u -r1.255.2.2 usbdevs.h
--- usbdevs.h	2003/01/26 09:15:29	1.255.2.2
+++ usbdevs.h	2003/08/11 01:19:30
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs.h,v 1.255.2.2 2003/01/26 09:15:29 jmc Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD
+ *	NetBSD: usbdevs,v 1.250.2.2 2003/01/26 09:14:25 jmc Exp 
  */
 
 /*
@@ -240,6 +240,7 @@
 #define	USB_VENDOR_SMC	0x0707		/* Standard Microsystems */
 #define	USB_VENDOR_PUTERCOM	0x0708		/* Putercom */
 #define	USB_VENDOR_MCT	0x0711		/* MCT */
+#define	USB_VENDOR_SONYERICSSON	0x0731		/* Sony Ericsson */
 #define	USB_VENDOR_DIGITALSTREAM	0x074e		/* Digital Stream */
 #define	USB_VENDOR_AUREAL	0x0755		/* Aureal Semiconductor */
 #define	USB_VENDOR_MIDIMAN	0x0763		/* Midiman */
@@ -1174,6 +1175,9 @@
 #define	USB_PRODUCT_SONY_PS2MOUSE	0x0061		/* PlayStatoin2 mouse */
 #define	USB_PRODUCT_SONY_CLIE_40	0x0066		/* Sony Clie v4.0 */
 #define	USB_PRODUCT_SONY_CLIE_40_MS	0x006d		/* Sony Clie v4.0 Memory Stick slot */
+
+/* Sony Ericsson products */
+#define	USB_PRODUCT_SONYERICSSON_DCU10	0x0528		/* USB Cable */
 
 /* STMicroelectronics products */
 #define	USB_PRODUCT_STMICRO_COMMUNICATOR	0x7554		/* USB Communicator */
Index: usbdevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.256.2.2
diff -u -r1.256.2.2 usbdevs_data.h
--- usbdevs_data.h	2003/01/26 09:15:29	1.256.2.2
+++ usbdevs_data.h	2003/08/11 01:19:32
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs_data.h,v 1.256.2.2 2003/01/26 09:15:29 jmc Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD
+ *	NetBSD: usbdevs,v 1.250.2.2 2003/01/26 09:14:25 jmc Exp 
  */
 
 /*
@@ -3058,6 +3058,12 @@
 	    "Sony Clie v4.0 Memory Stick slot",
 	},
 	{
+	    USB_VENDOR_SONYERICSSON, USB_PRODUCT_SONYERICSSON_DCU10,
+	    0,
+	    "Sony Ericsson",
+	    "USB Cable",
+	},
+	{
 	    USB_VENDOR_STMICRO, USB_PRODUCT_STMICRO_COMMUNICATOR,
 	    0,
 	    "STMicroelectronics",
@@ -4423,6 +4429,12 @@
 	    USB_VENDOR_MCT, 0,
 	    USB_KNOWNDEV_NOPROD,
 	    "MCT",
+	    NULL,
+	},
+	{
+	    USB_VENDOR_SONYERICSSON, 0,
+	    USB_KNOWNDEV_NOPROD,
+	    "Sony Ericsson",
 	    NULL,
 	},
 	{

>Release-Note:
>Audit-Trail:
>Unformatted: