1 .\" Copyright (c) 2006 Takanori Watanabe.
2 .\" All rights reserved.
4 .\" This code is derived from software contributed to The NetBSD Foundation
5 .\" by Lennart Augustsson.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
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.
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.
35 .Nd USB mobile phone support
42 driver provides support for USB mobile phone terminal in the subset of
43 Mobile Computing Promotion Consortium USB Implementation Guideline,
44 which is adopted by FOMA, the NTT DoCoMo 3G system, terminal.
45 These are partly like CDC ACM model based modem, which is supported
48 But this recognizes specific usb descriptor that describes its role and
49 interface structure, and it will negotiate its role when the device is open.
51 They support a regular AT command set.
52 The commands can either be multiplexed with the data stream
53 or handled through separate pipes.
54 In the latter case the AT
55 commands have to be given on a device separate from the data device.
57 The device is accessed through the
59 driver which makes it behave like a
63 This device often have a few interface sets and these interfaces
64 have its role, sometimes multiplexed.
65 These roles are identified with following sysctl MIB.
66 .Bl -tag -width indent
67 .It Va dev.ucom.%d.supportmode
68 The modes which is supprted by the interface.
69 .It Va dev.ucom.%d.currentmode
70 Current mode of the interface.
71 .It Va dev.ucom.%d.openmode
72 Mode to transit when the device is open next.
74 The mode is as follows.
75 .Bl -tag -width indent
77 Accepts AT commands and go and pass packet communication data.
79 Accepts AT commands but it does not pass data.
81 Accepts OBEX frame which is used to exchange telephone book, etc.
84 Vendor specific data may passed.
86 When a interface is recognized to the system and not used, the interface
87 will set to this mode.
89 When a interface is not yet negotiated, the interface is in this mode.
92 Devices supported by the
100 KYOCERA PHS AH-K3001V (a.k.a Kyopon)
103 specification can be found at:
105 http://www.nttdocomo.co.jp/corporate/technology/document/foma/index.html
106 http://www.mcpc-jp.org/doclist.htm
118 .Fx 7-CURRENT, partly from
122 Interfaces with multiplexed commands and data and interfaces with
123 commands only are supported.