Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ttyusb]

The tag has no usage guidance.

1
vote
0answers
12 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
23 views

How to ensure that I refer to the correct USB device? [duplicate]

I connected a USB-serial dongle to Ubuntu and I get it as /dev/ttyUSB0. I can also see it: $ lsusb Bus 001 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port However, I may ...
0
votes
0answers
17 views

How do I do to detect both the disk (/dev/sd{x}) device and its sibling tty (/dev/ttyACM{y}) device when a composite USB ACM_MS device is inserted?

Suppose you have multiple embedded devices that enumerates as Composite ACM/Mass Storage devices (/dev/ttyACM0 <--> /dev/sdb, /dev/ttyACM1 <--> /dev/sdc, ...) when they get plugged to the ...
0
votes
0answers
203 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
84 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
33 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
276 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
85 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
85 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.. ...
1
vote
1answer
2k 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
1k 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 ● ...
3
votes
1answer
1k 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
1k 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 ...
0
votes
0answers
464 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
143 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
50 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
198 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
193 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
937 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
446 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
92 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
38 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
53 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
133 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
59 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
277 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
376 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, ...
4
votes
0answers
229 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
820 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 ...
2
votes
1answer
3k 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
458 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
438 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
30 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
827 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
559 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
580 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
137 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}=="...
2
votes
0answers
993 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) ...
4
votes
1answer
22k 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 ...
10
votes
3answers
9k views

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 ...