Search Criteria
Package Details: brscan4 0.4.11_1-5
Package Actions
| Git Clone URL: | https://aur.archlinux.org/brscan4.git (read-only, click to copy) |
|---|---|
| Package Base: | brscan4 |
| Description: | SANE drivers from Brother for compatible models |
| Upstream URL: | http://support.brother.com |
| Keywords: | scanner |
| Licenses: | GPL, custom:brother |
| Submitter: | Harvey |
| Maintainer: | Harvey |
| Last Packager: | Harvey |
| Votes: | 177 |
| Popularity: | 0.93 |
| First Submitted: | 2011-08-01 08:43 (UTC) |
| Last Updated: | 2026-04-02 19:35 (UTC) |
Dependencies (2)
- sane (sane-gitAUR)
- gtk2AUR (gtk2-patched-filechooser-icon-viewAUR, gtk2-ng-gitAUR, gtk2-ng-gitAUR) (optional) – for using brscan_gnetconfig
Required by (71)
- brother-dcp-b7500d (optional)
- brother-dcp-j752dw (optional)
- brother-dcp-l2500d (optional)
- brother-dcp-t780dw (optional)
- brother-dcp1510 (optional)
- brother-dcp1610w (optional)
- brother-dcp1618w (optional)
- brother-dcp7057
- brother-dcp7057 (optional)
- brother-dcp7070dw-cups (optional)
- brother-dcp7090dw (optional)
- brother-dcp7180dn (optional)
- brother-dcp9017cdw (optional)
- brother-dcpj525w
- brother-dcpj562dw (optional)
- brother-dcpj572dw (optional)
- brother-dcpj785dw (optional)
- brother-dcpj925dw (optional)
- brother-dcpj987n-cups-bin (optional)
- brother-dcpl2510d (optional)
- Show 51 more...
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 25 Next › Last »
ettavolt commented on 2021-04-17 06:46 (UTC) (edited on 2021-04-17 07:00 (UTC) by ettavolt)
@markuschaaf, the setup with rules adding 'scanner' group is package-specific. Sane's way is to add libsane_matched=yes to scanner devices and let some 'base' rule to react to this env. Particularly, /usr/lib/udev/rules.d/66-saned.rules runs /usr/bin/setfacl -m g:saned:rw $env{DEVNAME} for these.
You should probably tweak your service launchers to start under 'saned' group instead of 'scanner'.
Alternatively, add a copy of that rule in, say, /etc/udev/rules.d/66-scanner.rules with 'saned' group replaced by 'scanner'.
Note: both tweaks will leave all scanners (not just those supported by brscan4) equally accessible.
egrupled commented on 2021-04-16 18:19 (UTC) (edited on 2021-04-16 19:21 (UTC) by egrupled)
Group based permission management is deprecated in Arch and repo packages are moving away from it. It's hard to blame AUR package for doing exactly the same what repo package did. It's more a standard than a fashion. One of the points of systemd dynamic permission model is to differentiate between local and remote user permissions. Users are free to modify this behavior as they wish.
markuschaaf commented on 2021-04-16 15:41 (UTC)
What's the purpose of using hwdb, besides "because you can"? Supporting the scanner group has a real world use case: I can use the scanner from other services beside saned and over ssh, which is what I do. Now the package is broken for me and I have to roll my own. The udev-rules I had sent @Harvey worked for everyone. I don't know what's the reason for those commenters here pushing their unjustified but fashionable ideas.
ettavolt commented on 2021-04-14 12:27 (UTC) (edited on 2021-04-14 12:28 (UTC) by ettavolt)
Sorry, still didn't manage to bring my Arch installation to the device.
I can say that systemd-udevd accepts the new file at least.
Harvey commented on 2021-04-14 10:42 (UTC)
Ok, although I am not fully convinced yet I made up my mind to sync with sane's behavior. Pushed a new package Version with udev-hwdb support. Lets see what happens (Fingers crossed).
egrupled commented on 2021-04-13 20:12 (UTC)
I think when provided udev+hwdb approach will work here then other packages will follow (if they are still maintained). Someone must go first.
Harvey commented on 2021-04-13 19:07 (UTC)
@ettavolt: Did you test it? I only have networked devices here so this is rather like flying blind for me :( I had a look at your PKGBUILD. Does this work for you? Meanwhile I looked at the other brscan incarnations (2/3/5) in AUR, none of them is using udev+hwdb... I feel if we decide to go this way, at least all should do the same. And the Arch wiki should be corrected as well: https://wiki.archlinux.org/index.php/CUPS/Troubleshooting#Conflict_with_SANE
Harvey commented on 2021-04-13 19:04 (UTC)
@ettavolt: Did you test it? I only have networked devices here so this is rather like flying blind for me :( I had a look at your PKGBUILD. Does this work for you? Meanwhile I looked at the other brsan incarnations (2/3/5) in AUR, none of them is using udev+hwdb...
ettavolt commented on 2021-04-12 18:13 (UTC) (edited on 2021-04-12 18:16 (UTC) by ettavolt)
Yes, like this: https://github.com/ettavolt/aur-brscan4/commit/3680c46f83ec7909e433cebfae4d0c92cdb98238
Let me test it though. ☺
egrupled commented on 2021-04-12 17:20 (UTC) (edited on 2021-04-12 17:26 (UTC) by egrupled)
My understanding is if you add right device id to hwdb then systemd will take care of permissions (it will grant permission for currently logged user regardless of any groups set).
I think the request from https://aur.archlinux.org/packages/brscan4/#comment-793321 was about generating .hwdb file with device ids and install it to /usr/lib/udev/hwdb.d/ instead of creating custom udev rules which grant permissions for generated device id.
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 25 Next › Last »