1.\" Copyright (c) 2006 Takanori Watanabe. 2.\" All rights reserved. 3.\" 4.\" This code is derived from software contributed to The NetBSD Foundation 5.\" by Lennart Augustsson. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26.\" POSSIBILITY OF SUCH DAMAGE. 27.\"
| 1.\" Copyright (c) 2006 Takanori Watanabe. 2.\" All rights reserved. 3.\" 4.\" This code is derived from software contributed to The NetBSD Foundation 5.\" by Lennart Augustsson. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26.\" POSSIBILITY OF SUCH DAMAGE. 27.\"
|
28.\" $FreeBSD: head/share/man/man4/ufoma.4 154146 2006-01-09 18:56:11Z takawata $
| 28.\" $FreeBSD: head/share/man/man4/ufoma.4 154148 2006-01-09 19:07:04Z takawata $
|
29.\" 30.Dd January 10, 2006 31.Dt UFOMA 4 32.Os 33.Sh NAME 34.Nm ufoma 35.Nd USB mobile phone support 36.Sh SYNOPSIS 37.Cd "device ufoma" 38.Cd "device ucom" 39.Sh DESCRIPTION 40The 41.Nm 42driver provides support for USB mobile phone terminal in the subset of 43Mobile Computing Promotion Consortium USB Implementation Guideline, 44which is adopted by FOMA, the NTT DoCoMo 3G system, terminal. 45These are partly like CDC ACM model based modem, which is supported 46by 47.Xr umodem 4 . 48But this recognizes specific usb descriptor that describes its role and 49interface structure, and it will negotiate its role when the device is open. 50 51They support a regular AT command set. 52The commands can either be multiplexed with the data stream 53or handled through separate pipes. 54In the latter case the AT 55commands have to be given on a device separate from the data device. 56.Pp 57The device is accessed through the 58.Xr ucom 4 59driver which makes it behave like a 60.Xr tty 4 . 61 62.Sh SYSCTLS 63This device often have a few interface sets and these interfaces 64have its role, sometimes multiplexed. 65These roles are identified with following sysctl MIB. 66.Bl -tag -width indent 67.It Va dev.ucom.%d.supportmode 68The modes which is supprted by the interface. 69.It Va dev.ucom.%d.currentmode 70Current mode of the interface. 71.It Va dev.ucom.%d.openmode 72Mode to transit when the device is open next. 73.El 74The mode is as follows. 75.Bl -tag -width indent 76.It modem 77Accepts AT commands and go and pass packet communication data. 78.It handsfree 79Accepts AT commands but it does not pass data. 80.It obex 81Accepts OBEX frame which is used to exchange telephone book, etc. 82.It vendor1 83.It vendor2 84Vendor specific data may passed. 85.It deactivated 86When a interface is recognized to the system and not used, the interface 87will set to this mode. 88.It unlinked 89When a interface is not yet negotiated, the interface is in this mode. 90.El 91.Sh HARDWARE 92Devices supported by the 93.Nm 94driver include: 95.Pp 96.Bl -bullet -compact 97.It 98SHARP FOMA SH902i 99.It 100KYOCERA PHS AH-K3001V (a.k.a Kyopon) 101.El 102.Sh SEE ALSO
| 29.\" 30.Dd January 10, 2006 31.Dt UFOMA 4 32.Os 33.Sh NAME 34.Nm ufoma 35.Nd USB mobile phone support 36.Sh SYNOPSIS 37.Cd "device ufoma" 38.Cd "device ucom" 39.Sh DESCRIPTION 40The 41.Nm 42driver provides support for USB mobile phone terminal in the subset of 43Mobile Computing Promotion Consortium USB Implementation Guideline, 44which is adopted by FOMA, the NTT DoCoMo 3G system, terminal. 45These are partly like CDC ACM model based modem, which is supported 46by 47.Xr umodem 4 . 48But this recognizes specific usb descriptor that describes its role and 49interface structure, and it will negotiate its role when the device is open. 50 51They support a regular AT command set. 52The commands can either be multiplexed with the data stream 53or handled through separate pipes. 54In the latter case the AT 55commands have to be given on a device separate from the data device. 56.Pp 57The device is accessed through the 58.Xr ucom 4 59driver which makes it behave like a 60.Xr tty 4 . 61 62.Sh SYSCTLS 63This device often have a few interface sets and these interfaces 64have its role, sometimes multiplexed. 65These roles are identified with following sysctl MIB. 66.Bl -tag -width indent 67.It Va dev.ucom.%d.supportmode 68The modes which is supprted by the interface. 69.It Va dev.ucom.%d.currentmode 70Current mode of the interface. 71.It Va dev.ucom.%d.openmode 72Mode to transit when the device is open next. 73.El 74The mode is as follows. 75.Bl -tag -width indent 76.It modem 77Accepts AT commands and go and pass packet communication data. 78.It handsfree 79Accepts AT commands but it does not pass data. 80.It obex 81Accepts OBEX frame which is used to exchange telephone book, etc. 82.It vendor1 83.It vendor2 84Vendor specific data may passed. 85.It deactivated 86When a interface is recognized to the system and not used, the interface 87will set to this mode. 88.It unlinked 89When a interface is not yet negotiated, the interface is in this mode. 90.El 91.Sh HARDWARE 92Devices supported by the 93.Nm 94driver include: 95.Pp 96.Bl -bullet -compact 97.It 98SHARP FOMA SH902i 99.It 100KYOCERA PHS AH-K3001V (a.k.a Kyopon) 101.El 102.Sh SEE ALSO
|
| 103specification can be found at: 104.Pp 105http://www.nttdocomo.co.jp/corporate/technology/document/foma/index.html 106http://www.mcpc-jp.org/doclist.htm 107.Pp 108
|
103.Xr tty 4 , 104.Xr ucom 4 , 105.Xr umodem 4 , 106.Xr usb 4 107.Sh HISTORY 108The 109.Nm 110driver 111appeared in 112.Fx 7-CURRENT, partly from 113.Xr umodem 4 114code. 115.Sh BUGS 116Interfaces with multiplexed commands and data and interfaces with 117commands only are supported.
| 109.Xr tty 4 , 110.Xr ucom 4 , 111.Xr umodem 4 , 112.Xr usb 4 113.Sh HISTORY 114The 115.Nm 116driver 117appeared in 118.Fx 7-CURRENT, partly from 119.Xr umodem 4 120code. 121.Sh BUGS 122Interfaces with multiplexed commands and data and interfaces with 123commands only are supported.
|