До того как поменял комп все работало без всяких настроек. ОС Freebsd стоит и на прошлом тоже стояла. Но сейчас когда запускаю sudo skanlite
Вылезает эта ошибка Error during device I/O
Если запустить xsane, то вообще сканер не обнаружит. Нужно чтобы сканер по usb работал.
# sane-find-scanner
could not fetch string descriptor: No such device (it may have been disconnected)
found USB scanner (vendor=0x04e8 [Samsung], product=0x341b [SCX-4200 Series]) at libusb:000:003
# 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).
Сейчас юзер в группе operator
Этого файла нет: /usr/share/sane/snapscan/esfw3e.bin
И вообще папки /usr/share/sane/ нет.
Я создал вручную и дал права:
ls -l /usr/share/sane/snapscan/esfw3e.bin
-rw-rw-rw- 1 user wheel 0 Aug 13 09:31 /usr/share/sane/snapscan/esfw3e.bin
установлен был:
graphics/sane-backends
print/cups
в rc.conf:
cupsd_enable="YES"
#devfs_system_ruleset="system"
devfs_system_ruleset="localrules"
lpd_enable="YES"
в /etc/devfs.rules:
[localrules=10]
add path 'ad*' mode 0666 group operator
add path 'da*' mode 0666 group operator
add path 'acd*' mode 0666 group operator
add path 'cd*' mode 0666 group operator
add path 'mmcsd*' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt*' mode 0666 group operator
add path 'ugen*' mode 0666 group operator
add path 'usbctl' mode 0666 group operator
add path 'usb*' mode 0666 group operator
add path 'lpt*' mode 0666 group operator
add path 'ulpt*' mode 0666 group operator
add path 'unlpt*' mode 0666 group operator
add path 'fd*' mode 0666 group operator
add path 'uscan*' mode 0666 group operator
# kldload uscanner
kldload: can't load uscanner: No such file or directory
dmesg | grep Samsung
ulpt0: <Samsung SCX-4200 Series, class 0/0, rev 2.00/1.00, addr 10> on usbus0
ugen0.3: <Samsung SCX-4200 Series> at usbus0 (disconnected)
ugen0.3: <Samsung SCX-4200 Series> at usbus0
ulpt0: <Samsung SCX-4200 Series, class 0/0, rev 2.00/1.00, addr 11> on usbus0
ugen0.3: <Samsung SCX-4200 Series> at usbus0 (disconnected)
ugen0.3: <Samsung SCX-4200 Series> at usbus0
ulpt0: <Samsung SCX-4200 Series, class 0/0, rev 2.00/1.00, addr 12> on usbus0
ugen0.3: <Samsung SCX-4200 Series> at usbus0 (disconnected)
ugen0.3: <Samsung SCX-4200 Series> at usbus0
ulpt0: <Samsung SCX-4200 Series, class 0/0, rev 2.00/1.00, addr 13> on usbus0