This patch series allows specifying default driver parameters for speakup as module parameters, and includes an additional parameter, cur_phonetic. cur_phonetic is necessary to introduce an enhancement which allows speakup to speak letters phonetically, when a user arrows a word letter by letter. This functionality can be enabled by setting /sys/speakup/cur_phonetic to 1. When cur_phonetic is set to 1, speakup will speak letters as phonetically when arrowing over a word. This does not affect when a user is typing but only affects when a user is arrowing over a word. When cur_phonetic is set to 0, speakup will work as before, it will speak letters normally when arrowing over them. When a user does not set /sys/speakup/cur_phonetic to any value, the default value is 0. Only accepted values for /sys/speakup/cur_phonetic are 1 and 0. 1. It indexes spk_vars by an enum and allows specifying spk_vars as module parameters. 2. It introduces a new variable cur_phonetic in spk_vars, allows specifying it as a module parameter as well. It also makes cur_phonetic accessible in sysfs at /sys/speakup/ as all other spk_vars. cur_phonetic can be used by users to enable phonetic annuncement of letters when navigated by the cursor. It also documents the cur_phonetic in /Documentation/ABI/stable/sysfs-driver-speakup. since V1: - removed unnecessary lines Mushahid Hussain (2): accessibility: speakup: Specify spk_vars among module parameters accessibility: speakup: phonetic spelling while arrowing letter by letter Documentation/ABI/stable/sysfs-driver-speakup | 9 +++ drivers/accessibility/speakup/kobjects.c | 3 + drivers/accessibility/speakup/main.c | 72 +++++++++++++++---- drivers/accessibility/speakup/speakup.h | 1 + drivers/accessibility/speakup/spk_types.h | 2 +- drivers/accessibility/speakup/varhandlers.c | 1 + 6 files changed, 72 insertions(+), 16 deletions(-) -- 2.38.1