andy baxter wrote:
Sorry, I made a mistake in the second rule - it should have been 'snd-seq-midi'. But this still doesn't work.I have also tried separating the two rules, like this:ACTION=="ADD", ATTR{manufacturer}=="EDIROL", ATTR{product}=="PCR", RUN+="/usr/local/bin/fluidrun"ACTION=="REMOVE", DRIVER=="snd-usb-midi", RUN+="touch /tmp/udevtest"
Nor with DRIVERS=="snd-seq-midi".