From 3d503164b2e6eb4352e7f2a062b1b21f012706de Mon Sep 17 00:00:00 2001 From: lvgenggeng Date: Tue, 9 Sep 2025 14:17:19 +0800 Subject: [PATCH] fix: imwheel args for Up and Down Signed-off-by: lvgenggeng --- dde-daemon.spec | 6 +++++- fix-imwheel-cmd-args.patch | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 fix-imwheel-cmd-args.patch diff --git a/dde-daemon.spec b/dde-daemon.spec index 1915310..bf3273f 100644 --- a/dde-daemon.spec +++ b/dde-daemon.spec @@ -12,7 +12,7 @@ Name: dde-daemon Version: 5.14.122 -Release: 3 +Release: 4 Summary: Daemon handling the DDE session settings License: GPLv3 URL: https://github.com/linuxdeepin/dde-daemon @@ -23,6 +23,7 @@ Patch1: 0001-fix-fonts-gb-st-super.patch Patch2: 0002-donot-set-cpu-mode-while-initlizing.patch Patch3: 0003-dde-daemon-uos-fix-failed-to-start-accounts-service.patch Patch4: 0001-fix-build-error-ddcutil2.0.patch +Patch5: fix-imwheel-cmd-args.patch BuildRequires: python3 BuildRequires: golang @@ -214,6 +215,9 @@ fi %{_datadir}/dsg/configs/org.deepin.dde.daemon/ %changelog +* Tue Sep 09 2025 lvgenggeng - 5.14.122-4 +- fix: imwheel args for Up and Down + * Thu Sep 26 2024 songmingliang - 5.14.122-3 - solve I1T6U5, use accessible URL diff --git a/fix-imwheel-cmd-args.patch b/fix-imwheel-cmd-args.patch new file mode 100644 index 0000000..04eb6cd --- /dev/null +++ b/fix-imwheel-cmd-args.patch @@ -0,0 +1,12 @@ +diff -up ./dde-daemon-5.14.122/inputdevices/manager.go.old ./dde-daemon-5.14.122/inputdevices/manager.go +--- a/inputdevices/manager.go 2025-09-09 14:10:32.872250216 +0800 ++++ b/inputdevices/manager.go 2025-09-09 14:10:59.544257238 +0800 +@@ -123,7 +123,7 @@ func controlImWheel(speed uint32) error + return exec.Command(imWheelBin, "-k", "-q").Run() + } + // restart +- return exec.Command(imWheelBin, "-k", "-b", "4 5").Run() ++ return exec.Command(imWheelBin, "-k", "-b", "45").Run() + } + + func writeImWheelConfig(file string, speed uint32) error { -- Gitee