[mdk-re] SANE

John Profic =?iso-8859-1?q?profic_=CE=C1_lrn=2Eru?=
Ср Окт 10 23:03:08 MSD 2001


Andriy Dobrovol's'kii wrote:

> John Profic wrote:
>> Andriy Dobrovol's'kii wrote:
>>> тут ключевым моментом стало уже:
>>> [sanei_pa4s2] pa4s2_open: setuid failed: errno = 1
>>> и ни гу-гу.
>>> Может знаете кого и где лечить?
>> попробуйте сделать
>> SANE_DEBUG_MUSTEK_PP=6 SANE_DEBUG_SANEI_PA4S2=255 scanimage -L
>> и прислать результат...
> Присылаю:
> $ SANE_DEBUG_MUSTEK_PP=6 SANE_DEBUG_SANEI_PA4S2=255 scanimage -L

<snip>

> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> find-scanner tool (if appropriate). Please read the documentation which 
> came
> with this software (README, FAQ, manpages).
> [mustek_pp] exit: (...)

Еще раз перечитал man sane-mustek_pp:
Note that the backend needs to run as root. To allow user access to the 
scanner run the backend through the network interface (See saned(1) and 
sane-net(5)). Note also that the backend does not support parport 
sharing, i.e. if you try printing while scanning, your computer may 
crash. This backend also conflicts with the sane-musteka4s2 backend. You 
can only enable one of them in your dll.conf. However, you have to 
enable the backend explicitly in your dll.conf, just remove the hash 
mark in the line "mustek_pp".
Вот собственно перевод:
Заметьте, что данный драйвер должен быть запущен от root-а. Для того, 
чтобы разрешить сканирование пользователям, сделайте сканирование через 
сетевой интерфейс (смотрите saned(1) и sane-net)). Так же, драйвер не 
поддерживает разделение порта принтера, т.е. если вы попытаетесь 
распечатать во время сканирования, ваш компьютер может зависнуть. Этот 
драйвер также конфликтует с драйвером sane-musteka4s2. Вы можете 
разрешить только один из них в вашем dll.conf. Кроме того, вы должны 
включить этот драйвер в вашем dll.conf, убрав символ решетки в строке с 
"mustek-pp"
Теперь инструкции:
dll.conf:
musek_pp
net
#the_end

net.conf:
localhost
#the_end

saned.conf:
localhost
#the_end

Также включите сервис sane в xinet.d (об этом написано в saned.conf)

Как видите, я вас немного обманул в начале :)
Вот собственно и все, поскольку из-под рута он у вас работает, то теперь 
все должно быть без проблем :)
-- 
Best regards,
  John Profic <profic на lrn.ru>
Written by Mozilla 0.9.4
using ASPLinux release 1.1 with ru_RU.CP1251,
system: kernel 2.4.10-xfs-p1; glibc 2.2.4; gcc 3.0.1; XFree86 4.1.0;






Подробная информация о списке рассылки community