Skip to content

Commit

Permalink
Mention USB device permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
n-st committed Sep 5, 2024
1 parent a98ab4f commit 636881a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ You can pass this character device into the Docker container and omit the
`PHOMEMO_BT_MAC` setting to make phomemer use the USB connection.
(`PHOMEMO_BT_MAC` takes precedence over USB if it is specified!).

This requires that the Docker user has sufficient permission to write to
`/dev/usb/lp0` — assign the correct group membership or modify the character
device's permissions through a udev rule if not.

`--net=host` is still required here to allow you/your users to access phomemer
through a well-known port on the Docker host's localhost.

Expand Down

0 comments on commit 636881a

Please sign in to comment.