sysfs-driver-speakup 15 KB

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