~ubuntu-branches/ubuntu/utopic/usb-modeswitch/utopic-proposed

« back to all changes in this revision

Viewing changes to .pc/02_mp_correct_hyphens.patch/usb_modeswitch.1

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2010-06-23 10:43:35 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623104335-j7hqaxx1gjef6pld
Tags: 1.1.3-1
* New 1.1.3 upstream version; relevant changes:
  - Small additions in Makefile (install with -D)
    => Remove patch 01_mf_install_path.patch
  - Changes in option handling (NO MORE DEFAULT CONFIG FILE!) and help text
    => Remove that conffile on upgrade, to avoid misunderstanding.
    => Include the device_reference.txt as docs.
  - Wrapper now ignores package manager leftovers in config folder
    => Remove patch 03_filter_undesired_rules.patch
  - Replaced bash-specific syntax in wrapper
    => Remove patch 04_fix_bashism.patch

* Patches:
  + 02_mp_correct_hyphens.patch: refresh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
to initiate the mode switching.
20
20
.PP
21
21
In some cases, USB control commands are used for switching. These cases are
22
 
handled by custom functions, and no command needs to be provided.
 
22
handled by custom functions, and no bulk message needs to be provided.
23
23
.PP
24
24
Usually, the program is distributed with a set of configurations for many
25
25
known devices, which in combination with a wrapper script launched from the
63
63
Additional bulk messages to send as switching commands. Provided as hexadecimal strings.
64
64
When used with mass storage commands, setting \fB\-\-need-response\fR is
65
65
strongly advised to comply with specifications and to avoid likely errors
 
66
.IP "\fB-w\fP \fB\-\-message-delay NUM\fP         " 10
 
67
If there is more than one message content, wait for NUM milliseconds
 
68
before sending the next one. Otherwise it is ignored. Note: this will release
 
69
and reclaim the interface
66
70
.IP "\fB-n\fP \fB\-\-need-response\fP         " 10
67
 
Read the response (containing the command status) to a mass storage command
 
71
Read the response (command status wrapper) to a mass storage command
68
72
transfer.
69
73
Some devices have trouble switching if the response is not read; most
70
74
are disappearing right away. When sending multiple mass storage commands
71
75
with \fB\-2\fR and \fB\-3\fR, this must be set to avoid transfer errors
72
76
.IP "\fB-r\fP \fB\-\-response-endpoint NUM\fP         " 10 
73
77
Try to read the response to a storage command from there
74
 
if option -n is active). Only for testing purposes; usually
 
78
if option -n is active. Only for testing purposes; usually
75
79
endpoints are determined from the device attributes
76
80
.IP "\fB-d\fP \fB\-\-detach-only\fP         " 10
77
81
Detach the storage driver as the only action. This is sufficient for some
92
96
useful during testing
93
97
.IP "\fB-c\fP \fB\-\-config filename\fP         " 10 
94
98
Use a specific config file. If any ID or switching options are given as
95
 
command line parameters, no config file (default or specific) is used.
96
 
In that case all mandatory and optional parameters have to be provided on
 
99
command line parameters, this option is ignored.
 
100
In that case all mandatory parameters have to be provided on
97
101
the command line
98
102
.IP "\fB-Q\fP \fB\-\-quiet\fP         " 10 
99
103
Don't show progress or error messages 
113
117
This is not needed for devices that are known and supported 
114
118
.IP "\fB-i\fP \fB\-\-interface NUM\fP         " 10 
115
119
Select initial USB interface (default: 0). Only for testing purposes
116
 
.IP "\fB-u\fP \fB\-\-configuration NUM\fP         " 10 
 
120
.IP "\fB-u\fP \fB\-\-configuration NUM\fP         " 10
117
121
Select USB configuration (applied after switching). Mainly for testing
118
 
.IP "\fB-a\fP \fB\-\-altsetting NUM\fP         " 10 
 
122
.IP "\fB-a\fP \fB\-\-altsetting NUM\fP         " 10
119
123
Select alternative USB interface setting (applied after switching). Mainly
120
124
for testing
121
125
.SH "AUTHOR" 
130
134
The complete text of the current GNU General Public
131
135
License can be found in http://www.gnu.org/licenses/gpl.txt
132
136
 
133
 
.\" last edited 2010-04-03
 
137
.\" last edited 2010-06-21