From: "Хихин Руслан" <ruslandh@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Usb-modeswitch, правила для udev
Date: Fri, 22 Jul 2016 13:14:08 +0300
Message-ID: <201607221314.16988@3114> (raw)
In-Reply-To: <201607221244.06943.asy@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]
Здравствуйте !
On Friday 22 July 2016 11:44:06 Sergey Afonin написал(а):
> паттерн KERNEL=="tty[A-Z]*[0-9]", получается, соответствует буквам
> tty, затем одной строчной букве, затем любому количеству любых символов,
> заканчивающихся на какую-то цифру. Так что ли ? Хотели именно это ?
Наверное, да, типа ttyS0, ttyUSB1 .. ttyUSB126
> ATTRS пытается найти значение параметра в {} вообще везде ?
Вы, наверное лучше переведёте:
Search the devpath upwards for a device with matching sysfs
attribute values. If multiple ATTRS matches are specified, all of
them must match on the same device. Trailing whitespace in the
attribute values is ignored unless the specified match value itself
contains trailing whitespace.
upwards - я так понимаю вверх по устройствам, но никто не не говорит, где
низ ;-) Гугл, подсказывает, что поиск идёт среди родительских устройств.
> Обсуждаемое в баге правило ATTRS{idVendor}=="12d1", ... где, в итоге,
> ищет 12d1 ? Любой idVendor, и у устройства, и в parent device, так что ли ?
Похоже да
> А зачем в parent device искать в данном случае ?
Вопрос конечно интересный.
> Получается, что правило от балды написано ?
No Comments
;-)
Как пример:
http://unixforum.org/index.php?showtopic=132712
--
C уважением, Хихин Руслан.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2016-07-22 10:14 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 11:18 [devel] Usb-modeswitch Hihin Ruslan
2016-05-03 12:59 ` Alexey Shabalin
2016-05-03 14:29 ` Hihin Ruslan
2016-05-04 10:48 ` Хихин Руслан
2016-05-04 11:36 ` Sergey Afonin
2016-05-04 11:46 ` Aleksey Novodvorsky
2016-05-04 11:59 ` Sergey Afonin
2016-05-04 12:40 ` Ruslan Hihin
2016-05-04 12:18 ` Sergey Afonin
2016-05-04 12:19 ` Ruslan Hihin
2016-05-04 12:49 ` Sergey Afonin
2016-05-04 18:16 ` Hihin Ruslan
2016-07-22 7:21 ` [devel] Usb-modeswitch, правила для udev Sergey Afonin
2016-07-22 8:02 ` Ruslan Hihin
2016-07-22 8:12 ` Ruslan Hihin
2016-07-22 8:44 ` Sergey Afonin
2016-07-22 9:03 ` Ruslan Hihin
2016-07-22 10:14 ` Хихин Руслан [this message]
2016-07-22 10:25 ` Anton V. Boyarshinov
2016-07-22 10:36 ` Хихин Руслан
2016-07-22 11:09 ` Sergey Afonin
2016-07-22 11:33 ` Ruslan Hihin
2016-07-22 11:15 ` Anton V. Boyarshinov
2016-07-22 10:58 ` Sergey Afonin
2016-07-22 11:10 ` Anton V. Boyarshinov
2016-07-22 11:38 ` Ruslan Hihin
2016-07-22 11:41 ` Sergey Afonin
2016-07-22 8:22 ` Ruslan Hihin
2016-07-22 9:01 ` Sergey Afonin
2016-07-22 9:42 ` Ruslan Hihin
2016-05-04 12:00 ` [devel] Usb-modeswitch Sergey Afonin
2016-05-04 18:18 ` Hihin Ruslan
2016-05-04 18:49 ` Alexey Shabalin
2016-05-04 19:13 ` Hihin Ruslan
2016-05-04 19:31 ` Hihin Ruslan
2016-05-04 19:39 ` Aleksey Novodvorsky
2016-05-04 19:42 ` Hihin Ruslan
2016-05-04 20:51 ` Hihin Ruslan
2016-05-04 22:54 ` Hihin Ruslan
2016-05-05 5:01 ` Sergey Afonin
2016-05-05 5:05 ` Hihin Ruslan
2016-05-05 5:27 ` Aleksey Novodvorsky
2016-05-05 5:38 ` Hihin Ruslan
2016-05-05 5:48 ` Aleksey Novodvorsky
2016-05-05 5:59 ` Hihin Ruslan
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=201607221314.16988@3114 \
--to=ruslandh@gmail.com \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git