|
|
这是一款老式的并口平板扫描仪.它用的是 OnSpec 90c26 adapter。因此我使用 onscsi 模块。它的安装过程与大多数被 sane 标记为 interface 为 Parport,同时需要 ppscsi 支持的扫描仪是相同的。不过要提醒您,我的扫描仪是用的 OnSpec 90c26 adapter,而你的扫描仪很可能不是它,具体选那个模块不妨参考 http://penguin-breeder.org/kernel/download/README.ppscsi.gz
不过不管是使用哪个 adapter, 它们都要用到 ppscsi。
具体细节(以 2.6.3 和 Microtek Scanner 330CS 作为例子):
- $wget [url]http://penguin-breeder.org/kernel/download/linux-ppscsi-2.6.x.patch.gz[/url]
- $wget [url]http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.3.tar.bz2[/url]
- $tar xjf linux-2.6.3.tar.bz2
- $cd linux-2.6.3
- $zcat ../kernel-ppSCSI-2.6.x.patch.gz | patch -p1
- $make menuconfig
- in Parallel port support:
- <M> Paralel port support
- <*> IEEE 1284 transfer modes
- in SCSI device support
- <M> SCSI device support
- <M> SCSI generic support
- SCSI low-level drivers --->
- <M> Parallel Port SCSI adapters
- <M> OnSpec 90c26 adapeter
- $make bzImage modules
- #make install && make modules_install
复制代码
#lilo -v 或者 用 GRUB 的兄弟检查一下 menu.list
#reboot
重启以后选择使用新的内核
- #modprobe onscsi
- #sane-find-scanner
- found SCSI scanner " scanner 330CS 1.34" at /dev/sg0
- # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
- # scanimage -L and read the backend's manpage.
- # No USB scanners found. If you expected something different, make sure that
- # you have loaded a driver for your USB host controller and have installed a
- # kernel scanner module.
- # Scanners connected to the parallel port or other proprietary ports can't be
- # detected by this program.
复制代码
看到有自己的扫描仪就可以用了!
#xsane 或者 #scanimage > image.pnm
btw,谢谢 Jochen Eisinger 为我们改写了 2.6.x 的ppscsi patch, Tim Waugh 等大大写了 2.4.x ppscsi patch. |
|