ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: Chernetskyy Olexander <archer@elec.com.ua>,
	ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] alt3 and /dev/modem /dev/parport0 links
Date: Mon, 26 Jun 2006 17:13:29 +0400
Message-ID: <20060626131329.GP4126@master.mivlgu.local> (raw)
In-Reply-To: <200606261232.k5QCWXoE022445@mail.elec.ru>

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

On Mon, Jun 26, 2006 at 04:32:33PM +0400, Chernetskyy Olexander wrote:
> > On Mon, Jun 26, 2006 at 02:42:04PM +0400, Chernetskyy Olexander wrote:
> > > б) /dev/parport0 -> /dev/lp0
> > Такую ссылку создавать нельзя - это разные устройства.
> 
> Да? А там есть /dev/par0 -> /dev/lp0. Я думал просто ей решили сменить имя...

Не знаю, откуда берутся ссылки с такими именами - у меня их нет.

Устройства /dev/parport* предназначены для предоставления низкоуровневого
доступа к параллельным портам (вплоть до манипуляции отдельными битами без
соблюдения стандартных протоколов Centronix).  В основном они
используются, когда к порту подключен не принтер, а какое-то другое
устройство (например, сканер).  Способ работы с этими устройствами имеет
довольно мало общего с /dev/lp*.

> >  Вместо этого
> > следует выполнить modprobe ppdev - после этого udev создаст /dev/parport0
> > автоматически.
> > С автозагрузкой модуля ppdev действительно есть проблемы - пока придётся
> > просто вписать этот модуль в /etc/modules.
> > > А утилита ink требует только /dev/parport0. И не вижу способа ее обмануть.
> > Очевидно, утилите ink требуется доступ к параллельному порту на более
> > низком уровне, чем обеспечивает драйвер lp.
> 
> А почему когда я создал руками /dev/parport0 -> /dev/lp0, то ink
> спокойно показал уровень чернил без всякой ругани?

Никогда не пользовался этой утилитой.  Если она ожидает видеть устройство,
соответствующее /dev/lp0, под именем /dev/parport0 - это явная ошибка.
Впрочем, имя устройства должно настраиваться в любом случае; если оно
вбито в код намертво, такая утилита никуда не годится.

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

      reply	other threads:[~2006-06-26 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 12:32 Chernetskyy Olexander
2006-06-26 13:13 ` Sergey Vlasov [this message]

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=20060626131329.GP4126@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=archer@elec.com.ua \
    --cc=community@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 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