尽管安装了驱动程序,但 Brother 扫描仪在 Ubuntu 16.04 中无法正常工作

him*_*ard 18 scanner drivers 16.04

我正在运行 Ubuntu 16.04 和一个兄弟 DCP-375CW,一台打印机和一台扫描仪。我下载了驱动,用了兄弟的驱动安装工具。

这是结果:系统说驱动程序已安装。打印机实际上正在工作。但 Simple Scan 拒绝识别驱动程序,xsane 甚至无法识别扫描仪。我尝试了在 Internet 上找到的一些说明,但其中大部分似乎适用于较旧的 Ubuntu 版本。
我担心 Ubuntu 16.04 有什么不同。

$ dpkg -l | grep -i Brother

ii  brother-cups-wrapper-common        1.0.0-10-0ubuntu6   amd64        Common files for Brother cups wrapper packages
ii  brother-udev-rule-type1            1.0.0-1             all          Brother udev rule type 1
ii  brscan-skey                        0.2.4-1             amd64        Brother Linux scanner S-KEY tool
ii  brscan3                            0.2.13-1            amd64        Brother Scanner Driver
ii  dcp375cwcupswrapper:i386           1.1.3-1             i386         Brother CUPS Inkjet Printer Definitions
ii  dcp375cwlpr:i386                   1.1.3-1             i386         Brother lpr Inkjet Printer Definitions
ii  printer-driver-brlaser             3-3build1           amd64        printer driver for (some) Brother laser printers
ii  printer-driver-ptouch              1.4-1               amd64        printer driver Brother P-touch label printers
Run Code Online (Sandbox Code Playgroud)

Nic*_*ick 17

我的 MFC-7840W 遇到了同样的问题,但我终于成功了。

以下是我的笔记:

  1. 根据您的型号安装 brscan3 或 brscan 的其他变体

    sudo dpkg -i brscan3-0.2.11-5.amd64.deb
    
    Run Code Online (Sandbox Code Playgroud)
  2. 安装 brscan-skey

    sudo dpkg -i brscan-skey-0.2.4-1.amd64.deb
    
    Run Code Online (Sandbox Code Playgroud)
  3. brscan-skey

    $ brscan-skey 
    $ brscan-skey -l
    MFC-7840W         : brother3:net1;dev0  : 192.168.1.10         Active
    
    Run Code Online (Sandbox Code Playgroud)
  4. 设置扫描仪

    sudo brsaneconfig3 -a name=MFC-7840W model=MFC-7840W ip=192.168.1.10
    
    Run Code Online (Sandbox Code Playgroud)
  5. 确认它有效,寻找这个输出:

    $ brsaneconfig3 -q
    Devices on network
      0 MFC-7840W           "MFC-7840W"         I:192.168.1.10
    
    Run Code Online (Sandbox Code Playgroud)
  6. 如有必要,制作缺少的符号链接

    sudo mkdir /usr/lib/sane
    sudo ln -s /usr/lib64/sane/libsane-brother3.so /usr/lib/sane/libsane-brother3.so
    sudo ln -s /usr/lib64/sane/libsane-brother3.so.1 /usr/lib/sane/libsane-brother3.so.1
    sudo ln -s /usr/lib64/sane/libsane-brother3.so.1.0.7 /usr/lib/sane/libsane-brother3.so.1.0.7
    sudo ln -s /usr/lib64/libbrscandec3.so /usr/lib/libbrscandec3.so
    sudo ln -s /usr/lib64/libbrscandec3.so.1 /usr/lib/libbrscandec3.so.1
    sudo ln -s /usr/lib64/libbrscandec3.so.1.0.0 /usr/lib/libbrscandec3.so.1.0.0
    
    Run Code Online (Sandbox Code Playgroud)
  7. 确认scanimage -L作品

    $ scanimage -L
    device `brother3:net1;dev0' is a Brother MFC-7840W MFC-7840W
    
    Run Code Online (Sandbox Code Playgroud)
  8. 安装 gscan2pdf

  9. 使用gscan2pdf测试仪

  • 在 Ubuntu 18.04 上使用 DCP-1610W 确认。第 6 步:兄弟库现在在 v4 中,因此将 `brother3` 替换为 `brother4`,将 `libbrscandec3` 替换为 `libbrscandec4`。它适用于 SimpleScan,包括彩色和黑色。 (2认同)

sam*_*amy 12

我在 dcp-135c 和 Ubuntu 16.04(从 14.04 升级)上遇到了类似的问题。

我的解决方案如下:

  1. 正常安装兄弟网站上的所有驱动程序

  2. 打开此文件:将以下行sudo nano /lib/udev/rules.d/40-libsane.rules添加到文件中,就在“ #The following rule will disable USB autosuspend for the device ”行之前

    # Brother scanners
    ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"`
    
    Run Code Online (Sandbox Code Playgroud)
  3. 将兄弟驱动文件从复制/usr/lib64/sane//usr/lib/x86_64-linux-gnu/sane

    sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane
    
    Run Code Online (Sandbox Code Playgroud)

其他人必须将步骤 3 中的文件复制到/usr/lib/sane,这可能取决于您是升级到 ubuntu 16.04 还是进行全新安装。

在 Ubuntu 论坛上的这个线程中找到了这个解决方案。

  • 将所有文件从 lib64 复制到 lib 是一个糟糕的建议。 (2认同)

Tho*_*sen 4

我只需要执行这一步(前面提到过,但该答案还包括其他步骤)。我有一台 Brother DCP-L2500D,运行 Ubuntu 16.04。

打开这个文件

sudo gedit -H /lib/udev/rules.d/60-libsane.rules
Run Code Online (Sandbox Code Playgroud)

将以下行添加到文件中,就在该行之前# The following rule will disable USB autosuspend for the device

# Brother scanners 
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"`
Run Code Online (Sandbox Code Playgroud)

重新启动(好吧,这是两个步骤:-))