Commit 6ece6775 authored by Test's avatar Test

update udev rules

parent 118d302d
......@@ -4,6 +4,5 @@ SUBSYSTEM=="usb", ATTR{idProduct}=="0403", ATTR{idVendor}=="2bc5", MODE:="0666",
SUBSYSTEM=="usb", ATTR{idProduct}=="0404", ATTR{idVendor}=="2bc5", MODE:="0666", OWNER:="xiaoqiang", GROUP:="video", SYMLINK+="astra_mini"
SUBSYSTEM=="usb", ATTR{idProduct}=="0407", ATTR{idVendor}=="2bc5", MODE:="0666", OWNER:="xiaoqiang", GROUP:="video", SYMLINK+="astra_mini_s"
SUBSYSTEM=="video4linux", ATTR{name}=="Astra Pro HD Camera: Astra Pro ", MODE:="0666", OWNER:="xiaoqiang", SYMLINK+="video002"
SUBSYSTEM=="video4linux", ATTR{name}=="USB 2.0 Camera: HD USB Camera", MODE:="0666", OWNER:="xiaoqiang", SYMLINK+="video001"
SUBSYSTEM=="video4linux", ATTR{name}=="ZED: ZED", MODE:="0666", OWNER:="xiaoqiang", SYMLINK+="video003"
SUBSYSTEM=="video4linux", ATTR{name}=="KINGSEN CAMERA: KINGSEN CAMERA", MODE:="0666", OWNER:="xiaoqiang", SYMLINK+="video001"
KERNELS=="2-3:1.0",SUBSYSTEM=="video4linux", ATTR{index}=="0", MODE:="0666", OWNER:="xiaoqiang", SYMLINK+="video001"
......@@ -7,4 +7,6 @@ fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cp -pf $DIR/etc/* /etc/udev/rules.d/
udevadm control --reload
echo "dev config file recovered, you need to replugin your devices and restart startup service."
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment