mirror of
https://github.com/systemd/systemd
synced 2026-03-26 16:54:53 +01:00
Compare commits
2 Commits
1feeb15a0c
...
6a3e4e43be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a3e4e43be | ||
|
|
94cb45d57f |
33
hwdb.d/70-analyzers.hwdb
Normal file
33
hwdb.d/70-analyzers.hwdb
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# Database for signal analyzers (protocol analyzers, logic analyzers,
|
||||||
|
# oscilloscopes, multimeters, bench power supplies, etc.) that should
|
||||||
|
# be accessible to the seat owner.
|
||||||
|
#
|
||||||
|
# Permitted keys:
|
||||||
|
# Specify if a device is a signal analyzer
|
||||||
|
# ID_SIGNAL_ANALYZER=1|0
|
||||||
|
|
||||||
|
###########################################################
|
||||||
|
# Total Phase
|
||||||
|
###########################################################
|
||||||
|
# Aarvark I2C/SPI Host Adapter
|
||||||
|
usb:v0403pe0d0*
|
||||||
|
ID_SIGNAL_ANALYZER=1
|
||||||
|
|
||||||
|
# Beagle Protocol Analyzers
|
||||||
|
usb:v1679p2001*
|
||||||
|
ID_SIGNAL_ANALYZER=1
|
||||||
|
|
||||||
|
# Cheetah SPI Host Adapter
|
||||||
|
usb:v1679p2002*
|
||||||
|
ID_SIGNAL_ANALYZER=1
|
||||||
|
|
||||||
|
# Komodo CAN Duo Interface
|
||||||
|
usb:v1679p3001*
|
||||||
|
ID_SIGNAL_ANALYZER=1
|
||||||
|
|
||||||
|
# Power Delivery Analyzers
|
||||||
|
usb:v1679p6003*
|
||||||
|
usb:v0483pdf11*
|
||||||
|
ID_SIGNAL_ANALYZER=1
|
||||||
@ -27,6 +27,7 @@ hwdb_files_test = files('''
|
|||||||
60-keyboard.hwdb
|
60-keyboard.hwdb
|
||||||
60-seat.hwdb
|
60-seat.hwdb
|
||||||
60-sensor.hwdb
|
60-sensor.hwdb
|
||||||
|
70-analyzers.hwdb
|
||||||
70-joystick.hwdb
|
70-joystick.hwdb
|
||||||
70-mouse.hwdb
|
70-mouse.hwdb
|
||||||
70-pointingstick.hwdb
|
70-pointingstick.hwdb
|
||||||
|
|||||||
@ -147,6 +147,7 @@ def property_grammar():
|
|||||||
('ID_INPUT_TOUCHPAD', Or((Literal('0'), Literal('1')))),
|
('ID_INPUT_TOUCHPAD', Or((Literal('0'), Literal('1')))),
|
||||||
('ID_INPUT_TOUCHSCREEN', Or((Literal('0'), Literal('1')))),
|
('ID_INPUT_TOUCHSCREEN', Or((Literal('0'), Literal('1')))),
|
||||||
('ID_INPUT_TRACKBALL', Or((Literal('0'), Literal('1')))),
|
('ID_INPUT_TRACKBALL', Or((Literal('0'), Literal('1')))),
|
||||||
|
('ID_SIGNAL_ANALYZER', Or((Literal('0'), Literal('1')))),
|
||||||
('POINTINGSTICK_SENSITIVITY', INTEGER),
|
('POINTINGSTICK_SENSITIVITY', INTEGER),
|
||||||
('POINTINGSTICK_CONST_ACCEL', REAL),
|
('POINTINGSTICK_CONST_ACCEL', REAL),
|
||||||
('ID_INPUT_JOYSTICK_INTEGRATION', Or(('internal', 'external'))),
|
('ID_INPUT_JOYSTICK_INTEGRATION', Or(('internal', 'external'))),
|
||||||
|
|||||||
@ -12,6 +12,7 @@ SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100"
|
|||||||
|
|
||||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
|
||||||
ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
|
ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
|
||||||
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="hwdb 'usb:v$attr{idVendor}p$attr{idProduct}'"
|
||||||
|
|
||||||
ACTION!="add", GOTO="default_end"
|
ACTION!="add", GOTO="default_end"
|
||||||
|
|
||||||
|
|||||||
@ -80,4 +80,7 @@ ENV{ID_SOFTWARE_RADIO}=="?*", TAG+="uaccess"
|
|||||||
# 3D printers, CNC machines, laser cutters, 3D scanners, etc.
|
# 3D printers, CNC machines, laser cutters, 3D scanners, etc.
|
||||||
ENV{ID_MAKER_TOOL}=="?*", TAG+="uaccess"
|
ENV{ID_MAKER_TOOL}=="?*", TAG+="uaccess"
|
||||||
|
|
||||||
|
# Protocol analyzers
|
||||||
|
ENV{ID_SIGNAL_ANALYZER}=="?*", TAG+="uaccess"
|
||||||
|
|
||||||
LABEL="uaccess_end"
|
LABEL="uaccess_end"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user