This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cs:udev:start [2016/10/06 13:06] James Irwin created |
cs:udev:start [2018/01/24 17:24] (current) Ryan Summers |
||
---|---|---|---|
Line 5: | Line 5: | ||
/etc/udev/rules.d/50-usb.rules | /etc/udev/rules.d/50-usb.rules | ||
Then add a line for the USB device, such as | Then add a line for the USB device, such as | ||
- | SUBSYSTEM=="tty", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0043", SYMLINK+="sensor_arduino" | + | SUBSYSTEM=="tty", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0043", ATTRS{idSerial}=="41, SYMLINK+="sensor_arduino" |
- | To properly identify the vendor and product id, you will want to run lsusb, and take a look at the ID field for the proper device. | + | To properly identify the vendor ID, product ID, and serial number, you should run |
+ | udevadm monitor --attribute-walk [port] |