speakup: Clarify bleep_time unit is milliseconds
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
@@ -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
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.cpassesspk_bleep_timetomsecs_to_jiffies(), confirming the unit is in milliseconds.Signed-off-by Henry Zhang <[email protected]>
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@@ -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.6Signature · 1 line
2.34.1
Quoted 6 lines · Henry Zhang
The documentation had a TODO questioning whether the unit was in jiffies. The implementation in
drivers/accessibility/speakup/main.cpassesspk_bleep_timetomsecs_to_jiffies(), confirming the unit is in milliseconds.Signed-off-by Henry Zhang <[email protected]>
Does not match your From: line :(
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.cpassesspk_bleep_timetomsecs_to_jiffies(), confirming the unit is in milliseconds.Signed-off-by Henry Zhang <[email protected]>Does not match your From: line :(
Which my scripts did not seem to object to, so nevermind :)