Serial ports in Solaris 10

Hi all. Please help me to solve my little problem. I need to get serial ports names (com-ports) registered in my system. In Linux I use command "dmesg | grep ttyS" for that, but in Solaris dmesg output don't contains any data about ttya, ttyb etc...
And also one question. Does Solaris support USB->COM adapters, I have plugged adapters Prolific and FTDI, but they don't work.
Regards, Alexey.

user9068379 wrote:
Hi all. Please help me to solve my little problem. I need to get serial ports names (com-ports) registered in my system. In Linux I use command "dmesg | grep ttyS" for that, but in Solaris dmesg output don't contains any data about ttya, ttyb etc...
And also one question. Does Solaris support USB->COM adapters, I have plugged adapters Prolific and FTDI, but they don't work.
Regards, Alexey.Talking extremely loosely, expect to find com ports as /dev/term/a , /dev/term/b ......
You may also file the 'tip' program appropriate on solaris.
This may be sufficent for you to progress ... or it may be you need something else.
I have not done these things recently ... and ohers may guide mor eauthoratively and better.

Similar Messages

  • Keyboard on serial port under Solaris 8

    I've hooked a special keyboard into the serial port (/dev/ttya), and am trying to read from and write to it. I enable the port via "admintool" (with "initialize only - no connection" and only "software carrier" checked under options, and then set my port parameters via "stty" as needed. Then I can start up my C program to read/write to the keyboard. This works for a moment, but then "ttymon" seems to reset the port or something, which changes the port parameters and screws up my program. If I disable the port via "admintool", which kills "ttymon", then I can't set the port parameters as needed and run. I can enable the port, set the parameters, and then kill "ttymon", and then run my driver. This seems to work, but doesn't seem like the correct way to go about doing things. So what do I need to do? Any help would be appreciated. Thanks. Don

    Hi donernsdorff,
    You can disable ttya been monitored by ttymon and see if that helps. You can use pmadm command (Pls see man pages for details) to disable or change the port monitor settings. Hope this helps. Thanks. SUN/DTS

  • Using a PS/2 keyboard on a Sparc workstation through the serial port

    We have recently migrated an application that used to run on a PC, to now run on a Sparc Workstation. This is a SunBlade 1500, running Solaris 8. The application is running in a dedicated console which has a fitted keyboard and trackerball that have PS/2 connectors and cannot be changed.
    We need a way of connecting the PS/2 keyboards to the serial ports of the Sparc workstation. We already have a piece of software that will read ascii values from the serial port so we definately want to go through the serial ports.
    Can someone please suggest what converters will be required to get the output of the keyboard and trackerball as ascii input to the serial port.

    Actually, that's not a bit perverse, at all.
    Jonathan's suggestion is a standard method of connecting to a server.
    (null cable between the computer serial ports)
    ... see the Solaris man pages.
    man tip
    TeraTerm and Hyperterminal are customarily used on a PC running some dialect of Windows.
    The 'tip' command is all that's necessary between Solaris systems.
    PS/2 is not a serial connection, but is a keyboard/mouse interface 'invented' by IBM when they offered their XT-class PS/2 line of desktop systems, back in the 1980's.
    I found this next link by using Google:
    http://members.chello.at/theodor.lauppert/computer/ps2/
    The smaller DIN ports were more compact than the AT-class keyboard ports and the mouse moved from a serial port to a dedicated mouse port.
    Serial communication devices are not keyboards, per se,
    and keyboards are not serial communication devices.
    You need other hardware in between to translate what the human being sends, and another computer is a common method to accomplish that translation.
    Having said all that ...
    Since you cannot change the dedicated console hardware,
    I suggest you go to the manufacturer of that console equipment
    and have them suggest some sort of serial-to-serial interface lash-up.

  • Raw access to serial port /dev/ttya

    I need to control the characteristics of the serial port /dev/ttya on a Sun-Blade-100 running SOLARIS 8 from Java (JRE 6).
    The purpose is to set the baud rate, parity bits, etc.
    On my PC (development infrastructure, WinXP) I am using the javax.comm libraries and everything is fine. However, when copying the application to the SUN, no available ports are shown and the app terminates.
    I suspect that I am missing some low-level stuff that accesses the devices ?!
    Any ideas would be welcome!
    Udo

    (b) sounds like the best solution to me.
    Google search result that seems reasonably close to what you need.
    http://www.linuxquestions.org/questions … ce-644237/

  • Serial port A has gone dead, B is ok, how to use it with rommon?

    Good day,
    the serial port A on E250 has gone dead. The communication is one-way, I can send, but no response is received. However serial port B is ok. Question is, how can I use port B for rommonitor/solaris install?
    Thanks,

    well, here's a thought... but i'm not sure how useful it will be to either of you if the system currently won't boot.
    the openboot environment variables you're going to change are input-device and output-device
    if you were at an ok> prompt, you could simply type 'setenv input-device ttyb', i think you'd also have to set the output-device :)
    if you were booted into solaris, you could use the /usr/platform/<your platform here>/sbin/eeprom command to set the eeprom values, for both of you, your platform is sun4u, so you would type:
    /usr/platform/sun4u/sbin/eeprom input-device=ttyb
    likewise for output-device, you can check your eeprom settings by running eeprom without any arguments.
    if you can't boot up currently... then... uh... crap... that's tough... if you can't get into it at all you're gonna have to call sun... probably want to replace that motherboard anyways...
    fred

  • Process Name when we connect via Serial Port ,Its URGENT !!!

    Hi,
    I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port.
    For every connection we made, in Solaris it creates a process.So Can anyone tell me the name of the process when we connect serial cable??
    like USB connection /dev/usb0 or /dev/hiddev0 process is created..
    Thanks in Adavnce ...

    Sangyesh wrote:
    Hi,
    I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port.Outbound to a device, or inbound to a login shell or something else...?
    For every connection we made, in Solaris it creates a process.Are you talking about 'telnet' or 'ssh'? Those work differently from serial connections.
    So Can anyone tell me the name of the process when we connect serial cable??You might have a login listener if you configure it, otherwise, nothing is running.
    You need to provide more details about how you intend to use the serial cable. I can't tell from your post.
    Darren

  • How to remove serial port driver

    Hi,
    I am developing test driver for serial port. I can't able to remove existing driver (su) from solaris 8.
    I tried "rem_drv su" and rebooted system. system does not came up again and generates panic (core dump). Could anybody help me regarding this problem.
    Thanks in advance,
    -Mahantesh

    Instrument drivers are in the "LabVIEW\instr.lib" folder. Each driver should be in its own folder. To delete it, just delete the folder. You may need to update the palette menu to reflect the removal of the directory.
    Also, what do you mean by NI installing the driver? Are you referring to using the Help -> Find Instrument Driver? If so, what did you enter in the search criteria? Leybold isn't even in the list of manufacturers.

  • Serial Ports, is it supported on MAC & Linux ??

    Hey all...
    After a long process of doing an application that runs a serial port connection to a server and upload a file to it, i could'nt find the comm package that i could download for both MAC and Linux.... There is one for Windows and Solaris though... So i was wondering, is serial ports not supported by MAC and Linux. And if not, what other than the comm package can i use to have serial ports on those 2 platforms .......
    Thanks

    Yes, there is third party support for linux and MacOS-X. It's released under GPL and can be found here -> http://www.rxtx.org/

  • Serial Port Config

    I've seen this problem only on Solaris 10 6/06
    A port configured for Bi-directional modem does not
    initialize properly on startup. If one opens up SMC and
    re-saves the configuration it will work okay. But if the computer
    is rebooted, the configuration once again does not load.
    The work-around is to write a script using pmadm and ttyadm
    to manual reconfigure the port on startup.
    This new "feature" makes 6/06 unreliable for use in my remote
    data-acquisition network.

    With what are you reading and writing to the serial port?
    What is on the other side of the serial port? A serial port is not a loopback device - you cannot write to it and then read what you have written. To achieve that you need to run a null-modem cable between two serial ports in order to allow bi-directional communication via serial on the same platform.
    Also - why still use serial? It is old and outdated technology. We are not even wiring serial console ports any more. Ethernet management ports and lights out management s/w are far more superior, than a simple redirection of the console display and keyboard via a serial port.
    No more Fossil drivers. PPP killed SLIP. Internet kill the BBS star.. and Flash games killed Door games... Old style serial communication is pretty much dead on the modern computing platform.
    Unless you are hooking up something like a GPS device or FMC?

  • Serial Port Hangs

    Hi, i have two computers (Solaris 10 - client and server) running two different java applications communicating via serial port.
    One of them sends a telegram (about 40 chars) to the other every 50 milliseconds and waits for the acknowledge telegram to send the next available telegram. After a couple of hours, the serial port of the server side becomes unable to send or receive any data.
    If I restart the applications (close the ports and reopen again), after sending another telegram, it hangs again. I tried opening the port using "tip hardwire", serial port sends one character, client gets one character then the same result. (Setting inputbuffersize to 0 and 1024 again is no help)
    If I reboot the computer, everything's fine again. Opening the port using "tip hardwire works fine. I'm using javaxcomm library.
    Is there any way to make the serial port functional again without rebooting, or any tips to understand what's the problem?
    Thanks.
    Edited by: senole on Aug 9, 2010 1:57 AM

    HEllo;
    Couldn't find anything on our Databases regarding that combination. My suggestion is to upgrade the VISA driver to the latest version available, and to contact the manufacturer of the third party device to see if they have something reported related to a compatibility problem is between their product and NI DAQ board.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • List serial port fail in and I have exhausted all combination

    Background: If admintool can set serial I could have set it with a click.
    The error is "list serial port fail in "
    url:geocities.com/worldlinking/index.htm
    SO please help and guide.
    sunlearner.

    I have exactly the same problem:
    ASUS A7V133 Motherboard, Athlon 1.33Ghz
    Solaris 8 Release 10/01.
    ALL Recommended and Security patches installed.
    Device Config Assistant lists the ports as standard 16550 UARTS, which is correct - ASUS mention nothing 'special' about them.
    prtconf shows both ports with asy not attached.
    devfsadm does not change that. ports command has no effect.
    No /dev/tty/ttya or /dev/tty/ttyb or /dev/term/a etc.
    admintool says 'list serial port failed'
    ttymon has service entries for ttya and ttyb :
    #pmadm -l -s ttya
    zsmon ttymon ttya u root /dev/term/a I - /usr/bin/login - 9600 ldterm,ttcompat ttya login: - tvi925 y
    Any help greatly appreciated,
    --john                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Warning 1073676424 from VISA Set I/O Buffer Size.vi on a serial port

    I am porting an application from LabVIEW 6.1 on Windows to LabVIEW 7 on OS X (Mac). It was very painless except some GUI modifications.
    The application involves 30 KB data from a instrument through a RS232 serial port. I found the application misses data whenever the computer is busy. The problem came down to the unchanged buffer size.
    Attempt to change the buffer size of a serial port with "VISA Set I/O Buffer Size.vi" fails with a warning of 1073676424 (The specified I/O buffer is not supported). Even the example vi from NI web site "Advanced _Serial_Write_and_Read.vi" has the same warning.
    I wonder what I am missing.

    Under the hood VISA is using the POSIX serial interface for Mac OS X (same as for Linux and Solaris). This interface does not support changing the buffer size. Hence, the buffer size is fixed to the internal OS buffer size. The only thing that changing the buffer size will do (for the out buffer) is to have VISA not flush the data after every write. This is a limitation in the serial API for Mac OS X. Therefore, VISA reports a warning.

  • Adding Serial Ports

    Solaris is new to me and I am mostly familar with SCO. I had quite an experience trying to add a serial (Siig) port to Solaris. I could kind of see what was going on and was able to define the serial port via the boot procedure (port=3e8-3ef, IRQ=5) but never saw any new devices (nodes) being added for the port. I looked in /dev and saw ttya and ttyb and saw how they were setup so I went into /devices/isa and added my own nodes (mknod) and now everything seems to be okay...is there a standard way to do this?
    Thanks,
    Tom Carter ([email protected])

    I just ran into this problem (but with 8.5 not 9). It should be on one of the CDs. I don't know how the 2009 CDs are set up, but with 8.5 I put the main CD in that included everything on it (drivers etc). Then when this error came up, I browsed for the location. I went into drive(whatever drive letter is your cd drive) and looked in the signal express folder. In there you will find the file nidist.id. This is the file you need
    CLA, LabVIEW Versions 2010-2013

  • COMMAPI freeing serial port

    I have a question about Java commapi and serial ports. In my application I call close on a SerialPort object and associated input/outputstreams. Later on I try to open the port again by calling open on a CommPortIdentifier object and I get a RuntimeException with message "Device busy". If I close the application and start it again, the serial port is opened without problems. My question is should I do something more when closing the port to free it?
    Code that tries to close the port:
    inStream.close(); //inputstream
    outStream.close(); //outputstream
    inStream=null;
    outStream=null;
    port.close(); //SerialPort
    port.removeEventListener();
    port=null;My platform is Sparc Solaris 10.
    Thanking you in advance,
    Anguinus

    I know this is a very old post, but google came up with it after searching for ttyUSB0 and java, so I thought I'd chip in the solution so that other people arriving here might benefit :)
    The trick is to go into javax.comm.properties and add the ttyUSB0 to the list of serial ports:
    # Implementation specific driver
    driver=com.sun.comm.LinuxDriver
    # Paths to server-side serial port devices
    serpath0 = /dev/ttyS0
    serpath1 = /dev/ttyS1
    serpath2 = /dev/ttyUSB0               # <--- added ttyUSB0
    # Paths to server-side parallel port devices
    parpath0 = /dev/parport0
    parpath1 = /dev/parport1Works fine for me

  • Unable to capture data from Serial port using LVRT2010 in single core pentium 4 machine

    I am using application written in Labview using windows Labview
    Runtime environment 2010. Application creates a tunnel to intercept data from
    Serial port.
    My problem is, Currently, I am using single core Pentium
    processor. When I am trying to intercept the data between COM1 and COM7 (COM 7
    is a virtual port) it is not able to capture data.
    When I am running Labview RT environment using dual core
    processor machine it is running normally. I wonder whether it could be the compatibility issues with
    single core Pentium processor.

    Hi Magnetica
    Are both of the machines running the same runtime engine,
    drivers ect?
    Have you had RT applications running on this
    machine before?
    Is the development computer a 64bit machine?
    The processor is a supported model (See link below).
    http://zone.ni.com/devzone/cda/tut/p/id/8239
    Regards
    Robert
    National Instruments UK & Ireland

Maybe you are looking for