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

Re: cannot talk with AT modem

A long time ago, in a galaxy far, far way, someone said...

> 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.

Try running 'insmod serial' before using setserial - what 'rmmod -a' does
in cron is unload the modules that have been "automagically" loaded.

> How can I fix this?
> BTW I have added proper setserial command to /etc/rc.boot/0setserial
> as mentioned in the manpage.
> Tomasz.

Phil Brutsche				    pbrutsch@tux.creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstien

Reply to: