-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/29/2012 05:15 PM, Bryn M. Reeves wrote:
On 05/29/2012 04:15 PM, Arthur Dent wrote:
> I have never used udevadm before. If I have read the man page
> correctly, all I need to do is to initiate "udevadm monitor" and
> then plug in the card, is that right?
Yes - just run the command as root and it will continue running
and printing events to the terminal until you interrupt it with
Ctrl-C.
Here's some sample output showing an add/remove cycle for a USB
flash device (although this machine has an SD reader I don't have a
card on me right now so a USB stick was the closest I could get):
http://fpaste.org/UwHH
Ugh. Fpaste didn't like that first time:
http://fpaste.org/ga6d/
I added the "<<<plug>>>" and
"<<<unplug>>>" lines to indicate when the
device was inserted/removed.
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAk/E9u8ACgkQ6YSQoMYUY94HcQCgwOGxcaaRdhnQ0wYHm7R3UCiv
KVkAn0iWUUyBvqGFDRAqDJiftRUBf4uc
=nPWe
-----END PGP SIGNATURE-----