Subject: kern/35527: Willcom WS007SH USB modem support request
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <mira@cetus-net.org>
List: netbsd-bugs
Date: 01/31/2007 08:05:00
>Number:         35527
>Category:       kern
>Synopsis:       Willcom WS007SH USB modem support request
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 31 08:05:00 +0000 2007
>Originator:     Hiroyuki Maehara
>Release:        NetBSD 4.99.9
>Organization:
	cetus-net.org
>Environment:
System: NetBSD deneb.cetus-net.org 4.99.9 NetBSD 4.99.9 (r3) #8: Wed Jan 31 11:54:00 JST 2007 root@deneb.cetus-net.org:/usr/obj/sys/arch/i386/compile/r3 i386
Architecture: i386
Machine: i386
>Description:
	Willcom WS007SH USB modem support request
>How-To-Repeat:
	Please apply following patch.
>Fix:

diff -r -u sys/dev/usb.orig/uipaq.c sys/dev/usb/uipaq.c
--- sys/dev/usb.orig/uipaq.c	2006-11-16 10:33:27.000000000 +0900
+++ sys/dev/usb/uipaq.c	2007-01-31 02:27:01.000000000 +0900
@@ -125,7 +125,8 @@
 	{{ USB_VENDOR_HP, USB_PRODUCT_HP_2215 }, 0 },
 	{{ USB_VENDOR_HP, USB_PRODUCT_HP_568J }, 0},
 	{{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_IPAQPOCKETPC} , 0},
-	{{ USB_VENDOR_CASIO, USB_PRODUCT_CASIO_BE300} , 0}
+	{{ USB_VENDOR_CASIO, USB_PRODUCT_CASIO_BE300} , 0},
+	{{ USB_VENDOR_SHARP, USB_PRODUCT_SHARP_WS007SH} , 0}
 };
 
 #define uipaq_lookup(v, p) ((const struct uipaq_type *)usb_lookup(uipaq_devs, v, p))
diff -r -u sys/dev/usb.orig/usbdevs sys/dev/usb/usbdevs
--- sys/dev/usb.orig/usbdevs	2007-01-23 04:39:37.000000000 +0900
+++ sys/dev/usb/usbdevs	2007-01-31 02:26:06.000000000 +0900
@@ -1768,6 +1768,7 @@
 product SHARP SL5600		0x8006	SL5600
 product SHARP C700		0x8007	C700
 product SHARP C750		0x9031	C750
+product SHARP WS007SH		0x9123	WS007SH
 
 /* Shuttle Technology products */
 product SHUTTLE EUSB		0x0001	E-USB Bridge
diff -r -u sys/dev/usb.orig/usbdevs.h sys/dev/usb/usbdevs.h
--- sys/dev/usb.orig/usbdevs.h	2007-01-23 04:40:21.000000000 +0900
+++ sys/dev/usb/usbdevs.h	2007-01-31 02:26:47.000000000 +0900
@@ -1775,6 +1775,7 @@
 #define	USB_PRODUCT_SHARP_SL5600	0x8006		/* SL5600 */
 #define	USB_PRODUCT_SHARP_C700	0x8007		/* C700 */
 #define	USB_PRODUCT_SHARP_C750	0x9031		/* C750 */
+#define	USB_PRODUCT_SHARP_WS007SH	0x9123	/* WS007SH */
 
 /* Shuttle Technology products */
 #define	USB_PRODUCT_SHUTTLE_EUSB	0x0001		/* E-USB Bridge */
diff -r -u sys/dev/usb.orig/usbdevs_data.h sys/dev/usb/usbdevs_data.h
--- sys/dev/usb.orig/usbdevs_data.h	2007-01-23 04:40:21.000000000 +0900
+++ sys/dev/usb/usbdevs_data.h	2007-01-31 02:26:25.000000000 +0900
@@ -5058,6 +5058,10 @@
 	    "C750",
 	},
 	{
+	    USB_VENDOR_SHARP, USB_PRODUCT_SHARP_WS007SH,
+	    "WS007SH",
+	},
+	{
 	    USB_VENDOR_SHUTTLE, USB_PRODUCT_SHUTTLE_EUSB,
 	    "E-USB Bridge",
 	},