mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
add driver 99-tinyusb.rules for ubuntu, rename window usbser inf
This commit is contained in:
parent
a1e55e57a4
commit
a1c94067f7
18
tools/usb_drivers/99-tinyusb.rules
Normal file
18
tools/usb_drivers/99-tinyusb.rules
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copy this file to the location of your distribution's udev rules, for example on Ubuntu:
|
||||||
|
# sudo cp 99-tinyusb.rules /etc/udev/rules.d/
|
||||||
|
# Then reload udev configuration by executing:
|
||||||
|
# sudo udevadm control --reload-rules
|
||||||
|
# sudo udevadm trigger
|
||||||
|
|
||||||
|
# Check SUBSYSTEM
|
||||||
|
SUBSYSTEMS=="hidraw", KERNEL=="hidraw*", MODE="0666", GROUP="dialout"
|
||||||
|
|
||||||
|
# Rule applies to all TinyUSB example
|
||||||
|
ATTRS{idVendor}=="cafe", MODE="0666", GROUP="dialout"
|
||||||
|
|
||||||
|
# Rule to blacklist TinyUSB example from being manipulated by ModemManager.
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="cafe", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||||
|
|
||||||
|
# Xplained Pro SamG55 Device
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2111", MODE="0666", GROUP="users", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||||
|
SUBSYSTEMS=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2111", MODE="0666", GROUP="users", ENV{ID_MM_DEVICE_IGNORE}="1"
|
Loading…
x
Reference in New Issue
Block a user