General :: Creating Virtual Serial Port In Fedora?

Mar 9, 2011

I want to create a virtual serial port in Fedora. I'm using Java code to communicate over a serial port. I want to test this code with out any serial devices connected.

View 1 Replies


ADVERTISEMENT

General :: Create A Virtual Serial / COM Port?

Mar 25, 2010

I'm currently working on a project for university that requires communication, via an RS232 link between a piece of hardware (I have designed and am currently testing) and some software(which need testing).

I was hoping to have my hardware finished by now so I could get on with testing the software over Easter.

The hardware does not work yet but I would still like to test the software.

Does any one know if there a way to make a virtual serial port that I could put data on and read data off while my program accesses it as a regular serial port so I can check my code?

I am using Ubuntu 9.10 and am happy to give any more information on request.

View 10 Replies View Related

General :: How To Configure Serial Port Of Virtual Machine With Host Machine?

Jul 29, 2009

I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.

View 4 Replies View Related

Programming :: C++ - LibSerial With Socat Virtual Serial Port?

Oct 17, 2010

I'm trying to use a C++ program to communicate through a serial port on Ubuntu 10.04. I've installed LibSerial and for now I'm using virtual serial ports using socat. I'm getting an error on compiling (found below). But step by step, first I start the virtual serial ports:

Code:
(MYNAME@MYCOMPUTER):~$ socat -d -d PTY: PTY:
2010/10/17 22:04:18 socat[18575] N PTY is /dev/pts/2

[code]....

View 4 Replies View Related

General :: Windows With Putty Via USB Serial Cable To Serial Port - Output Ok, Input Isn't?

Jan 13, 2010

I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0

in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but

cat < /dev/ttyS0. just prints out weird characters from what I type.

View 3 Replies View Related

Software :: Connect A Serial Cable To The Serial Port?

Mar 23, 2010

We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?

View 3 Replies View Related

Fedora Servers :: Serial Port On Fed 12

Mar 25, 2010

Can anyone one give me some pointers please, for talking to a serial port, if I use cutecom it always returns "could not open /dev /tty0 or 1 or 3 or 4, even tried ttys0 etc

View 7 Replies View Related

Fedora :: How To Connect To Serial Port?

Jan 19, 2011

i would like to connect to my cisco via a console port and i dont konw how

View 13 Replies View Related

Fedora :: Access To Serial Port Denied?

May 24, 2010

My program tries to open serial port on Fedora 12, and shows "Access denied" on Open Port operation. The same program runs successfully with root rights. What can I do to get COM port access as regular user?

View 2 Replies View Related

Fedora Hardware :: How To Mount Serial Port?

Sep 24, 2010

I think I need to mount a serial device, but not sure how. I looked at /etc/fstab, but cannot determine what to put in for the mount type. And, not sure what port it would be exactly... imagine either "ttyS0" or "tty0". Can someone give a newbie some guidance on how to possibly mount this device?

View 2 Replies View Related

Fedora Hardware :: Cannot Screen Serial Port?

Jun 7, 2011

have a new HP Compaq 8200 elite. I have a dual boot system. Windows 7 and Fedora 15.In Fedora I cannot seem to connect to the serial port. Could anyone help me with resolving this. I've never had issues with hardware before in Linux so this is a little new to me.

Code:
[matt@matt ~]$ dmesg | grep tty
[ 0.000000] console [tty0] enabled

[code]...

View 3 Replies View Related

General :: How To Know Which /dev/ttyS* Is My Serial Port

Apr 14, 2010

I have a laptop which has only one serial port.

I went into:

How do I know which of those "ttyS" refers to my serial port?

View 2 Replies View Related

General :: How To Get Syslog Using Serial Port?

Feb 6, 2010

How do I get syslog using serial port?

View 2 Replies View Related

General :: Serial Port Programming Help

Apr 15, 2010

can we use inb() and outb() functions for serial port programming ??

View 5 Replies View Related

Fedora :: Change The MOBO And Trying To Get The Serial Port Working?

Apr 20, 2011

I've just had to change the MOBO and trying to get the serial port working, I see from previous posts there are some problems lurking in the past.

setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

but I'm not seeing anything from a GPS receiver in NMEA at 4800 no par 1 stp I know that was working about a year ago. I think udev was not helping ,as I was getting permission denied to the com port, I added myself to group dialout. and no message on startup now

I need to be able to talk to a piece of kit with 9600 baud and nothing. I have win32 s/w to drive it , but it falls over in wine. My laptop still has win7 on it in a tiny partition but no 9w d connector and I'm waiting for a USB converter cable. Too many variables ! I'd forgotten all the hassle of having to install drivers just to get basic things running. But as the stupid thing couldn't manage using the driver for my NIC, I was stuck with hyper-terminal, and nothing from the GPS board @4800 or another piece of equipment running at 9600. I suspect the com port on the new mobo doesn't wan to play

View 2 Replies View Related

General :: Intermittent Serial Port Failure

May 16, 2011

I'm trying to solve an intermittant serial port problem on an embedded medical monitor. We have determined that the port is receiving characters from the external device but the serial thread is not transferring the chars from the buffer. this problem happens at start up about 1 in 50 boots. We're using kernal 2.6.29.6.

View 1 Replies View Related

General :: Alternative USB Serial Port Access?

Aug 16, 2010

was wondering if there is an alternative method to using udev rules in order to get access to the USB serial ports. Is there a command to check the names and give them to you? I'm looking for something along the lines of "ttyUSB".

View 3 Replies View Related

OpenSUSE :: Set RxtxSerial - Java App Has Access To A Serial Port (via SiLabs CP210x Driver, Port /dev/ttyUSB0)

May 10, 2010

I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.

[Code].....

View 9 Replies View Related

Fedora :: Connecting Cisco Console Port - USB To Serial Converter

Dec 16, 2009

I am trying to connect to a cisco console port using the usb to serial converter. I am using minicom and I changed me setting to reflect the USB converter cable, but it isn't working. I have set my baud rate to 9600, 8 data bits and no parity. Minicom acts as if it is connected (it doesn't give any errors), but there is nothing on the screen and nothing happens when I type. Also, I use the tail command and it sees the usb connector connected when I unplug it and plug it back in.

View 10 Replies View Related

Fedora Hardware :: Serial Port Adapter - Cannot Install Drivers

Feb 4, 2010

Does an have Mocship MCS9901 adapter in use. I cannot even install driver. Is ti the PC adapter between since this is express card. What to do?.

make[1]: *** [_module_/home/Xx_Xxx/Desktop/MCS9901_Linux/version1.6/starex] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.31.12-174.2.3.fc12.i686'
make: *** [default] Error 2

View 3 Replies View Related

Programming :: Send /receive Data Through Serial Port In Fedora?

Dec 27, 2010

I am doing work on serial port. I want to send/receive data to/from Microcontrolar through serial port. But I don't know how to initialize, receive and send data to Serial port. i am new in fedora so i hav'nt any deep concept of fedora.can anyone send me C code , which communicate through serial port in fedora (or atleast help me). I am using Fedora 11.

View 6 Replies View Related

General :: Win7 - Looking For Serial Port Monitoring Software

Feb 8, 2011

I need a serial port monitoring software that works on windows 7 64bit or GNU/Linux and supports at least RS-232. Bonus points are if it's free software or at least freeware. I just need to be able to see what goes in and what goes out of the port. At this time, I don't need any protocol deciphering or anything else complicated.

View 1 Replies View Related

General :: Establish Serial Port Communication Through USB In System?

Jun 30, 2011

I am new to Ubuntu and I need to establish a serial port communication between my PC and microcontroller MSP430G2452.

On connection the USB available with the Launchpad and using lsusb.

It identifies the port as:

Bus 005 Device 003: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool

After establishing such a connection what I need to do? My aim is to send a byte of information in Linux.

View 1 Replies View Related

General :: Serial Port Configuration - Write Or Read

Dec 1, 2010

I have a minilinux that I being working on, the problem now is that the serial ports doesn't seem to work (I have 4 serial ports).They don't write or read.

I run the command setserial g /dev/ttySx and it says that his IRQ are 3 or 4 (3 for ttyS0 and ttyS2 , 4 for ttyS1 and ttyS4)�but when I run the command: dmesg | grep ttyS the IRQ�s are 0 for ALL my serial ports� could be this the reason why my serial ports aren�t working right??? And if it is how can I solve the problem??

View 2 Replies View Related

General :: Serial Port Transfer Ending Early?

Oct 7, 2010

I have a new problem tied to the same system as in [URL]Apparently when I send the output from

Code:
wget -q -O- http://<IP address>/<filename>.asp?LID=12345 |dos2unix
to /dev/ttyS0 (whether via > /dev/ttyS0 or via > <somefile> then cat somefile > /dev/ttyS0)

[code]....

View 9 Replies View Related

General :: Verify Installation Of Serial Port Library?

Jun 1, 2010

I want to verify that serial port libraries are installed in my system.I know that it is installed at /usr/local/lib. But I dont know what all files are to be present in there, so to ensure that the same is installed properly. Iam using suse 11.1.

View 1 Replies View Related

Fedora X86/64bit :: VirtualBox - Give Permission For Guest Os To Use The Serial Port?

Jul 16, 2009

i'm running VirtualBox v3.0.2 on F11x86_64. As my guest in virtualbox i will am using xp sp3. In virtualbox settings i need the use of my serial port (e.g. com1). I have `enable serial port` ticked, port number set to com1, port mode set to host device and port/file path set to /dev/ttyS0. I have done hours of searching and this is the best i have come up with so far. My question is this: How do i give permission for my guest os to use the serial port?

View 4 Replies View Related

General :: Bash Serial Port Script Wont Hang Up

Oct 12, 2010

My linux computer runs ubuntu 10.04.

I have it hooked up to a device, and the device manual says:

Device Specs:

Here is my script:

PROBLEM 1: The file gets created and most of the data gets saved to it, but the terminal never goes back to the ~ (home directory?) when finished. I can type whatever I want but it wont go anywhere or do anything even when I press enter. I have to click the X to close it and then the prompt comes up saying something like "are you sure you want to close terminal and kill all processes".

Reset does not work nor does the "stty sane" command that I read would force it to reset.

PROBLEM 2: See the 00/01 character in front of 200 and 201, those are <SOH> commands and in the file they are supposed to show up, sometimes they do, sometimes they don't. But there is always supposed to be an <ETX> after each one, and with the way its written now, no <ETX> shows up, <ETX> is 00/03 i think.

Here is what the output is supposed to look like:

yet the first SOH doesn't show up half the time and none of the ETX show up.

View 3 Replies View Related

General :: Connect To Serial Port RJ45 On Sparc Machine?

May 14, 2011

I have to connect from my linux client laptop to SPARC machine by using roll-over cable and RJ45 interface on the server. On windows I always used Tera Term but don't know how to accomplish this task from linux laptop.

Is there some kind of app like TeraTerm on linux too ?

View 1 Replies View Related

General :: Serial Port Config Between VBox And External System

May 24, 2010

I have Installed Virtual Box 3.1.6 on my system. The host is running on SuSe 11.2 and I have installed the SuSe 11.2 as guest OS on the VBox. I have a another system in which I installed Win XP. How to make serial port connection between the VBox and Win XP system.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved