public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] default driver params and phonetic spelling while arrowing
@ 2022-11-15 10:05 Mushahid Hussain
  2022-11-15 10:05 ` [PATCHv2 1/2] accessibility: speakup: Specify spk_vars among module parameters Mushahid Hussain
  2022-11-15 10:05 ` [PATCHv2 2/2] accessibility: speakup: phonetic spelling while arrowing letter by letter Mushahid Hussain
  0 siblings, 2 replies; 4+ messages in thread
From: Mushahid Hussain @ 2022-11-15 10:05 UTC (permalink / raw)
  To: gregkh; +Cc: speakup, linux-kernel, Mushahid Hussain

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCHv2 0/2] default driver params and phonetic spelling while arrowing
@ 2022-11-15  9:48 Mushahid Hussain
  2022-11-15  9:48 ` [PATCHv2 1/2] accessibility: speakup: Specify spk_vars among module parameters Mushahid Hussain
  0 siblings, 1 reply; 4+ messages in thread
From: Mushahid Hussain @ 2022-11-15  9:48 UTC (permalink / raw)
  To: samuel.thibault; +Cc: okash.khawaja, speakup, linux-kernel, Mushahid Hussain

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-15 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-15 10:05 [PATCHv2 0/2] default driver params and phonetic spelling while arrowing Mushahid Hussain
2022-11-15 10:05 ` [PATCHv2 1/2] accessibility: speakup: Specify spk_vars among module parameters Mushahid Hussain
2022-11-15 10:05 ` [PATCHv2 2/2] accessibility: speakup: phonetic spelling while arrowing letter by letter Mushahid Hussain
  -- strict thread matches above, loose matches on Subject: below --
2022-11-15  9:48 [PATCHv2 0/2] default driver params and phonetic spelling while arrowing Mushahid Hussain
2022-11-15  9:48 ` [PATCHv2 1/2] accessibility: speakup: Specify spk_vars among module parameters Mushahid Hussain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox