Fedora Servers :: Serial Port On Fed 12
Mar 25, 2010Can anyone one give me some pointers please, for talking to a serial port, if I use cutecom it always returns "could not open /dev /tty0 or 1 or 3 or 4, even tried ttys0 etc
View 7 RepliesCan anyone one give me some pointers please, for talking to a serial port, if I use cutecom it always returns "could not open /dev /tty0 or 1 or 3 or 4, even tried ttys0 etc
View 7 RepliesIs 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
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.
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 Relatedi would like to connect to my cisco via a console port and i dont konw how
View 13 Replies View RelatedMy program tries to open serial port on Fedora 12, and shows "Access denied" on Open Port operation. The same program runs successfully with root rights. What can I do to get COM port access as regular user?
View 2 Replies View RelatedI think I need to mount a serial device, but not sure how. I looked at /etc/fstab, but cannot determine what to put in for the mount type. And, not sure what port it would be exactly... imagine either "ttyS0" or "tty0". Can someone give a newbie some guidance on how to possibly mount this device?
View 2 Replies View Relatedhave a new HP Compaq 8200 elite. I have a dual boot system. Windows 7 and Fedora 15.In Fedora I cannot seem to connect to the serial port. Could anyone help me with resolving this. I've never had issues with hardware before in Linux so this is a little new to me.
Code:
[matt@matt ~]$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[code]...
I've just had to change the MOBO and trying to get the serial port working, I see from previous posts there are some problems lurking in the past.
setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
but I'm not seeing anything from a GPS receiver in NMEA at 4800 no par 1 stp I know that was working about a year ago. I think udev was not helping ,as I was getting permission denied to the com port, I added myself to group dialout. and no message on startup now
I need to be able to talk to a piece of kit with 9600 baud and nothing. I have win32 s/w to drive it , but it falls over in wine. My laptop still has win7 on it in a tiny partition but no 9w d connector and I'm waiting for a USB converter cable. Too many variables ! I'd forgotten all the hassle of having to install drivers just to get basic things running. But as the stupid thing couldn't manage using the driver for my NIC, I was stuck with hyper-terminal, and nothing from the GPS board @4800 or another piece of equipment running at 9600. I suspect the com port on the new mobo doesn't wan to play
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 RelatedI'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.
[Code].....
I am trying to connect to a cisco console port using the usb to serial converter. I am using minicom and I changed me setting to reflect the USB converter cable, but it isn't working. I have set my baud rate to 9600, 8 data bits and no parity. Minicom acts as if it is connected (it doesn't give any errors), but there is nothing on the screen and nothing happens when I type. Also, I use the tail command and it sees the usb connector connected when I unplug it and plug it back in.
View 10 Replies View RelatedDoes an have Mocship MCS9901 adapter in use. I cannot even install driver. Is ti the PC adapter between since this is express card. What to do?.
make[1]: *** [_module_/home/Xx_Xxx/Desktop/MCS9901_Linux/version1.6/starex] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.31.12-174.2.3.fc12.i686'
make: *** [default] Error 2
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 Relatedi'm running VirtualBox v3.0.2 on F11x86_64. As my guest in virtualbox i will am using xp sp3. In virtualbox settings i need the use of my serial port (e.g. com1). I have `enable serial port` ticked, port number set to com1, port mode set to host device and port/file path set to /dev/ttyS0. I have done hours of searching and this is the best i have come up with so far. My question is this: How do i give permission for my guest os to use the serial port?
View 4 Replies View RelatedI am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows
fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);
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?
ive been looking through several online documents and forum posts but i cant get a clearcut answer on how to set up serial port acces in ubuntu 10.04 (server).
View 7 Replies View RelatedI have two usb2serial adapters connected to my PC with a null modem (I am doing some testing to learn serial comm for a particular application). I am writing to /dev/ttyUSB0 a trying to read /dev/ttyUSB1. I have used screen (screen /dev/ttyUSB1 115200) and am able to see the characters being written. I am also able to read and write with Python with the following code
Code: import serial,time,sys
ser1 = serial.Serial('/dev/ttyUSB0',baudrate=115200)
ser2 = serial.Serial('/dev/ttyUSB1',timeout=2,baudrate=115200)
ser1.open()
ser2.open()
[Code]....
How do I get syslog using serial port?
View 2 Replies View RelatedI can't communicate with and UPS (Eaton) via a serial port. The serial port is UP and have been tested under a Windows OS.I have set up the communication parameters and tried to establish a dialog with the UPS. Minicom is installed. Nothing appears ont the screen and the VT102 has an offline status. The OS is Red Hat Enterprise Linux 5 64bits.Is somebody have examples to debug the serial port ?
View 7 Replies View RelatedI need cause an interrupt on a serial port. If I put a single HIGH on the RX pin, will that cause one? I all ready use the 4 control lines for data.Hope I am making sense?
View 5 Replies View RelatedI need a to add a usb serial port adapter. Are they all basically the same? Do I need to find a Linux compatibility list before I go shopping?
View 1 Replies View RelatedI want to implement the following scenario :-[workstation1] <--ETHERNET-->[device 1]<--SERIAL-->[device 2]<--ETHERNET-->[workstation2]In short, a LAN over Serial link (RS-232 for instance).If there is a utility that offers such functionality, kindly give me the name, i've googled a bit, and found ser2net, but that only works with TELNETing.. i want it work like a normal LAN like file-sharing n all but over Serial.If there is no such software, then obv i have to program myself. regarding which i have more questions
View 9 Replies View Relatedcan we use inb() and outb() functions for serial port programming ??
View 5 Replies View RelatedI'm not a developer or programmer just a user.I'm trying to install a packet radio system using Linux. The TNC is a Kantronics KPC3.The issue I'm having is the communications programs I have tried (minicom and cutecom) do not talk to the TNC. I'm using a computer that has a serial port and it is enabled in the BIOS.I have added myself to the uucp group in an effort resolve this issue.
View 6 Replies View RelatedI communication with different subsystems using serial port. In some subsystems after running for a while, I start getting invalid data inspite of system sending correct data. For dealing with this situation I used to
reset serial ports by closing and reopening serial port, it was doing the trick but somehow when I have implemented this in my new application, this also doesn't work.
void CPort::
The ClosePort function invokes close system call.
some other way to reset serial port in Linux? I am using RHEL 4, C++ and Qt 4.2.1 for my application development. Also I have used multithreading to implement each subsystem in a separate thread. Its strange that if A,B,C are three threads, A & B run fine together but when C is introduced B starts receiving invalid data after sometime and never recovers even after resetting the port as mentioned above.
I dot know why my serial port(minicom) is getting hang after some time. again i have to close the terminal and i have to open an new minicom to use my serial port. I dont know why it is getting hang. Please can anuone tell me why it is happening?
View 6 Replies View RelatedI'm using C serial in a program to open and use a serial port but the port won't open for one reason or another. The program successfully runs on a different computer and when using RealTerm: Serial Capture Program, I can connect through the serial port with the same settings as I'm attempting through my c code. Anyone have any idea why it might be failing? I know this is still pretty vague, so let me know if there's other things I can tell you that might help to finding a solution
View 3 Replies View RelatedThe /dev directory on my system shows the following entries:
/dev/tty
/dev/tty0
/dev/tty1
[code]....