summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Castellotti2020-03-01 17:54:46 +0100
committerErnesto Castellotti2020-03-01 17:54:46 +0100
commitb4fba022e30ac6a2d57b68b0c01f2dbbfee02bfc (patch)
tree584da7f16a0910170a04a823d8cd6ba69073f7fd
parent4cd9b99275441c9d945969a9bd5fd2d0fd4937a8 (diff)
downloadaur-b4fba022e30ac6a2d57b68b0c01f2dbbfee02bfc.tar.gz
Generate udev rules with automatic tool
Added support (only udev, don't if it works) to: - DCP-195C - MFC-935CDN - MFC-8370DN - MFC-8680DN - DCP-395CN - MFC-795CW - DCP-375CW - DCP-595CN - MFC-9010CN - MFC-675CD - MFC-8380DN - MFC-735CD - MFC-295CN - DCP-390CN - MFC-695CDN - DCP-365CN - MFC-9320CW - MFC-9120CN - MFC-495CW - MFC-495CN - MFC-255CW - DCP-9010CN - DCP-8070D - DCP-377CW - DCP-197C - MFC-257CW - MFC-9840CDW - MFC-9450CDN - DCP-9042CDN - MFC-9640CW - DCP-9045CDN - DCP-9040CN - MFC-9440CN - DCP-J715W - MFC-J630W - MFC-J615W - MFC-J265W - MFC-J410W - MFC-J950DN - MFC-5895CW - MFC-J855DN - MFC-J615N - MFC-J700D - DCP-J515W - MFC-J800D - MFC-J805D - MFC-J270W - MFC-J850DN - DCP-373CW - MFC-253CW - DCP-J125 - MFC-J415W - MFC-J410 - DCP-J515N - DCP-J715N
-rw-r--r--.SRCINFO4
-rw-r--r--50-brscan3.rules125
-rw-r--r--PKGBUILD4
3 files changed, 95 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1f7b1702df1..ac2a895aba3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = brscan3
pkgdesc = Brother SANE drivers for brscan3-compatible models
pkgver = 0.2.13_1
- pkgrel = 7
+ pkgrel = 8
url = http://support.brother.com/g/s/id/linux/en
install = brscan3.install
arch = i686
@@ -12,7 +12,7 @@ pkgbase = brscan3
depends = libusb-compat
source = 50-brscan3.rules
source = LICENSE.html
- sha256sums = 3e9d090cf51c504fcad9ff8ce0fd8f6cb9f9b9c1732642ff0cf321b99eb180bf
+ sha256sums = fd90617ad8483447f1559114b64acce26ac32c3a6001bf98c19cb89d685cf95f
sha256sums = 3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2
source_i686 = http://download.brother.com/welcome/dlf006643/brscan3-0.2.13-1.i386.rpm
sha256sums_i686 = 5586fe264c7bd715e598b5d444f2851464ffe72857f2f48486466e7e2957f792
diff --git a/50-brscan3.rules b/50-brscan3.rules
index b0f4a86e78f..5de84e543bc 100644
--- a/50-brscan3.rules
+++ b/50-brscan3.rules
@@ -1,46 +1,103 @@
+# This file is automatically generated.
+
ACTION=="add", ATTR{idVendor}=="04f9", GOTO="brscan3"
GOTO="brscan3_end"
LABEL="brscan3"
-ATTR{idProduct}=="0206", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0204", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0205", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0201", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0200", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01ff", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01fe", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01fd", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01fb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01fa", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f8", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f7", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f6", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f5", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f4", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01c9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ca", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01cb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01cc", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e5", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e6", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e7", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e8", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ea", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01eb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ec", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ed", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ee", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ef", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f0", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="01f1", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f3", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="01f2", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01f0", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01ef", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f3", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f4", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f5", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f6", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f7", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f8", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fa", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fc", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fd", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fe", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ff", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0200", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0201", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0202", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0203", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0204", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0205", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0206", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="0207", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="0208", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0203", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0202", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01fc", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01ee", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01ed", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01eb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01ea", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01e9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01e8", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01e7", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01e6", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="01e5", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="020c", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="020d", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0215", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0216", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0217", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="0218", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0219", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="021a", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="021b", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="021c", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="021d", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="021e", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="021f", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0217", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0216", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
-ATTR{idProduct}=="0215", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0220", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0222", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0223", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0224", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0225", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0227", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0228", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0229", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="022a", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="022b", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="022c", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="022d", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="022e", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="022f", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0230", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0234", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0235", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0236", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0239", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="023a", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="023e", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="023f", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0240", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0253", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="0254", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0255", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0256", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0257", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0258", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
ATTR{idProduct}=="0259", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="025B", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="025a", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="025c", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="025d", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="025e", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="025f", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0260", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0261", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="026B", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="026d", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="026e", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="026f", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0276", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0278", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
LABEL="brscan3_end"
diff --git a/PKGBUILD b/PKGBUILD
index 51960f0c0a3..1207df5ee29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
pkgname=brscan3
pkgver=0.2.13_1
-pkgrel=7
+pkgrel=8
pkgdesc="Brother SANE drivers for $pkgname-compatible models"
arch=('i686' 'x86_64')
url='http://support.brother.com/g/s/id/linux/en'
@@ -20,7 +20,7 @@ source_x86_64=("http://download.brother.com/welcome/dlf006644/${pkgname}-${pkgve
sha256sums_x86_64=('b462dbded2d0f7ae511057bd3cb6f8379042b75d996eef2675998a4559cc5556')
source=('50-brscan3.rules' 'LICENSE.html')
-sha256sums=('3e9d090cf51c504fcad9ff8ce0fd8f6cb9f9b9c1732642ff0cf321b99eb180bf'
+sha256sums=('fd90617ad8483447f1559114b64acce26ac32c3a6001bf98c19cb89d685cf95f'
'3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2')
package() {