The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
139 views

Set up a serial port with VirtualBox on Ubuntu (guest OS : Windows XP)

I'm having trouble for a few weeks now trying to access the serial port of my computer when working on the guest OS Windows XP Pro via VirtualBox. The host OS is Ubuntu 10.04 LTS and I'm using ...
0
votes
0answers
21 views

Right way for using Serial Port

I want to use a Serial Port within a C-Program. Right my example program runs on my RaspberryPi, but it should do the same at my real Ubuntu-Laptop, if it had a real Serial Port. My example program ...
0
votes
1answer
45 views

Ubuntu Server USB installation with installer's output on ttyS0 (serial port)

I need to install Ubuntu Server 16.04 on computer that has no CD/DVD input, nor VGA output. I want to perform installation using USB drive with the installer output sent by serial port (ttyS0). I've ...
0
votes
0answers
15 views

Open Closed COM port

I have a MSP432 microcontroler conected to my computer and sending information using UART , the problem is that the COM port is closed ( at the bottom right of the image "Terminal" ) and I don't know ...
0
votes
0answers
75 views

How to configure RS232 to USB on Ubuntu (Mate) for JSP Web app

English is not my native language so please be patient. I'm using an Odroid C2+ to host a Struts-2 web application, like a LAMP server, using Ubuntu Mate, Tomcat7, MySQLite3 and (instead of PHP) JSP. ...
0
votes
0answers
36 views

Polling for Serial Port Information

Firstly, let me preface by saying I feel silly for asking a question like this. The information should be online, but I can't seem to find it anywhere. I feel like I've looked pretty hard, but nothing ...
1
vote
1answer
54 views

Echo command hangs when writing to serial device

I have a serial device set to raw mode with stty -F /dev/ttyS0 raw. When i try to send any data through it with echo 'hello' > /dev/ttyS0, following happens: No data is recieved by the other ...
3
votes
0answers
43 views

How to set serial port parameters with stty?

I am working with a serial port (RS232), and i have come across the following. When i list serial port settings with stty -F /dev/ttyS0 i get, among other things: ... eof = ^D; eol = ; eol2 = ...
0
votes
0answers
27 views

Serial Port ISSUE

I want to use serial port to send/receive data. I have joind dialout group. sudo chmod a+rw /dev/ttyS0 is done On checking sudo dmesg | grep tty, I get following message [ 0.000000] console ...
0
votes
0answers
36 views

Ubuntu 15.10: cannot send hex commands to ttyUSB0

I am trying to figure out why I cannot send hex commands to my serial device that has a serial to USB converter plugged in. I can see /dev/ttyUSB0. I have tried chmod 777 /dev/ttyUSB0 and set the ...
1
vote
1answer
220 views

Problem in import/installing python modules (pyserial) in ubuntu 15

Hi I've got problems importing pyserial in both python 2.7 and 3.5 I've tried with pip install, easy_install, deb package, source balls. But always the same : >>> import serial Traceback ...
0
votes
1answer
87 views

Enabling serial network devices with ModemManager

When enabling ModemManager, I don't see my serial-based SIM808 FONA in the list of available modems even though I'm able to get it working with pppd. If I start ModemManager with service stop ...
0
votes
0answers
80 views

Ubuntu Nodejs serialport npm install

I am trying to install the npm serialport package to use it with Nodejs v4.3.1 When running the following command; sudo npm install serialport I get the following error ; /usr/local/bin/node: 1: ...
0
votes
2answers
79 views

Disable serial console on Ubuntu Snappy

I would like to know is there any method to disable serial console on Snappy? I am using raspberry pi build. I need this because I have to use /dev/ttyAMA0 to communicate with hardware module.
1
vote
1answer
99 views

How do I find which serial port my Arduino is connected to with a shell script?

I'm writing a little script right now which sends some data to the Arduino through a bash shell script. The command that sends the data looks like this: alias led_green="echo -e -n '\x10' > ...
1
vote
0answers
31 views

How do I specify a USB device as a specific COM port?

We are working on switching our POS registers to Ubuntu from Windows. Our registers run in a WAN configuration so the POS software doesn't actually run on them but rather is running on a Windows ...
0
votes
1answer
41 views

No permission to write to serial device

Getting error "Permission denied" while writing to serial port from command line. I do : echo aaa > /dev/ttyS0 or even sudo echo aaa > /dev/ttyS0 but get the same result. How to solve this ...
0
votes
0answers
22 views

Can't connect to Blueport XP serial adapter - 15.10

I recently got a Blueport XP bluetooth serial adapter to connect to the console port of various devices (routers, etc). When I connect via Windows, it creates a com port that I can connect via PuTTY. ...
0
votes
0answers
37 views

Which serial com port I have

I run ubuntu on virtual machine. Serial com1 is connected to virtual machine. Need to know which tty is connected to com1. ll /sys/class/tty/*/device/driver gives lrwxrwxrwx 1 root root 0 Jan 22 ...
0
votes
0answers
159 views

Cannot lock /dev/ttyACM0

I am trying to set up a QGroundControl UAV development stack, but I can not lock the device: open failed "Permission error while locking the device" 2 "/dev/ttyACM0" false "Error connecting: Could ...
0
votes
0answers
178 views

Ubuntu 14.04 disconnect and reconnects serial USB device on initialization

I am attempting to connect to the new Arduino 101 board. While downloading, I get an error from dfu-util that states I cannot open the DFU device with an id of 8087:0aba. When checking dmesg, it ...
0
votes
0answers
41 views

serial ports not showing up

I am running ubuntu 12.0.4 on my ARM controller based board. I had a weird issue. I have enabled PS0, PS1, UL0 and UL1 on my microzed. Now, when I type dmesg| grep tty, it shows all the 4 ports. But, ...
0
votes
1answer
177 views

Reduce Request Latency on a FTDI UBS 2 RS232

I'm using a ElmScan5 scantool which uses a FTDI UBS 2 RS232 serial to usb chip under Wine 1.6.2 on Ubuntu 14.04. The latency is very high and I found a recommendation on how to reduce it in Windows, ...
0
votes
1answer
310 views

Set Up Bluetooth (rfcomm) as a virtual serial port (dev/tty0)

I have a bluetooth device that is discoverable through the command "hcitool scan". Its protocol discriptor is "RFCOMM". I can bind the device to the port rfcomm0 through the command "sudo rfcomm ...
0
votes
0answers
79 views

How to remap usb-rs232 converter to serial?

I'm using ubuntu 14.04 and i need to know this: I have a Usb to serial adapter that is at /dev/ttyUSB0 I use software(ADTpro) that only looks at the serial ports /dev/ttyS0 How do i remap ...
0
votes
0answers
137 views

How to do Serial Communication with Xbee with c++

I am trying to use xbee to send data using serial communication by opening the file /dev/ttyUSB0 in write mode and using fprintf to write data to it, but it does not work. It is clear that my xbee is ...
2
votes
1answer
244 views

Reading/Writing To Serial Port Not Working

I am attempting to pass data through my serial port and see the result. I have added myself to the group for /dev/ttyS0 and run cat < /dev/ttyS0 on one terminal for reading of data. To write I ...
1
vote
0answers
82 views

Problems building libmodbus 3.0.6 ubuntu 14.04

I am finding that libmodbus http://libmodbus.org/ is compiling incorrectly on both my laptop and desktop running Ububtu 14.04 both were upgraded from 11.10 some time ago. I have tried using the live ...
0
votes
0answers
86 views

Connecting multiple USB Data cards as devices

I have a number of Huawei E3276 USB modems I would like to connect to my Ubuntu 14.04 machine. I have installed the appropriate drivers and used usb_modeswitch to allow them to be talked to using AT ...
1
vote
1answer
214 views

How to use the Digitus Serial to USB Adapter? [closed]

How do I connect to the Serial port with the Digitus Serial to USB Adapter?
1
vote
1answer
128 views

One USB device, two serial interfaces: how to?

I have a serial device that should be exposed as two serial ports: /dev/ttyACM0 and /dev/ttyACM1. Currently I only get the first one despite the same unit under Windows exposes as the expected two ...
0
votes
0answers
183 views

Serial-to-USB CN-116 don't work on Ubuntu 14.04

I can't open serial port by using my Serial-to-USB Sitecom CN-116 adapter and I always get this error: > Unable to open /dev/prolific EXCEPTION: TransportException 2: Failed to open serial port ...
1
vote
2answers
280 views

Why does serial device only work on one USB port?

This is another question about some software called chirp. It is an amateur radio program for programming frequencies into your radio. If I type : cd /dev I change directories. From here I type: ...
2
votes
2answers
3k views

How do I Configure/Use Hyperterminal in Ubuntu 14.04?

I do use HyperTerminal in Windows to send Data to my Micro-Controller. So that I can't see such features in Ubuntu 14.04 and also how to configure COM Ports as well as list out the details of the COM ...
1
vote
3answers
455 views

Serial Port Debugging on Ubuntu

I have a written a C++ program on Ubuntu 14.04 LTS which communicates with a USB2Serial device /dev/ttyUSB0 . I want to know if the connection parameters are set correctly on this file handle, what ...
2
votes
3answers
11k views

How to copy text from putty to another window?

I'm using putty at Ubuntu 14.04 to connect to serial-port. I need to copy text from putty window to another windows(for example gedit). Any help is highly appreciated. UPDATE I can copy by selecting ...
0
votes
0answers
377 views

how to send uart pakage and read them on Ubuntu terminal (CH340G USB to Serial)

i have CH340G i dont know if it need to get driver or not i connect it to a PIC micro controller which sent bytes via UART RX TX to the USB to serial CH340G ,so does any one has idea about how to ...
0
votes
0answers
46 views

Ubuntu Software to monitor current speed of serial port transfer?

Are there any software that can be downloaded from Ubuntu Software Center that monitors and displays current/real-time Serial Port read and write speeds (transfer speed)? Or any 3rd party software ...
0
votes
1answer
136 views

How to detect & configure a upnp USB to serial adaptor for RXTX development in Java

I ordered a TRENDnet TU-S9 and and plugged it into my system. I heard this is plug and play and that it works on Ubuntu. I'm wondering how to determine which port identifier this USB to serial adapter ...
0
votes
2answers
71 views

how do I send control characters to serial device

I have a serial device, which needs to receive the commands ctrl+W and ctrl+V before I can begin programming it. I was trying to use cutecom, but I don't see an option to send control characters. ...
0
votes
1answer
400 views

How to receive/read raw file sent using Gtkterm thru serial?

I've downloaded Gtkterm in 2 desktop systems each with a RS-232 serial port. I'm attempting to transfer a simple .txt file between the 2 systems thru one of the available serial ports. The 2 systems ...
1
vote
0answers
55 views

How can a serial connection be set up as a network interface if at all?

I have a VM running Ubuntu 14.04 on Windows 7. My Windows machine is connected to a (CAN bus) data generator which ends in a serial to USB connection. I can forward this connection to the Virtualbox ...
4
votes
3answers
9k views

Arduino Serial Port COM1 Problem

I bought an Arduino Uno and installed Arduino IDE 1.6.5 But when i want to upload a skecht to Arduino board i take this error: avrdude: ser_open(): can't open device "COM1": No such file or directory ...
0
votes
0answers
202 views

Serial port blocked. How can I detect what it is?

I am using Qt (QSerialPort) to handle the port. At startup, I am attempting to open the port every second. It takes in average 12 cycles not to get back an error, which is: ...
2
votes
0answers
55 views

Debugging kernel running on AMD target from Intel host - how to return control to gdb?

I have compiled kernel 3.13.0-55 on Ubuntu on both AMD and Intel machines. I tried to copy compiled kernel to Intel target but it won't boot with that one. Therefore I have compiled the same version ...
1
vote
1answer
51 views

Ubuntu open ports of client

I am working with a server on a VM with 4 clients.I want to know which ports are open on which of my client. I have the IP of every one of my client but what statement should I use in Ubuntu?
1
vote
0answers
103 views

Using non-standard serial baud rate

I am using a module that REQUIRES 28800 baud for the serial link. Is there any way to set this rate? It should be possible since it is half 57600 which IS a standard baud rate. Trying with Ubuntu ...
1
vote
0answers
53 views

PCI Serial port card

I have got a PC with Ubuntu 14.04 desktop. The main plate has a serial port (ttyS0) that works perectly, but the ports in additional PCI cards don't. When my program calls "open", this function is not ...
1
vote
2answers
338 views

Install driver for Exar XR17V358 in Linarto Ubuntu 12.04 LTS

I have a Freescale iMX6 SMARC module and carrier board. It came from the manufacturer with Ubuntu Linaro 12.04 LTS (kernel 3.0.35). I need a lot of serial ports, so I got the Syba 8 port PCIe card ...
1
vote
1answer
5k views

How to find serial port

My dell dimension 8400 has a serial port on the back. I want to use minicom to interface the serial port on this computer with Ubuntu installed. The output of dmesg | grep tty did not give me much ...