forked from litex-hub/litex-buildenv-udev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path98-hdmi2usb-opsis.rules
28 lines (21 loc) · 1.2 KB
/
98-hdmi2usb-opsis.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Grant permissions to Numato Opsis board.
# In unconfigured mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5440", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis"
# In JTAG/firmware upload mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5441", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis"
SUBSYSTEM=="tty", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5441", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis", ENV{ID_HDMI2USB_TTY}:=""
# In production mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5442", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis"
SUBSYSTEM=="tty", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5442", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis", ENV{ID_HDMI2USB_TTY}:=""
SUBSYSTEM=="video4linux", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5442", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis"
# TOFE LowSpeedIO board
SUBSYSTEM=="usb", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5445", \
MODE:="0660", GROUP:="video"
SUBSYSTEM=="tty", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5445", \
ENV{ID_HDMI2USB}:="1", ENV{ID_HDMI2USB_BOARD}:="opsis", ENV{ID_HDMI2USB_TTY}:="-aux"