[sisyphus] hp sj2200c and sane

Anton Farygin rider на altlinux.com
Чт Апр 27 13:49:52 MSD 2006


Alexey Morsov wrote:
> On Thu, Apr 27, 2006 at 12:40:55AM +0400, Vitaly Lipatov wrote:
>> On Wednesday 26 April 2006 11:29, Alexey Morsov wrote:
>>
>>> [plustek] sanei_access_lock failed: 11
>>> [plustek] open failed: -1
>> Проблема в невозможности установить блокировку.
>> Покажите 
>> $ rpm -q sane
> 
>> $ ls -l /var/lock/sane
> morsov на alexey ~ $ rpm -q sane          
> sane-1.0.17-alt0.1
> morsov на alexey ~ $ ls -l /var/lock/sane 
> итого 0
> 
>> и
>> # SANE_DEBUG_SANEI_ACCESS=4 scanimage -L
> 
> t на alexey ~ # ls -l /var/lock/sane                  
> total 0
> root на alexey ~ # SANE_DEBUG_SANEI_ACCESS=4 scanimage -L
> [sanei_debug] Setting debug level of sanei_access to 4.
> [sanei_access] sanei_access_init: >plustek<
> [sanei_access] sanei_access_lock: devname >libusb:001:003<, timeout: 5
> [sanei_access] sanei_access: lockfile name >/var/lock/sane/sane/LCK..libusb:001:003<
> [sanei_access] sanei_access_lock: open >/var/lock/sane/sane/LCK..libusb:001:003< failed: No such file or directory
> 
> Соответственно (не знаю уж почему ее там нет), сделал:
> 
> root на alexey ~ # mkdir -m 775 /var/lock/sane/sane
> root на alexey ~ # chown root.scanner /var/lock/sane/sane 
> root на alexey ~ # ls -l /var/lock/sane 
> total 0
> drwxrwxr-x 2 root scanner 6 Apr 27 12:05 sane
> root на alexey ~ # SANE_DEBUG_SANEI_ACCESS=4 scanimage -L
> [sanei_debug] Setting debug level of sanei_access to 4.
> [sanei_access] sanei_access_init: >plustek<
> [sanei_access] sanei_access_lock: devname >libusb:001:003<, timeout: 5
> [sanei_access] sanei_access: lockfile name >/var/lock/sane/sane/LCK..libusb:001:003<
> [sanei_access] sanei_access_lock: success
> [sanei_access] sanei_access_unlock: devname >libusb:001:003<
> [sanei_access] sanei_access: lockfile name >/var/lock/sane/sane/LCK..libusb:001:003<
> [sanei_access] sanei_access_unlock: devname >libusb:001:003<
> [sanei_access] sanei_access: lockfile name >/var/lock/sane/sane/LCK..libusb:001:003<
> device `plustek:libusb:001:003' is a Hewlett-Packard Scanjet 2200c USB flatbed scanner
> 
> Теперь снова все работает. Спасибо.
> Это у меня такая бяка была или это кто-то чего-то недосоздал (багу вешать)?

Вешать багу.

Rgds,
Rider



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