From: Thomas Bechtold <thomasbechtold@jpberlin.de>
To: linux-hotplug@vger.kernel.org
Subject: How to trigger a udev rule
Date: Thu, 03 Mar 2011 06:21:27 +0000 [thread overview]
Message-ID: <1299133287.2394.10.camel@salbei> (raw)
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
Hi,
i have a udev rule and want to trigger this rule with "udevadm trigger".
The rule is:
### only check /dev/ttyS1 (atmel_usart.1) for modem ###
ACTION!="add|change", GOTO="mm_platform_device_whitelist_end"
SUBSYSTEM!="platform", GOTO="mm_platform_device_whitelist_end"
DRIVERS=="atmel_usart",KERNELS=="atmel_usart.1",ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
LABEL="mm_platform_device_whitelist_end"
Any idea how to trigger this?
Cheers,
Tom
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2011-03-03 6:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 6:21 Thomas Bechtold [this message]
2011-03-03 6:36 ` How to trigger a udev rule Andrey Borzenkov
2011-03-03 6:49 ` J. Bakshi
2011-03-03 8:54 ` Martin Pitt
2011-03-03 9:52 ` Thomas Bechtold
2011-03-03 10:39 ` Andrey Borzenkov
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=1299133287.2394.10.camel@salbei \
--to=thomasbechtold@jpberlin.de \
--cc=linux-hotplug@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).