Package Details: brscan-skey 0.2.4_1-12

Git Clone URL: https://aur.archlinux.org/brscan-skey.git (read-only)
Package Base: brscan-skey
Description: Brother scan-key-tool
Upstream URL: http://support.brother.com/g/s/id/linux/en
Licenses: custom:brother
Submitter: leidola
Maintainer: 12qu
Last Packager: 12qu
Votes: 61
Popularity: 0.001795
First Submitted: 2009-01-27 20:05
Last Updated: 2016-05-11 11:46

Dependencies (4)

Required by (27)

Sources (5)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Anonymous comment on 2015-02-01 09:29

Since one of the recent system-updates this application cannot initiate a scan.

Pressing "Scan to File" on my Brother DCP585CW (connected via WiFi) results in starting the script "scantofile-0.2.4.1-sh" with the following arguments: brother3:net1;dev0 DCP-585CW

Within this script scanning is started by:
scanimage --device-name "$device" --resolution $resolution > "$output_file"
which is resolved to:
scanimage --device-name "brother3:net1;dev0" --resolution 150 > "/tmp/testfile.pnm"

But the scanimage command failes with:
scanimage: open of device brother3:net1;dev0 failed: Invalid argument

This happens when I use the "systemctl --user start brscan-skey.service"-Daemon OR launch brscan-skey manually as a normal user (which automatically forks to background).

BUT: When I launch either script or the scanimage-command with exactly the same parameters as mentioned (and as the same user), the scan succeeds!


Any Suggestions?

jellysheep commented on 2014-08-25 06:21

@12qu: Oh, I did not consider a scan server scenario.
This is just great, and it works fine, thank you very much!

12qu commented on 2014-08-25 00:08

@jellysheep OK, here is what I have done:

1. Added a `brscan-skey.service` file in `/usr/lib/systemd/user/brscan-skey.service` so you can start via `systemctl --user`.
2. Created a `brscan-skey` user during installation and made the system-wide `brscan-skey.service` run as this user. This allows more fine-grained control over the permissions that the daemon has in cases where it is not possible to run on a per-user basis, e.g. when using this program on a scan server.

Please let me know if everything works for you.

jellysheep commented on 2014-08-24 19:13

Hi, thanks for your reply.
I'm sorry I expressed myself in an ambiguous way. The "user" and "group" field values just were examples, and depend on each system's configuration. You would have to adapt the values to your system settings (if your username is "foo" you have to put "foo" in the systemd service file, or generally use "1000" and hope that all users use this UID, which is not portable). I did not know how to run a systemd service as a specific user without these fields, however.
After a look at [1] apparently you can just omit the "user" and "group" fields, and install the service file to /usr/lib/systemd/user/brscan-skey.service instead of /usr/lib/systemd/system/brscan-skey.service, so you can start (or enable) it like that, as a regular user without sudo:
$ systemctl --user start brscan-skey

[1] https://wiki.archlinux.org/index.php/Systemd/User

12qu commented on 2014-08-24 07:17

@jellysheep Done, apologies for the delay in getting around to it. Let me know if you have any other issues or suggestions.

jellysheep commented on 2014-08-07 15:28

Hi, it is great that this tool can be started using systemd now, thanks!
Could you please update the [Service] section so that it starts as regular user, and does not save files as root? Like this:

[Service]
User=admin
Group=users
...

12qu commented on 2014-07-27 07:06

A note to any watchers that I've uploaded a new version containing a systemd file "brscan-skey.service" which can be use to start/enable this tool more conveniently than before.

I've also written some general documentation about how to use this tool in the wiki. See here: https://wiki.archlinux.org/index.php/Sane#Scan-key-tool

12qu commented on 2014-07-21 01:30

@louipc Done, thanks.

louipc commented on 2014-07-17 15:30

Please update url to http://support.brother.com/g/s/id/linux/en

12qu commented on 2013-07-09 09:10

Updated for version 0.2.4-1.