Ask a Question related to AIX, Design and Development.
-
Anders Mikkelsen #1
rs422 on 8-port asynchronous adapter
Hello,
Using 8-port EIA 232/EIA 422 asynchronous PCI adapter on IBM RS/6000,
AIX 5.1.
My problem is as follows:
Having a rs422 device only using Tx and Rx lines.
pinout on adapter:
Shell - Shield ground
2 - TxA
3 - RxA
4 - TxB
5 - RxB
7 - Signal ground
Creating a tty with mkdev, specifiying rs422, adapter/port, baud rates etc.
But, I am unable to write to this tty, getting an I/O error (errno 5).
Found (after some searching) that:
"In AIX, all tty and lp devices are modem devices. They require DCD in
order to function. Ideally, DCD is wired from the device to the port."
I do not have any DCD for my rs422 connection.
So, I thought that i could set "Force carrier" to enable on the tty.
Now I am able to write to the tty, but I do not get the expected result.
After snooping on the wires, I found that forcing carrier results in
always high signal on pin 4. But, of course, this pin should be used for
TxB when communicating with the device.
So, my questions are:
- Am I completely lost, doing some stupid mistake? :)
- Can I use the 'altpin' option, and how would the pinout be if this is
the case?
Note: Communication is Ok when using rs232 tty and a rs232-rs422
converter. Also Ok using rs422 on linux system.
Thanks in advance.
Best regards,
Anders
Anders Mikkelsen Guest
-
R30 Display Adapter
Hi all - I'm a newbie to the Vista Beta program. I'm participating in the Vista beta program at the request of my employer. I've been reading a... -
Daemon proc run on a port, kill daemon and cannot restart on same port for 10 minutes.
Unix is AIX 4.3 The daemon is a license manager which runs for an application. Killing the daemon is fine. (using the 'kill -9 <pid>')... -
Missing HW Flow Control (RTS) @ 230K for 8 Port PCI Adapter on AIX 5.2
Has anyone used the 8 Port PCI Adapter on AIX running @ 230K baud rate? The stty and stty-cxma shows the CTS and RTS hardware flow control is... -
Using an Adapter with the 10D?
I'm considering getting a Canon 10D, in part because I already have some decent lenses from my Canon EOS. However, the widest lens I have only goes... -
Lan adapter conflicts
I am trying to setup a home network between my pc which has Windows XP and my son's pc which has Windows ME installed. So far I have had no success...



Reply With Quote

