Date: Mon, 27 Jan 2003 23:13:26 +0900 (JST) From: takamune@avrl.mei.co.jp To: FreeBSD-gnats-submit@FreeBSD.org Cc: takamune@avrl.mei.co.jp Subject: kern/47547: uvscom for SUNTAC U-Cable TypeD2 (DS96L) Message-ID: <200301271413.h0REDQa8001101@buzz.avcp.mei.co.jp>
next in thread | raw e-mail | index | archive | help
>Number: 47547 >Category: kern >Synopsis: uvscom for SUNTAC U-Cable TypeD2 (DS96L) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 27 06:20:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Kazu TAKAMUNE >Release: FreeBSD 4.7-STABLE i386 >Organization: Matsushita Electric Industrial Co., Ltd. >Environment: FreeBSD 4.7-STABLE (Mon Jan 27 22:26:21 JST) >Description: Please refine uvscom driver for an USB cable "SUNTAC U-Cable TypeD2 (DS96L)". It supports the PDC, the most major cellular phones in Japan! >How-To-Repeat: I have just checked it using 'FreeBSD 4.7-STABLE', not on any 'FreeBSD current' boxes. 1) Make the device file. # cd /dev # ./MAKEDEV ucom0 2) Rebuild and install kernel and modules. # cd /usr/src # make buildkernel # make installkernel # reboot 3) Activate usb daemon. [/etc/rc.conf] usbd_enable=YES 4) Load the uvscom module. # kldload uvscom or regist the module for bootstrap. [/boot/loader.conf] uvscom_load="YES" 5) Then, kernel proves the USB device and attach it to uvscom0. # dmesg | grep uvscom0 uvscom0: Sun Corporation SCC div. SUNTAC DS96L, rev 1.00/0.01, addr 2 uvscom0: at uhub0 port 2 (addr 2) disconnected uvscom0: detached uvscom0: Sun Corporation SCC div. SUNTAC DS96L, rev 1.00/0.01, addr 2 # usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: power 100 mA, config 1, SUNTAC DS96L(0x0003), Sun Corporation SCC div.(0x05db), rev 0.01 6) Try to talk the device directly. [ppp.conf] pdc: set device /dev/ucom0 # ppp pcpd pdc Working in interactive mode Using interface: tun0 ppp ON buzz> term deflink: Entering terminal mode on /dev/ucom0 Type `~?' for help AT OK ppp ON buzz> >Fix: Index: sys/dev/usb/usbdevs =================================================================== RCS file: /c/ncvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.11.2.32 diff -u -u -r1.11.2.32 usbdevs --- sys/dev/usb/usbdevs 11 Dec 2002 20:54:47 -0000 1.11.2.32 +++ sys/dev/usb/usbdevs 27 Jan 2003 03:43:00 -0000 @@ -1029,6 +1029,7 @@ product STSN STSN0001 0x0001 Internet Access Device /* SUN Corporation products */ +product SUNTAC DS96L 0x0003 SUNTAC U-Cable type D2 product SUNTAC PS64P1 0x0005 SUNTAC U-Cable type P1 product SUNTAC VS10U 0x0009 SUNTAC Slipper U Index: sys/dev/usb/uvscom.c =================================================================== RCS file: /c/ncvs/src/sys/dev/usb/uvscom.c,v retrieving revision 1.9.2.1 diff -u -u -r1.9.2.1 uvscom.c --- sys/dev/usb/uvscom.c 8 Aug 2002 18:45:04 -0000 1.9.2.1 +++ sys/dev/usb/uvscom.c 27 Jan 2003 12:40:10 -0000 @@ -210,6 +210,8 @@ static const struct usb_devno uvscom_devs [] = { /* SUNTAC U-Cable type P1 */ { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_PS64P1 }, + /* SUNTAC U-Cable type D2 */ + { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_DS96L }, /* SUNTAC Slipper U */ { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_VS10U }, }; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301271413.h0REDQa8001101>