Questions tagged [ttyusb]
71 questions
23
votes
3 answers
How can I set up a "USB proxy" for /dev/ttyUSB0 over the network?
I have a device under test (DUT) and I measure its power usage the using a Power Analyzer Datalogger using the data from /dev/ttyUSB0.
The problem is that the DUT is now remotely from the workstation I used to gather data with, but in the same…
Eduard Florinescu
- 11,153
- 18
- 57
- 67
8
votes
2 answers
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 fails because the .sh can't yet read from ttyUSB0…
sjaak
- 564
- 2
- 8
- 17
7
votes
1 answer
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 device appears connected via lsusb, however I cannot…
kjhe11e
- 111
- 1
- 1
- 5
7
votes
1 answer
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 be able to update it with echo so that I can…
MikeBman
- 161
- 1
- 2
- 7
5
votes
0 answers
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 successfully used it to connect to the serial console…
Giorgio
- 797
- 2
- 13
- 28
4
votes
3 answers
How to set /dev/ttyUSB device on a specific constant device number?
I use several Linux servers hosts, in which multiple serial-to-USB links are plugged in. They look like /dev/ttyUSBx devices, where x is a number starting from 0. Client devices are often rebooted or go offline or are unplugged or new ones are…
Tooluka
- 41
- 1
- 2
4
votes
0 answers
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 ttyUSB2 works fine, I can turn on/off GPS engine etc.…
embedded_crysis
- 307
- 2
- 6
3
votes
1 answer
/dev/ttyUSB0 is available but after try to call it's gone
If I connect my ESP32 to my Ubuntu ( 22.04 ) by USB it is available in /dev/ttyUSB0. If I run a call - for example sudo ampy --port /dev/ttyUSB0 ls the error message apears
Traceback (most recent call last):
File "/usr/local/bin/ampy", line 8, in…
michael-mammut
- 197
- 2
- 2
- 8
3
votes
1 answer
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 some number greater than 2, no new entries appear in…
Alex Shroyer
- 213
- 2
- 11
3
votes
1 answer
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 really huge that I can't see the data I'm interested…
Moe
- 161
- 5
3
votes
1 answer
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 serial device through the TX wire using echo…
user391339
- 449
- 1
- 6
- 16
3
votes
1 answer
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 configurations but it doesn't show.
uname
Linux Puc…
Thijs
- 253
- 4
- 13
3
votes
0 answers
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) interface.
The device is attached at /dev/ttyUSB0.…
mitsos1os
- 163
- 10
2
votes
1 answer
USB LTE modem without MAC address?
I'm connecting a linux machine using a nowadays popular Huawei Brovi E3372-325 LTE USB Stick to the internet. The special requirement is that incoming ssh/ping/NTP/... connections must reach my linux OS.
The state is, that using usb_modeswitch -X…
gorogm
- 23
- 3
2
votes
2 answers
Why isn't my CH341a Device Getting Assigned a Device Path (/dev/ttyUSB0)
I have a CH341a Programmer and when I plug it into a usb port everything seems to be working except it doesn't get assigned to a Device Path (eg /dev/ttyUSB0).
Does anyone have any clue as to why this might be happening, or how to resolve this…
dlowrie290
- 311
- 4
- 13