ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] листая /etc/init.d/slmodemd
Date: Sat, 30 Jul 2005 19:47:51 +0400
Message-ID: <20050730154751.GD11547@procyon.home> (raw)
In-Reply-To: <42EB8058.6090300@nm.ru>

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

On Sat, Jul 30, 2005 at 05:27:52PM +0400, Arioch wrote:
> slmodemd - это демон многих win-модемов, например одного, встроенного в
> мой ноут (MaxSelect.ru M620).
> 
> Сижу практически без инета - потому все письма готовлю в офлайне.
> Потому же Сизиф у меня примерно месячной давности, там где BootSplash
> (или в соотв. с документациейBootSlash - это IMHO правильней) совместно
> с initrd от wks 2.6.11 alt 4 не хотят загружаться по хорошему :)
> Надеюс в данном случае не за вчерашним днём погнался :D
> 
> В багтрэкер не кладусь поскольку в офлайне и поскольку ожидаю вправления
> рук или надавания по оным. Когда прочитаю ответы (if any) не знаю, но
> как-нибудь случиться же :-)
> 
> Во-первых захотелось, чтобы скрипт создавал при возможности /dev/modem;
> в память о весенней, кажется, kppp не признававшей устройств "/dev/ttySL?"
> 
> Попутно выяснилось, что скрипт забывает стереть PIDFILE
> 
> Покореженный скрипт в аттаче.

Скрипт покорёжен неправильно.  Лезть в /sys/class/{slusb,slamr} и
искать там имя, на которое нужно ставить ссылку /dev/modem, нельзя -
устройства slusb и slamr являются скорее "звуковыми картами с
телефонным интерфейсом".  Вся эмуляция модема сидит в slmodemd - там
создаётся псевдотерминал, и соответствующий файл устройства (с
неизвестным заранее minor) кладётся в /dev/ttySL*; вот на этот файл и
должна показывать ссылка /dev/modem.

На самом деле модуль slamr и соответствующие устройства сейчас могут
быть вообще не нужны - если slmodemd собран с поддержкой ALSA, вместо
этого драйвера могут использоваться драйверы типа snd-intel8x0m,
snd-via82xx-modem, snd-atiixp-modem.

> PPS: зато на сам модем права имеют только root и uucp
> Кто по идеологии Альта должен иметь права на /dev/modem ?

GROUP="uucp", MODE="0660"

Аналогичные права нужны для доступа в /var/lock/serial, чтобы
обеспечить правильную блокировку портов.

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

  reply	other threads:[~2005-07-30 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-30 13:27 Arioch
2005-07-30 15:47 ` Sergey Vlasov [this message]
2005-07-30 18:09   ` [Comm] " Arioch

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=20050730154751.GD11547@procyon.home \
    --to=vsu@altlinux.ru \
    --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