Subject: kern/29397: [patch] SUNTAC U-Cable type A4 support
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamajun@ofug.net>
List: netbsd-bugs
Date: 02/16/2005 07:25:00
>Number:         29397
>Category:       kern
>Synopsis:       [patch] SUNTAC U-Cable type A4 support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 16 07:25:00 +0000 2005
>Originator:     yamajun@ofug.net
>Release:        NetBSD 2.99.15
>Organization:
Okinawa FreeBSD Users Group
>Environment:
	
	
System: NetBSD sixers.cr.ie.u-ryukyu.ac.jp 2.99.15 NetBSD 2.99.15 (YAMAJUN) #3: Wed Feb 16 04:30:01 JST 2005 yamajun@sixers.cr.ie.u-ryukyu.ac.jp:/usr/src/sys/arch/i386/compile/YAMAJUN i386
Architecture: i386
Machine: i386

Device: SUNTAC U-Cable type A4 (AS144L4)
http://www.sun-denshi.co.jp/scc/products/mobile/as144l4/as144l4.htm (in Japanese)
>Description:
	

New device support patch for src/sys/dev/usb/uvscom.c
This patch worked fine with my cell-phone.

dmesg log:
Feb 16 16:16:46 sixers /netbsd: uvscom0 at uhub1 port 1
Feb 16 16:16:46 sixers /netbsd:
Feb 16 16:16:46 sixers /netbsd: uvscom0: Sun Corporation SCC div. SUNTAC U-Cable x, rev 1.10/1.20, addr 2
Feb 16 16:16:46 sixers /netbsd: ucom0 at uvscom0


Reference:
http://lists.freebsd.org/pipermail/freebsd-bugs/2004-May/006600.html

>How-To-Repeat:
	
>Fix:

apply this patch to src/sys/dev/usb/uvscom.c
(No need change for src/sys/dev/usb/usbdevs. usbdevs already have device ID)

--- uvscom.c.orig	2005-02-16 03:49:48.000000000 +0900
+++ uvscom.c	2005-02-16 03:51:05.000000000 +0900
@@ -219,6 +219,8 @@
 };
 
 static const struct usb_devno uvscom_devs [] = {
+	/* SUNTAC U-Cable type A4 */
+	{ USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_AS144L4 },
 	/* SUNTAC U-Cable type D2 */
 	{ USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_DS96L },
 	/* SUNTAC U-Cable type P1 */

>Unformatted: