Click to See Complete Forum and Search --> : Shell script that listens for serial interrupt


ruchika
08-20-2003, 09:50 PM
Hi,

I am new to Linux and have to write a modem driver that sends data out on serial port and listens for Ring interrupt.
1) Can this be done by writing a shell script that waits on serial interrupts (eg. a shell scripts that listens for ring interrupt)?
2) Does anyone have a sample shell script that does something similar?
3) Does Linux have a callback/notify mechanism where a process can be notified if an event occurs? I want the script to notify a process if it gets Ring interrupt.
4) When a process starts a shell script can the process continue to run along with the script?

Your help is highly appreciated.
Thanks,
Ruchika

Hayl
08-20-2003, 10:02 PM
i'm sure that this can be done so how - maybe not in bash though.

<deleted crosspost of the same subject in the Networking forum. please don't crosspost. thanks>