General :: Serial Communication In Between VM And ESX?

Apr 28, 2010

I am in verse to understand the serial communication between guest and host.I have just added a serial port through VI Client selecting "Use serial port on host"(host being ESX host).If I am on VM and run :

ll > /dev/ttyS0

I understand that it should get displayed through ESX Host. So On ESX Host, I typed:

cat /dev/ttyS0

But nothing worked !

View 1 Replies


ADVERTISEMENT

General :: Palm Vx & Serial Mouse Communication ?

Apr 25, 2011

When I try to Sync a Palm Vx to my PC through serial port I get a communication error message in the gadget. My PalmOS Devices application is already configured to use tty0 or tty1 in unsuccessfully trials. I have a lot of information in the addresses, agenda, notes, etc. and do not want to loose that information gathered for years, nor to return to Windows.

As a test, I used a serial mouse in the serial port and It didn't work. I verified the Bios Setup and COM 1 and COM 2 are enabled.

I also checked my system serial support with the following commands:

And messages were OK when compared with typical outputs. My machine is a Pentium 4 CPU 1.6 GHz, in a U8668 motherboard (Award Software International). I have Ubuntu 10.04 LTS with Gnome.

I am new in Linux and don't know Bash yet. I had followed indications from Internet tutorials successfully, but I don't know how to proceed in this case.

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

Hardware :: Serial Communication Only Works In One Direction - Why Is So?

Sep 21, 2010

Running RHEL5.5 on a Dell R710 server. I installed a 2-port PCIe serial card, built the driver, and installed the kernel module. The ports show up in /etc/hwconf, lspci, kudzu, /proc/ioports, etc., and I now have two new device entries...

/dev/ttyE0
/dev/ttyE1

When I connect a null modem cable from port 0 of the card in the new computer to serial 0 of another computer, I can receive text from the other computer. When I do this... code...

View 2 Replies View Related

Ubuntu :: Open The COM1 Port To Do Serial Communication Via PHP?

Mar 15, 2010

Not really sure where to post this, so here goes... I installed apache2, php and MySQL via LAMP and everything seems to work fine but when I try to open the COM1 port to do serial communication via PHP, I get a permission denied error.

'mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=off';
$fp=fopen("COM1:","w+");

I've also tried using /dev/ttyS0 instead of COM1: but no luck. Anyone out there know what I'm doing wrong? I don't know if I need to set something up in apache2 or php or if the code is just wrong. I'm on an Acer Aspire One with Ubuntu's LNR 9.10.

View 6 Replies View Related

Networking :: Setting Up Serial Communication From Desktop Through USB Port In Terminal?

Jan 15, 2010

I am new to linux terminal programming and all but i want to set up a simple serial communication from my desktop through USB port. The actual idea to to write some data in the terminal and build a terminal program that sends the data to the usb port with a fixed baud rate. are there ready made terminal programs available for this simple communication?or atleast any Graphical tools which could help me build and design such a terminal in ubuntu 9.04?

View 8 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 :: 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

General :: I2C Communication From Kernel Space?

May 11, 2011

How do you interface with the Linux I2C driver from kernel space? For example, if I had LEDs connected to a GPIO expander on the I2C bus, how would I blink them twice before going down for reset from machine_reset()?

Essentially, I believe I need to call the functions i2c_smbus_write_byte(), i2c_smbus_read_byte(), etc. But these functions require I2C client data that I do not understand how to supply.

View 1 Replies View Related

General :: Signal Communication Between The Processes?

Sep 20, 2010

I am writing a code which communicates between 2 processes created by fork() statement. Parent reads a file and write the data into a shared memory and sends a signal to the child. The child then receives a signal from the parent to start reading. After finishing the read operation the child sends a signal to the parent asking it to resume its action. Some things are going wrong in my code.

1. segmentation error in memcpy() statement.
2. terminal hangs after running the code.
3. Synchronization problem between processes..

Code: #include <stdio.h>
#include <sys/types.h>
#include <wait.h>
#include <unistd.h>

[code].....

View 4 Replies View Related

General :: Windows - Using Localhost TCP/IP Communication In A Program?

Mar 27, 2011

I have an application which is separated to several parts (processes) communicating over TCP/IP, using a pre-defined port on localhost.Is this always safe? Can some kind of a firewall (corporate, locally installed, Windows firewall, etc) block this traffic? Or can some user settings in the OS that can block this traffic?The OSes I'm interested in are Windows (XP through 7) and Linux (Ubuntu, RHEL, SUSE)

View 2 Replies View Related

General :: Bluetooth USB Dongle - Communication Setup?

Feb 24, 2010

I am very new to linux and I have been given a school project that involves getting my windows pc talking to a linux single board computer that I have. It can be found here. [URL]. I have two bluetooth usb dongles, one to plug into my pc and one to plug into my linux board, I know that both work as I have tried talking to them both using my mobile/cell phone. Also when I plug the dongle into my linux board it recognizes something has been plugged in. However I am unsure where to go from here. I have tried "searching" for the device using my windows pc, but it will only find my cell phone and not my linux board. I also tried mounting it similar to how i would mount a usb drive e.g. mount dev/sda etc. How to setup the linux board for bluetooth communications?

View 14 Replies View Related

General :: Communication Between Shell Script And Binary Files?

Feb 18, 2011

Iam executing a shell script from my code and i need to "establish communication between shell script and my program(i..e.. my script iam executing and code should communicate each other while executing)" in one shot i want to implement IPC`s in shell script..! bye the way iam using system() call to run the shell script.

View 10 Replies View Related

General :: Parallel Port Communication With RHEL6 Not Working?

Dec 13, 2010

I was trying out the parallel port communication on RHEL 6 but found it not working:
#echo hello > /dev/parport0
write error :Invalid argument".
#ll > "/dev/lp0"
/dev/lp0:No such device or address

View 2 Replies View Related

General :: Background Process Execution Hangs Console And Ip Communication?

Feb 9, 2011

I have 3 processes to be executed in a particular sequence.

ProcessA
ProcessB
ProcessC

The requirement is that all the processes should run as background processes.

ProcessA talks to ProcessB and ProcessC using sockets.
ProcessB talsk to ProcessA only using sockets.
ProcessC talsk to ProcessA only using sockets.

[Code].....

View 3 Replies View Related

CentOS 5 Hardware :: NetMOS PCI 9835 Dual Serial Card - Can't Use The Serial Ports

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

Debian Hardware :: How To Get Old Serial-touchscreen To Work With USB / Serial Adapter

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

Ubuntu :: Serial MIDI - Doesn't See Any Serial Ports?

Jun 21, 2011

I have a bit of a dilemma. I'm attempting to use a microcontroller to send MIDI messages over a virtual serial port. I want to (eventually) read them with Mixxx. I'm using an FTDI chip, so I get a /dev/ttyUSB0. I've tried spikenzielabs' Serial-Midi program, but it doesn't see any serial ports. NOTEMIDI looks really old and won't compile on my 10.04 LTS machine.

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

General :: Determine The Serial # Of The New Hdd?

Jan 20, 2010

I have cloned my linux OS onto a new hdd. Now even tho the system will boot, it directs me to the login screen and asks me to fix the location of the root dir because it is looking for /dev/disk/by-id with a very long serial #. I presume this is the old hdd serial #. How can I determine the serial # of the new hdd and change it in fstab? Is this the correct idea? Is it just......ls /dev/disk/by-id???

View 2 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 :: Getting Serial Numbers Of H/w From A Host

Aug 1, 2011

Does any one know the process or commands to get the serial no: of a h/w device from a host?

I am looking for serial No: of Hdd,Graphic card,processor,RAM

I can get the serials of HDD & RAM using hdparm & dmidecode,but don't know how to get it for processor & Graphics card.

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

General :: File Transfer Over A Serial Line?

May 3, 2011

I have 2 linux computers, and a serial line between them, one of them is only accessible through a serial line that has shell on it. How can I transfer files between the 2 computers?

I've heard that it can be done with some rz/sz magic...

Can I do the same trick with a pseudo-terminal instead of other computer?

View 1 Replies View Related

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 :: 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

General :: Display Server Serial Number

Mar 18, 2011

How to display server serial number, type of os for that server and kernel version for that server. with seperate way.

View 8 Replies View Related







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