LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2762|回复: 6

驱动扫描仪的问题,usb端口epson1670扫描仪

[复制链接]
发表于 2005-5-9 13:36:30 | 显示全部楼层 |阅读模式
我的usb端口epson1670扫描仪,连接到as3 u4上,用lsusb命令能看到
bus 004 device 002: id 04b8:011f seiko epson corp.
直接运行xsane,提示no devices available

as3 u4
sane-backends的版本是1.0.9-5.7

http://snapscan.sourceforge.net/里显示epson 1670的bin文件名是esfw30.bin,我在windows下找到了这个文件,并把它拷贝到/root/firmware下,然后修改了/etc/sane.d/snapscan.conf
4.修改/etc/sane.d/snapscan.conf,只改两行
firmware /root/firmware/esfw30.bin
/dev/usb/scanner0 bus=usb
接着运行以下命令,最后还是没有驱动起来.
[root@zhangshg xsane-0.91]# sane-find-scanner

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".

found USB scanner (vendor=0x0461, product=0x0375) at libusb:002:002
#表明找到了扫描仪
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Scanners connected to the parallel port or other proprietary ports can't be
# detected by this program.

[root@zhangshg xsane-0.91]# 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). Please read the documentation
which came with this software (README, FAQ, manpages).

这是怎么回事啊?

看别的教材说打开内核的USB Scanner Support
用lsusb能看到扫描仪,应该说,已经打开了吧?

另外:我不想升级内核,只想重新编译,打开USB Scanner Support,应该怎么做呢?没有更新的内核,到那里执行make menuconfig呢?
 楼主| 发表于 2005-5-10 09:39:08 | 显示全部楼层
顶一下,兄弟们帮帮忙啊
回复 支持 反对

使用道具 举报

发表于 2005-5-10 10:58:26 | 显示全部楼层
能不能行,得看一下内核是不是已经支持了。在这里找一找有没有模块。。

#ls /lib/modules/2.XXXXX 您的内核名/kernel/drivers/usb/


看里面有没有扫描仪的模块。。如果有就

#modprobe 模块名不带后缀
#lsmod
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-10 11:22:39 | 显示全部楼层
谢谢,老大的回复,我查看了一下内核,usb scanner support以模块的形式被支持了

运行
[root@as3 root]# ls /lib/modules/2.4.21-27.EL/kernel/drivers/usb/
acm.o      CDCEther.o  hpusbscsi.o  microtek.o   rtl8150.o  usbcore.o   wacom.o
audio.o    dabusb.o    kaweth.o     pegasus.o    scanner.o usb-midi.o
brlvger.o  hid.o       kbtab.o      powermate.o  serial     usbnet.o
catc.o     host        mdc800.o     printer.o    storage    uss720.o

有scanner.o

运行了modprobe scanner

运行
[root@as3 root]# lsmod
Module                  Size  Used by    Not tainted
[B]scanner                11448   0  (unused)
ide-cd                 33920   0  (autoclean)
cdrom                  32416   0  (autoclean) [ide-cd]
i830                   72024   1
agpgart                57752  11  (autoclean)
usbserial              23580   0  (autoclean) (unused)

也有scanner,可是显示的是unused

用xsane,还是找不到扫描仪。
回复 支持 反对

使用道具 举报

发表于 2005-5-10 11:47:05 | 显示全部楼层
重编内核吧,最好用新一点的。。

如果不是服务器应用,还是用新的内核支持设备比较好。。

http://www.kernel.org 去下载一个。


仔细看一下这个也好。。可能兄弟看过了。。

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=23140
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-10 13:48:13 | 显示全部楼层
再次谢谢老大

我就是按那篇文章做的

也重新编译了内核,还是不行(没有升级)

我打算升级sane看看

试验完再来报告
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-10 15:01:31 | 显示全部楼层
搞定了

升级到
sane-backends-1.0.15
sane-frontends-1.0.13
xsane-0.97

就能正确认出扫描仪了,发pp庆祝一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表