linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: shwoseph <shwoseph@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: shwoseph@gmail.com
Subject: [PATCH BlueZ 0/1] [v3] ExcludeAdapter configuration setting for input plugin
Date: Sat,  9 Jul 2022 15:23:16 -0400	[thread overview]
Message-ID: <20220709192317.1704-1-shwoseph@gmail.com> (raw)

As a bluez user I have run into cases where the input plugin can be problematic because it binds both HID PSMs on all bluetooth adapters. Simply disabling the plugin is not an ideal solution if you want to, for example, run an application that binds PSMs 17 and 19 on adapterA while using a bluetooth input device on adapterB. This proposed feature would allow users to determine which of their adapters can be engaged by the input plugin. Using the ExcludeAdapters key in input.conf a comma separated list of bdaddrs can be specified that the input plugin will not start a server on.

shwoseph (1):
  ExcludeAdapter configuration setting for input profile

 profiles/input/device.c   | 22 ++++++++++++++++++++++
 profiles/input/device.h   |  4 ++++
 profiles/input/input.conf |  4 ++++
 profiles/input/manager.c  | 34 +++++++++++++++++++++++++++++++++-
 4 files changed, 63 insertions(+), 1 deletion(-)

-- 
2.32.0


             reply	other threads:[~2022-07-09 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09 19:23 shwoseph [this message]
2022-07-09 19:23 ` [PATCH BlueZ 1/1] [v3] ExcludeAdapter configuration setting for input profile shwoseph
2022-07-09 20:18   ` ExcludeAdapter configuration setting for input plugin bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220709192317.1704-1-shwoseph@gmail.com \
    --to=shwoseph@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).