Search Criteria
Package Details: brscan4 0.4.11_1-2
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: | 164 |
Popularity: | 0.066852 |
First Submitted: | 2011-08-01 08:43 (UTC) |
Last Updated: | 2023-03-06 12:56 (UTC) |
Dependencies (2)
- sane (sane-gitAUR)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional) – for using brscan_gnetconfig
Required by (66)
- brother-dcp-b7500d (optional)
- brother-dcp-j752dw (optional)
- brother-dcp-l2500d (optional)
- brother-dcp1510 (optional)
- brother-dcp1610w (optional)
- brother-dcp1618w (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)
- brother-dcpl2520dw (optional)
- brother-dcpl2530dw (optional)
- brother-dcpl2535dw (optional)
- brother-dcpl2540dw-cups (optional)
- brother-dcpl2550dn (optional)
- brother-dcpl5500dn (optional)
- brother-dcpt220 (optional)
- brother-dcpt310 (optional)
- brother-dcpt420w (optional)
- brother-dcpt510w (optional)
- brother-dcpt520w (optional)
- brother-dcpt700w (optional)
- brother-mfc-7360n (optional)
- brother-mfc-9325cw (optional)
- brother-mfc-9330cdw
- brother-mfc-9332cdw (optional)
- brother-mfc-9335cdw (optional)
- brother-mfc-j1300dw (optional)
- brother-mfc-j4420dw (optional)
- brother-mfc-j460dw (optional)
- brother-mfc-j470dw (optional)
- brother-mfc-j480dw (optional)
- brother-mfc-j497dw (optional)
- brother-mfc-j5520dw (optional)
- brother-mfc-j5620dw (optional)
- brother-mfc-j5625dw (optional)
- brother-mfc-j5720dw (optional)
- brother-mfc-j5730dw (optional)
- brother-mfc-j5845dw (optional)
- brother-mfc-j5910dw (optional)
- brother-mfc-j5930dw (optional)
- brother-mfc-j5945dw-cups (optional)
- brother-mfc-j6520dw (optional)
- brother-mfc-j6710dw (optional)
- brother-mfc-j6910dw (optional)
- brother-mfc-j6925dw (optional)
- brother-mfc-j6935dw (optional)
- brother-mfc-j805dw (optional)
- brother-mfc-j825dw (optional)
- brother-mfc-j870dw (optional)
- brother-mfc-j875dw (optional)
- brother-mfc-j895dw (optional)
- brother-mfc-j985dw (optional)
- brother-mfc-l2700dn (optional)
- brother-mfc-l3780cdw (optional)
- brother-mfc-l8610cdw (optional)
- brother-mfc-l8850cdw (optional)
- brother-mfc-t800w-bin (optional)
- brother-mfc7360n (optional)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 24 Next › Last »
ron2138 commented on 2018-06-13 21:31 (UTC) (edited on 2018-06-19 15:56 (UTC) by ron2138)
The upstream URL recorded above can not be found
Replying ettavolt comment on 2018-06-13 05:13 and Harey comment on 2018-06-12 09:20: On 2018-06-19 I sent a message through Email Support. Got #180619-000271 reference number for follow up. A reply by email was they will provide this to the software engineers.
ettavolt commented on 2018-06-13 05:13 (UTC) (edited on 2018-06-13 05:14 (UTC) by ettavolt)
Man (https://www.freedesktop.org/software/systemd/man/udev.html) says that /etc/udev/rules.d/ is for local administrator. Local = per-machine. Package isn't machine-dependent (though it may be useful only for some that have Brother's scanner connected). Having rules in /usr/lib would allow a simple disabling via linking /etc/udev/rules.d/40-brscan4.rules to /dev/null. And this way won't interfere with package updates (while deleting file does).
Harvey commented on 2018-06-12 09:20 (UTC)
The output of 'pacman -Qo /usr/lib/udev/rules.d/' makes me feel it is better to leave this directory alone ;). As far as you don't have a pressing argument I will stay with /etc/udev/rules.d/. One could interpret 'vendor' as 'Archlinux' as well...
ron2138 commented on 2018-06-11 22:54 (UTC)
Currently, /etc/udev/rules.d/40-brscan4.rules are installed by brscan4. I think it would be better if that file will be installed under /usr/lib/udev/rules.d/. The reason is that, as far as I can tell, /usr/lib/udev/rules.d/ are for vendor files, while /etc/udev/rules.d are for local files.
Harvey commented on 2018-01-12 17:14 (UTC)
So you should file a bug for sane in Archlinux's bugtracker and see what the devs think about the situation...
ettavolt commented on 2018-01-12 12:21 (UTC) (edited on 2018-01-12 12:25 (UTC) by ettavolt)
Works, thank you. But for a bit different reason. ☺
So, what's happening with my DCP-1510 (as I understand it now):
40-brscan: MODE 664, GROUP lp, libsane_matched=yes
49-sane: MODE 664, GROUP scanner
50-udev-defaults: GROUP="lp" (because ENV{ID_USB_INTERFACES}==":0701??:")
70-uaccess: TAG+uaccess (because libsane_matched=yes)
Systemd somehow adds current-user ACL for uaccess-TAGged devices (this package owns udev-defaults and uaccess). Since brscan4 has priority of 40 (higher than 70 of uaccess) scanner works for current user without modification of his group. I think Arch's sane has to generate ACL-based udev rules (instead of what's generated now).
Here you can remove MODE and GROUP actions. The combination of sane.rules and udev-default.rules will do exactly the same (checked for DCP-1510).
Harvey commented on 2018-01-12 11:24 (UTC)
ettavolt: OK, this seems quite logical to me. I pushed a new version of the package with the change you proposed. Let's see what happens ;)
ettavolt commented on 2018-01-11 10:44 (UTC) (edited on 2018-01-11 10:49 (UTC) by ettavolt)
Sorry, forgot to enable notifications. Basically udev is applying files from /etc and /usr in lexical order (without directory paths). Sane's rules are chowning scanner ports to 'scanner' group if ENV{libsane_matched}=="yes" (see the bottom of /usr/lib/udev/rules.d/49-sane.rules). "brscan4" is lexically after "49-sane". That's why ENV{libsane_matched}="yes" in "brscan4" will be applied after sane's rules and thus a Brother's scanner port won't be chowned to 'scanner'.
BTW, I wonder why is there MODE=xxx GROUP=xxx in the sane's rules file? This changes are reapplied by ENV{libsane_matched}=="yes" condition…
Harvey commented on 2017-11-08 07:33 (UTC)
ettavolt commented on 2017-11-08 06:46 (UTC)
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 24 Next › Last »