Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

a. Is it possible to find out, which udev rule triggered as soon as some USB/serial device plug-in or plug-out ?

b. Is it possible to reload one specific rule out of many rules, without device replug ?

share|improve this question

2 Answers 2

Run

udevadm monitor

And all udev information will be displayed on your screen as it is generated.

share|improve this answer
1  
It didn't name the udev rule file –  SHW Jan 15 '14 at 10:13

I found solution to (a) atleast.

I need to run udevadm test <sys_path_of_Device>

This command will run in dry-mode, but will give the correct pointer to rules file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.