Questions tagged [ttyusb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

How to enter message in serial communication using screen

I use screen \dev\ttyUSB0 command to connect to virtual serial port. It prints out the incoming communication, but I dont know how to send message back to the connected device. Thanks for answers ...
0
votes
2answers
102 views

How to determine which TTY channel is mapped to specific USB port

I have a very specific question. On my laptop with only USB and no RS232, I can see which bus & port I’m on but I haven’t been able to find the command that tells me which tty channel it is mapped ...
0
votes
1answer
129 views

Send binary file to ttyUSB0 serially in linux

I have a binary file(obtained from assembly code). I need to transfer this file to an fpga serially via ttyUSB0. I read in some posts that using cat and echo data can be transferred to ttyS0. echo -...
0
votes
0answers
23 views

picking specific ttyUSBx of a device

I'm trying to improve a script to connect my cellular modem in Debian Linux. This modem enumerates 5 USB ports and I need to use specific ones for specific purposes(One for initiating the data ...
0
votes
0answers
27 views

Communication Device Class in Linux. Speed limit

Hi and happy new year. I try to use Communication Device Class (virtual com) connection over the USB between stm32 board and laptop. On the laptop it is available as /dev/ttyACM0 device. I open it ...
0
votes
1answer
260 views

ttyACM0 connected but not showing received data

I have a STM32F4 microcontroller, with the USB interface, I connected it to the raspberry pi. When connected, it shows up as /dev/ttyACM0. I send some chars every second from the device. In windows, ...
1
vote
0answers
156 views

How to TTY on Debian into Huawei e5573s

i want to establish serial connection com port to Huawei e5573s connected via USB, so i can send some AT commands at it as far as i understand, i need to establish a TTY connection to the device on ...
3
votes
1answer
45 views

Is there a limit to the number of FTDI connections on Debian 9?

I have a Debian 9 box, and if I plug in 1 of my devices, its UART shows up in both lsusb and in the output of ls /sys/bus/usb-serial/devices/. When I attach 2, the 2nd one always shows up. But for ...
0
votes
0answers
7 views

Sniffing to Signal Coming From a Controller to Raspberry Pi

I am working on a project on Raspberry Pi to send commands to a controller. I am using ttyUSB0 port of the Rpi with RS485 to communicate with controller. Normally, there is a dos program which does ...
1
vote
0answers
43 views

Get the USB port 'by path' to autofill in udev rules file

I'm trying to improve on my udev rules for USB serial devices or USB sound cards. I want the USB port number to be populated in the ENV{ID_PATH} field without having to edit it myself (this becomes ...
1
vote
0answers
204 views

USB Keyboard doesn't work until I manually inspect its device file

So I have a USB Keyboard that I built myself which runs the qmk keyboard firmware. I would preface this by saying that it's possible that this is a bug in the keyboard firmware. However, since the ...
1
vote
1answer
807 views

udev rules for USB serial 'by path' not working

I have more than 2 serial devices enumerated by FTDI driver as /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 etc. On reboot, these may get jumbled up in any other order. Also, I may replace/swap these ...
1
vote
0answers
32 views

Connect Serial Port through COM port or USB adapter (different models)

I use a program where I need to specify a COM port. Can I connect via COM port (/dev/ttyS0) or through different models of USB-RS232 adapters (on /dev/ttyUSB0), configured so they always bind to the ...
0
votes
0answers
1k views

device doesn't show up dev ttyUSB0

I try to connect a device to my computer but I don't success. linux ubuntu 18.04 lsusb Bus 001 Device 013: ID 23d8:0285 dmesg [ 446.578499] usb 1-3.2: new full-speed USB device number 13 using ...
1
vote
1answer
391 views

How to filter wireshark output data to only view ttyUSB0 data?

I'm Using Wireshark on Ubuntu 18.04 to monitor my ttyUSB0 USB port output as I'm developing something that requires that. On the website, I found how to get it to sniff USB ports but the output is ...
1
vote
0answers
62 views

Set Sierra modem to packet switching via AT Command using ubuntu live CD

Lifebook E5440 has WWAN Modem Sierra EM8805 Multi SIM - Phone is occupied when Notebook is online i know this problem from lenovo notebooks Win10 doesnt let me set the config cause there is no com ...
0
votes
1answer
1k views

ttyUSB? No, ttyACM. How can I assign the usb-device to ttyACM, not ttyUSB?

I'd like to use usb-device with ttyACM not ttyUSB. I had a usb-device, SAMD21 board. And I connected it to linux (centos 6.5, 2.6.32-573.el6.x86_64) computer. The computer recognized it (lsusb) but ...
1
vote
1answer
238 views

How to remove device id from manually entered usb-serial driver

I previously followed the answer in this question: Attaching USB-Serial device with custom PID to ttyUSB0 on embedded Now, I need to revert that step so that the device id I echoed to new_id doesn't ...
2
votes
1answer
259 views

How to find out two usb devices are on the same hub

I have a microcontroller board which has a USB hub to which several CP2108 USB to serial modules are connected and one PIC Microcontroller is connected. The USB hub is connected to Laptop USB Port.. ...
3
votes
1answer
10k views

PL2303/PL2303X USB-Serial driver

OS: Linux Mint 19 Tara (also tested on Ubuntu 18.04 LTS and Ubuntu 14.04 LTS) Kernel: 4.15.0-20-generic I have a USB-Serial adapter with the PL2303X chip to connect hardware to a Linux host. The ...
0
votes
0answers
18 views

Automatic rights change when virtual COM ports are enumerated

I am developing a uC device which enumerates as three virtual COMs (actually it is a composite device). Everything works perfect except one small thing. Those ports belong to the dialout group and can ...
0
votes
1answer
2k views

Error, cannot bind to the specified serial port /dev/ttyUSB0 during boot using systemd

I am trying to run a launch file during boot up using systemd. The launch file launches rplidar. When I run directly the .sh file it's launching the lidar. $ systemctl status rosCore.service ● ...
6
votes
1answer
3k views

Run service after ttyUSB0 becomes available

I made a systemd service that launches a simple .sh to read data from a serial connection. If I run the service manually after booting it works fine, but when I try to run it automatically at boot it ...
0
votes
1answer
2k views

ttyACM or ttyUSB device detection

I develop a linux application, which works with ttyUSB*/ttyACM* devices. Now I have a task: I have to find a way, how to restore communication with device, when connection is temporary lost. Now I see ...
2
votes
0answers
767 views

Why is cat /dev/ttyUSB0 producing an endless repeat?

I would like to use cat /dev/ttyUSB0 or something similar to monitor serial communication happening through my USB-serial adapter. I am successfully able to send serial commands from linux to a ...
0
votes
1answer
486 views

How to assign symlinks to serial devices from usb-to-serial device CP2105?

I have board with CP2105. It is usb-to-serial bridge with two uart interfaces on one usb port. I've read some guides, and documentation of UDEV, but I'm stuck on creating symlinks for them. I want ...
0
votes
0answers
70 views

How to bind USB<>Serial HUB under a static name [duplicate]

I have an USB<-->Serial hub with 4 serial ports. It is always connected to the same USB port and I would like to set a static name for its ports instead of ttyUSB*. If I run the command dmesg I ...
2
votes
1answer
322 views

Can NetworkManager temporarily not manage a modem device completely?

I temporarily want to send AT commands to a modem for development. But since I installed NetworkManager on my embedded system, I can't reach the at command port anymore (using minicom, it tells me: ...
3
votes
0answers
278 views

Installing and running Devuan over serial console

I have a laptop with a broken screen and I am using it as a home server. So I would like to install Devuan GNU/Linux on it by using a serial console. I have a null-modem serial cable and I have ...
0
votes
1answer
2k views

KERNELS path for USB device connected to HUB

I'm creating udev rules to map my USB devices (ttyUSB*) to the USB ports where they are connected. The usual way to do so is looking at the output of: udevadm info --name=/dev/ttyUSB0 --attribute-...
2
votes
1answer
606 views

picocom: list all connected ports

I have a bunch (20+) of serial ports connected to my linux machine. ttyUSB0 through ttyUSB27 as of now. I use picocom to connect/monitor these ports, but not all of them are connected. If I want to ...
2
votes
1answer
151 views

Can I connect to any computer's physical terminal without monitor

It is possible to connect my laptop to any network equipment like managed switch or firewall via mini-USB port on them, then use screen to connect to its TTY. Is it actually possible to connect to ...
1
vote
0answers
46 views

Linux driver does not work properly, when compiled into kernel

I recently had a lot of troubles in making my Gentoo communicate with USB->serial converter, which was working on a prolific 2303 driver. It turned out, that when driver is compiled as a module and ...
1
vote
0answers
62 views

For rig control in fldigi, ttySn available, but no ttyUSBn

I'm using LMDE Cinnamon-64bit ver 2.0.14 Linux kernel 3.11.2-amd64, trying to manage rig control from fldigi 3.21.83. The dropdown list of Devices in fldigi only gives me dev/ttySn/. I have a USB to ...
0
votes
1answer
141 views

USB receiver communication Raspberry Pi

I'm wanting to connect a USB receiver to my Pi (3) so to be able to able to receive Rf transmittions from hand help remotes running 403MHz. I need to gather the transmitters ID through the connected ...
1
vote
0answers
71 views

Communicating with SRF02 Ranging sensor on Linu

I have an SRF02 Ultra sonic range finder, connected to my Debian 8 laptop via a USB-I2C communications module. My problem is that I cannot get any data back from the device. (I know the device works ...
1
vote
0answers
348 views

Ethernet to USB adapter is not initialized as ttyACM device

I have a similar question to the one posted here Ethernet to USB adapter is not initialized as ttyUSB or ttyACM device where I am trying to connect a geomagic touch device which is connected to a ...
2
votes
0answers
550 views

udev rules don't set group and permissions correctly

I'm trying to set udev rules to create a symlink for a USB device (ZWAVE stick), in a CentOS 7 machine. It correctly sets the symlink, but with wrong group and permissions. I've tried various values, ...
3
votes
0answers
280 views

Modem's GPS data is piped to wrong device

I have a SIM7100E modem running on 4.8.0-26-generic which specifies the following devices: /dev/ttyUSB1 : NMEA port for GPS NMEA data output /dev/ttyUSB2 : AT port for AT commands Connecting to ...
1
vote
1answer
1k views

udev rules assign same port name for a modem with 4 ttyUSB ports

I have a dlink DW-157 3g dongle. I am trying to assign the same port to the dongle everytime it boots up by modifying the udev rules file. Since the dongle on boot boots up as a storage media, I have ...
3
votes
1answer
4k views

USBasp not creating ttyUSB0

I bought an USBASP 2.0 programmer and hooked it up, I cannot see any port created by the programmer. What I expect is USBtty0 in /dev To fix it I have restarted UDEV and tried other UDEV ...
1
vote
1answer
657 views

Sudden picocom error: invalid baud rate

I am struggling accessing my beaglebone black via FTDI using picocom. It has been working without any trouble in the past few weeks. I entered following command and it would work properly. sudo ...
2
votes
0answers
504 views

Ethernet to USB adapter is not initialized as ttyUSB or ttyACM device

When I plug a Ethernet-to-USB adapter to my Ubuntu 14.04 on the USB port. I can see the Ubuntu has an extra ethernet device. However, I want to see /dev/ttyACM* type of device. I'm wondering why the ...
1
vote
0answers
31 views

ttyUSBx reconnects until x>255 and stops

I've connected a prolific 2303 usb-serial adapter on to an armhf linux board (Linux version 3.4.90+ (root@debian) (gcc version 4.7.1 (Debian 4.7.1-7) ) and for some reason the device keeps ...
1
vote
0answers
1k views

Garbage characters when using serial connection over SSH connection with minicom/screen

I have a serial connection made with /dev/ttyUSB0 locally from my laptop to a cisco lab router and using minicom/putty/screen all work fine locally (hardware control: on, software control: off, 9600 ...
1
vote
1answer
728 views

ppp affecting serial ports so that they cannot be used if modem is reset

I've got a Buildroot-based embedded system that uses a 3G modem (Cinterion PH8-P) and PPP to connect to the internet. The 3G modem is a USB device that provides 4 ttyUSB ports. One of these is used ...
1
vote
1answer
858 views

How do I rename my TTY terminal?

I have a Centos 7 server with 48 USB to serial devices plugged into it. Using udev, I was able to write a script that creates symlinks in the /dev folder that map the ttyUSBx devices to corresponding ...
1
vote
0answers
147 views

udev: Wrong symlink is made at boot time

I am trying to create a udev rule to give a static name to a ttyUSB (a FTDI USB serial cable). My rule is quite simple (the file is named 99-usb-serial.rules): KERNEL=="ttyUSB?", ATTRS{serial}=="...
3
votes
0answers
1k views

Linux Mint FTDI Usb to Serial Input/output error

I am really frustrated here... My problem is that after some point (at first it worked correctly), a Digi Board I am using (with FTDI chipset) cannot be accessed through the serial (usb to serial) ...
7
votes
1answer
28k views

Sending serial commands with echo vs screen session

I have a small LED matrix controlled by a display driver that accepts serial commands to update the display. I'm successfully controlling it via node with the node serial package, however I'd like to ...