06-14-2013
Well, the loss of DSR or CTS or even effectively a break (long zero) might also be what is detected. An rs232 can be as little as three wires, SD, RD and ground, emulating a current loop connection. Does stty have other lead watchers you might turn on? Can you put a breakout box on and see what leads are live as senders or receivers, or just a volt-ohm-meter, as even receivers usually have voltage or resistance you can sense?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello There,
I configure my Modem as follow.
Step1.
# admintool &
Then from Browse --> Serial Port
i select tta port and Edit --> Modify
From that i select Template : Modem:Dial Out
Baud Rate: 9600
Ok
Step 2
# tip /dev/cua/a
connected (1 Reply)
Discussion started by: abidmalik
1 Replies
2. UNIX for Dummies Questions & Answers
I am new to Unix. I just got my SUN box from ebay with Solaris supposedly preloaded. The problem is I am unable to connect via Hyperterminal to Solaris, or more to the point, cannot tell if I have a successful connection and that solaris is the one not properly booted up.
I hooked up a null... (3 Replies)
Discussion started by: seethams
3 Replies
3. UNIX for Dummies Questions & Answers
Im using Kinternet with a Lucent modem on Suse 9.0
Ive installed the ltmodem driver and suse says the device is ready and configured. Ive configured it at /dev/ttyS0
This is the log that Kinternet gives after trying to connect:
SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on linux.
Status... (0 Replies)
Discussion started by: Synbios
0 Replies
4. SCO
Friends,
I am facing a problem in connecting two SCO Openserver 5.0.6 servers through Dial-Up connectivity as is done in the case of two Windows PCs. Please help me out with the following problems:
(a) How to configure the modem?
(b) How to setup a Dial-In connection?
(c) How to... (1 Reply)
Discussion started by: thecobolguy
1 Replies
5. Solaris
hi all..
sorry for repeating the same question many times,
i just set up a null modem, i am using this as reference :
DB25 DB9
-- -
2 TD ---- 2 RD
3 RD ---- 3 TD
4 RTS ---- 8 CTS
5 CTS ---- 7 RTS
7 GND ---- 5 GND
6 DSR -+
+--- 4 DTR
8... (0 Replies)
Discussion started by: waterbear
0 Replies
6. Solaris
Dear All,
i have problem during install modem dial up with smc in solaris 10.
i can't find "login" because it's stop in _receive started transmit started.
thanks for your attention.
this is the list during i dial to this number :
altconn called
Device Type ACU wanted... (0 Replies)
Discussion started by: mr.ridho
0 Replies
7. IP Networking
How to get information that where is my modem configured in /dev.
I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
Discussion started by: s123.radha
0 Replies
8. UNIX for Advanced & Expert Users
Hello to all,
I have one problem and hope you'll be able to help me.
It's about connecting Windows PC machine to Unix machine via dial up through Hyper terminal.
Connection was working in the past. In the meantime, windows machine is replaced (win XP) and unix machine stayed as is. So nothing is... (1 Reply)
Discussion started by: Mick
1 Replies
9. BSD
Regarding carrier detection on FreeBSD 9.1 being run within Virtual Box:
I used a usb-serial dongle which shows up as ttyu0 on the BSD machine. Carrier detection appears to work. When I establish a null modem connection I receive a login prompt. If I login, and then unplug and plug back the... (2 Replies)
Discussion started by: rstor
2 Replies
EVCHECK(3) 1 EVCHECK(3)
The EvCheck class
INTRODUCTION
EvPrepare and EvCheck watchers are usually used in pairs. EvPrepare watchers get invoked before the process blocks, EvCheck afterwards.
It is not allowed to call EvLoop::run or similar methods or functions that enter the current event loop from either EvPrepare or EvCheck
watchers. Other loops than the current one are fine, however. The rationale behind this is that one don't need to check for recursion in
those watchers, i.e. the sequence will always be: EvPrepare -> blocking -> EvCheck , so having a watcher of each kind they will always be
called in pairs bracketing the blocking call.
The main purpose is to integrate other event mechanisms into libev and their use is somewhat advanced. They could be used, for example, to
track variable changes, implement custom watchers, integrate net-snmp or a coroutine library and lots more. They are also occasionally use-
ful to cache some data and want to flush it before blocking.
It is recommended to give EvCheck watchers highest( Ev::MAXPRI ) priority, to ensure that they are being run before any other watchers
after the poll (this doesn't matter for EvPrepare watchers).
Also, EvCheck watchers should not activate/feed events. While libev fully supports this, they might get executed before other EvCheck
watchers did their job.
CLASS SYNOPSIS
EvCheck
EvCheckextends
EvWatcher
Inherited properties
o public$is_active
o public$data
o public$is_pending
o public$priority
Methods
o public EvCheck::__construct (callable $callback, [mixed $data], [int $priority])
o finalpublicstatic object EvCheck::createStopped (string $callback, [string $data], [string $priority])
Inherited methods
o public int EvWatcher::clear (void )
o abstractpublic EvWatcher::__construct (void )
o public void EvWatcher::feed (int $revents)
o public EvLoop EvWatcher::getLoop (void )
o public void EvWatcher::invoke (int $revents)
o public bool EvWatcher::keepalive ([bool $value])
o public void EvWatcher::setCallback (callable $callback)
o public void EvWatcher::start (void )
o public void EvWatcher::stop (void )
PHP Documentation Group EVCHECK(3)