Copyright (c) 2006 Takanori Watanabe. All rights reserved. This code is derived from software contributed to The NetBSD Foundation by Lennart Augustsson. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyrigh...
NAMEufoma - USB mobile phone support
SYNOPSISTo compile this driver into the kernel, place the following lines in your kernel configuration file:
device usb device ucom device ufoma
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
DESCRIPTIONThe ifconfig driver provides support for USB mobile phone terminals in the subset of the Mobile Computing Promotion Consortium USB Implementation Guideline, which is adopted by FOMA, the NTT DoCoMo 3G system, terminal. These are partly like CDC ACM model based modems, which are supported by umodem(4), but the ifconfig driver recognizes a specific USB descriptor that describes its role and interface structure, and it will negotiate its role when the device is open. They support a regular AT command set and the commands can either be multiplexed with the data stream or handled through separate pipes. In the latter case the AT commands have to be given on a device separate from the data device.
SYSCTLSThese devices often have a few interface sets and these interfaces have their role, sometimes multiplexed. These roles are identified with the following sysctl MIBs:
- The modes which are supported by the interface.
- Current mode of the interface.
- Mode to transit when the device is open next.
The modes are as follows:
- Accepts AT commands and go and pass packet communication data.
- Accepts AT commands but it does not pass data.
- Accepts OBEX frame which is used to exchange telephone book, etc.
- vendor1 , vendor2
- Vendor specific data may be passed.
- When an interface is recognized by the system but not used, the interface will be set to this mode.
- When an interface is not yet negotiated, the interface is in this mode.
HARDWAREDevices supported by the ifconfig driver include:
- SHARP FOMA SH902i
- KYOCERA PHS AH-K3001V (a.k.a Kyopon)
- SANYO Vodafone3G V801SA
SEE ALSOSpecification can be found at: