From: Hsin-chen Chuang <chharry@google.com>
To: linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com,
gregkh@linuxfoundation.org
Cc: chromeos-bluetooth-upstreaming@chromium.org,
Hsin-chen Chuang <chharry@chromium.org>,
Johan Hedberg <johan.hedberg@gmail.com>,
Marcel Holtmann <marcel@holtmann.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH v4 3/3] Bluetooth: Add ABI doc for sysfs isoc_alt
Date: Thu, 13 Feb 2025 11:44:01 +0800 [thread overview]
Message-ID: <20250213034413.3808375-1-chharry@google.com> (raw)
In-Reply-To: <20250213114400.v4.1.If6f14aa2512336173a53fc3552756cd8a332b0a3@changeid>
From: Hsin-chen Chuang <chharry@chromium.org>
The functionality was completed in commit c04f2e4f4ea1 ("Bluetooth: Fix
possible race with userspace of sysfs isoc_alt")
Fixes: c04f2e4f4ea1 ("Bluetooth: Fix possible race with userspace of sysfs isoc_alt")
Signed-off-by: Hsin-chen Chuang <chharry@chromium.org>
---
(no changes since v1)
Documentation/ABI/stable/sysfs-class-bluetooth | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/ABI/stable/sysfs-class-bluetooth b/Documentation/ABI/stable/sysfs-class-bluetooth
index 36be02471174..c1024c7c4634 100644
--- a/Documentation/ABI/stable/sysfs-class-bluetooth
+++ b/Documentation/ABI/stable/sysfs-class-bluetooth
@@ -7,3 +7,16 @@ Description: This write-only attribute allows users to trigger the vendor reset
The reset may or may not be done through the device transport
(e.g., UART/USB), and can also be done through an out-of-band
approach such as GPIO.
+
+What: /sys/class/bluetooth/btusb<usb-intf>/isoc_alt
+Date: 13-Feb-2025
+KernelVersion: 6.13
+Contact: linux-bluetooth@vger.kernel.org
+Description: This attribute allows users to configure the USB Alternate setting
+ for the specific HCI device. Reading this attribute returns the
+ current setting, and writing any supported numbers would change
+ the setting. See the USB Alternate setting definition in Bluetooth
+ core spec 5, vol 4, part B, table 2.1.
+ If the HCI device is not yet init-ed, the write fails with -ENODEV.
+ If the data is not a valid number, the write fails with -EINVAL.
+ The other failures are vendor specific.
--
2.48.1.502.g6dc24dfdaf-goog
next prev parent reply other threads:[~2025-02-13 3:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 3:43 [PATCH v4 1/3] Bluetooth: Fix possible race with userspace of sysfs isoc_alt Hsin-chen Chuang
2025-02-13 3:44 ` [PATCH v4 2/3] Bluetooth: Always allow SCO packets for user channel Hsin-chen Chuang
2025-02-13 3:44 ` Hsin-chen Chuang [this message]
2025-02-13 10:01 ` [PATCH v4 3/3] Bluetooth: Add ABI doc for sysfs isoc_alt Greg KH
2025-02-13 10:07 ` Hsin-chen Chuang
2025-02-13 10:13 ` Greg KH
2025-02-13 10:14 ` Hsin-chen Chuang
2025-02-13 4:34 ` [v4,1/3] Bluetooth: Fix possible race with userspace of " bluez.test.bot
2025-02-13 10:01 ` [PATCH v4 1/3] " Greg KH
2025-02-13 11:57 ` Hsin-chen Chuang
2025-02-13 12:10 ` Greg KH
2025-02-13 13:33 ` Hsin-chen Chuang
2025-02-13 13:45 ` Greg KH
2025-02-13 14:06 ` Hsin-chen Chuang
2025-02-13 14:22 ` Luiz Augusto von Dentz
2025-02-13 14:35 ` Greg KH
2025-02-13 15:56 ` Luiz Augusto von Dentz
2025-02-13 16:05 ` Greg KH
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=20250213034413.3808375-1-chharry@google.com \
--to=chharry@google.com \
--cc=chharry@chromium.org \
--cc=chromeos-bluetooth-upstreaming@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.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