From: Anton Farygin <rider@altlinux.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] hp sj2200c and sane
Date: Thu, 27 Apr 2006 13:49:52 +0400
Message-ID: <e2q3vn$9ov$4@sea.gmane.org> (raw)
In-Reply-To: <20060427080716.GA27714@ricom.ru>
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
next prev parent reply other threads:[~2006-04-27 9:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 9:05 Alexey Morsov
2006-04-25 19:11 ` Vitaly Lipatov
2006-04-26 7:29 ` Alexey Morsov
2006-04-26 20:40 ` Vitaly Lipatov
2006-04-27 8:07 ` Alexey Morsov
2006-04-27 9:49 ` Anton Farygin [this message]
2006-04-27 10:37 ` Alexey Morsov
2006-04-27 11:16 ` Anton Farygin
2006-04-27 14:50 ` Alexey Morsov
2006-04-27 19:40 ` Vitaly Lipatov
2006-04-28 8:17 ` Alexey Morsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e2q3vn$9ov$4@sea.gmane.org' \
--to=rider@altlinux.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git