title: Pass ATTR{idVendor} as argument in udev script
body: <p>I have a script which is run whenever a usb device by vendor 1004 is connected. The udev rule I am using works and looks like this.</p>
  
  <pre><code>SUBSYSTEM=="usb", ATTR{idVendor}=="1004", RUN+="/var/www/beta/trigger.php"
  </code></pre>
  
  <p>Now I would like to have this script run whenever ANY usb device is connected, and pass the Vendor ID as parameter. (So the script can decide whether it has to be run or not.)</p>
  
  <p>Adding a parameter which can be accessed in the script has worked so far:</p>
  
  <pre><code>SUBSYSTEM=="usb", RUN+="/var/www/beta/trigger.php myparam"
  </code></pre>
  
  <p>Can someone please tell me how to replace "myparam" with the value of ATTR{idVendor}? I have tried all kinds of combinations, but I never got the expected result...</p>
  
  <p>Thanks a lot!</p>