[mdk-re] SANE

Andriy Dobrovol's'kii =?iso-8859-1?q?dobr_=CE=C1_iop=2Ekiev=2Eua?=
Ср Окт 10 11:05:04 MSD 2001


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
[sanei_debug] Setting debug level of mustek_pp to 6.
[mustek_pp] init: SANE v1.0.4, backend v1.0.9-devel
[mustek_pp] I wouldn't let myself be root if I were you...
[mustek_pp] init: option io-mode 2
[mustek_pp] init: option niceload
[mustek_pp] init: trying port `0x378'
[sanei_debug] Setting debug level of sanei_pa4s2 to 255.
[sanei_pa4s2] sanei_pa4s2_open: interface called for the 
first time
[sanei_pa4s2] sanei_pa4s2_open: called for device '0x378'
[sanei_pa4s2] sanei_pa4s2_open: trying to connect to port
[sanei_pa4s2] pa4s2_open: trying to attach dev `0x378`
[sanei_pa4s2] pa4s2_open: static int first_time = 1
[sanei_pa4s2] pa4s2_open: called for the first time
[sanei_pa4s2] pa4s2_open: trying to setuid root
[sanei_pa4s2] pa4s2_open: setuid failed: errno = 1
[sanei_pa4s2] pa4s2_open: returning SANE_STATUS_INVAL
[sanei_pa4s2] sanei_pa4s2_open: connection failed
[mustek_pp] attach: couldn't attach to `0x378' (Invalid 
argument)
[mustek_pp] attach(v1.0.9-devel): line 2538: debug exception
[mustek_pp] init: couldn't attach to port `0x378'
[mustek_pp] init: 'name' only allowed after 'port'
[mustek_pp] init: 'vendor' only allowed after 'port'
[mustek_pp] init: option wait-lamp 15
[mustek_pp] init: setting global option wait-lamp to 15
[mustek_pp] init: option strip-height 16
[mustek_pp] init: setting global option strip-height to 16
[mustek_pp] init: option buffer 122400
[mustek_pp] init: setting global option buffer to 122400
[sanei_pa4s2] sanei_pa4s2_options: called with options 2 and 
set = 1
[sanei_pa4s2] sanei_pa4s2_options: setting options to 2
[sanei_pa4s2] sanei_pa4s2_options: returning SANE_STATUS_GOOD

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: (...)

Затык здесь:
[sanei_pa4s2] pa4s2_open: called for the first time
[sanei_pa4s2] pa4s2_open: trying to setuid root
[sanei_pa4s2] pa4s2_open: setuid failed: errno = 1

 
> 
> хм, странно у меня написано 378

Это для lp1, если верить все тому же источнику.

> 
Всего,

Андрей







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