| 192 |
- |
1 |
# Configuration for the usb_modeswitch package, a mode switching tool for
|
|
|
2 |
# USB devices providing multiple states or modes
|
|
|
3 |
#
|
|
|
4 |
# Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher
|
|
|
5 |
#
|
|
|
6 |
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
|
|
|
7 |
# Everything else counts as "disable"
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
# Disable automatic mode switching globally (e.g. to access the original
|
|
|
11 |
# install storage)
|
|
|
12 |
|
|
|
13 |
DisableSwitching=0
|
|
|
14 |
|
|
|
15 |
# Disable check for MBIM module presence and configuration globally (to aid
|
|
|
16 |
# special embedded environments). Available as per-device parameter
|
|
|
17 |
# 'NoMBIMCheck'
|
|
|
18 |
|
|
|
19 |
DisableMBIMGlobal=0
|
|
|
20 |
|
|
|
21 |
# Enable logging (results in a extensive report file in /var/log, named
|
|
|
22 |
# "usb_modeswitch_<interface-name>" and probably others
|
|
|
23 |
|
|
|
24 |
EnableLogging=0
|
|
|
25 |
|
|
|
26 |
# Optional increase of "delay_use" for the usb-storage driver; there are hints
|
|
|
27 |
# that a recent kernel default change to 1 sec. may lead to problems, particu-
|
|
|
28 |
# larly with USB 3.0 ports. Set this to at least 3 (seconds) in that case.
|
|
|
29 |
# Does nothing if the current system value is same or higher
|
|
|
30 |
|
|
|
31 |
#SetStorageDelay=4
|
|
|
32 |
|
|
|
33 |
# If the configuration for your Huawei modem uses the standard switching method,
|
|
|
34 |
# you can globally set an alternative method here which provides a different mode:
|
|
|
35 |
# either plain serial PPP (for older modems) or NCM which integrates nicely
|
|
|
36 |
# with recent Linux distributions, possibly avoiding configuration through a
|
|
|
37 |
# modem built-in web page. All other modems are not affected.
|
|
|
38 |
# Available as per-device parameter 'AltHuaweiMode'
|
|
|
39 |
|
|
|
40 |
HuaweiAltModeGlobal=0
|