ALT Linux hardware support
 help / color / mirror / Atom feed
From: Michail Yakushin <silicium@altlinux.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] Как указать драйверу послеовательного порта имя устройства?
Date: Sun, 05 Apr 2009 22:02:43 +0400
Message-ID: <49D8F243.7000505@altlinux.ru> (raw)
In-Reply-To: <200904042132.42215.hisbreht@rambler.ru>

hisbreht@rambler.ru wrote:
> Паче чаяния после перехода на ALD 4.1 заработал PCMCIA EDGE модем Espada.
> Единственное, что пришлось сделать, так это подобрать правильную скорость 
> порта в параметрах pppd.
> Но возникла другая проблема.
> Когда модем вставляется при включенном компьютере, то он всегда получает 
> имя /dev/ttyS2.
> Если же он вставлен до включения питания, то он с равным успехом может 
> получить имя /dev/ttyS0 или /dev/ttyS2.
> 
> Отсюда, собственно, вопрос. Точнее два.
> 1. Как указать драйверу последовательного порта (если ничего не напутал, то 
> это в данном случае serial_cs) имя устройства, чтобы порт всегда был доступен 
> по одному имени?
думаю через /sys/ можно получить такую информацию
например через /sys/module/serial_cs/holders
> 2. Или может помочь задержка загрузки драйвера, чтобы он стартовал попозже? 
> Тогда как это устроить?
/etc/modules ?



  reply	other threads:[~2009-04-05 18:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-04 17:32 hisbreht
2009-04-05 18:02 ` Michail Yakushin [this message]
2009-04-05 18:39 ` Sergey Vlasov

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=49D8F243.7000505@altlinux.ru \
    --to=silicium@altlinux.ru \
    --cc=hardware@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 hardware support

This inbox may be cloned and mirrored by anyone:

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

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


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