ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Arioch <the_Arioch@nm.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] udev: 00-LSB.rules - more modems ?
Date: Fri, 12 Aug 2005 00:55:43 +0400
Message-ID: <ddggbq$hl4$1@sea.gmane.org> (raw)

Интересовался, как должны выглядеть модемы в системе, для ежинообразия.

KERNEL=="ttyLT[0-9]",           SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"
KERNEL=="ttySH[CS]F[0-9]",      SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"
KERNEL=="ttySHCFUSB[0-9]",      SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"
KERNEL=="slamr[0-9]",           MODE="0660"

Видимо, они должны создавать /dev/modem->modem0 и /dev/modem1,
/dev/modem2 и т.д.
Правда KPPP из generic-имен воспринимает только modem, modem1 и mobile



Тогда, по аналогии - и глядя на доки slmodem и на список зашитый в KPPP

# Arioch: this is to match my WinModem, by slmodemd service on 2.6 kernel
KERNEL=="ttySLM[0-3]",          SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"
# what about usb modems? according to slmodemd docs needs slusb.ko support
KERNEL=="slusb[0-3]",           MODE="0660"

# Looking at KPP settings: known modem list..   BTW, all modem numbered
[0-3], not [0-9]
#    Guess, this is the same WinModem, on 2.4 kernel and older slmdmd
service
KERNEL=="ttySL[0-3]",           SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"

KERNEL=="ttySLT0",              SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"
KERNEL=="ttyNC0",               SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"

KERNEL=="ttySL[0-3]",           SYMLINK+="modem%e", GROUP="uucp",
MODE="0660"
# /Arioch


М.б. это можно внести в какой-нибудь 99-ExtraModems.rules и положить в
доки, чтобы юзер мог сам легко эти правила включить. Впрочем, лично мне
ttySLM0 не хватает. И, думаю, не хватит всем купившим ноуты MaxSelect
(Compact == OEM?)



Туда же, к модемам, м.б. можно отправить мобильники черезirda -
ircomm[0-3] и rfcomm[0-3] ?


PS: и еще вопрос вообще про нумерённые устройства.
Например про cdrom0, cdrom1, cdrom2...
cdrom будет ссылкой на "драйв поумолчанию", наверное на cdrom0
Допустим я могу cdrom0 отключить в любой момент ( например он у меня USB
или 1394) что будет с /dev/cdrom ?
Исчезнет ? Останется invalid symlink ? Переназначится на другой издрайвов?


PPS: а MMC/SD карточки, USB Flash drives - они должны в /dev/discs попадать?






                 reply	other threads:[~2005-08-11 20:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='ddggbq$hl4$1@sea.gmane.org' \
    --to=the_arioch@nm.ru \
    --cc=sisyphus@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 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