Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Connecting PIC16F877A using Easypic5 via RS232 with Linux Post 302593314 by Corona688 on Thursday 26th of January 2012 12:48:36 PM
Old 01-26-2012
We are not "on call" here. If you don't get a reply instantly, wait!

Let me hunt up the code I use...

---------- Post updated at 11:48 AM ---------- Previous update was at 11:44 AM ----------

Try perror("read failed"); to see why read failed.

I rolled my own serial-port-opening function to make ordinary rs232 communication less of a hassle, with the result being tcgets.h and tcgets.c. You can open a serial port like int fd=termios_open("/dev/ttyS0", "2400N81");. Even if you don't use it, it should hopefully be a good example
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem Connecting from Windows base OS to linux

I have a network consisting of Linux Server, Win-Nt & 95 OS. I am able to connect from Linux to Win-NT using either ftp / telnet in time. But it takes me around & more than 50 seconds to connect from Wint -Nt/95 to Linux using either ftp/telnet. My network is small & it hardly consists 20-25... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies

2. Programming

RS232 communication optimisation

Need help for RS232 communication with switches in order to optimise the data traffic. How to manipulate different flags in termios struct to do the same? (1 Reply)
Discussion started by: ManishSaxena
1 Replies

3. UNIX for Advanced & Expert Users

VNC via Rs232

Hi ! Is there somebody who is able to connect a VNC session via serial cable ? There is a hint on the VNC homepage that it is possible to configure that. But how? thanks joerg (2 Replies)
Discussion started by: joerg
2 Replies

4. UNIX for Dummies Questions & Answers

Connecting 2 linux boxes with COM

hi there! I have a small, probably very dumb question. Is it possible to connect two linux boxes with each other over COM ports for terminal connection? (4 Replies)
Discussion started by: D-Lexy
4 Replies

5. Solaris

rs232 pci-card

hello mates, do you know a manufactor for rs232 serial pci cards for the sparc architecture? it seems that there is no original product from sun for that purpose. strange, isn't it? problem is that i have a V250 with only one db9 rs232 serial port, and i need it for a modem connection, but i also... (1 Reply)
Discussion started by: pressy
1 Replies

6. UNIX for Advanced & Expert Users

connecting UNIX/Linux to NTP server

Hello i want to connect my solaris & Linux boxes to ntp server i used the command /usr/sbin/ntpdate -s -b -p 8 -u <NTP-IP> and added the NTP server as server in /etc/ntp.conf please help in completing the process and verifying it (1 Reply)
Discussion started by: learn82
1 Replies

7. UNIX for Dummies Questions & Answers

Help connecting to linux server from shh client in windows!

I just installed the latest version of unbuntu server and want to connect from windows using a ssh client. This is my first linux server, so bare with me =) For my server... cat /etc/hostsgives me 127.0.0.1 localhost 127.0.1.1 ubuntuHomeI tried using ssh secure shell and putty in vista.... (11 Replies)
Discussion started by: Bandit390
11 Replies

8. UNIX for Advanced & Expert Users

Help connecting linux box to Windows - winbindd problem

Hi experts - I hope you can help me. I am trying to resolve Windows host names (aka Netbios names, aka "UNC names) from a Linux box. I have added "dns wins" to the "hosts" line at /etc/nsswitch.conf, and installed samba 3.2.2 and ran "winbindd -D". Now, when I go: "wbinfo -N venus" (where... (1 Reply)
Discussion started by: maryg
1 Replies

9. Red Hat

CVS repository connecting error in Linux 5.3

Hi Friends, I configured CVS Repository in RHEL 5.3 Server. But connecting the CVS Repository get the error like. # cvs -d:pserver:cvs@localhost:/backup/cvs/cvsrep login Logging in to :pserver:cvs@localhost:2401/backup/cvs/cvsrep CVS password: cvs : connect to :2401 failed: Connection... (0 Replies)
Discussion started by: srinivas814
0 Replies

10. Hardware

Bluetooth Dongle Pairing but Not Connecting (Linux)

I have been trying to get bluetooth working correctly on Linux for a while now. I am using two systems that are having identical issues: Linux Mint 15 64-bit & Ubuntu 13.04 32-bit. Both are using the Cinnamon desktop. I have the following bluetooth dongle: ... (6 Replies)
Discussion started by: Deluge
6 Replies
UCYCOM(4)						   BSD Kernel Interfaces Manual 						 UCYCOM(4)

NAME
ucycom -- device driver for Cypress CY7C63743 and CY7C64013 USB to RS232 bridges SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device ucycom Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): ucycom_load="YES" DESCRIPTION
The ucycom driver provides support for the Cypress CY7C63743 and CY7C64013 bridge chips. These chips were designed to provide a low-cost transition path to USB for existing RS232 devices, and have fairly limited capabilities. The ucycom driver behaves like a tty(4). HARDWARE
The ucycom driver currently supports the following devices which incorporate Cypress USB to RS232 bridge chips: o DeLorme Earthmate USB GPS receiver SEE ALSO
tty(4), usb(4) HISTORY
The ucycom driver first appeared in FreeBSD 5.3. AUTHORS
The ucycom driver and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>. BSD
November 22, 2006 BSD
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy