mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update README
This commit is contained in:
parent
4034d0ad51
commit
d494b9d3ac
1 changed files with 7 additions and 2 deletions
|
|
@ -232,19 +232,24 @@ Connect automatically to latest registered serial device:
|
||||||
$ tio --auto-connect latest
|
$ tio --auto-connect latest
|
||||||
```
|
```
|
||||||
|
|
||||||
It is also possible to use exclude options to affect which serial devices are
|
It is possible to use exclude options to affect which serial devices are
|
||||||
involved in the automatic connection strategy:
|
involved in the automatic connection strategy:
|
||||||
```
|
```
|
||||||
$ tio --auto-connect new --exclude-devices "/dev/ttyACM?,/dev/ttyUSB2"
|
$ tio --auto-connect new --exclude-devices "/dev/ttyACM?,/dev/ttyUSB2"
|
||||||
```
|
```
|
||||||
|
|
||||||
Exclude drivers by pattern:
|
And to exclude drivers by pattern:
|
||||||
```
|
```
|
||||||
$ tio --auto-connect new --exclude-drivers "cdc_acm,ftdi_sio"
|
$ tio --auto-connect new --exclude-drivers "cdc_acm,ftdi_sio"
|
||||||
```
|
```
|
||||||
Note: Pattern matching supports '*' and '?'. Use comma separation to define
|
Note: Pattern matching supports '*' and '?'. Use comma separation to define
|
||||||
multiple patterns.
|
multiple patterns.
|
||||||
|
|
||||||
|
To include drivers by specific pattern simply negate the exclude option:
|
||||||
|
```
|
||||||
|
$ tio --auto-connect new --exclude-drivers !("cp2102")
|
||||||
|
```
|
||||||
|
|
||||||
Log to file with autogenerated filename:
|
Log to file with autogenerated filename:
|
||||||
```
|
```
|
||||||
$ tio --log /dev/ttyUSB0
|
$ tio --log /dev/ttyUSB0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue