- Perfection 1680のドライバesfw30.binをgoogle等で探してダウンロードする。
- esfw30.binを/usr/local/etc/sane.dに保存する。
- /usr/local/etc/sane.d/snapscan.confを編集。
# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
firmware /usr/local/etc/sane.d/esfw30.bin
# For USB scanners also specify bus=usb, e.g.
# /dev/usb/scanner0 bus=usb
/dev/uscanner0 bus=usb
- /usr/src/sys/dev/usb/usbdevs.hに以下の行を追加する。パッチはこちら。
#define USB_PRODUCT_EPSON_GT8400UF 0x011f /* GT-8400UF scanner */
- /usr/src/sys/dev/usb/usbdevs_data.hに以下の行を追加する。パッチはこちら。
{
USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT8400UF,
0,
"Seiko Epson",
"Perfection 1670 scanner",
},
- /usr/src/sys/dev/usb/usbdevsに以下の行を追加する。パッチはこちら。
product EPSON GT8400UF 0x011f GT-8400UF scanner
- /usr/src/sys/dev/usb/uscanner.cに以下の行を追加する。パッチはこちら。
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT8400UF }, 0 },
- usbdevs.h、usbdevs_data.h、usbdevs、uscanner.cに修正を加えた後カーネルを再コンパイル、インストールして再起動。
- sane-find-scannerとscanimage を実行してスキャナを認識しているか確認をとる。
# sane-find-scanner -q
found USB scanner (vendor=0x04b8, product=0x011f) at /dev/uscanner0
# scanimage -L
device `snapscan:/dev/uscanner0' is a EPSON EPSON Scanner flatbed scanner
- xsaneを用いてスキャナを使用する。 スクリーンショット
- /etc/devfs.confに以下の項目を付け足すとルートにならなくともスキャナを使用できる。
own uscanner0 ユーザー名:グループ名
記述した後/etc/rc.d/devfs restartを行なう。