ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] hp sj2200c and sane
Date: Thu, 27 Apr 2006 12:07:16 +0400
Message-ID: <20060427080716.GA27714@ricom.ru> (raw)
In-Reply-To: <200604270040.57336.lav@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 2536 bytes --]

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

Теперь снова все работает. Спасибо.
Это у меня такая бяка была или это кто-то чего-то недосоздал (багу вешать)?

-- 

С уважением,
Алексей Морсов
системный администратор ЗАО "ИК "Риком-Траст"

ICQ: 196-766-290
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru

[playing] Yoko Kanno - Cowboy Bebop - Ask DNA Single - COSMIC DARE (PRETTY WITH A PISTOL) (2001)

> Но дам неплохой совет - прежде чем тестировать патчи нужно
> вытащить mysql из chroot...
Но прежде чем использовать - втащить обратно в чрут.
		-- ldv in sisyphus@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

  reply	other threads:[~2006-04-27  8:07 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 [this message]
2006-04-27  9:49         ` Anton Farygin
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=20060427080716.GA27714@ricom.ru \
    --to=samurai@ricom.ru \
    --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