summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2021-02-04 16:25:40 +0000
committeranton <anton@cvs.openbsd.org>2021-02-04 16:25:40 +0000
commit1a6661bb845a46dab775091dbf5f54929cb8d3f6 (patch)
tree10e086ba62905e492d1c19d57483556a68f8058d /sys/arch
parent1c09afcab2bcab8ec16fadd858351f7a4b7f6e05 (diff)
Add uhidpp(4), a driver for Logitech HID++ devices. Currently limited to
exposing battery sensors for HID++ 2.0 devices. Most of the code is derived from the hid-logitech-hidpp Linux driver. Thanks to Ville Valkonen <weezeldinga at gmail dot com> for testing. ok mglocker@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/conf/GENERIC3
-rw-r--r--sys/arch/amd64/conf/GENERIC3
-rw-r--r--sys/arch/arm64/conf/GENERIC3
-rw-r--r--sys/arch/armv7/conf/GENERIC3
-rw-r--r--sys/arch/hppa/conf/GENERIC3
-rw-r--r--sys/arch/i386/conf/GENERIC3
-rw-r--r--sys/arch/landisk/conf/GENERIC3
-rw-r--r--sys/arch/loongson/conf/GENERIC3
-rw-r--r--sys/arch/macppc/conf/GENERIC3
-rw-r--r--sys/arch/octeon/conf/GENERIC3
-rw-r--r--sys/arch/powerpc64/conf/GENERIC3
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP273
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP303
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP323
-rw-r--r--sys/arch/sparc64/conf/GENERIC3
15 files changed, 30 insertions, 15 deletions
diff --git a/sys/arch/alpha/conf/GENERIC b/sys/arch/alpha/conf/GENERIC
index 05953f8e7cb..8af652ce301 100644
--- a/sys/arch/alpha/conf/GENERIC
+++ b/sys/arch/alpha/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.267 2021/01/23 05:08:34 thfr Exp $
+# $OpenBSD: GENERIC,v 1.268 2021/02/04 16:25:38 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -108,6 +108,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
#atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC
index ffa1b4a497c..19b21486bc7 100644
--- a/sys/arch/amd64/conf/GENERIC
+++ b/sys/arch/amd64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.496 2021/01/23 05:08:34 thfr Exp $
+# $OpenBSD: GENERIC,v 1.497 2021/02/04 16:25:38 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -287,6 +287,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
umstc* at uhidev? # Microsoft Surface Type Cover
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC
index adefc8ffea9..3b3de9b42b1 100644
--- a/sys/arch/arm64/conf/GENERIC
+++ b/sys/arch/arm64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.184 2021/01/23 05:08:34 thfr Exp $
+# $OpenBSD: GENERIC,v 1.185 2021/02/04 16:25:38 anton Exp $
#
# GENERIC machine description file
#
@@ -370,6 +370,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/armv7/conf/GENERIC b/sys/arch/armv7/conf/GENERIC
index 13124411dc1..3bf925a2be7 100644
--- a/sys/arch/armv7/conf/GENERIC
+++ b/sys/arch/armv7/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.133 2021/01/23 05:08:34 thfr Exp $
+# $OpenBSD: GENERIC,v 1.134 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -322,6 +322,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/hppa/conf/GENERIC b/sys/arch/hppa/conf/GENERIC
index d95e5a8977b..1a27dbb18c0 100644
--- a/sys/arch/hppa/conf/GENERIC
+++ b/sys/arch/hppa/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.181 2021/01/23 05:08:34 thfr Exp $
+# $OpenBSD: GENERIC,v 1.182 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -112,6 +112,7 @@ wskbd* at ukbd? mux 1
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
url* at uhub? # Realtek RTL8150L based adapters
diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC
index c167a2f8011..6d725d99f93 100644
--- a/sys/arch/i386/conf/GENERIC
+++ b/sys/arch/i386/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.854 2021/01/23 05:08:35 thfr Exp $
+# $OpenBSD: GENERIC,v 1.855 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -285,6 +285,7 @@ ucom* at uticom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/landisk/conf/GENERIC b/sys/arch/landisk/conf/GENERIC
index 120aa0a108d..a2091413514 100644
--- a/sys/arch/landisk/conf/GENERIC
+++ b/sys/arch/landisk/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.56 2021/01/23 05:08:35 thfr Exp $
+# $OpenBSD: GENERIC,v 1.57 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -138,6 +138,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/loongson/conf/GENERIC b/sys/arch/loongson/conf/GENERIC
index 4e8d826142b..d213bd976f9 100644
--- a/sys/arch/loongson/conf/GENERIC
+++ b/sys/arch/loongson/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.63 2021/01/23 05:08:35 thfr Exp $
+# $OpenBSD: GENERIC,v 1.64 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -165,6 +165,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
atu* at uhub? # Atmel AT76c50x based 802.11b
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
diff --git a/sys/arch/macppc/conf/GENERIC b/sys/arch/macppc/conf/GENERIC
index 46cd7397286..34014204a23 100644
--- a/sys/arch/macppc/conf/GENERIC
+++ b/sys/arch/macppc/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.272 2021/01/23 05:08:35 thfr Exp $g
+# $OpenBSD: GENERIC,v 1.273 2021/02/04 16:25:39 anton Exp $g
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -261,6 +261,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/octeon/conf/GENERIC b/sys/arch/octeon/conf/GENERIC
index e5f407d7e9a..ec5424938cb 100644
--- a/sys/arch/octeon/conf/GENERIC
+++ b/sys/arch/octeon/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.57 2021/01/23 05:08:36 thfr Exp $
+# $OpenBSD: GENERIC,v 1.58 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -157,6 +157,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
diff --git a/sys/arch/powerpc64/conf/GENERIC b/sys/arch/powerpc64/conf/GENERIC
index cba5f59f2cf..c5f83807504 100644
--- a/sys/arch/powerpc64/conf/GENERIC
+++ b/sys/arch/powerpc64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.24 2021/01/23 12:10:08 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.25 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -128,6 +128,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
umstc* at uhidev? # Microsoft Surface Type Cover
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
diff --git a/sys/arch/sgi/conf/GENERIC-IP27 b/sys/arch/sgi/conf/GENERIC-IP27
index 889a921dd8f..75ce0247c65 100644
--- a/sys/arch/sgi/conf/GENERIC-IP27
+++ b/sys/arch/sgi/conf/GENERIC-IP27
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP27,v 1.67 2021/01/23 05:08:36 thfr Exp $
+# $OpenBSD: GENERIC-IP27,v 1.68 2021/02/04 16:25:39 anton Exp $
#
# THIS KERNEL IS FOR Origin, Onyx, Fuel, Tezro (IP27, IP35) SYSTEMS ONLY.
#
@@ -129,6 +129,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
atu* at uhub? # Atmel AT76c50x based 802.11b
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
axe* at uhub? # ASIX Electronics AX88172 USB Ethernet
diff --git a/sys/arch/sgi/conf/GENERIC-IP30 b/sys/arch/sgi/conf/GENERIC-IP30
index bd90d34945b..a9e5b034fca 100644
--- a/sys/arch/sgi/conf/GENERIC-IP30
+++ b/sys/arch/sgi/conf/GENERIC-IP30
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP30,v 1.60 2021/01/23 05:08:36 thfr Exp $
+# $OpenBSD: GENERIC-IP30,v 1.61 2021/02/04 16:25:39 anton Exp $
#
# THIS KERNEL IS FOR Octane and Octane 2 (IP30) SYSTEMS ONLY.
#
@@ -120,6 +120,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
atu* at uhub? # Atmel AT76c50x based 802.11b
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
axe* at uhub? # ASIX Electronics AX88172 USB Ethernet
diff --git a/sys/arch/sgi/conf/GENERIC-IP32 b/sys/arch/sgi/conf/GENERIC-IP32
index d4c0d64019a..6719f883044 100644
--- a/sys/arch/sgi/conf/GENERIC-IP32
+++ b/sys/arch/sgi/conf/GENERIC-IP32
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP32,v 1.51 2021/01/23 05:08:36 thfr Exp $
+# $OpenBSD: GENERIC-IP32,v 1.52 2021/02/04 16:25:39 anton Exp $
#
# THIS KERNEL IS FOR O2 (IP32) SYSTEMS ONLY.
#
@@ -112,6 +112,7 @@ ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
atu* at uhub? # Atmel AT76c50x based 802.11b
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
axe* at uhub? # ASIX Electronics AX88172 USB Ethernet
diff --git a/sys/arch/sparc64/conf/GENERIC b/sys/arch/sparc64/conf/GENERIC
index e29faa8181a..57b893babad 100644
--- a/sys/arch/sparc64/conf/GENERIC
+++ b/sys/arch/sparc64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.315 2021/01/23 05:08:36 thfr Exp $
+# $OpenBSD: GENERIC,v 1.316 2021/02/04 16:25:39 anton Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -225,6 +225,7 @@ ucom* at umsm?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ujoy* at uhidev? # USB joystick/gamecontroller support
+uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b