-----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):
Ugh. Fpaste didn't like that first time:
I added the "<<<plug>>>" and "<<<unplug>>>" lines to indicate when the device was inserted/removed.
Regards, Bryn.