Skip to content

Commit

Permalink
Add documentation for user specific modes.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
  • Loading branch information
Tomin1 committed Jun 3, 2020
1 parent 3993ba3 commit 7b5d0b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/usb_moded-doc.txt
Expand Up @@ -110,6 +110,11 @@ Also the default usb mode can be configured there. For example:

[usbmode]
mode = ask
mode_100001 = charging

This says that default mode for user with uid 100001 is charging and other users default to mode ask.
Modes with uid are only used when built with --enable-sailfish-access-control and
only users with uid higher than 100000 and lower or equal to 999999 can have user specific usb modes.

The other settings and config dirs will be handled later in the appsync and dynamic modes part.
(This is optional and can be compiled out)
Expand Down

0 comments on commit 7b5d0b6

Please sign in to comment.