我正在尝试使用带有扫描仪的三星scx-4200进行扫描。当我连接具有相同版本ubuntu(14.04)的兄弟的笔记本电脑时,它可以工作。我不知道如何以及为什么。他没有安装任何扫描软件。我还尝试了另一台使用基本操作系统的计算机,它也可以工作。现在是时候变得很奇怪了!我试图在我的和兄弟的笔记本电脑上运行许多通过实时USB发行的发行版。扫描仪始终可与Brother一起使用,而不能与我的笔记本电脑一起使用。我非常需要扫描仪,因此可能会切换到Windows,但我不喜欢它,因为它不是开源的,所以请帮忙!这是我遇到的错误以及简单扫描设置的屏幕截图。
编辑1:USB可以与任何其他设备正常工作。到目前为止,我已经连接了鼠标,USB闪存,相机,并且它们都可以正常工作。我试图将扫描仪连接到所有3个USB端口(2 3.0和1 2.0),并且发生相同的事情。
Edit2:扫描与程序vuescan一起使用,但是需要购买它才能删除它创建的水印,并且该水印是封闭源。
Edit3:在所有经过测试的笔记本电脑中,只有我的笔记本电脑具有USB 3.0(x2)。但是,扫描也不适用于USB 2.0(在我的笔记本电脑上)。
Edit4:这是输出sudo sane-find-scanner
:
#sane-find-scanner现在将尝试检测您的扫描仪。如果#结果与预期不同,请首先确保#扫描仪已开机并正确连接到计算机。
#找不到SCSI扫描器。如果期望有所不同,请确保#您已为SCSI适配器加载了内核SCSI驱动程序。
#找不到USB扫描仪。如果您期望有所不同,请确保#您已为USB主机控制器加载了内核驱动程序并正确设置了#USB系统。有关详细信息,请参见man sane-usb。
#不检查并行端口扫描程序。
#此程序无法检测到大多数连接到并行端口或其他专有端口的扫描仪。
Edit5:我尝试了BIOS中与USB配置相关的所有设置组合,但没有结果。我恢复了原始设置。
Edit6:我尝试了scanlite,这是它给我的错误:
Edit7:第二次运行Scanlite时,它说它没有检测到计算机上的扫描仪。有时我会在简单扫描中收到类似消息。
Edit8:执行以下操作后,扫描仪即可进行简单扫描:
- 打开系统设置
- 点击打印机
- 右键单击我的打印机(scx-4200)->属性
- 墨水/墨粉量
- 单击刷新
- 打开简单扫描
- 点击扫描
- 等待大约10到20秒,直到出现错误消息(如提供的屏幕截图所示)
- 再次点击扫描
那仅用于1次扫描。
Edit9:我和我的兄弟都有64位。我兄弟的笔记本电脑是hp,而我的笔记本是华硕。我的BIOS有更多选择。我有2个USB 3.0和一个2.0,而我的兄弟有3 x 2.0。这是一些区别...这是我的笔记本电脑的uname -a输出:
Linux dusan-K55A 3.13.0-24-generic#46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux
这是我兄弟的:
Linux milki-HP-2000-Notebook-PC 3.13.0-24-generic#46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux
Edit10:我的笔记本电脑是全新安装的,兄弟的笔记本电脑已升级。当两台笔记本电脑都运行全新安装13.10时,发生了相同的事情
Edit11:这是我的输出lsmod
:
Module Size Used by
ctr 13049 2
ccm 17773 2
pci_stub 12622 1
vboxpci 23194 0
vboxnetadp 25670 0
vboxnetflt 27613 0
vboxdrv 339502 3 vboxnetadp,vboxnetflt,vboxpci
rfcomm 69160 12
bnep 19624 2
binfmt_misc 17468 1
nls_iso8859_1 12713 1
snd_hda_codec_hdmi 46207 1
snd_hda_codec_realtek 61438 1
joydev 17381 0
uvcvideo 80885 0
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
videobuf2_core 40664 1 uvcvideo
videodev 134688 2 uvcvideo,videobuf2_core
snd_hda_intel 52355 3
snd_hda_codec 192906 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
ath3k 13318 0
snd_pcm 102099 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
btusb 32412 0
bluetooth 395423 23 bnep,ath3k,btusb,rfcomm
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
snd_seq_midi 13324 0
snd_seq_midi_event 14899 1 snd_seq_midi
asus_nb_wmi 16990 0
asus_wmi 24191 1 asus_nb_wmi
sparse_keymap 13948 1 asus_wmi
snd_rawmidi 30144 1 snd_seq_midi
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29482 2 snd_pcm,snd_seq
intel_rapl 18773 0
x86_pkg_temp_thermal 14205 0
intel_powerclamp 14705 0
coretemp 13435 0
kvm_intel 143060 0
snd 69238 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
dm_multipath 22873 0
kvm 451511 1 kvm_intel
arc4 12608 2
csi_dh 14882 1 dm_multipath
crct10dif_pclmul 14289 0
crc32_pclmul 13113 0
ghash_clmulni_intel 13259 0
aesni_intel 55624 4
ath9k 164164 0
ath9k_common 13551 1 ath9k
aes_x86_64 17131 1 aesni_intel
ath9k_hw 453856 2 ath9k_common,ath9k
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
cryptd 20359 3 ghash_clmulni_intel,aesni_intel,ablk_helper
ath 28698 3 ath9k_common,ath9k,ath9k_hw
mac80211 626489 1 ath9k
rtsx_pci_ms 18151 0
psmouse 102222 0
serio_raw 13462 0
cfg80211 484040 3 ath,ath9k,mac80211
memstick 16966 1 rtsx_pci_ms
lpc_ich 21080 0
soundcore 12680 1 snd
i915 783485 4
wmi 19177 1 asus_wmi
mac_hid 13205 0
drm_kms_helper 52758 1 i915
drm 302817 5 i915,drm_kms_helper
mei_me 18627 0
mei 82274 1 mei_me
video 19476 2 i915,asus_wmi
i2c_algo_bit 13413 1 i915
parport_pc 32701 0
ppdev 17671 0
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
hid_generic 12548 0
usbhid 52616 0
hid 106148 2 hid_generic,usbhid
rtsx_pci_sdmmc 23274 0
ahci 25819 3
libahci 32168 1 ahci
r8169 67581 0
rtsx_pci 45956 2 rtsx_pci_ms,rtsx_pci_sdmmc
mii 13934 1 r8169
dm_mirror 22135 0
dm_region_hash 20862 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
这是我兄弟的:
Module Size Used by
ctr 13049 1
ccm 17773 1
joydev 17381 0
snd_hda_codec_hdmi 46207 1
snd_hda_codec_realtek 61438 1
hp_wmi 14062 0
sparse_keymap 13948 1 hp_wmi
uvcvideo 80885 0
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
videobuf2_core 40664 1 uvcvideo
videodev 134688 2 uvcvideo,videobuf2_core
bnep 19624 2
rfcomm 69160 12
intel_rapl 18773 0
x86_pkg_temp_thermal 14205 0
intel_powerclamp 14705 0
coretemp 13435 0
kvm 451511 0
crct10dif_pclmul 14289 0
crc32_pclmul 13113 0
ghash_clmulni_intel 13259 0
cryptd 20359 1 ghash_clmulni_intel
snd_hda_intel 52355 5
snd_hda_codec 192906 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
arc4 12608 2
snd_pcm 102099 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
psmouse 102222 0
serio_raw 13462 0
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
ath9k 164164 0
ath9k_common 13551 1 ath9k
ath3k 13318 0
ath9k_hw 453856 2 ath9k_common,ath9k
rtsx_pci_ms 18151 0
btusb 32412 0
bluetooth 395423 23 bnep,ath3k,btusb,rfcomm
ath 28698 3 ath9k_common,ath9k,ath9k_hw
memstick 16966 1 rtsx_pci_ms
lpc_ich 21080 0
snd_seq_midi 13324 0
mac80211 626489 1 ath9k
binfmt_misc 17468 1
snd_seq_midi_event 14899 1 snd_seq_midi
snd_rawmidi 30144 1 snd_seq_midi
cfg80211 484040 3 ath,ath9k,mac80211
wmi 19177 1 hp_wmi
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
nls_iso8859_1 12713 1
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29482 2 snd_pcm,snd_seq
mac_hid 13205 0
snd 69238 20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
i915 783485 5
soundcore 12680 1 snd
video 19476 1 i915
mei_me 18627 0
mei 82274 1 mei_me
drm_kms_helper 52758 1 i915
drm 302817 6 i915,drm_kms_helper
i2c_algo_bit 13413 1 i915
parport_pc 32701 0
ppdev 17671 0
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
hid_generic 12548 0
usbhid 52616 0
hid 106148 2 hid_generic,usbhid
rtsx_pci_sdmmc 23274 0
ahci 25819 3
r8169 67581 0
libahci 32168 1 ahci
mii 13934 1 r8169
rtsx_pci 45956 2 rtsx_pci_ms,rtsx_pci_sdmmc
Edit12:/ dev / bus / usb / *的所有者是root。这是lusb的输出:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b354 Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 13d3:3362 IMC Networks
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 04e8:341b Samsung Electronics Co., Ltd SCX-4200 series
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
它找到打印机(scx4200),所以我猜它也是扫描仪,因为它是打印机和扫描仪(多功能打印机)。
这是/ var / log / syslog的最新部分“
May 6 19:47:07 dusan-K55A NetworkManager[1050]: <info> Activation (wlan0) successful, device activated.
May 6 19:47:07 dusan-K55A whoopsie[1317]: message repeated 6 times: [ offline]
May 6 19:47:08 dusan-K55A whoopsie[1317]: online
May 6 19:47:08 dusan-K55A signond[6522]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be available.
May 6 19:47:13 dusan-K55A ntpdate[6489]: adjust time server 91.189.94.4 offset 0.251812 sec
May 6 19:47:23 dusan-K55A kernel: [ 249.508157] usb 3-3: new high-speed USB device number 3 using xhci_hcd
May 6 19:47:23 dusan-K55A kernel: [ 249.525822] usb 3-3: New USB device found, idVendor=04e8, idProduct=341b
May 6 19:47:23 dusan-K55A kernel: [ 249.525830] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 6 19:47:23 dusan-K55A kernel: [ 249.525834] usb 3-3: Product: SCX-4200 Series
May 6 19:47:23 dusan-K55A kernel: [ 249.525837] usb 3-3: Manufacturer: Samsung
May 6 19:47:23 dusan-K55A kernel: [ 249.525840] usb 3-3: SerialNumber: 8T21BAILC00139N.
May 6 19:47:23 dusan-K55A kernel: [ 250.127578] WARNING! power/level is deprecated; use power/control instead
May 6 19:47:23 dusan-K55A colord: Device added: sysfs-Samsung-SCX-4200_Series
May 6 19:47:23 dusan-K55A kernel: [ 250.206346] usblp 3-3:1.1: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
May 6 19:47:23 dusan-K55A kernel: [ 250.206372] usbcore: registered new interface driver usblp
May 6 19:47:24 dusan-K55A NetworkManager[1050]: <info> (wlan0): IP6 addrconf timed out or failed.
May 6 19:47:24 dusan-K55A NetworkManager[1050]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 6 19:47:24 dusan-K55A NetworkManager[1050]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 6 19:47:24 dusan-K55A NetworkManager[1050]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 6 19:47:25 dusan-K55A wpa_supplicant[1293]: wlan0: CTRL-EVENT-SCAN-STARTED
May 6 19:47:28 dusan-K55A NetworkManager[1050]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted
May 6 19:47:41 dusan-K55A signond[6522]: QObject::disconnect: Unexpected null parameter
May 6 19:49:27 dusan-K55A dbus[916]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
May 6 19:49:27 dusan-K55A dbus[916]: [system] Successfully activated service 'org.freedesktop.hostname1'
May 6 19:51:57 dusan-K55A kernel: [ 523.891783] usb 3-3: usbfs: interface 1 claimed by usblp while 'scan-thread' sets config #1
May 6 19:50:34 dusan-K55A wpa_supplicant[1293]: message repeated 3 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
May 6 19:52:02 dusan-K55A wpa_supplicant[1293]: wlan0: WPA: Group rekeying completed with 7c:05:07:de:42:7a [GTK=TKIP]
May 6 19:52:17 dusan-K55A wpa_supplicant[1293]: wlan0: CTRL-EVENT-SCAN-STARTED
May 6 19:53:24 dusan-K55A kernel: [ 610.927164] usb 3-3: usbfs: interface 1 claimed by usblp while 'scan-thread' sets config #1
这是/var/log/kern.log的一些最新输出,此处显示了某种驱动程序干扰:
May 6 19:47:04 dusan-K55A kernel: [ 230.535670] ath9k 0000:02:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
May 6 19:47:04 dusan-K55A kernel: [ 230.535672] ath9k 0000:02:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
May 6 19:47:04 dusan-K55A kernel: [ 230.537083] wlan0: associate with 7c:05:07:de:42:7a (try 1/3)
May 6 19:47:04 dusan-K55A kernel: [ 230.541459] wlan0: RX AssocResp from 7c:05:07:de:42:7a (capab=0x411 status=0 aid=1)
May 6 19:47:04 dusan-K55A kernel: [ 230.541663] wlan0: associated
May 6 19:47:23 dusan-K55A kernel: [ 249.508157] usb 3-3: new high-speed USB device number 3 using xhci_hcd
May 6 19:47:23 dusan-K55A kernel: [ 249.525822] usb 3-3: New USB device found, idVendor=04e8, idProduct=341b
May 6 19:47:23 dusan-K55A kernel: [ 249.525830] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 6 19:47:23 dusan-K55A kernel: [ 249.525834] usb 3-3: Product: SCX-4200 Series
May 6 19:47:23 dusan-K55A kernel: [ 249.525837] usb 3-3: Manufacturer: Samsung
May 6 19:47:23 dusan-K55A kernel: [ 249.525840] usb 3-3: SerialNumber: 8T21BAILC00139N.
May 6 19:47:23 dusan-K55A kernel: [ 250.127578] WARNING! power/level is deprecated; use power/control instead
May 6 19:47:23 dusan-K55A kernel: [ 250.206346] usblp 3-3:1.1: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
May 6 19:47:23 dusan-K55A kernel: [ 250.206372] usbcore: registered new interface driver usblp
May 6 19:51:57 dusan-K55A kernel: [ 523.891783] usb 3-3: usbfs: interface 1 claimed by usblp while 'scan-thread' sets config #1
May 6 19:53:24 dusan-K55A kernel: [ 610.927164] usb 3-3: usbfs: interface 1 claimed by usblp while 'scan-thread' sets config #1
在〜/ .xsession中,错误没有错误,我认为:
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd respawning too fast, stopped
Edit13:通过分析/var/log/kern.log中的错误,我发现当我发现没有扫描器的错误时,此错误行将输出到kern.log中:
May 6 20:45:34 dusan-K55A kernel: [ 500.209280] usb 3-3: usbfs: interface 1 claimed by usblp while 'scan-thread' sets config #1
当出现“无法扫描”错误提示时(如屏幕截图所示),我得到此错误:
May 6 20:52:03 dusan-K55A kernel: [ 889.843120] usb 3-3: usbfs: interface 1 claimed by usblp while 'scan-thread' sets config #1
Edit14:我意识到使用通过该链接安装的Samsung Universal linux驱动程序,打印不起作用。我通过在系统设置->打印机中添加打印机功能来卸载并安装了驱动程序。但是,即使使用edit8中的步骤,现在扫描也不起作用,该步骤以前可以工作,但现在可以打印。A但是,使用vuescan扫描仍然有效。
Edit15:这是grep 341b /etc/sane.d/xerox_mfp.conf的输出:
usb 0x04e8 0x341b
并输出modprobe -r usblp; 明智的扫描仪:
# 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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# 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.
这是ldd $(sane-find-scanner)的输出:
linux-vdso.so.1 => (0x00007fffad7e6000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f872a0b6000)
libieee1284.so.3 => /usr/lib/x86_64-linux-gnu/libieee1284.so.3 (0x00007f8729eaa000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8729ae3000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f87298d2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f87296b4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f872a2f4000)
libcgmanager.so.0 => /lib/x86_64-linux-gnu/libcgmanager.so.0 (0x00007f8729499000)
libnih.so.1 => /lib/x86_64-linux-gnu/libnih.so.1 (0x00007f8729281000)
libnih-dbus.so.1 => /lib/x86_64-linux-gnu/libnih-dbus.so.1 (0x00007f8729077000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f8728e31000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8728c29000)
Edit16:这是dll.conf。
Edit17:这是log.txt,是sudo strace sane-find-scanner的输出。
Edit18:这是scanimage -L的输出,这和我和我哥哥的笔记本电脑相同:
device `xerox_mfp:libusb:003:003' is a SAMSUNG ORION multi-function peripheral
lsmod
插入扫描仪的情况下提供两台计算机的输出,则可以为我们提供一个良好的起点。