From: Pavel Machek <pavel@ucw.cz>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Maxim Mikityanskiy <maxtram95@gmail.com>,
linux-leds@vger.kernel.org, Daniel Kurtz <djkurtz@chromium.org>,
Oliver Neukum <oneukum@suse.de>,
"open list:HID CORE LAYER" <linux-input@vger.kernel.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/6] HID: hid-input: Add offhook and ring LEDs for headsets
Date: Fri, 16 Jul 2021 00:49:05 +0200 [thread overview]
Message-ID: <20210715224905.GA18180@duo.ucw.cz> (raw)
In-Reply-To: <YPCc/k89XNTmeKVo@google.com>
[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]
On Thu 2021-07-15 13:39:26, Dmitry Torokhov wrote:
> On Thu, Jul 15, 2021 at 08:57:44PM +0200, Jiri Kosina wrote:
> > On Tue, 6 Jul 2021, Benjamin Tissoires wrote:
> >
> > > > A lot of USBHID headsets available on the market have LEDs that indicate
> > > > ringing and off-hook states when used with VoIP applications. This
> > > > commit exposes these LEDs via the standard sysfs interface.
> > > > diff --git a/drivers/input/input-leds.c b/drivers/input/input-leds.c
> > > > index 0b11990ade46..bc6e25b9af25 100644
> > > > --- a/drivers/input/input-leds.c
> > > > +++ b/drivers/input/input-leds.c
> > > > @@ -33,6 +33,8 @@ static const struct {
> > > > [LED_MISC] = { "misc" },
> > > > [LED_MAIL] = { "mail" },
> > > > [LED_CHARGING] = { "charging" },
> > > > + [LED_OFFHOOK] = { "offhook" },
> > >
> > > I am pretty sure this also needs to be reviewed by the led folks.
> > > Adding them in Cc.
> >
> > Can we please get Ack from the LED maintainers? Thanks.
>
> I do not think we should be adding more LED bits to the input
> subsystem/events; this functionality should be routed purely though LED
> subsystem. input-leds is a bridge for legacy input functionality
> reflecting it onto the newer LED subsystem.
If we do it purely through the LED subsystem, will it get trickier to
associate the devices?
Anyway, it is a headset. What does headset have to do with input
subsystem? Sounds like sound device to me... And we already have a
"micmute" LED which sounds quite similar to the "offhook" LED... no?
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2021-07-15 22:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210703220202.5637-1-maxtram95@gmail.com>
[not found] ` <20210703220202.5637-2-maxtram95@gmail.com>
2021-07-06 8:02 ` [PATCH 1/6] HID: hid-input: Add offhook and ring LEDs for headsets Benjamin Tissoires
2021-07-15 18:57 ` Jiri Kosina
2021-07-15 20:39 ` Dmitry Torokhov
2021-07-15 22:49 ` Pavel Machek [this message]
2021-07-16 17:23 ` Maxim Mikityanskiy
2021-08-09 18:30 ` Maxim Mikityanskiy
2021-08-31 19:11 ` Jiri Kosina
2021-09-07 6:30 ` Dmitry Torokhov
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=20210715224905.GA18180@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=benjamin.tissoires@redhat.com \
--cc=djkurtz@chromium.org \
--cc=dmitry.torokhov@gmail.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=maxtram95@gmail.com \
--cc=oneukum@suse.de \
/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).