summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_msctest.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2010-10-06 14:29:00 +0000
committerglebius <glebius@FreeBSD.org>2010-10-06 14:29:00 +0000
commitff60b600fd22ef1399e00ce49fd2f33d709f10f7 (patch)
treec32765ccd19abee6d78d5dad1d28e0175cb341e2 /sys/dev/usb/usb_msctest.h
parentce0838f76027fe60b391104523d17c8dc66b0f8a (diff)
downloadFreeBSD-src-ff60b600fd22ef1399e00ce49fd2f33d709f10f7.zip
FreeBSD-src-ff60b600fd22ef1399e00ce49fd2f33d709f10f7.tar.gz
Add support to Alcatel/TCTMobile X080S USB 3G modem. The device needs
special eject command to reappear as modem. It also requires DIR_IN flag in the command message, so we supply some dummy data along with the command. Feedback from X080S owners appreciated. I have not a pure Alcatel/TCTMobile device, but another one under "Svyaznoy" (Связной) brand, and I didn't yet managed to get it working. It is successfully recognized, it responds to AT commands, but it shuts up right after successfull CONNECT response. Reviewed by: hps
Diffstat (limited to 'sys/dev/usb/usb_msctest.h')
-rw-r--r--sys/dev/usb/usb_msctest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_msctest.h b/sys/dev/usb/usb_msctest.h
index ce763df..807d5f5 100644
--- a/sys/dev/usb/usb_msctest.h
+++ b/sys/dev/usb/usb_msctest.h
@@ -33,6 +33,7 @@ enum {
MSC_EJECT_ZTESTOR,
MSC_EJECT_CMOTECH,
MSC_EJECT_HUAWEI,
+ MSC_EJECT_TCT,
};
int usb_iface_is_cdrom(struct usb_device *udev,
OpenPOWER on IntegriCloud