sysfs-driver-speakup 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. What: /sys/accessibility/speakup/attrib_bleep
  2. KernelVersion: 2.6
  3. Contact: speakup@linux-speakup.org
  4. Description: Beeps the PC speaker when there is an attribute change such as
  5. foreground or background color when using speakup review
  6. commands. One = on, zero = off.
  7. What: /sys/accessibility/speakup/bell_pos
  8. KernelVersion: 2.6
  9. Contact: speakup@linux-speakup.org
  10. Description: This works much like a typewriter bell. If for example 72 is
  11. echoed to bell_pos, it will beep the PC speaker when typing on
  12. a line past character 72.
  13. What: /sys/accessibility/speakup/bleeps
  14. KernelVersion: 2.6
  15. Contact: speakup@linux-speakup.org
  16. Description: This controls whether one hears beeps through the PC speaker
  17. when using speakup's review commands.
  18. TODO: what values does it accept?
  19. What: /sys/accessibility/speakup/bleep_time
  20. KernelVersion: 2.6
  21. Contact: speakup@linux-speakup.org
  22. Description: This controls the duration of the PC speaker beeps speakup
  23. produces.
  24. TODO: What are the units? Jiffies?
  25. What: /sys/accessibility/speakup/cursor_time
  26. KernelVersion: 2.6
  27. Contact: speakup@linux-speakup.org
  28. Description: This controls cursor delay when using arrow keys. When a
  29. connection is very slow, with the default setting, when moving
  30. with the arrows, or backspacing etc. speakup says the incorrect
  31. characters. Set this to a higher value to adjust for the delay
  32. and better synchronisation between cursor position and speech.
  33. What: /sys/accessibility/speakup/cur_phonetic
  34. KernelVersion: 6.2
  35. Contact: speakup@linux-speakup.org
  36. Description: This allows speakup to speak letters phoneticaly when arrowing through
  37. a word letter by letter. This doesn't affect the spelling when typing
  38. the characters. When cur_phonetic=1, speakup will speak characters
  39. phoneticaly when arrowing over a letter. When cur_phonetic=0, speakup
  40. will speak letters as normally.
  41. What: /sys/accessibility/speakup/delimiters
  42. KernelVersion: 2.6
  43. Contact: speakup@linux-speakup.org
  44. Description: Delimit a word from speakup.
  45. TODO: add more info
  46. What: /sys/accessibility/speakup/ex_num
  47. KernelVersion: 2.6
  48. Contact: speakup@linux-speakup.org
  49. Description: TODO:
  50. What: /sys/accessibility/speakup/key_echo
  51. KernelVersion: 2.6
  52. Contact: speakup@linux-speakup.org
  53. Description: Controls if speakup speaks keys when they are typed. One = on,
  54. zero = off or don't echo keys.
  55. What: /sys/accessibility/speakup/keymap
  56. KernelVersion: 2.6
  57. Contact: speakup@linux-speakup.org
  58. Description: Speakup keymap remaps keys to Speakup functions.
  59. It uses a binary
  60. format. A special program called genmap is needed to compile a
  61. textual keymap into the binary format which is then loaded into
  62. /sys/accessibility/speakup/keymap.
  63. What: /sys/accessibility/speakup/no_interrupt
  64. KernelVersion: 2.6
  65. Contact: speakup@linux-speakup.org
  66. Description: Controls if typing interrupts output from speakup. With
  67. no_interrupt set to zero, typing on the keyboard will interrupt
  68. speakup if for example
  69. the say screen command is used before the
  70. entire screen is read.
  71. With no_interrupt set to one, if the say
  72. screen command is used, and one then types on the keyboard,
  73. speakup will continue to say the whole screen regardless until
  74. it finishes.
  75. What: /sys/accessibility/speakup/punc_all
  76. KernelVersion: 2.6
  77. Contact: speakup@linux-speakup.org
  78. Description: This is a list of all the punctuation speakup should speak when
  79. punc_level is set to four.
  80. What: /sys/accessibility/speakup/punc_level
  81. KernelVersion: 2.6
  82. Contact: speakup@linux-speakup.org
  83. Description: Controls the level of punctuation spoken as the screen is
  84. displayed, not reviewed. Levels range from zero no punctuation,
  85. to four, all punctuation. One corresponds to punc_some, two
  86. corresponds to punc_most, and three as well as four both
  87. correspond to punc_all. Some hardware synthesizers may have
  88. different levels each corresponding to three and four for
  89. punc_level. Also note that if punc_level is set to zero, and
  90. key_echo is set to one, typed punctuation is still spoken as it
  91. is typed.
  92. What: /sys/accessibility/speakup/punc_most
  93. KernelVersion: 2.6
  94. Contact: speakup@linux-speakup.org
  95. Description: This is a list of all the punctuation speakup should speak when
  96. punc_level is set to two.
  97. What: /sys/accessibility/speakup/punc_some
  98. KernelVersion: 2.6
  99. Contact: speakup@linux-speakup.org
  100. Description: This is a list of all the punctuation speakup should speak when
  101. punc_level is set to one.
  102. What: /sys/accessibility/speakup/reading_punc
  103. KernelVersion: 2.6
  104. Contact: speakup@linux-speakup.org
  105. Description: Almost the same as punc_level, the differences being that
  106. reading_punc controls the level of punctuation when reviewing
  107. the screen with speakup's screen review commands. The other
  108. difference is that reading_punc set to three speaks punc_all,
  109. and reading_punc set to four speaks all punctuation, including
  110. spaces.
  111. What: /sys/accessibility/speakup/repeats
  112. KernelVersion: 2.6
  113. Contact: speakup@linux-speakup.org
  114. Description: A list of characters speakup repeats. Normally, when there are
  115. more than three characters in a row, speakup
  116. just reads three of
  117. those characters. For example, "......" would be read as dot,
  118. dot, dot. If a . is added to the list of characters in repeats,
  119. "......" would be read as dot, dot, dot, times six.
  120. What: /sys/accessibility/speakup/say_control
  121. KernelVersion: 2.6
  122. Contact: speakup@linux-speakup.org
  123. Description: If set to one, speakup speaks shift, alt and control when those
  124. keys are pressed. If say_control is set to zero, shift, ctrl,
  125. and alt are not spoken when they are pressed.
  126. What: /sys/accessibility/speakup/say_word_ctl
  127. KernelVersion: 2.6
  128. Contact: speakup@linux-speakup.org
  129. Description: TODO:
  130. What: /sys/accessibility/speakup/silent
  131. KernelVersion: 2.6
  132. Contact: speakup@linux-speakup.org
  133. Description: TODO:
  134. What: /sys/accessibility/speakup/spell_delay
  135. KernelVersion: 2.6
  136. Contact: speakup@linux-speakup.org
  137. Description: This controls how fast a word is spelled
  138. when speakup's say word
  139. review command is pressed twice quickly to speak the current
  140. word being reviewed. Zero just speaks the letters one after
  141. another, while values one through four
  142. seem to introduce more of
  143. a pause between the spelling of each letter by speakup.
  144. What: /sys/accessibility/speakup/synth
  145. KernelVersion: 2.6
  146. Contact: speakup@linux-speakup.org
  147. Description: Gets or sets the synthesizer driver currently in use. Reading
  148. synth returns the synthesizer driver currently in use. Writing
  149. synth switches to the given synthesizer driver, provided it is
  150. either built into the kernel, or already loaded as a module.
  151. What: /sys/accessibility/speakup/synth_direct
  152. KernelVersion: 2.6
  153. Contact: speakup@linux-speakup.org
  154. Description: Sends whatever is written to synth_direct
  155. directly to the speech synthesizer in use, bypassing speakup.
  156. This could be used to make the synthesizer speak
  157. a string, or to
  158. send control sequences to the synthesizer to change how the
  159. synthesizer behaves.
  160. What: /sys/accessibility/speakup/version
  161. KernelVersion: 2.6
  162. Contact: speakup@linux-speakup.org
  163. Description: Reading version returns the version of speakup, and the version
  164. of the synthesizer driver currently in use.
  165. What: /sys/accessibility/speakup/i18n/announcements
  166. KernelVersion: 2.6
  167. Contact: speakup@linux-speakup.org
  168. Description: This file contains various general announcements, most of which
  169. cannot be categorized. You will find messages such as "You
  170. killed Speakup", "I'm alive", "leaving help", "parked",
  171. "unparked", and others. You will also find the names of the
  172. screen edges and cursor tracking modes here.
  173. What: /sys/accessibility/speakup/i18n/chartab
  174. KernelVersion: 2.6
  175. Contact: speakup@linux-speakup.org
  176. Description: TODO
  177. What: /sys/accessibility/speakup/i18n/ctl_keys
  178. KernelVersion: 2.6
  179. Contact: speakup@linux-speakup.org
  180. Description: Here, you will find names of control keys. These are used with
  181. Speakup's say_control feature.
  182. What: /sys/accessibility/speakup/i18n/function_names
  183. KernelVersion: 2.6
  184. Contact: speakup@linux-speakup.org
  185. Description: Here, you will find a list of names for Speakup functions.
  186. These are used by the help system. For example, suppose that
  187. you have activated help mode, and you pressed
  188. keypad 3. Speakup
  189. says: "keypad 3 is character, say next."
  190. The message "character, say next" names a Speakup function, and
  191. it comes from this function_names file.
  192. What: /sys/accessibility/speakup/i18n/states
  193. KernelVersion: 2.6
  194. Contact: speakup@linux-speakup.org
  195. Description: This file contains names for key states.
  196. Again, these are part of the help system. For instance, if you
  197. had pressed speakup + keypad 3, you would hear:
  198. "speakup keypad 3 is go to bottom edge."
  199. The speakup key is depressed, so the name of the key state is
  200. speakup.
  201. This part of the message comes from the states collection.
  202. What: /sys/accessibility/speakup/i18n/characters
  203. KernelVersion: 2.6
  204. Contact: speakup@linux-speakup.org
  205. Description: Through this sys entry, Speakup gives you the ability to change
  206. how Speakup pronounces a given character. You could, for
  207. example, change how some punctuation characters are spoken. You
  208. can even change how Speakup will pronounce certain letters. For
  209. further details see '12. Changing the Pronunciation of
  210. Characters' in Speakup User's Guide (file spkguide.txt in
  211. source).
  212. What: /sys/accessibility/speakup/i18n/colors
  213. KernelVersion: 2.6
  214. Contact: speakup@linux-speakup.org
  215. Description: When you use the "say attributes" function, Speakup says the
  216. name of the foreground and background colors. These names come
  217. from the i18n/colors file.
  218. What: /sys/accessibility/speakup/i18n/formatted
  219. KernelVersion: 2.6
  220. Contact: speakup@linux-speakup.org
  221. Description: This group of messages contains embedded formatting codes, to
  222. specify the type and width of displayed data. If you change
  223. these, you must preserve all of the formatting codes, and they
  224. must appear in the order used by the default messages.
  225. What: /sys/accessibility/speakup/i18n/key_names
  226. KernelVersion: 2.6
  227. Contact: speakup@linux-speakup.org
  228. Description: Again, key_names is used by Speakup's help system. In the
  229. previous example, Speakup said that you pressed "keypad 3."
  230. This name came from the key_names file.
  231. What: /sys/accessibility/speakup/<synth-name>/
  232. KernelVersion: 2.6
  233. Contact: speakup@linux-speakup.org
  234. Description: In `/sys/accessibility/speakup` is a directory corresponding to
  235. the synthesizer driver currently in use (E.G) `soft` for the
  236. soft driver. This directory contains files which control the
  237. speech synthesizer itself,
  238. as opposed to controlling the speakup
  239. screen reader. The parameters in this directory have the same
  240. names and functions across all
  241. supported synthesizers. The range
  242. of values for freq, pitch, rate, and vol is the same for all
  243. supported synthesizers, with the given range being internally
  244. mapped by the driver to more or less fit the range of values
  245. supported for a given parameter by the individual synthesizer.
  246. Below is a description of values and parameters for soft
  247. synthesizer, which is currently the most commonly used.
  248. What: /sys/accessibility/speakup/<synth-name>/caps_start
  249. KernelVersion: 2.6
  250. Contact: speakup@linux-speakup.org
  251. Description: This is the string that is sent to the synthesizer to cause it
  252. to start speaking uppercase letters. For the soft synthesizer
  253. and most others, this causes the pitch of the voice to rise
  254. above the currently set pitch.
  255. What: /sys/accessibility/speakup/<synth-name>/caps_stop
  256. KernelVersion: 2.6
  257. Contact: speakup@linux-speakup.org
  258. Description: This is the string sent to the synthesizer to cause it to stop
  259. speaking uppercase letters. In the case of the soft synthesizer
  260. and most others, this returns the pitch of the voice
  261. down to the
  262. currently set pitch.
  263. What: /sys/accessibility/speakup/<synth-name>/delay_time
  264. KernelVersion: 2.6
  265. Contact: speakup@linux-speakup.org
  266. Description: TODO:
  267. What: /sys/accessibility/speakup/<synth-name>/direct
  268. KernelVersion: 2.6
  269. Contact: speakup@linux-speakup.org
  270. Description: Controls if punctuation is spoken by speakup, or by the
  271. synthesizer.
  272. For example, speakup speaks ">" as "greater", while
  273. the espeak synthesizer used by the soft driver speaks "greater
  274. than". Zero lets speakup speak the punctuation. One lets the
  275. synthesizer itself speak punctuation.
  276. What: /sys/accessibility/speakup/<synth-name>/freq
  277. KernelVersion: 2.6
  278. Contact: speakup@linux-speakup.org
  279. Description: Gets or sets the frequency of the speech synthesizer. Range is
  280. 0-9.
  281. What: /sys/accessibility/speakup/<synth-name>/flush_time
  282. KernelVersion: 5.12
  283. Contact: speakup@linux-speakup.org
  284. Description: Gets or sets the timeout to wait for the synthesizer flush to
  285. complete. This can be used when the cable gets faulty and flush
  286. notifications are getting lost.
  287. What: /sys/accessibility/speakup/<synth-name>/full_time
  288. KernelVersion: 2.6
  289. Contact: speakup@linux-speakup.org
  290. Description: TODO:
  291. What: /sys/accessibility/speakup/<synth-name>/jiffy_delta
  292. KernelVersion: 2.6
  293. Contact: speakup@linux-speakup.org
  294. Description: This controls how many jiffys the kernel gives to the
  295. synthesizer. Setting this too high can make a system unstable,
  296. or even crash it.
  297. What: /sys/accessibility/speakup/<synth-name>/pitch
  298. KernelVersion: 2.6
  299. Contact: speakup@linux-speakup.org
  300. Description: Gets or sets the pitch of the synthesizer. The range is 0-9.
  301. What: /sys/accessibility/speakup/<synth-name>/inflection
  302. KernelVersion: 5.8
  303. Contact: speakup@linux-speakup.org
  304. Description: Gets or sets the inflection of the synthesizer, i.e. the pitch
  305. range. The range is 0-9.
  306. What: /sys/accessibility/speakup/<synth-name>/punct
  307. KernelVersion: 2.6
  308. Contact: speakup@linux-speakup.org
  309. Description: Gets or sets the amount of punctuation spoken by the
  310. synthesizer. The range for the soft driver seems to be 0-2.
  311. TODO: How is this related to speakup's punc_level, or
  312. reading_punc.
  313. What: /sys/accessibility/speakup/<synth-name>/rate
  314. KernelVersion: 2.6
  315. Contact: speakup@linux-speakup.org
  316. Description: Gets or sets the rate of the synthesizer. Range is from zero
  317. slowest, to nine fastest.
  318. What: /sys/accessibility/speakup/<synth-name>/tone
  319. KernelVersion: 2.6
  320. Contact: speakup@linux-speakup.org
  321. Description: Gets or sets the tone of the speech synthesizer. The range for
  322. the soft driver seems to be 0-2. This seems to make no
  323. difference if using espeak and the espeakup connector.
  324. TODO: does espeakup support different tonalities?
  325. What: /sys/accessibility/speakup/<synth-name>/trigger_time
  326. KernelVersion: 2.6
  327. Contact: speakup@linux-speakup.org
  328. Description: TODO:
  329. What: /sys/accessibility/speakup/<synth-name>/voice
  330. KernelVersion: 2.6
  331. Contact: speakup@linux-speakup.org
  332. Description: Gets or sets the voice used by the synthesizer if the
  333. synthesizer can speak in more than one voice. The range for the
  334. soft driver is 0-7. Note that while espeak supports multiple
  335. voices, this parameter will not set the voice when the espeakup
  336. connector is used between speakup and espeak.
  337. What: /sys/accessibility/speakup/<synth-name>/vol
  338. KernelVersion: 2.6
  339. Contact: speakup@linux-speakup.org
  340. Description: Gets or sets the volume of the speech synthesizer. Range is 0-9,
  341. with zero being the softest, and nine being the loudest.