Skip to contentSkip to conversation

Documentation/ABI: speakup: document bleeps and bleep_time

PATCH In review Kirill Petrov 2 participants 2 messages Feb 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/ABI: speakup: document bleeps and bleep_time

Document the accepted bitmask values for /sys/accessibility/speakup/bleeps and the time unit (milliseconds) for /sys/accessibility/speakup/bleep_time, as implemented by Speakup edge notification logic announce_edge() and bleep().

---
 Documentation/ABI/stable/sysfs-driver-speakup | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Documentation/ABI/stable/sysfs-driver-speakup +5 -4
index bcb6831aa114..e9d71851e6b5 100644
@@ -16,15 +16,16 @@ 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. This is a bitmask:
+		0x1: bleep (PC speaker) when reaching an edge
+		0x2: speak the corresponding edge message
+		Any combination of the above.
 
 What:		/sys/accessibility/speakup/bleep_time
 KernelVersion:	2.6
 Contact:	[email protected]
 Description:	This controls the duration of the PC speaker beeps speakup
-		produces.
-		TODO: What are the units? Jiffies?
+		produces, in milliseconds.
 
 What:		/sys/accessibility/speakup/cursor_time
 KernelVersion:	2.6
Signature · 1 line
2.43.0
#1 lore raw

Hello,

Kirill Petrov, le lun. 02 févr. 2026 13:56:47 +0300, a ecrit:

Quoted 6 lines

Document the accepted bitmask values for /sys/accessibility/speakup/bleeps and the time unit (milliseconds) for /sys/accessibility/speakup/bleep_time, as implemented by Speakup edge notification logic announce_edge() and bleep().

Henry Zhang has beaten you on this :)

Thanks anyway,
Samuel

Quoted 31 lines
---
 Documentation/ABI/stable/sysfs-driver-speakup | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Documentation/ABI/stable/sysfs-driver-speakup +5 -4
index bcb6831aa114..e9d71851e6b5 100644
@@ -16,15 +16,16 @@ 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. This is a bitmask:
+		0x1: bleep (PC speaker) when reaching an edge
+		0x2: speak the corresponding edge message
+		Any combination of the above.
 
 What:		/sys/accessibility/speakup/bleep_time
 KernelVersion:	2.6
 Contact:	[email protected]
 Description:	This controls the duration of the PC speaker beeps speakup
-		produces.
-		TODO: What are the units? Jiffies?
+		produces, in milliseconds.
 
 What:		/sys/accessibility/speakup/cursor_time
 KernelVersion:	2.6
Signature · 1 line
2.43.0