Skip to content

Commit

Permalink
Update docs for getting logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbs20 committed Nov 17, 2023
1 parent bfc2c72 commit fd0da29
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/04-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ does not work, then neither does `scanimage`.
permissions and `udev` rules or
* a network device, in which case you need a network route

## Getting logs

Use `journalctl`. See the journalctl manpage for details but the following
should be enough to get you started.

```sh
sudo journalctl -e -u scanservjs
```

## Verify connectivity

* Try running `scanimage -L`. You should see something like:
Expand Down Expand Up @@ -67,11 +76,6 @@ Most likely you need a udev rule, but also verify group membership.

* Verify `scanservjs` is in the `scanner` group: `groups scanservjs`.

## Getting logs

Getting logs: use `journalctl`. See the journalctl manpage for details but
`sudo journalctl -e -u scanservjs` should be enough to get you started.

## scanimage: sane_read: Invalid argument

This is a problem with SANE rather than scanservjs. It usually signifies a
Expand Down

0 comments on commit fd0da29

Please sign in to comment.