[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-serial
Subject:    Difficulty with SIGHUP
From:       "Eric C. Gallimore" <egallimore () whoi ! edu>
Date:       2011-04-26 16:24:24
Message-ID: 8401AB0ED9B5844D886C30A11EEBAD7D01D12937A5C9 () app1 ! aherncopy ! local
[Download RAW message or body]

Hi,

I'm running an embedded system with a modem attached to a serial port (using the \
sc16is7x2 driver), and it seems that SIGHUP is not generated when the DCD line is \
dropped.

I've verified that clocal is disabled and that the state of the DCD line is properly \
reported by termios (I'm using 'show comm' in Kermit, since it's easy.)

However, if I attach a shell to the serial port (mgetty spawning login spawning \
bash), it doesn't hang up when the DCD line goes low.  If I send a SIGHUP to the bash \
or login process via 'kill -HUP', it hangs up.

Any ideas?

Thanks in advance,

Eric


Eric Gallimore
Acoustic Communications Group
Woods Hole Oceanographic Institution

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic