Timeline for How to execute a shellscript when I plug-in a USB-device
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 4, 2021 at 20:26 | comment | added | Olaf Dietsche | @sherrellbc I don't know. But consider, that lsusb is specific to USB, while udevadm is more general and covers a wider range of device types. | |
| Aug 4, 2021 at 18:11 | comment | added | sherrellbc | Huh. So lsusb provides idVendor:idProduct in its output (per example rules file), but that same information is referred to as ID_VENDOR_ID and ID_MODEL_ID in the output of udevadm info --query=all /device/path. The naming inconsistency is confusing. Are model and product considered different info? | |
| S Dec 29, 2016 at 12:59 | history | suggested | j1088099.mvrht.com. | CC BY-SA 3.0 | add code formatting to filename |
| Dec 29, 2016 at 12:43 | review | Suggested edits | |||
| S Dec 29, 2016 at 12:59 | |||||
| Jul 30, 2016 at 15:19 | comment | added | Avindra Goolcharan | You can also add ACTION=="add", directly to the rule definition. | |
| Apr 16, 2013 at 9:56 | comment | added | Redsandro | I would like to encourage you to also check out this question and see if your knowledge can be valuable there. :) | |
| Feb 23, 2013 at 20:45 | history | migrated | from stackoverflow.com (revisions) | ||
| Feb 22, 2013 at 16:24 | comment | added | Olaf Dietsche | @Redsandro This was not intentional, just for, well, testing purposes. Anyway, I'm glad it helped. ;-) | |
| Feb 22, 2013 at 16:20 | vote | accept | Redsandro | ||
| Feb 22, 2013 at 16:20 | comment | added | Redsandro | This is interesting! It seems that it has no permission to write to /log/. It does write to /tmp/. I guess it had no permission to read my previous testscripts either. | |
| Feb 22, 2013 at 16:00 | history | answered | Olaf Dietsche | CC BY-SA 3.0 |