Skip to contentSkip to conversation

speakup: Clarify bleep_time unit is milliseconds

PATCH In review Henry Zhang 3 participants 4 messages Jan 26 – Jan 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 speakup: Clarify bleep_time unit is milliseconds

The documentation had a TODO questioning whether the unit was in jiffies. The implementation in drivers/accessibility/speakup/main.c passes spk_bleep_time to msecs_to_jiffies(), confirming the unit is in milliseconds.

---
 Documentation/ABI/stable/sysfs-driver-speakup | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/ABI/stable/sysfs-driver-speakup +1 -2
index bcb6831aa114..8b508b4a7a00 100644
@@ -23,8 +23,7 @@ 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.34.1
Reviewed-by on v1 1/1
#1 lore raw

Henry Zhang, le lun. 26 janv. 2026 15:17:07 -0500, a ecrit:

Quoted 6 lines

The documentation had a TODO questioning whether the unit was in jiffies. The implementation in drivers/accessibility/speakup/main.c passes spk_bleep_time to msecs_to_jiffies(), confirming the unit is in milliseconds.

Thanks!

Quoted 21 lines
---
 Documentation/ABI/stable/sysfs-driver-speakup | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/ABI/stable/sysfs-driver-speakup +1 -2
index bcb6831aa114..8b508b4a7a00 100644
@@ -23,8 +23,7 @@ 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.34.1
#2 lore raw
In reply to Henry Zhang
Quoted 6 lines · Henry Zhang

The documentation had a TODO questioning whether the unit was in jiffies. The implementation in drivers/accessibility/speakup/main.c passes spk_bleep_time to msecs_to_jiffies(), confirming the unit is in milliseconds.

Does not match your From: line :(

#3 lore raw
Quoted 9 lines · Greg KH
Quoted 6 lines · Henry Zhang

The documentation had a TODO questioning whether the unit was in jiffies. The implementation in drivers/accessibility/speakup/main.c passes spk_bleep_time to msecs_to_jiffies(), confirming the unit is in milliseconds.

Does not match your From: line :(

Which my scripts did not seem to object to, so nevermind :)