Re: cannot talk with AT modem
On 24-Jul-2000 Tomasz Barszczak wrote:
> Well, too soon to be happy.
> cron runs periodically rmmod -a .
> Then when I want to use the modem again serial driver is re-loaded:
> Serial driver version 4.13 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16550A
> tty01 at 0x02f8 (irq = 3) is a 16550A
> And the modem is inaccessible again.
> setserial shows that /dev/ttyS4 reverted to original parameters.
> I have to run the setserial command manually again.
> How can I fix this?
You have two options:
1. compile the serial driver into the kernel.
2. create a file in /etc/modutils with "post-install serial [your setserial
command]" in it, and run update-modules.
(see the manpage for conf.modules and update-modules)