From: Greg KH <gregkh@linuxfoundation.org>
To: Yinghua Yang Yang <yinghua.yang@motorolasolutions.com>
Cc: "Alan Stern" <stern@rowland.harvard.edu>,
zachary.zuzzio@motorolasolutions.com,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Oliver Neukum" <oneukum@suse.com>,
"Lukas Bulwahn" <lukas.bulwahn@gmail.com>,
"Wentong Wu" <wentong.wu@intel.com>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: misc: Add driver for Motorola Solutions security accessories
Date: Sun, 17 Dec 2023 09:29:18 +0100 [thread overview]
Message-ID: <2023121712-gigabyte-oppressed-b8f4@gregkh> (raw)
In-Reply-To: <CAHhS5zZzHzZBADHkKyzCzr5FJ0zdTvsaQUE0ygjU1FG3vocrCA@mail.gmail.com>
On Sat, Dec 16, 2023 at 12:15:35PM -0600, Yinghua Yang Yang wrote:
> I would prefer an easier way too. On a linux platform where udev
> is supported, a udev rule can be used to set the power/control flag. But on
> the platform I am using, the udev is not available and I don't have
> root access.
> If this driver is accepted by the Linux kernel, we hope the driver will
> subsequently be picked up by the platform's hardware vendor. With that, any
> USB device that is specified by this driver when plugged into the platform,
> auto suspend will be enabled on it.
>
> Any suggestions will be appreciated.
As Alan says, please just fix your userspace to properly enable the
correct setting, no need for a kernel change at all.
You have the contacts and interactions to work with the hardware vendor,
don't use the kernel community as a "back door" to circumvent that.
thanks,
greg k-h
next prev parent reply other threads:[~2023-12-17 8:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-15 21:12 [PATCH] usb: misc: Add driver for Motorola Solutions security accessories Yinghua Yang
2023-12-15 22:46 ` Alan Stern
[not found] ` <CAHhS5zZEutfQnxLEodS2QN37RN7GPyGz555=NjiqqmsXiY8bxA@mail.gmail.com>
2023-12-16 17:19 ` Alan Stern
[not found] ` <CAHhS5zZzHzZBADHkKyzCzr5FJ0zdTvsaQUE0ygjU1FG3vocrCA@mail.gmail.com>
2023-12-17 8:29 ` Greg KH [this message]
[not found] ` <CAHhS5zY+X5DFX5cYir-raswc0Pmck-nuMSWAsK7epBU3ARO_BA@mail.gmail.com>
2023-12-18 6:50 ` Greg KH
[not found] ` <CAHhS5zYKLuFcPyiVXZmyomdZ71QOyKhfB+Y2ktyqPTvDF4GxTw@mail.gmail.com>
2023-12-19 6:02 ` Greg KH
2023-12-18 17:57 ` Alan Stern
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=2023121712-gigabyte-oppressed-b8f4@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=oneukum@suse.com \
--cc=sakari.ailus@linux.intel.com \
--cc=stern@rowland.harvard.edu \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wentong.wu@intel.com \
--cc=yinghua.yang@motorolasolutions.com \
--cc=zachary.zuzzio@motorolasolutions.com \
/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