]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add new database file for PDA devices
authorDavide Cavalca <davide@cavalca.name>
Sun, 30 Jan 2022 17:28:52 +0000 (09:28 -0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 30 Jan 2022 19:46:38 +0000 (04:46 +0900)
Add a new database for handhelds (PDAs, calculators, etc.) that should be
accessible the seat owner.

The database is initially populated with Texas Instruments calculators
and linking cables, which removes the need to installing dedicated udev
rules for them.

hwdb.d/70-pda.hwdb [new file with mode: 0644]
hwdb.d/meson.build
hwdb.d/parse_hwdb.py

diff --git a/hwdb.d/70-pda.hwdb b/hwdb.d/70-pda.hwdb
new file mode 100644 (file)
index 0000000..e122acc
--- /dev/null
@@ -0,0 +1,39 @@
+# This file is part of systemd.
+#
+# Database for handhelds (PDAs, calculators, etc.) that should be accessible
+# the seat owner.
+#
+# Permitted keys:
+#   Specify if a device is a signal analyzer
+#   ID_PDA=1|0
+
+###########################################################
+# Texas Instruments
+###########################################################
+# SilverLink
+usb:v0451pE001*
+ ID_PDA=1
+
+# TI-84 Plus DirectLink
+usb:v0451pE003*
+ ID_PDA=1
+
+# TI-89 Titanium DirectLink
+usb:v0451pE004*
+ ID_PDA=1
+
+# TI-84 Plus Silver Edition DirectLink
+usb:v0451pE008*
+ ID_PDA=1
+
+# TI-Nspire DirectLink
+usb:v0451pE012*
+ ID_PDA=1
+
+# TI-Nspire Lab Cradle
+usb:v0451pE01C*
+ ID_PDA=1
+
+# TI-Nspire CX II DirectLink
+usb:v0451pE022*
+ ID_PDA=1
index 8ff044131c029b754c34326ce01d9d8c52d81ad6..fc72ebb2bd13139acb566d8e92e73b9748ba5d21 100644 (file)
@@ -31,6 +31,7 @@ hwdb_files_test = files('''
         70-cameras.hwdb
         70-joystick.hwdb
         70-mouse.hwdb
+        70-pda.hwdb
         70-pointingstick.hwdb
         70-touchpad.hwdb
         80-ieee1394-unit-function.hwdb
index aef0331ace983731a14e9329d47d0d1475d3a32e..194a71ac08ed8a9644781084eb9932cfe30b7697 100755 (executable)
@@ -136,6 +136,7 @@ def property_grammar():
              ('MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL', INTEGER),
              ('ID_AUTOSUSPEND', Or((Literal('0'), Literal('1')))),
              ('ID_PERSIST', Or((Literal('0'), Literal('1')))),
+             ('ID_PDA', Or((Literal('0'), Literal('1')))),
              ('ID_INPUT', Or((Literal('0'), Literal('1')))),
              ('ID_INPUT_ACCELEROMETER', Or((Literal('0'), Literal('1')))),
              ('ID_INPUT_JOYSTICK', Or((Literal('0'), Literal('1')))),