Re: usb-autoload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux