简单扫描未检测到我的扫描仪(Brother DCP-7040)

简单扫描未检测到我的扫描仪(Brother DCP-7040)

我重新安装了 Ubuntu 18.04 64 位。但现在 Simple Scan 无法识别扫描仪。

sane-find-scanner输出:

found USB scanner (vendor=0x04f9, product=0x01e9) at libusb:005:003
  Your USB scanner was (probably) detected. It may or may not be supported by
  SANE. Try scanimage -L and read the backend's manpage

scanimage -L输出:

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate).

brscan-skey -l输出:

  DCP-7040   : brother3:bus1;dev1  : USB               Not registered

dpkg -l | grep -i Brother输出:

ii  brdcp7040lpr:i386         2.0.2-1      i386         Brother DCP-7040 LPR driver
ii  brscan-skey               0.3.1-1      amd64        Brother Linux scanner S-KEY tool
ii  brscan3:i386              0.2.13-1     i386         Brother Scanner Driver
ii  cupswrapperdcp7040:i386   2.0.2-1      i386         Brother DCP7040 CUPS wrapper driver
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

我已经提出了我所能知道的所有建议:

  • “更改安全性/lib/udev/rules.d/50-udev-default.rules
  • 将用户添加到 lp 组;将行“ ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"' 添加到文件/lib/udev/rules.d/60-libsane.rules
  • 重新安装 DCP7040 驱动程序;每次都重新启动。

但什么也没起作用。

在 Windows 10 中,扫描仪可以正常工作。因此不存在硬件问题。有什么想法吗?


我重新安装了所有 Brother 驱动程序并进行了以下更改:

/lib/udev/rules.d/60-libsane1.rules(开头):

ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"`  
ACTION!="add", GOTO="libsane_rules_end"

/lib/udev/rules.d/60-brother-libsane-type1-inst.rules

MODE="0666"

/lib/udev/rules.d/50-udev-default.rules

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0777"

我运行了这个命令来更改权限:

lsusb | grep -i brother | sed 's/://' | awk '{printf "/dev/bus/usb/%s/%s", $2,$4}' | xargs -i -t sudo chmod 666 "{}"

但问题依然存在。

scanimage -L报告:

No scanners were identified...

dpkg -l | grep -i Brother输出:

ii  brdcp7040lpr:i386     2.0.2-1                                          i386         Brother DCP-7040 LPR driver  
ii  brscan-skey           0.3.1-1                                          amd64        Brother Linux scanner S-KEY tool  
ii  brscan3               0.2.13-1                                         amd64        Brother Scanner Driver  
ii  cupswrapperdcp7040:i386   2.0.2-1                                      i386         Brother DCP7040 CUPS wrapper driver

我发现这些线消失了:

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

重点是,当我第一次升级到 18.04 LTS 时,我遇到了类似的问题,但我不记得我做了什么来解决这个问题(老年人的记忆)。

总之,我对这个问题很迷茫,不知道还能做什么。

答案1

我输入了以下命令:

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

并且它有效!

scanimage -L报告:

device `brother3:bus1;dev1' is a Brother DCP-7040 USB scanner

简单的扫描仪可以正常工作!

这个链接(#5)救了我:https://www.it-swarm.dev/es/drivers/el-escaner-brother-no-funciona-en-ubuntu-16.04-aunque-el-controlador-esta-instalado/961015336/

此刻我不知道是否所有的改变都是必要的。

相关内容