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.
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.
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?
I'm having intermittent network failure on my laptop but I can't figure out why. I have a cable modem and a 10Mb/s (bits) connection (at least that's what I'm paying for). The modem is connected to a wireless router, to which my laptop connects wirelessly. Quite often my speed drops considerably-- sometimes as low as a few hundred bytes per second. Other times it fails completely. This will happen with just about any server you can imagine, including the Debian FTP mirrors in the US.
- When I do file transfers over the local network from my laptop to my desktop, they go pretty fast, around 2 MB/s. I believe my wireless card (Intel 3495) maxes out at 3 MB/s (bytes), so that seems reasonable. - When I download a file from the outside network, it usually goes pretty fast too, around 1 MB/s, which is close to my limit.
So why is it that the connection between the laptop and the external network is so slow? I've tried power cycling, but it doesn't really help. I can't think of anything else to try.
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.
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".
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.
I have a system that has an intermittent issue with copying files. Below is the error that occurs. Error while copying "<filename>" There was an error coping the file into network:/// Operation not support by backend
The user has Ubuntu 8.04. They are using the Nautilus window to copy files (drag and drop) from a CD/DVD or USB device. The directory they are copying onto is a RAID0 device with approximately 2T of space, and more than enough space to take the files. The permissions for the drive and folders are set to the user.
This occurs randomly and is very frustrating. We cannot duplicate it and when it does occur, it will happen once, then work fine. I've been checking forums and help files all over, but find nothing similar. The only stuff I find is if it's a new install and the permissions haven't been set correctly. Even a confirmation that someone else has seen this before.
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.
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.
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??
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)
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.
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.
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 ?
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.
I need to read some data from a web server and output to a serial port on the local machine. I was attempting to use the following command:
Code:
But the device attached to the serial port (a plate embosser) acts as though there is an extra newline after each line of data.
It parses the data sent according to it's own format, which includes a format string in <> followed by a data block containing one data field per line, with the whole block surrounded by <>,
For example:
Code:
seems to output as though it were:
Code:
I can verify that the web server is outputting the former (and it looks correct if I send the wget output to console).
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. Has anyone seen this before? Looking for some guidance on what to look for. this problem happens at start up about 1 in 50 boots. We're using kernal 2.6.29.6.
I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows
I have 10.10 installed and working OK. The Home directory is located on a second 1TB disk (sdb1). Recently, I've started to experience random boot failures where the start-up routine gets as far as showing the '10.10' logo with the progress dots underneath, but then throws up an error message saying that it cannot mount sdb1. I then have an option to Quit or drop into the shell to do a manual restart.
If I then do a Ctrl/Alt/Del, the system reboots, but usually fails again. Powering off and on, sometimes more than once, is the only way to eventually get a clean boot. The drive causing the problem is fairly new and all the diagnostic checks seem to indicate that it's healthy, so I'm not sure what causes the problem.
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.
I need redirect serial port from ONE computer to ANOTHER computer, and at the another send this port to VirtualBox with WindowsXP.VB needed because i need to use software for windoze I do this:NE computer:socat tcp-l:54321,reuseaddr,fork file:/dev/ttyS0,nonblock,waitlock=/var/run/tty0.lock
ANOTHER computer: socat pty,link=/tmp/ttyS0,waitslave tcp:ONE:54321 Now (at ANOTHER) i've set serial port in VirtualBox as
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
ive been looking through several online documents and forum posts but i cant get a clearcut answer on how to set up serial port acces in ubuntu 10.04 (server).
I have two usb2serial adapters connected to my PC with a null modem (I am doing some testing to learn serial comm for a particular application). I am writing to /dev/ttyUSB0 a trying to read /dev/ttyUSB1. I have used screen (screen /dev/ttyUSB1 115200) and am able to see the characters being written. I am also able to read and write with Python with the following code