General :: Minicom Shows Offline And Is Not Capturing The Serial Data Being Sent?

Jan 5, 2011

Minicom was running fine two days ago capturing data from a gage device via a serial cable. Yesterday, users of the data started complaining that they were not receiving any data.

The minicom status line reads offline. Is this part of the problem or is this normal (I never really noticed it before.) All settings on the gage device match the minicom settings.

View 3 Replies


ADVERTISEMENT

OpenSUSE Hardware - Pl2303 Serial - USB Adapter Not Working - Minicom Reports Offline

Oct 1, 2010

I am using a Prolific pl2303 USB<=>Serial adapter. dmesg reports everything seems ok when I plug it in (see below) but when I open the ttyUSB0 port in minicom, it is always offline and nothing works. Also, minicom reports:

[code]....

If I plug the adapter into a different machine (Windows) everything works fine. The serial port is setup correctly (9600-8-N-1) What can I do to get this working?

usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: configuration #1 chosen from 1 choice
pl2303 5-2:1.0: pl2303 converter detected
usb 5-2: pl2303 converter now attached to ttyUSB0
usb 5-2: New USB device found, idVendor=067b, idProduct=2303
[Code]....

View 1 Replies View Related

General :: Minicom Offline But Uart Registers Working?

Jul 14, 2011

I am trying to access an OpenBSD system that I have just installed via my PcBSD system by the use of a serial cable. I have been trying both minicom and cu but I am obviously doing something wrong... cu -l /dev/cuad0 returns /var/spool/lock/LCK...cuad0 Permission Denied. Can't Open lock file. all ports busy. And when I try to connect through minicom I either get a similar lock error, or minicom will sit at the connection screen with (offline status). I feel like the answer to my problems is a rather simple one, but I do not know where else to look for information.

View 3 Replies View Related

OpenSUSE :: 11.3 Minicom Permission Denied With Usb Serial Adapter?

Jul 21, 2010

I have a usb serial adapter and was happily using minicom with it under openSUSE 11.2. I've upgraded to openSUSE 11.3 and I can only use minicom with this serial adapter as root. I had previously had problems writing to /var/lock under openSUSE 11.2 which I worked around by changing the minicom config to use /tmp as its lock file location.

Unfortunately my laptop doesn't have a built in serial port so I can't tell if its a general problem or something specific to the /dev/ttyUSB0 device. This is the output I get when I run minicom with my regular user account. I get the same output whether the lock file location is set to /tmp or /var/lock

Code:minicom usb0 Device /dev/ttyUSB0 lock failed: Permission denied. Before I started tinkering my user belonged to the following groups groups=16(dialout),33(video),100(users) I've since added 5(tty),14(uucp),21(console) but still no joy.

View 7 Replies View Related

Hardware :: Not Getting Shell When Booting Through Serial Port (minicom)

Feb 23, 2011

I am working on a embedded target board which runs on linux. The target board is connected to a linux machine through serial port. To bootup the target board, I run the minicom in the linux machine, boot the kernal of the target board through giving the boot command through the serial console (minicom). Now the question is when the target board boots up, it doesn't starts a shell. The rc scripts are getting executed. There are target specific applications getting started from the rc scripts. I appended & to the last launched application. Still I don't get shell prompt.

View 2 Replies View Related

Software :: Minicom Versus Gtkterm / Putty - App For Serial Communications?

May 21, 2009

I am running kubuntu 9.04. I have minicom, Gtkterm and Putty installed. minicom seems to be really good, but I am missing scroll back functionality on there. Either that or I'm a novice with it and don't know how to do it. Putty is a GREAT app. But what I'm finding is that after the terminal runs for a bit, the screen shows characters from the previous lines and goofs up the output. If I move the window, the gibirish disappears. gtkterm is adding several empty lines to any of the screen output.

View 2 Replies View Related

Networking :: Serial Port : Read Data, Not Reading Complete Data?

Mar 5, 2010

I have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port

Code:
serialfd = open( serialPortName.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (serialfd == -1)

[code]...

View 5 Replies View Related

Programming :: Get Data From Serial Port Function Read() Blocks When Data Not Available?

Jun 11, 2009

I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:

//------------------------------------------------------------
char m_readBuffer[255] = {0};
char* p_curChar = m_readBuffer;

[code]...

View 1 Replies View Related

General :: Serial And Parallel Data Communication On Fedora 13

Apr 22, 2010

I have been trying out serial and parallel data communication on Fedora 13 Beta. I can easily see the list of serial ports through:

Code:
setserial -g /dev/ttyS[0-3]
And can also write some data through:
Code:
ll > /dev/ttyS0
But I am unable to see parallel ports
I can see something like:
Code:
/dev/parport0
But when I try out:
ll > /dev/parport0
It throws error.

View 3 Replies View Related

Ubuntu Networking :: Capturing Data On .pcap File And Piping It

Jun 22, 2011

I have a GPS device which sends in data on port number 5000, i am able to capture the data into a pcap file using tcpdump. Now my problem is, i need to pipe the data into a text file as and when data arrives into the pcap file continuously.I did extensive search, but to no avail. been trying to solve this for the past 3 days. I use the following commands to capture and pipe the data, but that happens only once when i issue the command. I want this to happen continuously as and when the data arrives.

View 1 Replies View Related

Software :: Capturing Data From IP Port In Background Using Telnet Or Netcat (nc)?

Mar 4, 2010

I'm trying to capture incoming/outgoing phone call data. Both telnet and nc have allowed me to easily direct this data to a file for later processing, HOWEVER I can't seem to get either to work as a background process. I want to put the connection into a shell script and run from cron.

View 4 Replies View Related

General :: Redirecting Serial Data To An External Devices Using Bluetooth?

Apr 24, 2010

i have the following challenge: i have a Bluetooth GPS device that i have connected to my linux notebook. but now i also want to use the same device (or better, GPS data stream) for my Navigation device (HP Ipaq with TomTom). make an serial port bluetooth service (sending) that my Navigation device can connect to. copy the incoming bluetooth serial port data stream to the outgoing bluetooth serial port.

i have already installed GPSD so i have the TCP port where the GPS data is available for everything on my notebook. but now i also want it to send it out through bluetooth.

1. is there someone out there who already did this?

2. how to make an bluetooth serial port service on Fedora 12?

3. how to copy a data stream from 1 device to the next device?

View 1 Replies View Related

Ubuntu :: Empathy Shows Offline Contacts As Online?

May 2, 2010

After moving from 9.04 to 10.04, the single most annoying issue for me is Empathy. Yes, it doesn't pop up a new window when a new message arrives. Yes I missed few messages because of that (no, turning the small "mail" icon to green doesn't get my attention as much as a new window). But, I can live with this.

The real issue for me is it shows Offline contacts as Online. Let's start Empathy and let's say you have 10 contacts as Online. If one of them goes Offline, Empathy still shows the contact as online. You will only find this out when you try to send a message.

View 3 Replies View Related

Software :: Nagios Shows Host Offline But Services All Show OK

Jul 7, 2011

I believe that I need to disable the host check, I'm checking a public FTP service and ping is disabled on that FTP host. This is resulting in Nagios reporting the host as down, but the service shows as OK.

Is there any way to disable the host check?

View 1 Replies View Related

General :: Can't Remove A Pv From LVM It Shows No Space Left But Don't Have Any Data

May 28, 2010

I have a lvm with 5 disk, I've been doing some benchmarks on the file-system with this lvm know I would like to remove one pv from the volume, I've tried

Code:
# pvmove -v /dev/sde1
Finding volume group "test-vol"
No extents available for allocation
and also

[Code]....

View 5 Replies View Related

Software :: Serial Printer Setup 7 Data Bits Rx 8 Data Bits Tx

Aug 8, 2010

About 7 years ago I setup a Redhat system with 8 serial terminals and 8 serial printers, this is still running but I need to get another system running so the original can be taken down for maintenance. The printers are ancient Newbury data dot matrix wide carriage with 7 data bits receive 8 data bits transmit Xon/Xoff flow control. Now I remember setting the transmit and receive data bits as above but after 7 years can't remember where.

View 2 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

Programming :: Intercept Data On Serial Port?

Dec 21, 2010

I dont know if this is the right forum, But I try to find a solution, I want to intercept data from/to serial port without disrupting the software that manages the serial port, (I would like to save the data to a file or sent into a socket) I searched somes modules and programs (linspy, ttysniff, interceptty, maxty ...), A bit complicated (There are some diff. between kernel 2.4 and 2.6), So I'd like to change the serial port driver to intercept the "read" and "write " and do what I want with the data, I'd like to know what do you think about

View 3 Replies View Related

Programming :: Send Data Through Serial Port Using C?

Oct 20, 2009

I am not a profession programmer. I have to write a C code which send some command to attach display using C program. Can any one please help me in this regard.

View 3 Replies View Related

Networking :: Serial Port : Not Able To Write Big Chunk Of Data?

Mar 10, 2010

I am trying to send text data from one PC to other using Serial cable. One of the PC is running linux and I am sending data from it using write(2) system call. The log size is approx 65K bytes but the write(2) system call returns some 4K bytes (i.e. this much amount of data is getting transferred). I tried breaking the data in chunks of 4K but write(2) returns -1.My question is that "Is there any buffer limit for writing data on serial port? or can I send data of any size?. Also do I need to continously read data from other PC as I write 4K chunk of data"Do I need to do any special configuration in termios structure for sending (huge) data?

View 4 Replies View Related

Programming :: Displaying I/O Possible When Reading Data From The Serial Port?

Aug 31, 2009

I have got a problem while reading from the serial port. I'm working on iMX-31 board and Eclipse IDE. Whenever I'm trying to read any data through the serial port, it's displaying I/O Possible and the application is being terminated. After reading I'm trying to write this data on a file. Here are the excerpts from the code:

# int main()
{
if (openport()<0)

[code]...

View 7 Replies View Related

Programming :: Serial Port Program Not Outputting The Right Data?

Apr 11, 2009

I have connected a device to my linux system with a serial cable (rs232). The settings are: port /dev/ttyS0, baud rate=38400, data bits=8, stop bits=1, no parity, no hardware or software handshaking. I wrote a linux program that sends 1 byte to the device, but the device doesn't receive it. I know the serial ports are working because when I use the CuteCOM application to send data, the device DOES receive it, so obviously it is a problem with my code..

Code:

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

[code].....

View 2 Replies View Related

Programming :: Read Some Data From Controller Using Serial Port?

Aug 25, 2010

i want to try with a small application in linu in that i want to read some data from controller using serial port and i wanna transfor that data to another meachin in the network for this i want serial port interfacing programming as well as socket programming.

View 1 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

Programming :: Serial Port Data Read Time Interval?

Oct 30, 2010

I am writing a C program which reads data over serial port. While reading data, if I send my data(which is a 13 byte structure) periodic with a period of 1 second for 10 times I read it without problem and I read the data 10 times as I sent and as I expectBut if I send data continuousuly(without any time interval between each sending) 10 times I can only read 1 of them(I can only read it once).

View 11 Replies View Related

Debian Hardware :: USB Serial Adapter Spontaneously Emitting Data Every 20 Secs

Jul 13, 2015

I tried connecting my Debian laptop to a vintage Apple //e using a Super Serial Card on the Apple side and a USB to serial adapter on the laptop side. It kind of works -- I can send data over to the Apple using e.g. echo "foobar" > /dev/ttyUSB0 or via minicom --, but every 20 seconds (quite exactly!) some 4 random characters appear on the Apple's screen (mostly tildes, sometimes a pipe). This does *not* happen when booting the laptop into Debian rescue mode; so I guess it must be some (daemon?) process messing around with the usb serial device in regular intervals.

I tried to disable quite some services, but the problem remains.I don't have any clue how I might catch the evil-doer in the act -- virtually all serial monitors I've so far read about allow only monitoring the interaction of a known program/process with a serial port. But in this case I first have to actually find out which process is talking to the serial port in the first place.

View 4 Replies View Related

Programming :: Debian Serial Port Read() Return Wrong Data?

Jul 6, 2010

I am implementing a simple serial protocol where my ARM9 board, running Linux is communicating to a slave peripheral board. The Master sends a 12 byte data stream and the peripheral board returns status in a 23 byte response. The serial port is opened in raw mode. It works perfectly on 44 reads; however, on the 45 read the data returned from the read() is incorrect. I've framed what's being sent on an oscope and it is correct.The coincidence is that 23 x 44 = 1012. It's as though the receive buffer is 1K and when I go past the boundary I get bad data. The read following the bad one is good again.I've tried flushing the buffer before reading but get the same result.Here's the port initialization code:

Code:
int initport(int fd)
{

[code]...

View 4 Replies View Related

Programming :: Write Data To Text File Which Is Coming On Serial Port Infintely?

Aug 5, 2010

trying read serial COM port and want to write that received data to file, now its writing only one sentence, but i want to write full file which coming on serial port, as i'm sending file from hyper terminal and reading on linux pc, If i put while loop its not writing anything,without while loop its writing only one line and if send big file then application terminates and then writes to file.But i need do write any size which coming on serial port.Finally i want write full file which is coming on hyper terminal, after writing the file it has wait for next data. This is my code,

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]...

View 9 Replies View Related

Programming :: Serial Port Communication Program Always Lose One Byte Data: 0x00?

Dec 13, 2009

I wrote a serial port communication program to access a equipment.

int main(void)
{
int fd = 0;
int nread = 0,i = 0,nwrite = 0, tmpread = 0, m = 0, n = 0 ;

[code]....

View 2 Replies View Related

General :: Minicom Configuration Settings Are Not Updated?

Oct 19, 2010

Initially i wrongly entered the serial port device as ttys0 and save it. It wont reply due to wrong device selection. Actual device is ttyS0 and i select this and try to save it as dfl,but an message appear as 'cannot write to /etc/minicom/minirc.dfl'

So i have to configure each and every time i open the minicom. how to configure this correctly?

View 4 Replies View Related







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