Line discipline

Okash Khawaja okash.khawaja at gmail.com
Wed Jan 25 00:40:13 EST 2017


Hi,

> On 25 Jan 2017, at 00:51, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
> 
> Okash Khawaja, on Tue 24 Jan 2017 06:16:46 +0000, wrote:
>> Combined the refactor changes with your tty code to test speakup_dummy. It
>> seems okay except for problem when unloading speakup.ko - it is in use so can't
>> be unloaded. I have just got this so investigating it.
> 
> Just to make sure: it's expected that the speakup module is busy while
> speakup_dummy is still loaded, since there is a dependency between the
> two, you need to rmmod speakup_dummy before speakup.
> 
> Samuel

Yes. So I'm using insmod and rmmod instead of modprobe. Here are the steps:

insmod speakup.ko
insmod speakup_dummy.ko
rmmod speakup_dummy
rmmod speakup # this fails with message that speakup is in use

Also speakup module, on it own, can be loaded and removed without problem.


More information about the Speakup mailing list