* [PATCH BlueZ v1] input: Switch back to kernel hidp if uhid cannot be initialized
@ 2025-01-07 20:30 Luiz Augusto von Dentz
2025-01-07 21:47 ` [BlueZ,v1] " bluez.test.bot
2025-01-08 19:30 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2025-01-07 20:30 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
If bt_uhid_new_default doesn't work it is likely that the underline
kernel doesn't support it so this attempts to switch back to kernel
mode (hidp).
---
profiles/input/device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 8cf8e5ea78e1..3627573e79c8 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -1527,9 +1527,9 @@ int input_device_register(struct btd_service *service)
if (uhid_state) {
idev->uhid = bt_uhid_new_default();
if (!idev->uhid) {
- error("bt_uhid_new_default: failed");
- input_device_free(idev);
- return -EIO;
+ DBG("bt_uhid_new_default failed, switching to kernel "
+ "mode");
+ uhid_state = UHID_DISABLED;
}
}
--
2.47.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ,v1] input: Switch back to kernel hidp if uhid cannot be initialized
2025-01-07 20:30 [PATCH BlueZ v1] input: Switch back to kernel hidp if uhid cannot be initialized Luiz Augusto von Dentz
@ 2025-01-07 21:47 ` bluez.test.bot
2025-01-08 19:30 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-01-07 21:47 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=923121
---Test result---
Test Summary:
CheckPatch PENDING 0.20 seconds
GitLint PENDING 0.21 seconds
BuildEll PASS 27.15 seconds
BluezMake PASS 1979.49 seconds
MakeCheck PASS 14.47 seconds
MakeDistcheck PASS 219.98 seconds
CheckValgrind PASS 311.97 seconds
CheckSmatch PASS 329.32 seconds
bluezmakeextell PASS 127.94 seconds
IncrementalBuild PENDING 0.34 seconds
ScanBuild PASS 1088.64 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ v1] input: Switch back to kernel hidp if uhid cannot be initialized
2025-01-07 20:30 [PATCH BlueZ v1] input: Switch back to kernel hidp if uhid cannot be initialized Luiz Augusto von Dentz
2025-01-07 21:47 ` [BlueZ,v1] " bluez.test.bot
@ 2025-01-08 19:30 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-01-08 19:30 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Tue, 7 Jan 2025 15:30:56 -0500 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> If bt_uhid_new_default doesn't work it is likely that the underline
> kernel doesn't support it so this attempts to switch back to kernel
> mode (hidp).
> ---
> profiles/input/device.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Here is the summary with links:
- [BlueZ,v1] input: Switch back to kernel hidp if uhid cannot be initialized
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=8f853903bdf4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-08 19:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 20:30 [PATCH BlueZ v1] input: Switch back to kernel hidp if uhid cannot be initialized Luiz Augusto von Dentz
2025-01-07 21:47 ` [BlueZ,v1] " bluez.test.bot
2025-01-08 19:30 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).