Questions tagged [usb]
Universal Serial Bus (USB) establishes a connection between devices and a host computer.
1,879
questions
0
votes
0
answers
16
views
Minicom: send string when newline is detected
I have 3 different USB-to-UART FTDI cables and use minicom to debug some device.
My problem is only one of these cables can buffer characters until I send a newline. Eg when I type the string "...
0
votes
0
answers
14
views
How to enable USB ethernet in Arch Linux?
I have a TD-LTE wireless terminal which can be used as a external 4G network adapter. It is connected to computer through USB. When I'm using Debian 11, it can provide USB ethernet well. However, ...
0
votes
0
answers
41
views
CP210x / CC2652RB (slae.sh zigbee) serial missing on ubuntu 22.04
I'm using Ubuntu 22.04.
I just bought CC2652RB USB Zigbee (https://slae.sh/projects/cc2652/) but in my Ubuntu it doesn't create the /dev/serial folder.
This is the sudo lsusb -d 10c4:ea60 -v output
...
0
votes
0
answers
6
views
usb-devnum - Which rule was chosen for that incrementing number?
Once a usb-device is connected to e.g. Ubuntu it receives an incrementing number.
$ lsudb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
---
How is this incrementing ...
0
votes
0
answers
20
views
WD15 dock incompatible with Arch Linux laptop
I've got a WD15 dock and a Dell laptop running Arch Linux.
I inserted two monitors' HDMI plugs into the dock and plugged the dock's USB-C cable into my laptop. The laptop display outputs correctly to ...
0
votes
2
answers
20
views
USB connection from display detected as storage device
I have an MSI Optix MAG245R 23.8" display. It features USB connections.
When I start up my Debian-based machine (BunsenLabs), I get warnings that say:
May 4 19:41:51 localname kernel: [ 240....
0
votes
0
answers
20
views
Using Raspberry Pi to emulate USB storage for files stored on NAS
Summary
I am looking to bridge a NAS file share to a FAT32 "USB Gadget" that can save/load files transparently to the NAS as if the host device was writing them to the USB Storage. Apologies ...
0
votes
1
answer
24
views
USB Tethering shows as Ethernet
I have Network Manager on my Arch Linux machine. Output of ifconfig:
enp0s18f2u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.241.167 netmask 255.255.255.0 ...
0
votes
0
answers
48
views
Is /dev/ttyUSB0 a TTY?
I know the title of the question sounds a bit silly, but that's the best I could think of :)
As far as I understand, if I have some serial device connected with USB - let's say I connect my Arduino to ...
-1
votes
2
answers
25
views
Detecting usb devicy type using udev
I'm writing a program using libudev to detect USB device connection on system.
I want to know what is the type of each device connected.
I think the udev doesn't clearly says what is the type of the ...
0
votes
1
answer
18
views
Debug right to write in USB file (link with udev?)
When I try to run the driver created by Veikk for its graphical tablet in sudo mode, the tablet is recognized, however if I run it as a normal user the tablet is not recognized anymore. However, I do ...
1
vote
0
answers
44
views
Raspberry Pi 4 doesn't show USB camera as ttyUSB
I have an RPi camera and a USB camera connected to my RPi4.
lsusb:
pi@raspberrypi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0c45:636b Microdia
...
1
vote
1
answer
24
views
Occasional stuck at boot-up line "Waiting for /dev to be fully populated"
On Linux Kernel 3 boot-up occasionally gets stuck at line:
Waiting for /dev to be fully populated...
Prior to that line I can see USB device enumeration errors:
usb 2-1.2.3: device descriptor read/64,...
0
votes
1
answer
32
views
ntfs-3g and different USB 3.0 chipsets
I am using an external USB 3.0 4TB HDD, formatted on Windows with NTFS. When connecting it to Debian 11 with the Intel 8 Series/C220 Series USB 3.0 chipset I have read and write speeds of about 126MB/...
0
votes
0
answers
67
views
USB-C port no longer receiving power
I have previously been using USB-C to charge my Lenovo IdeaPad Flex 5 on Fedora 34 using the power adapter that came with the laptop. However, after using the USB-C port to transfer data from a hard ...
0
votes
0
answers
26
views
Enable USB in sleep mode
I'm trying to enable my USB ports while in sleep mode on my Manjaro Linux running KDE.
I've tried enabling wakeup in /sys/bus/USB/devices/*/power/wakeup
0
votes
1
answer
82
views
linux scsi: Unit Not Ready, Sense Key, Hardware Error
I have attached a USB device which is an enclosure for an NVMe M.2 storage unit. Both devices, the enclosure and the media, had been known to be in working order during their last use.
When I connect ...
0
votes
1
answer
73
views
How To MOUNT A LUKS Encrypted Linux Filesystem Unlocked Partition VIA USB on another LINUX OS to retrieve files
Ive been at this all day. I've scoured the web and this board and have tried many solutions to this issue but nothing has seemed to work. Someone on here asked a similar question and the solution did ...
0
votes
1
answer
34
views
How to setup wireless networking with my USB WiFi adapter?
I've bought and plugged in a USB WiFi adapter, a UGreen AC650. It's supposed to support Linux 5.x...
well, lsusb says:
Bus 001 Device 038: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
So it ...
0
votes
0
answers
17
views
Linux is loading wrong driver for NODEMCU ESP32-S, usbfs instead of ch341
I have a new laptop on which I have installed i3 manjaro, same as my old one.
I've been trying to migrate an esp32 project to my new one. I have used platformio for this.
I have a NODEMCU ESP32-S ...
0
votes
0
answers
71
views
Why does my USB device randomly disconnects?
I am using Linux on a system that is constantly running. An USB Soundcard is connected to the system.
From time to time, on a random basis, sometimes in the middle of the night, the usb disconnects ...
0
votes
0
answers
17
views
Changing ownership of "remove" device file using udev rules for specific product
I want to change the ownership of the /sys/bus/usb/devices/1-2.1/remove file using udev rule.
I know the VID, PID of the usb device.
When the device is connected the ownership of /sys/bus/usb/devices/...
0
votes
1
answer
22
views
Corrupted pen drive formatting error
I have a 32GB pen drive i have inserted the pen drive but its not showing up (USB not recognised). I checked it in the disks window it is showing up there, but showing the size to be 4.2 MB. I have ...
0
votes
1
answer
48
views
USB Wifi no available hardware connection
Just received a USB Wifi adapter Tp-Link Archer T4U and it is not shown in the available network connections. Running Fedora 35.
# lsusb -v -d 2357:0115
Bus 003 Device 004: ID 2357:0115 TP-Link ...
0
votes
0
answers
174
views
Kali live Usb booting int grub
I am kinda new to linux. I have tinkered with it an made a parrot os Live USB.
I wanted to make myself a kali linux usb so i downloaded the live iso used Rufus to flash it and set persistence ...
0
votes
1
answer
20
views
Android device connected via USB is added to audio group
I am trying to work remotely with an android mobile device connected to ubuntu 20.04.4 LTS machine.
The problem is that the device is not identified correctly.
It seems that the device is recognized ...
0
votes
2
answers
32
views
Running 'login' on a USB port?
I have a small headless Linux server that I'd like to login into. It has an ethernet port, but when I connect it to the network, I do not know what its IP address is to ssh into it.
It also has a USB ...
0
votes
0
answers
44
views
What are some opensource alternatives to usbip for debian 11.2 Bullseye?
I am having a tough time installing usbip on a customized server kernel which most likely does not support usbip. What are some open source alternatives to usbip that allow same functionality: You ...
0
votes
2
answers
82
views
How to install usbip drivers in kernel customized for being a cloud server?
I have a 5.10.0-11-cloud-amd64 kernel and debian 11.2.
The kernel has been customized to be a cloud server and one of the customization was to remove the usbip drivers that were installed by default.
...
0
votes
0
answers
47
views
does linux udev disconnect and reconnect usb devices on boot?
I have slackware64-14.2 with kernel 5.15.25 and usb driver (xhci) built in kernel.
On boot process disconnect and reconnec my usb devices with this command:
udevadm trigger --type=devices --action add
...
0
votes
0
answers
62
views
root filesystem on usb drive
I am trying to move my linux partition (ext4) to usb drive and boot from this drive and not my hdd.
I have slackware64-14.2 with kernel 5.15.25 and usb driver (xhci) built in kernel.
I have made the ...
0
votes
1
answer
59
views
How to make a KVM (built into the monitor) connection work , using a DisplayPort/Usb-C cable connected to a thinkpad dock
In this setup, the other device connected to the KVM works well with HDMI + Usb-B connection. Video signal, mouse and keyboard are ok.
But on the other side, I have an Thinkpad T470S with Linux 5.16 ...
1
vote
1
answer
100
views
Serial device (/dev/serial/) not showing up on Android
Trying to connect a serial device (3d printer) through the USB port in order to communicate with it (klipper firmware) on an Android device (LOS 18.1/Android 11, 3.18 kernel). But I can't find it in /...
1
vote
1
answer
17
views
Why does usb_control_msg take 0.25 second to complete
I am sending a synchronous control message to a USB device with the call usb_control_msg. It is taking .25 second to complete. Is it normal/expected? The USB port is USB 3.0. The device is a Cypress ...
0
votes
0
answers
37
views
Why do usb_control_msg (linux/usb.h) calls return an error for data payloads greater than 8 bytes?
I am trying to send a command type message to a USB device connected to a Ubuntu 20.04 system. The largest data payload I can add to the message is 8 bytes long. If the payload is larger than that, ...
1
vote
0
answers
13
views
How to make USB NIC adapter persistent on boot with Centos 6x
I am adding a USB ethernet adapter to box running centos 6x. If I add the USB device after boot, the system enables it and it works. However, after reboot, the device is no longer accessible unless I ...
0
votes
1
answer
34
views
How I can automate the connection settings as shared once a raspberry pi is plugged in?
Every time I connect my Raspberry Pi in my computer's a USB port I need always to set the connection that is creates to my Linux Mint computer as shared. I do it via Network manager as screenshot ...
0
votes
0
answers
70
views
Is there a way to change USB Printer URI?
I'm on Raspbian and I would like to add my USB printer to CUPS. If I try to add the printer, I noticed, that my USB printer is detected as "Unknown" with device URI usb://Unknown/Printer.
# ...
0
votes
1
answer
29
views
dummy_hcd loopback webcam. Impossible?
I've been trying to create a loopback USB Webcam device with the help of dummy_hcd kernel module on my Raspberry PI 2B. Steps I've taken:
I load libcomposite via modprobe libcomposite.
Then I load ...
0
votes
0
answers
40
views
Shell/tty Access via USB or Bluetooth?
Overview
I am in the process of reverse engineering the software on my Infiniti Q50 head unit, and I am trying to figure out the best way to get shell access. I have pulled the image off of the ...
0
votes
0
answers
23
views
dummy_hcd loopback webcam. Impossible?
I've been trying to create a loopback USB Webcam device with the help of dummy_hcd kernel module. Steps I've taken:
I load libcomposite via modprobe libcomposite.
Then I load dummy_hcd via modprobe ...
1
vote
1
answer
41
views
Buildroot image missing /sys/bus/usb
I've tried to create a Beaglebone Black image with buildroot starting from beaglebone-defconfig.
I discovered that /sys/bus/usb seems to be missing:
# ls /sys/bus
clockevents gpio mmc_rpmb ...
0
votes
0
answers
37
views
Ubuntu not able to detect USB device
I am trying to connect a FTDI programmer USB to program esp32. However, the system is not detecting the connection.
Following commands don't show any logs at all during connecting and remvoing the ...
1
vote
0
answers
14
views
How to remember or apply Num Lock state based on which keyboard is connected?
I use my laptop on 2 different desks, both with different external keyboards. One of them I generally use with Num Lock on, the other with Num Lock off (the only arrows it has are in the numpad, it's ...
0
votes
0
answers
51
views
How to use all disk space available on Linux Mint?
I'm new to Linux and Linux Mint - but I recently flashed Linux Mint on my 16 GB USB drive (dual-boot), and for some reason Linux Mint is giving me warnings that there's no space left.
When I go to ...
2
votes
0
answers
37
views
Anomalous USB I/O errors when copying from one large external drive to another
Running Linux 5.4.0 under Ubuntu 20.04.3 LTS.
I've got an issue that's driving me crazy. I recently picked up a few 12 TB external USB drives (WD MyBook 12 TB, repartitioned ext4 via gparted), with ...
2
votes
1
answer
60
views
Why would USB video be dropping frames in Realtime Linux?
We have a problem of losing about one frame every 60 seconds or so with four USB cameras hooked up to Ubuntu 20.04 with the Realtime Linux patches applied. From the user code ioctl(VIDIOC_DQBUF) call ...
1
vote
1
answer
85
views
Skip container ID and BOS descriptor query for USB device
When trying to perform fastboot commands, the transfer is always erroneous. A quick search points to certain incompatibility with USB 3.0 ports.
Forcing legacy USB 2.0 mode is not present in my BIOS ...
0
votes
0
answers
22
views
Create a virtual USB camera and connect it to the bus
Is it possible to create a loopback USB camera device? Meaning, we would create a completely virtual USB device and attach it to the USB bus. So that one could programmatically set input frames and ...
0
votes
0
answers
131
views
Webcam not working
My USB Webcam was working about a week ago, before I updated from 5.13 to 5.16. After the update my USB Webcam is no longer working. I don't know what I did.