xref: /netbsd-src/share/man/man4/uhso.4 (revision b1c86f5f087524e68db12794ee9c3e3da1ab17a0)
1.\" $NetBSD: uhso.4,v 1.2 2010/03/06 22:00:22 wiz Exp $
2.\"
3.\" Copyright (c) 2009 Iain Hibbert
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.Dd March 6, 2010
27.Dt UHSO 4
28.Os
29.Sh NAME
30.Nm uhso
31.Nd Option N.V. Wireless WAN modem driver
32.Sh SYNOPSIS
33.Cd "uhso*	at uhub? port ?"
34.Sh HARDWARE
35The
36.Nm
37driver supports at least the following adapters:
38.Lp
39.Bl -tag -compact -offset indent
40.It GlobeSurfer HSUPA
41.It GlobeSurfer iCON 7.2
42.It GlobeTrotter Express 40x
43.It GlobeTrotter Express HSUPA
44.It GlobeTrotter HSUPA
45.It GlobeTrotter Max HSDPA
46.It GlobeTrotter Module 382
47.It GlobeTrotter iCON 225
48.It GlobeTrotter iCON 321
49.It GlobeTrotter iCON 322
50.It GlobeTrotter iCON 401
51.It GlobeTrotter iCON 505
52.It GlobeTrotter iCON EDGE
53.El
54.Sh DESCRIPTION
55The
56.Tn Option N.V.
57modems appear at first as a
58.Xr umass 4
59device containing the
60.Tn Windows
61and
62.Tn MacOS
63drivers and, upon receipt of a SCSI
64.Qq REZERO UNIT
65command, will detach from the USB bus and reattach as a
66Wireless WAN modem.
67Unless disabled by clearing the
68.Xr sysctl 8
69variable
70.Dv hw.uhso.autoswitch ,
71the driver will handle that automatically.
72.Pp
73The modems provide a number of IO channels spread over several USB
74interfaces which are mapped by function to a standard port number
75in each driver instance.
76The defined channels are:
77.Lp
78.Bl -column -offset indent "Sy Channel Name" "Sy Port"
79.It Sy "Channel Name" Ta Sy "Port"
80.It Control Ta 0
81.It Diagnostic Ta 1
82.It Diagnostic 2 Ta 2
83.It Application Ta 3
84.It Application 2 Ta 4
85.It GPS Ta 5
86.It GPS Control Ta 6
87.It PC Smartcard Ta 7
88.It Modem Ta 8
89.It MSD Ta 9
90.It Voice Ta 10
91.It Network Ta 11
92.El
93.Pp
94Apart from the Network port, which is attached as a network
95interface, the ports are attached as
96.Xr tty 4
97devices using the port number as the minor device number.
98.Pp
99Before the Network port can be used, the modem needs to
100be placed in connected mode and network settings subsequently
101retrieved using the proprietary
102.Qq _OWANCALL
103and
104.Qq _OWANDATA
105AT commands on the Control port.
106.Pp
107Note that the Modem and Network ports should not be enabled at the
108same time for USB performance reasons.
109.Sh FILES
110.Bl -tag -compact
111.It Pa /dev/ttyHS?.??
112.It Pa /dev/dtyHS?.??
113.It Pa /dev/ctyHS?.??
114.El
115.Sh SEE ALSO
116.Xr intro 4 ,
117.Xr netintro 4 ,
118.Xr tty 4 ,
119.Xr uhub 4 ,
120.Xr usb 4 ,
121.Xr ifconfig 8
122.Sh HISTORY
123This driver originated as the
124.Nm hso
125module for
126.Fx
127written by
128.An Frederik Lindberg .
129It was rewritten for
130.Nx ,
131and to provide more complete device support with
132information extracted from the
133.Nm hso
134driver for
135.Tn Linux
136provided by
137.Tn Option N.V.
138.Pp
139The rewrite and this manual page by
140.An Iain Hibbert .
141