Codice: Seleziona tutto
sudo bash linux-brprinter-installer-2.2.1-1 MFC-260C
You are going to install following packages.
mfc260clpr-1.0.1-1.i386.deb
mfc260ccupswrapper-1.0.1-1.i386.deb
brscan2-0.2.5-1.amd64.deb
brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y
Ign:1 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ InRelease
Hit:2 http://it.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Hit:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:5 http://linux.teamviewer.com/deb stable InRelease
Hit:6 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ Release
Get:8 http://archive.neon.kde.org/user bionic InRelease [19,0 kB]
Hit:9 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease
Ign:10 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:11 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease
Hit:12 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:13 https://repo.skype.com/deb stable InRelease
Hit:14 http://dl.google.com/linux/chrome/deb stable Release
Hit:15 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Hit:17 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Ign:7 https://dl.bintray.com/etcher/debian stable InRelease
Hit:18 https://dl.bintray.com/etcher/debian stable Release
Fetched 102 kB in 1s (95,9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32ncurses5 lib32z1
E: Package 'ia32-libs' has no installation candidate
dpkg -x mfc260clpr-1.0.1-1.i386.deb /
dpkg -x mfc260ccupswrapper-1.0.1-1.i386.deb /
(Reading database ... 236660 files and directories currently installed.)
Removing mfc260ccupswrapper:i386 (1.0.1-1) ...
[ ok ] Restarting cups (via systemctl): cups.service.
dpkg-deb: building package 'mfc260clpr' in 'mfc260clpr-1.0.1-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfc260clpr-1.0.1-1a.i386.deb
dpkg-deb: building package 'mfc260ccupswrapper' in 'mfc260ccupswrapper-1.0.1-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfc260ccupswrapper-1.0.1-1a.i386.deb
dpkg -i --force-all mfc260clpr-1.0.1-1a.i386.deb
(Reading database ... 236659 files and directories currently installed.)
Preparing to unpack mfc260clpr-1.0.1-1a.i386.deb ...
Unpacking mfc260clpr:i386 (1.0.1-1) over (1.0.1-1) ...
Setting up mfc260clpr:i386 (1.0.1-1) ...
dpkg -i --force-all mfc260ccupswrapper-1.0.1-1a.i386.deb
Selecting previously unselected package mfc260ccupswrapper:i386.
(Reading database ... 236659 files and directories currently installed.)
Preparing to unpack mfc260ccupswrapper-1.0.1-1a.i386.deb ...
Unpacking mfc260ccupswrapper:i386 (1.0.1-1) ...
Setting up mfc260ccupswrapper:i386 (1.0.1-1) ...
Restarting cups (via systemctl): cups.service.
#
Will you specify the Device URI? [Y/n] ->n
Test Print? [y/N] ->n
You are going to install following packages.
brscan2-0.2.5-1.amd64.deb
dpkg -i --force-all brscan2-0.2.5-1.amd64.deb
(Reading database ... 236662 files and directories currently installed.)
Preparing to unpack brscan2-0.2.5-1.amd64.deb ...
Unpacking brscan2 (0.2.5-1) over (0.2.5-1) ...
Setting up brscan2 (0.2.5-1) ...
You are going to install following packages.
brscan-skey-0.2.4-1.amd64.deb
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
(Reading database ... 236662 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) over (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
Codice: Seleziona tutto
scanimage --test
scanimage: open of device brother2:bus6;dev5 failed: Invalid argument
Codice: Seleziona tutto
lsusb
Bus 001 Device 003: ID 04f9:01d6 Brother Industries, Ltd MFC-260C
Codice: Seleziona tutto
ls -l /dev/bus/usb/001/003
crw-rw-r--+ 1 root scanner 189, 2 gen 7 21:15 /dev/bus/usb/001/003
Codice: Seleziona tutto
ls -l /dev/bus/usb/000/005
lrwxrwxrwx 1 root root 20 gen 7 21:19 005 -> /dev/bus/usb/001/003
in rules/60-libsane.rules c'è
Codice: Seleziona tutto
SUBSYSTEM=="usb", ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01d6", MODE="664", GROUP="scanner", ENV{libsane_matched}="yes"
LABEL="libsane_rules_end"
Codice: Seleziona tutto
dpkg -l | grep Brother
ii brother-udev-rule-type1 1.0.2 all Brother udev rule type 1
ii brscan-skey 0.2.4-1 amd64 Brother Linux scanner S-KEY tool
ii brscan2 0.2.5-1 amd64 Brother Scanner Driver
ii mfc260ccupswrapper:i386 1.0.1-1 i386 Brother CUPS Inkjet Printer Definitions
ii mfc260clpr:i386 1.0.1-1 i386 Brother lpr Inkjet Printer Definitions
ii printer-driver-brlaser 4-1 amd64 printer driver for (some) Brother laser printers
ii printer-driver-ptouch 1.4.2-3 amd64 printer driver Brother P-touch label printers
Codice: Seleziona tutto
dpkg -l | grep sane
ii libsane-common 1.0.27-1~experimental3ubuntu2 all API library for scanners -- documentation and support files
ii libsane-hpaio:amd64 3.17.10+repack0-5 amd64 HP SANE backend for multi-function peripherals
ii libsane1:amd64 1.0.27-1~experimental3ubuntu2 amd64 API library for scanners
ii libsane1:i386 1.0.27-1~experimental3ubuntu2 i386 API library for scanners
ii sane-utils 1.0.27-1~experimental3ubuntu2 amd64 API library for scanners -- utilities
ii xsane 0.999-5ubuntu2 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.999-5ubuntu2 all xsane architecture independent files
Codice: Seleziona tutto
ll /usr/lib/sane/libsane-brother2.so*
lrwxrwxrwx 1 root root 35 dic 31 13:26 /usr/lib/sane/libsane-brother2.so -> /usr/lib64/sane/libsane-brother2.so*
lrwxrwxrwx 1 root root 37 dic 31 13:26 /usr/lib/sane/libsane-brother2.so.1 -> /usr/lib64/sane/libsane-brother2.so.1*
lrwxrwxrwx 1 root root 41 dic 31 13:26 /usr/lib/sane/libsane-brother2.so.1.0.7 -> /usr/lib64/sane/libsane-brother2.so.1.0.7*
grazie