On Fri, Dec 29, 2000 at 01:47:34PM +0100, Heiko Ronsdorf wrote:
> Jens-Uwe Mager schrieb am Fri, Dec 29, 2000 at 02:09:14AM +0100:
> >
> > > Interesting would also be an automatic "unloading" of the module if
> > > idle (no discovered devices for "n" seconds)
> >
> > No idea with that one, though.
>
> Why you don't just add:
>
> TIME * * * * rmmod -a || TIME * * * * rmmod irda
>
> to your crontab? You don't use the module, so kick it. (this is not unloading
> if there are no devices)
This does not work as the reference count on irda0 is still one. In my
case I have to kill the running irattach to be able to unload the irda
stack.
--
Jens-Uwe Mager <pgp-mailto:62CFDB25>
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda