ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Юрий Хорошков" <hyuv@svitonline.com>
To: community@altlinux.ru
Subject: Re: [Comm] USB printer, scanner & ALM2.2
Date: Thu, 20 Mar 2003 09:48:10 +0000
Message-ID: <200303200948.11057.hyuv@svitonline.com> (raw)
In-Reply-To: <20030320055740.GA1975@server.by>

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

В сообщении от Четверг 20 Март 2003 05:57 Alex Yustasov 
написал(a):
> On Wed, Mar 19, 2003 at 07:33:12PM +0000, Юрий Хорошков wrote:
> > Действительно, загружался только модуль parport_pc, сейчас
> > загружается и сам parport. Кроме того, по аналогии с ALJ2.2
> > RC* создал ссылку /etc/foomatic/lp.ppd ->
> > /etc/cups/ppd/lp.ppd и расширил права для пользователя. Но
> > всё равно такие же логи, как и в первом письме. Сложилось
> > такое впечатление, что к локальному серверу CUPS вообще
> > невозможно обратиться.
>
> service cups admrestart
> в mozille сходить на localhost:631
> или lynx localhost:631
> Может firewall не пускает?

Даже под root у меня нет прав пользоваться этим сервисом. А 
firewall ещё не ставил.

> У меня во время загрузки printerdrake в /var/log/messages
> kernel: parport0: PC-style at 0x378 [PCSPP,EPP]
> kernel: parport_pc: Via 686A parallel port: io=0x378
> kernel: lp0: using parport0 (polling).

Все устройства обнаруживаются (см. log), но всегда пишет, что не 
может найти модуль parport_probe (cм. 1-е письмо)

> # lsmod | grep port         показывает
> parport_pc             25288   1  (autoclean)
> parport                22976   1  (autoclean) [parport_pc lp]
>
> # lsmod | grep usb
> usb-uhci               21260   0  (unused)
> usbcore                57780   1  [printer usb-uhci]

Имеем то же самое, только цифры немного отличаются. 

> Может в свете последних рекомендаций по security ядра что-то
> делали с modprobe?

Ничего не делал. Вот, по-видимому, ключевая фраза по выходу из 
printerdrake (делал установленный принтер - "принтер по 
умолчанию"):
[root@localhost root]# printerdrake --cups
gimp-1.2.3-alt6
everything already installed
Starting CUPS: [PASSED]
devfsd: no process killed
lpadmin: set-default failed: server-error-service-unavailable
lpoptions: Unknown printer or class!
[root@localhost root]#

Интересно, я один такой "невезучий"? :) .
С уважением,
Юрий.


[-- Attachment #2: log --]
[-- Type: text/plain, Size: 2308 bytes --]

Mar 20 09:16:44 localhost DrakX: running: /sbin/modprobe printer
Mar 20 09:16:46 localhost DrakX: running: rmmod lp
Mar 20 09:16:46 localhost DrakX: running: rmmod parport_pc
Mar 20 09:16:46 localhost DrakX: running: rmmod parport_probe
Mar 20 09:16:46 localhost DrakX: running: rmmod parport
Mar 20 09:16:46 localhost DrakX: running: /sbin/modprobe parport_pc
Mar 20 09:16:46 localhost kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Mar 20 09:16:46 localhost DrakX: running: /sbin/modprobe lp
Mar 20 09:16:46 localhost kernel: lp0: using parport0 (polling).
Mar 20 09:16:46 localhost DrakX: running: /sbin/modprobe parport_probe
Mar 20 09:16:46 localhost DrakX: running: rmmod parport_probe
Mar 20 09:16:47 localhost cups: cupsd shutdown succeeded
Mar 20 09:16:47 localhost cups: cupsd startup succeeded
Mar 20 09:16:53 localhost cups: cupsd shutdown succeeded
Mar 20 09:16:53 localhost cups: cupsd startup succeeded
Mar 20 09:16:53 localhost DrakX: running: foomatic-configure -q -s cups -n lp -c file:/dev/usb/lp0 -p Epson-Sty
lus_C80 -d gimp-print -N Epson -L  -o PageSize=A4 -o MediaType=Plain -o InkType=CMYK -o GSResolution=360x360DPI
 -o Quality=360sw -o OutputType=Color -o Model=escp2-c80 -o ImageType=LineArt -o Dither=Adaptive -o stpGamma=1.
00 -o Density=1.00 -o stpBrightness=1.00 -o stpSaturation=1.0 -o Contrast=1.00 -o Cyan=1.00 -o Magenta=1.00 -o
Yellow=1.00
Mar 20 09:16:53 localhost cups: cupsd shutdown succeeded
Mar 20 09:16:54 localhost cups: cupsd startup succeeded
Mar 20 09:16:59 localhost cups: cupsd shutdown succeeded
Mar 20 09:16:59 localhost cups: cupsd startup succeeded
Mar 20 09:16:59 localhost DrakX: running: foomatic-printjob -s cups -C up lp
Mar 20 09:16:59 localhost cups: cupsd shutdown succeeded
Mar 20 09:17:00 localhost cups: cupsd startup succeeded
Mar 20 09:17:00 localhost cups: cupsd shutdown succeeded
Mar 20 09:17:00 localhost cups: cupsd startup succeeded
Mar 20 09:17:00 localhost cups: cupsd shutdown succeeded
Mar 20 09:17:01 localhost cups: cupsd startup succeeded
Mar 20 09:17:03 localhost cups: cupsd shutdown succeeded
Mar 20 09:17:04 localhost cups: cupsd startup succeeded
Mar 20 09:17:04 localhost cups: cupsd shutdown succeeded
Mar 20 09:17:05 localhost cups: cupsd startup succeeded
Mar 20 09:17:05 localhost cups: cupsd shutdown succeeded

  reply	other threads:[~2003-03-20  9:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19  9:46 Юрий Хорошков
2003-03-19 12:30 ` Alex Yustasov
2003-03-19 16:32   ` Юрий Хорошков
2003-03-19 16:13     ` Alex Yustasov
2003-03-19 19:33       ` Юрий Хорошков
2003-03-20  5:57         ` Alex Yustasov
2003-03-20  9:48           ` Юрий Хорошков [this message]
2003-03-20 11:56             ` Alex Yustasov
2003-03-21 11:52               ` [Comm] USB printer, scanner & ALM2.2(заключение) Юрий Хорошков
2003-03-21 10:30                 ` Andriy Dobrovol's'kii
2003-03-21 14:32                   ` Юрий Хорошков

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=200303200948.11057.hyuv@svitonline.com \
    --to=hyuv@svitonline.com \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git