You are not logged in.
Pages: 1
I'm trying to use my portable DS-620 Brother scanner with simple-scan but I seem to be missing a driver for it.
What driver do I need to use it?
Offline
I'm also having trouble getting this scanner up and running. I downloaded the .deb file from Bother's website and installed it with the AUR's dpkg. Appears to install OK if you override the dependencies, but then simple-scan and scanimage both fail to detect the scanner.
Offline
I'm also having trouble getting this scanner up and running. I downloaded the .deb file from Bother's website and installed it with the AUR's dpkg. Appears to install OK if you override the dependencies, but then simple-scan and scanimage both fail to detect the scanner.
The installed files will not be tracked by pacman which can cause issues with upgrades in future.
As they have already been installed that way and you will need to find the files anyway if you want to remove them can you check if they were installed to the expected locations please.
From inspection of the .deb I would expect the locations to be:
/usr/lib/udev/rules.d/ for 50-Brother_DSScanner.rules
/etc/sane.d/ for dsseries.conf
/usr/lib/sane/ for dsdrv_x64.so NvUSBScan_x64.so libsane-dsseries.so.1.0.17 and a symlink from libsane-dsseries.so.1 to libsane-dsseries.so.1.0.17
an entry in /etc/sane.d/dll.conf for dsseries.conf
Some more basic checks. Does the scanner appear in the output of
lsusb
Is a device node created for in /dev?
ls -la /dev/sg*
Disclaimer I do not have this scanner but hope some of this may help.
Edit:
If the install was i686 instead of x86_64 it will be dsdrv.so instead of dsdrv_x64.so and NvUSBScan.so instead of NvUSBScan_x64.so
Last edited by loqs (2015-11-06 20:30:34)
Offline
Please see my post for a potential solution.
Last edited by Michael Gruenstaeudl (2015-12-03 20:43:05)
Offline
I created this PKGBUILD after my last post in this thread but as I had no way to test it and the thread died I never posted it.
pkgname=libsane-dsseries
pkgver=1.0.5_1
pkgrel=1
pkgdesc="Brother ds series scanner driver for sane"
arch=('i686' 'x86_64')
url="http://support.brother.com"
license=("custom:Brother")
depends=("sane")
source=("LICENSE::http://support.brother.com/g/s/agreement/English_lpr/agree.html")
source_i686=("http://download.brother.com/welcome/dlf100973/$pkgname-${pkgver/_/-}.i586.rpm")
source_x86_64=("http://download.brother.com/welcome/dlf100974/$pkgname-${pkgver/_/-}.x86_64.rpm")
sha256sums=('cbdc19a09d970417dc7ee8dfde1aaa45f2d505240a88d45c8c64dcdd3e6277cc')
sha256sums_i686=('5806bab731b8d5c6036f9455a44f388bf37a8c66fe55f529d8d2d4bdc7e943a5')
sha256sums_x86_64=('7871d153f107833f3cd0e01a5dde05ecdacb2722afcdf8a53d8c85e2965bcdf1')
prepare() {
mkdir etc/sane.d/dll.d/
echo "dsseries" > etc/sane.d/dll.d/$pkgname
rm -rf etc/udev
rm -rf usr/local
rm -rf lib
if [ "$CARCH" == x86_64 ] ; then
mv usr/lib64/sane usr/lib
rmdir usr/lib64
fi
}
package() {
cp -a etc usr $pkgdir
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
Offline
Your PKGBUILD works nicely.
Offline
I've tried using dpkg as in Michael Gruenstaeudl's thread, but that seems to cause sane to crash when accessing the scanner.
While the pkgbuild here installs for me, the scanner isn't recognized.
The ds620 creates a /dev/sg1 device when plugged in, and generates the listed output in dmesg.
[ 693.106649] usb 2-1: new high-speed USB device number 4 using ehci-pci
[ 693.231349] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 693.232291] scsi host6: usb-storage 2-1:1.0
[ 694.230710] scsi 6:0:0:0: Direct-Access Brother DS-620 0.38 PQ: 0 ANSI: 5
[ 694.231087] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 694.239269] sd 6:0:0:0: [sdb] Attached SCSI removable disk
I've now uninstalled the AUR package bscan4 in case it conflicted with this package somehow.
Output of sudo sane-find-scanner -v /dev/sg1
$ sudo sane-find-scanner -v /dev/sg1
This is sane-find-scanner from sane-backends 1.0.25
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
searching for SCSI scanners:
checking /dev/sg1... failed to open (Invalid argument)
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
searching for USB scanners:
ignored /dev/sg1 (not a USB device)
ignoring libusb devices
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
done
Last edited by CTAG (2015-12-14 23:23:08)
Offline
In the pkgbuild can you change
rm -rf lib
to
mv lib usr/lib
This should add in a udev rule that was deleted by mistake
It should not make a difference when running as root so it is probably not the cause of the scanner failing to the detected.
What is the output (may need to run as root or or update the package then reboot to update the permissions on the device node )
scanimage -vv -L
Also what is the output of
pacman -Ql libsane-dsseries
Offline
loqs,
Thank you very much! I made the change you suggested to the PKGBUILD and can now use the scanner.
$ scanimage -vv -L
device `dsseries:usb:0x04F9:0x60E0' is a BROTHER DS-620 sheetfed scanner
Calling sane_exit
scanimage: finished
$ pacman -Ql libsane-dsseries
libsane-dsseries /etc/
libsane-dsseries /etc/sane.d/
libsane-dsseries /etc/sane.d/dll.d/
libsane-dsseries /etc/sane.d/dll.d/libsane-dsseries
libsane-dsseries /etc/sane.d/dsseries.conf
libsane-dsseries /usr/
libsane-dsseries /usr/lib/
libsane-dsseries /usr/lib/sane/
libsane-dsseries /usr/lib/sane/NvUSBScan_x64.so
libsane-dsseries /usr/lib/sane/dsdrv_x64.so
libsane-dsseries /usr/lib/sane/libsane-dsseries.so
libsane-dsseries /usr/lib/sane/libsane-dsseries.so.1
libsane-dsseries /usr/lib/sane/libsane-dsseries.so.1.0.17
libsane-dsseries /usr/lib/udev/
libsane-dsseries /usr/lib/udev/rules.d/
libsane-dsseries /usr/lib/udev/rules.d/50-Brother_DSScanner.rules
libsane-dsseries /usr/share/
libsane-dsseries /usr/share/licenses/
libsane-dsseries /usr/share/licenses/libsane-dsseries/
libsane-dsseries /usr/share/licenses/libsane-dsseries/LICENSE
Offline
I installed the drivers as per your suggestion above. Using the PKGBUILD but still cannot use the scanner.
My scanner does not show up in /dev/sg* instead it shows up as a disk drive.
[0:0:0:0] disk ATA Hitachi HTS54505 A6C0 /dev/sda
[1:0:0:0] disk ATA SanDisk SSD U100 6.02 /dev/sdb
[7:0:0:0] disk Brother DS-620 0.40 /dev/sdc
What did I do wrong?
Last edited by thatsme.saurav (2016-03-07 06:54:49)
Offline
Welcome to the forums.
My scanner does not show up in /dev/sg* instead it shows up as a disk drive.
This seems like a separate issue that will need resolving first.
I would recommend starting a new thread, link back to this one and in the new thread include the output of `dmesg` and `udevadm monitor` after you connect the scanner.
Offline
Thanks !!
Would do that.
Last edited by thatsme.saurav (2016-03-07 18:23:53)
Offline
Loading the 'sg' module worked for me. In case someone encounters this.
Thanks !!
Offline
Pages: 1