Skip to content

Commit

Permalink
inputplumber: Update to v0.49.1
Browse files Browse the repository at this point in the history
  • Loading branch information
philmmanjaro committed Feb 28, 2025
1 parent 120e033 commit 5cb9694
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
Binary file modified i/inputplumber/manifest.x86_64.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions i/inputplumber/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@
}
},
"source-name": "inputplumber",
"source-release": "11",
"source-version": "0.49.0"
"source-release": "12",
"source-version": "0.49.1"
}
26 changes: 26 additions & 0 deletions i/inputplumber/pkg/orangepi-v1.20.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/rootfs/usr/share/inputplumber/devices/50-orangepi_neo.yaml b/rootfs/usr/share/inputplumber/devices/50-orangepi_neo.yaml
index 0158b2b..c4b444c 100644
--- a/rootfs/usr/share/inputplumber/devices/50-orangepi_neo.yaml
+++ b/rootfs/usr/share/inputplumber/devices/50-orangepi_neo.yaml
@@ -59,7 +59,7 @@ source_devices:
handler: event*
- group: imu
iio:
- name: i2c-BMI0260:00
+ name: "{i2c-BOSC0260:00,i2c-BMI0260:00}"
mount_matrix:
# TODO: Reverify on actual hardware
x: [1, 0, 0]
diff --git a/src/input/source/iio.rs b/src/input/source/iio.rs
index efcba6a..c2d2629 100644
--- a/src/input/source/iio.rs
+++ b/src/input/source/iio.rs
@@ -109,7 +109,7 @@ impl IioDevice {
let name = device_name.as_str();
log::debug!("Finding driver for IIO interface: {name}");
// BMI_IMU
- if glob_match("{i2c-10EC5280*,i2c-BMI*,bmi*-imu}", name) {
+ if glob_match("{i2c-10EC5280*,i2c-BOSC*,i2c-BMI*,bmi*-imu}", name) {
log::info!("Detected BMI IMU");
return DriverType::BmiImu;
}
7 changes: 4 additions & 3 deletions i/inputplumber/stone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# SPDX-License-Identifier: MPL-2.0
#
name : inputplumber
version : 0.49.0
release : 11
version : 0.49.1
release : 12
homepage : https://github.com/ShadowBlip/InputPlumber
upstreams :
- https://github.com/ShadowBlip/InputPlumber/archive/refs/tags/v0.49.0.tar.gz : ea42ef2703cee733e5a195b62f336d45a0ec6fa8d05ca85fdeab4a6361fde367
- https://github.com/ShadowBlip/InputPlumber/archive/refs/tags/v0.49.1.tar.gz : 922c1e946eb40c8bdff5dbc3de073f1c4b3f1c4b69cbd58ecd6341f29f3acb44
summary : Open source input router and remapper daemon for Linux
description : |
InputPlumber is an open source input routing and control daemon for Linux.
Expand All @@ -25,6 +25,7 @@ builddeps :
setup : |
%cargo_fetch
%patch %(pkgdir)/hw-support-zgz.patch
%patch %(pkgdir)/orangepi-v1.20.patch
build : |
%cargo_build
install : |
Expand Down

0 comments on commit 5cb9694

Please sign in to comment.