Package Details: brscan-skey 0.3.1_2-2

Git Clone URL: (read-only, click to copy)
Package Base: brscan-skey
Description: Brother scan-key-tool
Upstream URL:
Keywords: brother scan
Licenses: custom:brother
Submitter: leidola
Maintainer: 0x2501
Last Packager: 0x2501
Votes: 69
Popularity: 0.008798
First Submitted: 2009-01-27 20:05 (UTC)
Last Updated: 2022-05-19 16:07 (UTC)

Latest Comments

trumee commented on 2022-02-17 03:37 (UTC) (edited on 2022-02-17 03:38 (UTC) by trumee)

I am trying to use this in an LXD container (both host and container are on ArchLinux). Unfortunately, the computer is unable to register with the printer. Sniffing using tcpdump shows that the ip address of the computer is not set in the snmp request.

In the send request "HOST=:54925" should actually be "HOST="

#/opt/brother/scanner/brscan-skey/brscan-skey -l


The printer simply replies with badValue@1


Is there any other package needed on Arch for the query to work correctly?


bobpaul commented on 2021-12-18 17:10 (UTC)

@Jack1221 @dszryan Here is a patch that updates the package to 0.3.1_2 and fixes the install script so there aren't errors in the install. Because of the changes Brother made in how they package 0.3.0, this should be a lot smoother moving forward. There's no way to get rid of the brscan_mail.config conflict; that file was created/removed by Brother's install script, but that no longer exists and now package properly owns all files. pacman detects the file conflict before it runs the upgrade script, so we can't fix this via the .install file. I also added brscan-skey to the path so users can more easily follow Brother's documentation on their support page.

bobpaul commented on 2021-12-18 15:36 (UTC)


Have you installed and configured the appropriate brscan2, brscan3, brscan4, or brscan5 as required by your scanner?

You can get help output from brscan-skey with /opt/brother/scanner/brscan-skey/brscan-skey -h 2. The is required or it doesn't provide any help output. If you have the correct brscan package installed and configured, /opt/brother/scanner/brscan-skey/brscan-skey --debug or /opt/brother/scanner/brscan-skey/brscan-skey --list might offer some insight.

bennypr0fane commented on 2021-12-18 12:41 (UTC)

@bobpaul I already enabled service autostart with systemctl and it's running but issuing the command still does nothing

bobpaul commented on 2021-12-18 05:01 (UTC)

@bennypr0fane the brscan-skey utility isn't installed into the path at all. Either start it with systemctl as shown during install or look at pacman -Ql brscan-skey for the full path if you want to start it manually.

Make sure you have the appropriate brscan package from AUR installed and configured, or brscan-skey won't work.

Here's a PKGBUILD with 0.3.1-2. Note it throws some errors on install (see comments below), but otherwise works. But 0.2.4-1 also works just fine, despite being out of date:

bennypr0fane commented on 2021-12-01 15:13 (UTC)

When calling brscan-skey in the terminal, I get "command not found" BTW the latest version is now brscan-skey-0.3.1-2, Maybe this one will work.

Arvedui commented on 2020-09-30 14:54 (UTC)

When decreasing the version of a package you should also increase the epoch variable. Otherwise aur helpers, and pacman, will think the older, but higher, version is newer.

Jack1221 commented on 2020-09-21 14:57 (UTC)

Reverted to 2.4_1. Sorry for the trouble, but I cannot seem to get the new package to work. Again, sorry!

sekret commented on 2020-09-21 08:17 (UTC) (edited on 2020-09-21 09:49 (UTC) by sekret)

After moving the file /opt/brother/scanner/brscan-skey/brscan_mail.config so the package can be installed I get

/tmp/alpm_oeM7NG/.INSTALL: line 26: /opt/brother/scanner/brscan-skey/ No such file or directory

And in /opt/brother/scanner/brscan-skey/brscan_mail.config there's the line


which looks odd and was


in the previous version.

herve commented on 2020-09-21 08:16 (UTC)

I came here for that conflict error, yet no package claims that file.

Maybe it's safe to force install?

dmshimself commented on 2020-09-21 05:51 (UTC)

I also get the error brscan-skey: /opt/brother/scanner/brscan-skey/brscan_mail.config exists in filesystem

smendez commented on 2020-09-21 03:53 (UTC) (edited on 2020-09-21 03:53 (UTC) by smendez)

I got the following error when upgrading this latest package (0.3.1_1-1):

error: failed to commit transaction (conflicting files) brscan-skey: /opt/brother/scanner/brscan-skey/brscan_mail.config exists in filesystem Errors occurred, no packages were upgraded.

Jack1221 commented on 2020-09-21 00:03 (UTC)

To any users, please reply here with any problems or lack thereof with the new update (0.2.4_1 -> 0.3.1_1). It is a big jump and some of the code base changed.

Zesko commented on 2020-07-06 10:21 (UTC) (edited on 2020-07-06 10:49 (UTC) by Zesko)

This version 0.2.4_1 is old. Can you update new version 0.3.1-1, 64 bit?


sbechet commented on 2019-06-18 20:26 (UTC) (edited on 2019-06-18 20:28 (UTC) by sbechet)

You must add brscan-skey to lp like gpasswd -a brscan-skey lp then brscan-skey.service will work (see udev config rules).

ForgotUmbrella commented on 2017-06-10 05:20 (UTC) (edited on 2017-06-10 05:20 (UTC) by ForgotUmbrella)

I am unable to start the brscan-skey service. $ systemctl status brscan-skey ● brscan-skey.service - Brother scan-key-tool Loaded: loaded (/usr/lib/systemd/system/brscan-skey.service; enabled; vendor preset: disabled) Active: failed (Result: signal) since Sat 2017-06-10 14:25:45 AEST; 11min ago Process: 17025 ExecStop=/opt/brother/scanner/brscan-skey/brscan-skey --terminate (code=exited, status=0/SUCCESS) Process: 281 ExecStart=/opt/brother/scanner/brscan-skey/brscan-skey (code=exited, status=0/SUCCESS) Main PID: 290 (code=killed, signal=SEGV) CPU: 593ms Jun 10 11:14:00 nitori systemd[1]: Starting Brother scan-key-tool... Jun 10 11:14:00 nitori systemd[1]: Started Brother scan-key-tool. Jun 10 14:25:45 nitori systemd[1]: brscan-skey.service: Main process exited, code=killed, status=11/SEGV Jun 10 14:25:45 nitori systemd[1]: brscan-skey.service: Unit entered failed state. Jun 10 14:25:45 nitori systemd[1]: brscan-skey.service: Failed with result 'signal'.

simeonfelis commented on 2017-02-03 10:43 (UTC)

Something is missing: root@pandora ~ # LANG=C /opt/brother/scanner/brscan-skey/brscan-skey --reset 2 sh: /opt/brother/scanner/brscan-skey/ No such file or directory root@pandora ~ # ls -l /opt/brother/scanner/brscan-skey/ insgesamt 124 -rw-r--r-- 1 root root 99 9. Jul 2016 brscan_mail.config -rw-r--r-- 1 root root 51 9. Jul 2016 brscan_mailmessage.txt -rwxr-xr-x 1 root root 1160 9. Jul 2016 brscan-skey -rwxr-xr-x 1 root root 92240 9. Jul 2016 brscan-skey-0.2.4-0 -rw-r--r-- 1 root root 312 9. Jul 2016 brscan-skey-0.2.4-0.cfg -rwxr-xr-x 1 root root 11779 9. Jul 2016 drwxr-xr-x 2 root root 4096 17. Sep 15:22 script No in this directory. Let's create a symlink: root@pandora ~ # cd /opt/brother/scanner/brscan-skey/ root@pandora /opt/brother/scanner/brscan-skey # ln -s root@pandora /opt/brother/scanner/brscan-skey # LANG=C /opt/brother/scanner/brscan-skey/brscan-skey --reset 2 --> no error, but I don't know what it actually does.

Harvey commented on 2016-11-18 08:12 (UTC) (edited on 2016-11-18 08:13 (UTC) by Harvey)

@DesertWolf29: You will have to edit the Scanto* scripts the package brscan-skey provides to your needs. See /opt/brother/scanner/brscan-skey/script/ See Or you try to scan directly from GIMP.

DesertWolf29 commented on 2016-11-17 20:20 (UTC)

Hello! I am able to install it and my scanner is able to see my computer and scan, however, after it finishes scanning with scan to image GIMP will not open showing the scanned image. I know the behaviour is for the scanner to connect and send the image to GIMP and you can edit it from there however it will not do this...

timofonic commented on 2016-04-28 14:43 (UTC)

WHat about this alternative? It's fully open source and requires Python, but maybe that code can be replaced too if someone is able to.

Falkenber9 commented on 2015-07-27 13:49 (UTC)

Changed Username "robert.r" -> Falkenber9 All issues are fixed, works like a charm. Thank you!

12qu commented on 2015-06-30 10:29 (UTC)

I have uploaded a new release, and I believe all issues are now fixed. I will also create a package in AUR 4 imminently. Apologies for the delay in getting around to this. Specific replies to your comments: @DonHugo Thanks for that, I've fixed the link. @robert.r I never got an "Invalid argument" error due to _this_ package, but I did get that error due to some bug in Brother's `brscan3` SANE driver (which I figure you're also using if you have a DCP-585CW) that caused the scan to fail when the device was plugged into a USB 3.0 port. This issue seems to have been fixed in the latest release 0.2.13-1 of `brscan3`, although weirdly this release isn't advertised as the latest on Brother's scanner driver download page (, and the AUR package for `brscan3` still uses 0.2.11-5 by default. However, there is a comment on the AUR `brscan3` page that shows how to obtain the latest version which worked for me. However, for precisely the reasons you give in your most recent comment, I do get a "Permission denied" (or something like) error as a result of this package. I didn't notice this previously because I do not use Brother's default scan scripts (`` etc.), but I have fixed this issue in the latest release for people who do. Now installation will create `/srv/brscan-skey` as the home directory of the `brscan-skey` user (which the daemon is run as), and all files created by Brother's default scripts should end up in here. Please let me know if you have any other issues or suggestions.

commented on 2015-04-25 09:20 (UTC)

Got the solution for the "Invalid argument" Problem: launches the application as user "brscan-skey", not as root and not your username. When I looked into the scripts (e.g. /opt/brother/scanner/brscan-skey/script/, these try to create a directory "~/brscan" the home-directory of user "brscan-skey" to store the images. But it's home is set to "/", so it fails because of a permission error. As a quick-and-dirty workaround I manually created a "/brscan" directory and set "brscan-skey" as owner for this folder. After that scanning works. But as a clean solution there needs to be a better fix.

DonHugo commented on 2015-04-18 07:41 (UTC)

Source Url needs to be changed from to

commented on 2015-02-01 09:29 (UTC)

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-" 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 (UTC)

@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 (UTC)

@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 (UTC)

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]

12qu commented on 2014-08-24 07:17 (UTC)

@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 (UTC)

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 (UTC)

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:

12qu commented on 2014-07-21 01:30 (UTC)

@louipc Done, thanks.

louipc commented on 2014-07-17 15:30 (UTC)

Please update url to

12qu commented on 2013-07-09 09:10 (UTC)

Updated for version 0.2.4-1.

12qu commented on 2013-04-22 15:03 (UTC)

I think that's occurring because you're pre-upgrade version was from before Brother's move from /usr/local to /opt. I've uploaded a new tarball that should avoid this for future upgraders from pre-0.2.3, and, dk0r, any files in /usr/local/Brother/sane/script which may be lingering you can safely delete.

dk0r commented on 2013-04-22 13:36 (UTC)

pkg seems to have installed but received following error during 0.2.4_0-1 update:

12qu commented on 2013-04-20 02:26 (UTC)

Done, I'll maintain it for now.

deluminathor commented on 2013-04-19 22:37 (UTC)

I'm not able to maintain this package any longer, so I orphaned it. Feel free to take it over.

12qu commented on 2013-04-14 12:24 (UTC)

So makepkg wants a package() function in PKGBUILD's these days, and since my previous patch I made a couple of other minor improvements too. I've put everything together in a git repo here: . You may get an error when installing the package built from the above due to there already being a /usr/bin/brscan-skey in your filesystem. This is because the previous brscan-skey.install file created that symlink after the package was built (one of the reasons I've redone my patch), so just do `# rm /usr/bin/brscan-skey' and retry. (If you don't know what to do with a git repo, its simple: just run `git clone'. This will create a brscan-skey folder in your current directory which is then ready for you to run makepkg in.)

dhead666 commented on 2013-03-09 19:30 (UTC)

Thanks beuth, I can confirm this patch work for me also.

commented on 2012-12-12 20:37 (UTC)

New Version 0.2.4 : I updated 12qu's patch which works well for me

12qu commented on 2012-06-05 13:54 (UTC)

Package does not install properly after Brother's upgrade to version 0.2.3. This patch fixed things for me.

louipc commented on 2011-04-09 16:15 (UTC)

You can omit the extraction steps by fetching the rpm instead. Makepkg will use bsdtar to automatically extract the rpm.

deluminathor commented on 2010-05-02 15:36 (UTC)

I've refined PKGBUILD, it should work now with your script.

jdarnold commented on 2010-04-28 15:31 (UTC)

This package has the same problem as the brscan3 package when run on Arch64 and using an AUR script like bauerbill. If the i386 Source is downloaded, it leaves 2 deb files, breaking the 'ar *.deb' found in the PKGBUILD.