Skip to contentSkip to conversation

speakup: Document bleeps parameter values

PATCH In review Henry Zhang 2 participants 2 messages Jan 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 speakup: Document bleeps parameter values

The speakup documentation had a TODO about accepted values for the bleeps parameter. drivers/accessibility/speakup/main.c indicates that it's a bitmasked param where bit 0 controls beeping and bit 1 controls announcements.

---
 Documentation/ABI/stable/sysfs-driver-speakup | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/ABI/stable/sysfs-driver-speakup +2 -2
index bcb6831aa114..7ead6cb79ca5 100644
@@ -16,8 +16,8 @@ What:		/sys/accessibility/speakup/bleeps
 KernelVersion:	2.6
 Contact:	[email protected]
 Description:	This controls whether one hears beeps through the PC speaker
-		when using speakup's review commands.
-		TODO: what values does it accept?
+		when using speakup's review commands. Range: 0-3. 0 = off, 1 = beeps
+		only, 2 = announcements only, 3 = beeps and announcements (default).
 
 What:		/sys/accessibility/speakup/bleep_time
 KernelVersion:	2.6
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Henry Zhang, le mar. 27 janv. 2026 20:45:01 -0500, a ecrit:

Quoted 6 lines

The speakup documentation had a TODO about accepted values for the bleeps parameter. drivers/accessibility/speakup/main.c indicates that it's a bitmasked param where bit 0 controls beeping and bit 1 controls announcements.

Thanks!

Quoted 22 lines
---
 Documentation/ABI/stable/sysfs-driver-speakup | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/ABI/stable/sysfs-driver-speakup +2 -2
index bcb6831aa114..7ead6cb79ca5 100644
@@ -16,8 +16,8 @@ What:		/sys/accessibility/speakup/bleeps
 KernelVersion:	2.6
 Contact:	[email protected]
 Description:	This controls whether one hears beeps through the PC speaker
-		when using speakup's review commands.
-		TODO: what values does it accept?
+		when using speakup's review commands. Range: 0-3. 0 = off, 1 = beeps
+		only, 2 = announcements only, 3 = beeps and announcements (default).
 
 What:		/sys/accessibility/speakup/bleep_time
 KernelVersion:	2.6
Signature · 1 line
2.34.1