ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yuriy Shirokov <yuriy.shirokov@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] CUPS: "Waiting for printer to become available"
Date: Wed, 19 Oct 2011 10:35:05 +0400
Message-ID: <4E9E6F99.6090505@gmail.com> (raw)
In-Reply-To: <4E9E61A6.2020005@cg.ru>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

19.10.2011 09:35, Lenar Shakirov пишет:
>> Теперь при добавлении задания CUPS пишет (в веб-интерфейсе) 
>> "Waiting for printer to become available" и ничего не печтатает.
> Покажите вывод: # lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic
Keyboard 4000 V1.0

Bus 002 Device 003: ID 046d:c044 Logitech, Inc. LX3 Optical Mouse

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 002: ID 056a:0018 Wacom Co., Ltd Bamboo Fun 6x8

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 045e:075d Microsoft Corp. LifeCam Cinema
Bus 006 Device 006: ID 03f0:5317 Hewlett-Packard
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

> # lpinfo -v

network nxipp
network ipps
network socket
file cups-pdf:/
network smb
network http
network lpd
network https
network ipp
network beh
direct
hal:///org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_12_2_if0_0_printer_noserial
direct parallel:/dev/lp0

> # lsmod | grep usblp

usblp                  18065  0
usbcore               169637  8
usblp,wacom,usbhid,snd_usb_audio,snd_usbmidi_lib,ehci_hcd,ohci_hcd

Ага, модуля usblp действительно в ядре не было. Добавил его,
переподключил принтер, перезапустил CUPS (вывод всех команд приведён
на момент после этих действий).

Картина немного изменилась: во-первых, теперь при подлкючении
выводится другое сообщение:
[ 8433.948034] usb 6-1: new high speed USB device number 6 using ehci_hcd
[ 8434.082249] usblp0: USB Bidirectional printer dev 6 if 0 alt 0
proto 2 vid 0x03F0 pid 0x5317

Во-вторых, в лог валится вот такое:
[ 8912.960446] usb 6-1: usbfs: interface 0 claimed by usblp while
'usb' sets config #1
[ 8917.961458] usb 6-1: usbfs: interface 0 claimed by usblp while
'usb' sets config #1
[ 8922.962468] usb 6-1: usbfs: interface 0 claimed by usblp while
'usb' sets config #1
[ 8927.963496] usb 6-1: usbfs: interface 0 claimed by usblp while
'usb' sets config #1
[ 8932.964522] usb 6-1: usbfs: interface 0 claimed by usblp while
'usb' sets config #1

- -- 
С уважением,
Ю.А.Широков.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6eb5gACgkQKZtDzcL0NsPeEwCeOXQV4E/EkinlxiEjyud7qh5V
XBoAn1XzMdlV7xtI+G+s5/p4HJQifL+C
=n/q1
-----END PGP SIGNATURE-----


  reply	other threads:[~2011-10-19  6:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18 18:36 Yuriy Shirokov
2011-10-19  5:33 ` Anton Gorlov
2011-10-19 10:02   ` Paul Wolneykien
2011-10-19  5:35 ` Lenar Shakirov
2011-10-19  6:35   ` Yuriy Shirokov [this message]
2011-10-19  6:53     ` Lenar Shakirov
2011-10-22 17:08       ` Yuriy Shirokov
2011-10-24  7:51         ` Lenar Shakirov
2011-10-29 11:10           ` Yuriy Shirokov
2011-10-19  6:30 ` Ildar Mulyukov

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=4E9E6F99.6090505@gmail.com \
    --to=yuriy.shirokov@gmail.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