Hardware :: Usb To Serial Port Adapter?
Apr 14, 2009I 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 RepliesI 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 RepliesDoes 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 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.
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'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 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 need a usb to rs-232 converter to get into the console port i have an aten uc-232a converter and i have downloaded a .gz file called uplcom.4freebsd.gz i have unpacked it but i do not know what to do from here could some one please help i need to do some practice for the external icnd 2 exam and i have left it to the last minute as per usual.
View 2 Replies View RelatedI am using a Sealink PN 2202 USB serial adapter on a linux box (Ubuntu 10.4) running kernel 2.6.32-28-generic. I have written a perl script to simply log the incoming RS232 data (9600 8N2) and it works fine when I start it from a bash shell:
perl /home/pk/PerlCode/RS232_D4_v11.pl
However, I need the computer to boot and start logging after a POR. If I try to use Startup Manager to execute my script everything seems ok but I randomly loose about 20% of the incoming RS232 data. In Startup Manager I use the command
gnome-terminal --title="D4 RS232 Log" --execute bash -c "perl
/home/pk/PerlCode/RS232_D4_v11.pl"
If I close the automatically-started script and restart it from a bash shell, I again will randomly loose about 20% of the incoming RS232 data. It almost seems like I have screwed up the driver by using the Startup Manager. The only way I can get reliable logging again is to remove the script from Startup Manager, then restart the computer and manually launch the perl script. I was thinking that maybe the order in which the driver was loaded and perl script started might be an issue. So I tried a bash script that sleeps for 15seconds, then starts the perl script. Again, I loose random pieces of incoming data when this is initiated by Startup Manager.
Here is some more info:
lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0c52:2223 Sealevel Systems, Inc.
Bus 002 Device 003: ID 0c52:2213 Sealevel Systems, Inc.
Bus 002 Device 002: ID 03eb:3301 Atmel Corp. at43301 4-Port Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub .....
sudo cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0
0: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0c52
product:2213 num_ports:1 port:1 path:usb-0000:00:1d.0-2.1
1: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0c52
product:2223 num_ports:1 port:1 path:usb-0000:00:1d.0-2.2
ls -al /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 2011-03-08 09:56 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2011-03-08 09:56 /dev/ttyUSB1
I am a member of the group dialout.
I though it may have something to do with su vs my ownership of files. If I do a sudo chmod 777 /dev/ttyUSB* then
ls -al /dev/ttyUSB*
crwxrwxrwx 1 root dialout 188, 0 2011-03-08 09:56 /dev/ttyUSB0
crwxrwxrwx 1 root dialout 188, 1 2011-03-08 09:56 /dev/ttyUSB1
However, after rebooting it reverts to
ls -al /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 2011-03-08 09:56 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2011-03-08 09:56 /dev/ttyUSB1
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.
I picked up as Dynex usb2serial converter to use with my cisco router/switch. The dongle works fine if plugged into a windows box & puTTy, but I cannot get it to work with Fedora 14. When I try to use cute, mini or command line it tells me it cannot open the connection. Here is the output from lsusb and dmesg. susb output:
[code]....
I have a usb serial adapter and was happily using minicom with it under openSUSE 11.2. I've upgraded to openSUSE 11.3 and I can only use minicom with this serial adapter as root. I had previously had problems writing to /var/lock under openSUSE 11.2 which I worked around by changing the minicom config to use /tmp as its lock file location.
Unfortunately my laptop doesn't have a built in serial port so I can't tell if its a general problem or something specific to the /dev/ttyUSB0 device. This is the output I get when I run minicom with my regular user account. I get the same output whether the lock file location is set to /tmp or /var/lock
Code:minicom usb0 Device /dev/ttyUSB0 lock failed: Permission denied. Before I started tinkering my user belonged to the following groups groups=16(dialout),33(video),100(users) I've since added 5(tty),14(uucp),21(console) but still no joy.
I tried connecting my Debian laptop to a vintage Apple //e using a Super Serial Card on the Apple side and a USB to serial adapter on the laptop side. It kind of works -- I can send data over to the Apple using e.g. echo "foobar" > /dev/ttyUSB0 or via minicom --, but every 20 seconds (quite exactly!) some 4 random characters appear on the Apple's screen (mostly tildes, sometimes a pipe). This does *not* happen when booting the laptop into Debian rescue mode; so I guess it must be some (daemon?) process messing around with the usb serial device in regular intervals.
I tried to disable quite some services, but the problem remains.I don't have any clue how I might catch the evil-doer in the act -- virtually all serial monitors I've so far read about allow only monitoring the interaction of a known program/process with a serial port. But in this case I first have to actually find out which process is talking to the serial port in the first place.
I am using a Prolific pl2303 USB<=>Serial adapter. dmesg reports everything seems ok when I plug it in (see below) but when I open the ttyUSB0 port in minicom, it is always offline and nothing works. Also, minicom reports:
[code]....
If I plug the adapter into a different machine (Windows) everything works fine. The serial port is setup correctly (9600-8-N-1) What can I do to get this working?
usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: configuration #1 chosen from 1 choice
pl2303 5-2:1.0: pl2303 converter detected
usb 5-2: pl2303 converter now attached to ttyUSB0
usb 5-2: New USB device found, idVendor=067b, idProduct=2303
[Code]....
Can 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 Replies View Relatedi would like to connect to my cisco via a console port and i dont konw how
View 13 Replies View RelatedI 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 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]....
I would like to be able to ssh to a TCP port on my server and be directly connected to the serial port @ 115200 Null modem config. Does any body know how one can do this?
View 4 Replies View Related