Если следовать инструкции из
https://wiki.archlinux.org/index.php/SANE, то If you get an
"Invalid argument" error with xsane or another sane front-end, this could be caused by one of the following reasons:
1. Missing firmware file - нет, файл прошивки (ccd548.fw) имеется и он лежит тут /usr/share/sane/gt68xx
2. Wrong firmware file permissions
Код: Выделить всё
# chown root:scanner /usr/share/sane/SCANNER_MODEL/FIRMWARE_FILE
# chmod ug+r /usr/share/sane/SCANNER_MODEL/FIRMWARE_FILE
Сделано, не помогает.
3. Multiple backends claim scanner (поиграться с /etc/sane.d/dll.conf), например:
или
Я закомментировал (#) все записи, кроме gr68xx - не помогает
4. Communication via xHCI not working (older scanner models) - подключил сканер к usb2 -
не помогает.
5. Slow startup - см. п. 3.
6. Device busy - если я правильно понял, нужно добавить пользователя в группу
scanner. Добавил, не помогает.
7. Permission problem
In our example we see the scanner: Bus 001 Device 006: ID 03f0:2504 Hewlett-Packard. Here 03f0 is the vendorID and 2504 is the productID.
Now open /usr/lib/udev/rules.d/49-sane.rules and see if there is there is a line with the vendorID and productID of your scanner. If there is not any, create the new file /etc/udev/rules.d/49-sane-missing-scanner.rules, with the following contents:
ATTRS{idVendor}=="vendorID", ATTRS{idProduct}=="productID", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
Save the file, plug out and back in your scanner and the file permissions should be now correct.
У меня нет файла /usr/lib/udev/rules.d/49-sane.rules и его создание ничего не меняет, НО у меня есть файл
/lib/udev/rules.d/60-libsane.rules в котором уже имеется строчка ATTRS{idVendor}=="0458", ATTRS{idProduct}=="201b", ENV{libsane_matched}="yes". Так же, я раскомментировал изменил и строчку
Код: Выделить всё
# For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y
# If the following rule does not exist on your system yet, uncomment it
ENV{DEVTYPE}=="usb_device", MODE="0666", OWNER="root", GROUP="root"
Вообщем, ничего не помогает
