usb-autoload
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Aug 31 19:44:02 EDT 2017
Hello,
Okash Khawaja, on jeu. 31 août 2017 19:21:59 +0100, wrote:
> speakup module will be pre-requisite for speakup_usb_serial so it
> will already be in memory when following flow starts from inside
> speakup_usb_serial.
Right, that's a good thing indeed, because that makes a place where to
store the major/minor information.
I'd say it could be done this way:
- add dev variable to the speakup module, initialized to NULL
- when a USB speakup driver gets loaded, it sets ser and dev in the
speakup module, and then loads the driver module, and if not started
yet, starts it.
- when synth_init sees that speakup's dev variable is non-NULL, use that
instead of the module parameters.
Samuel
More information about the Speakup
mailing list