Prevent driver module unloading.

Hi all,

I've been successfully using a moderately old version of Comedi (0.7.60-cvs)
for some time now, however, I have one small annoyance.

Whenever I stop using the card for a bit the drivers/modules *appear*
to unload themselves & I can't run my user-space app. I say "appears"
because if I do a lsmod I get this:

Module                  Size  Used by
ni_pcimio              19088   0 (autoclean) (unused)
mite                    3776   0 (autoclean) [ni_pcimio]
comedi                 15888   0 (autoclean) [ni_pcimio]

where "(unused)" above appears after ~10 minutes & my app then can't open()
the /dev/comedi0 device until I run 'comedi_config /dev/comedi0 ni_pcimio'
again.

Is there any way to force the driver to stay loaded?

Please CC: ss_at_aao.gov.au as I'm not on the list.

Many thanks for any help.

SCoTT. :)
-- 
ss_at_aao.gov.au

Received on 2002-10-21Z01:56:45