I am actually using Cygwin, but it is my understanding that it responds to Unix commands so hopefully I am in the correct place.
I have an Arduino hooked up via USB to my LapTop for data reading.
I want to be able to simultaneously be able to output the serial port data to the shell for my viewing and also save all that data as a text file.
Is there a command I can use to do this?
I have an application which writes some bytes to a serial port. When I docat /dev/tyyS0 to see what is being transferred, I find that the data is corrupted by the cat command. Is there any other way to see what is being sent on the serial port?
Does anyone know why cat changes the data?
When I install either a PCI serial or modem card I cannot get ubuntu to recognize it as an additional serial port like ttyS2. I have tried the setserial command and all the options, but I think its because the kernel does not have a module or driver for it. When I use the lspci -vvv command it shows kernel modules and drivers for the other PCI cards but nothing for the modem card.
My termios setup is modifying the first character read from the serial port using read(). I have a microcontroller talking to a linux box. The microcontroller responds to commands sent from the linux machine. The setup is as follows:
microcontroller(PIC24F) RS485 port <--> RS485 to USB converter <--> Ubuntu PC.
When I run a terminal program such as Cutecom everything works as planned.
I am creating a python application using twisted which reads lines from a serial port.
In order to (unit)test that app without having to connect an actual device to the serial port (also on pc's without an actual serial port) I would like to create a python script/app that sets up a virtual serial port and writes to it, so the twisted app can connect to the other end of the virtual serial port and
Is there any way to create a virtual file, such that reading from the file actually reads from the stdout of a command; writing to the file is acually writing to the stdin of a command?
So far I have kludged this with an inotifywait on a file, which calls a command when the file is modified, taking it's input from the file and writing back to it.
I don't like that the inotifywait has to be const
Hi i'm running VirtualBox v3.0.2 on F11x86_64.
As my guest in virtualbox i will be using xp sp3.
I have not installed my guest os yet because after lots of hours searching the recommendations are that you should have all ports unlocked and ready before installing.
In virtualbox settings i need the use of my serial port (e.g. com3).
I'm debugging a java application that uses RXTX to talk with an instrument via a virtual serial port (/dev/ttyUSB0).
I need to see the commands being sent back and forth.
On Windows I have used this application in the past:
ADVANCED SERIAL PORT MONITOR
http://www.aggsoft.com/serial-port-m...l-port-spy.htm
I need something that does the same on Linux.
It must be able to run on the same machine t
I am trying to copy file from my server to another so I am using the following command:
scp root@myhost /home/direc/file.tar username@secondhost:/home/dir
I am getting the error:
ssh: connect to host secondhost port 22 connection timed out
I know it might be because port 22 is not open on second host
so How do I transfer by specifying port 21 on my second host