1 .\" $NetBSD: ukyopon.4,v 1.7 2005/05/18 15:05:26 wiz Exp $
3 .\" Copyright (c) 2005 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd Kyocera AIR-EDGE PHONE support
37 .Cd "ukyopon* at uhub?"
38 .Cd "ucom* at ukyopon? portno ?"
44 driver provides support for Kyocera AIR-EDGE PHONE AH-K3001V.
46 Two units of this driver attach to an AIR-EDGE PHONE:
47 the modem port and the data transfer port.
48 The modem port is compatible to
50 and can be used for dialup connections.
51 The data transfer port is for reading and writing internal storage
54 Both devices are accessed through the
56 driver which makes them behave like a
59 The manipulation of the internal storage is through external programs,
61 .Pa pkgsrc/comms/kyopon
70 .Bl -tag -width XXXXXX
71 .It Dv UKYOPON_IDENTIFY Fa struct ukyopon_identify
72 Read, from the kernel, the identification information of the device,
73 useful to assure that the opened device node is
74 a modem or a data transfer port of
78 struct ukyopon_identify {
79 char ui_name[16]; /* driver name */
81 int ui_busno; /* usb bus number */
82 uint8_t ui_address; /* device address */
86 } ui_model; /* possibly future use */
89 UKYOPON_PORT_MODEM, /* modem port */
90 UKYOPON_PORT_DATA /* data transfer port */
91 } ui_porttype; /* port type */
92 int ui_rsvd1, ui_rsvd2;
94 #define UKYOPON_NAME "ukyopon"
99 field contains the driver signature, and has the string
106 bus number to which the device is connected;
109 field contains the address of the device in the bus.
110 These fields are useful to identify the physical device
111 from the file descriptor.
115 field contains the type of device:
116 .Dv UKYOPON_PORT_MODEM
117 means the device is associated to the modem port, and
118 .Dv UKYOPON_PORT_DATA
119 means the device is associated to the data transfer port.
121 Other fields are reserved for future extension and cleared to zeros.
136 .Pa pkgsrc/comms/kyopon
145 is a widely-used nickname of Kyocera AIR-EDGE PHONE.