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
ADVERTISEMENT
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
Oct 4, 2010
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).
View 2 Replies
View Related
Oct 7, 2010
Right now I am using some software to emulate a null modem serial cable on my Windows computer connected to itself. For development purposes I need to have a null modem connection to a linux computer from a windows host. Is there any method of doing this virtually?
View 2 Replies
View Related
May 28, 2011
Is there a way to get console output over a serial (COM) port? I have a box that I use as a NAS, DNS, DHCP and mt-daapd server, I don't have a spare monitor and it is not worth buying one just to use it once or twice a year.
I found this guide [url] but it doesn't work with Natty
View 3 Replies
View Related
Apr 5, 2011
I am trying to use one serial port simultaniously for two different programs. I have a two programs that use GPS information that I would like to run at the same time. At this time only one program at a time can access a serial port. I have found a way to emulate this in Windows so that I can have both running, now I'm trying to do the same in Ubuntu. Is it possible? If yes, How? The GPS receiver is connected via a USB port.
View 1 Replies
View Related
Jan 8, 2009
I bought a set of 3 laser sensors and it came with a software and its C++ source code for windows to receive the lasers info through the serial port. Since the entire project is running on Linux, I need to port the windows code to Linux. At the present moment, I already can receive the data from each of the 3 sensors, but the info is coming concatenated! Tracking down the original windows code, I found that it is probably happening cause I didn't ported these lines to my Linux version:
Code:
COMMTIMEOUTS CommTimeouts;
[...]
CommTimeouts.ReadIntervalTimeout = 2;
[code]....
I've searched already about how to specify the serial port timeouts on Linux, but didn't find a solution. how to port these lines to Linux or maybe where to find more info about how to set serial port timeouts on Linux?
View 4 Replies
View Related
Sep 1, 2011
I have a need to displace a serial port from one Linux computer to another computer running Windows (XP.) I am running Heyu on a Linux machine in a closet. The power leg for that circuit cannot let the X10 communication reach most of the rest of the house. Where it does work, is from my office but there I am running XP computers only.
I would like to plug the CM11A into my XP computer, share it's serial port and have the home automation computer (running Heyu and Linux) use the LAN to get to the XP serial port without Heyu knowing it is not a local port. Has anyone done this? Can I share a serial port in XP? Can I get Linux to map a serial port to a virtual one on another machine?
View 1 Replies
View Related
Oct 27, 2009
I have a character app running on a Linux server with a telnet thin client. This app requires 3 input values that I would like to be filled in from a scale indicator that is connected via serial to the PC running this app. I feel like this is doable but not sure how. The app is running in Progress 10.1B. Currently I can see the 3 values coming from the serial port with hyperterminal but I do not want to have to rekey into the app.
View 1 Replies
View Related
Aug 4, 2010
Im a very basic Linux/ Centos user. I have Putty installed and a USB to serial adapter. All settings seem to be right as far as speed, etc, but I'm not sure how to list the device to open for the program. The default location it gives is "/dev/ttyS0" Trying to find where the USB is located using the "/sbin/lsusb" command gives me-
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial Port [pl2303]
Bus 004 Device 001: ID 0000:0000
So I think this means that it is on bus 4 correct? So how do I list this for putty to open the device.
View 13 Replies
View Related
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
Feb 6, 2010
How do I get syslog using serial port?
View 2 Replies
View Related
Apr 15, 2010
can we use inb() and outb() functions for serial port programming ??
View 5 Replies
View Related
Jan 7, 2011
i got this old UPS from compaq long back and installed it with a new battery. Thing is i need to connect it to my PC using this serial cable. But my mobo doest have 1. So i bought a COM port cable converter to serial and have attached the UPS through it.
Now after all this done, my PC wont detect any UPS.. i dont know whether its detecting it or not...
here is the output of dmesg|grep tty
Code:
stoned_420@stoners ~ $ dmesg|grep tty
[ 0.000000] console [tty0] enabled
[ 0.852459] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.852698] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
So is my UPS being detected :-/ If not how can i know?
Am attaching pics of what all i have.. save my UPS from draining off when i'm not at home and theres a power failure
View 6 Replies
View Related
Jun 1, 2011
I bought a USB Adapter (Trendnet TU-S9) so that I could connect a old camera that connects via a serial port to my newer pc that has no serial port. The problem is that the adapter,to my surprise,requires drivers or some software to work.Windows, of course, and Mac drivers came with it on a disc but.... nothing for Linux. I am running Ubuntu 11.04.
View 1 Replies
View Related
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
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
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
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
Feb 9, 2011
a few day ago i have checked my application and make rs232 cable converter to communicated it. And not detected, why? FYI, this is my lsusb command, but in my dmesg, was not found. check this out, (usualy there is another rows, just like ".....converted to ttyUSB0....")
View 1 Replies
View Related
May 4, 2011
I have a vista computer that is connected to a router via a ethernet cord. The router is connected to the internet.I have a computer installed with Debian that does not have a ethernet port in the back of it. Is there a way that I could connect my Debian computer to the internet through my vista?
View 5 Replies
View Related
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
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
View Related
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
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
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
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
Feb 21, 2009
On my CentOS 5.2 install I've installed a dual-port serial card based on the NetMOS 9835 chipset. I've followed the serial instructions, but everything they tell me to do is already done - see setserial outputs below. I've compared these values to the lspci output (below, NetMos card is at the bottom of the output) for the card and it appears right. Problem being, I can't use the serial ports. Oh and I did use search, and looked at every 9835-related article before posting this :)
[Code]....
View 17 Replies
View Related
Oct 13, 2010
I've been reading too much and understanding too little. What I have: Lucid laptop & desktop. Both have ethernet > hub > internet. What I want: connect them directly by the serial ports so the laptop can access the desktop's drives, and the desktop can be retired from the internet. I've got an old DB-25 null-modem, last used for multiplayer Doom. The laptop's dock has DB-9, so the connections is desktop > null-modem > Belkin DB-25 - DB-9 cable > laptop.
I had hoped this post would get me somewhere:[URL].. No such luck. When I ping 'grin.local', the connection is through the internet. If I disconnect the hub, i cannot ping.
Dunno if there's something more I should do to enable serial connection in Lucid, or if my null-modem is no longer good. I'm also rather curious how "grin.local" manages a connection through my ISP's system. These are DHCP. Shouldn't that have required the full numerical IP?
(It's nothing to do with the hub. Checked that by connecting a third box to the hub. My ISP only hands out two IP. I couldn't ping the third box.)
View 5 Replies
View Related
Oct 9, 2015
I am hoping to be able to get an old serial-touchscreen to work with a usb/serial adapter. I had this touchscreen working some years ago on different hardware. I would like to hook it to the machine I am setting up as a multimedia host with mythtv among other things.
Following the instructions I left behind when I got this to work way back when does not work. See [URL] ....
This info is a work around to get the xserver to see the touchscreen. [URL] ....
I do know that the touchscreen works as I am able to get garbage on the screen as in the first part of my howto. But I have not had any success getting xorg to see it. I wish I had posted a copy of the xorg.conf at the time, but......
There is an issue with the current xserver in testing that I am hoping the next update (in unstable) will fix when it gets pushed to testing. That is that Code: Select all# X -configure fails with a segfault. So I am not able to generate the xorg.conf needed to get it to work. I was going to post a bugreport, that is when I found out there is an update in unstable, so I am waiting for it to get pushed at the moment.
Anyway I am hoping that I can link /dev/ttyUSB0 to /dev/tty0 and get it to work. I would like some kind of guess as to my chances of success before I go to all the work of getting the monitor hooked to the host.
View 1 Replies
View Related