Questions tagged [usb]
Universal Serial Bus (USB) establishes a connection between devices and a host computer.
1,972
questions
0
votes
1
answer
12
views
How to switch between USB gadget modes with statically built in drivers?
Suppose the kernel is configured without modules so that a configured gadget mode like g_ether is registered during boot:
[ 9.991448] udc 49000000.usb-otg: registering UDC driver [g_ether]
How can ...
0
votes
2
answers
63
views
How do I set a password request to connect USB devices?
I need to make it so that when I connect any device to USB, be it a drive, smartphone, printer, etc. The system will ask for a password to authorise this connection, and the device will only connect ...
0
votes
0
answers
18
views
Read data from LIS2DE12 accelerometer
I am trying to read the acceleration data in the X, Y and Z axes from the LIS2DE12 accelerometer which is connected to an I2C-to-USB adapter, it is UMFT201XB.
I am using a virtual machine in ...
0
votes
0
answers
21
views
Mystery errors on the VL813 USB Hub on Linux?
I'm running Ubuntu 22.04 with a 7 port external USB hub. This box is implemented as two 4 port Via VL813 hubs.
On the Linux side from lsusb this looks like
Bus 004 Device 009: ID 2109:0813 VIA Labs, ...
0
votes
1
answer
27
views
How to Tranfser huge amount of Files to slow USB Drive (dd, cp, rsync, 7z, tar)
I have like 5GB of data and a very slow USB-Drive.
Should I use dd, cp or rsync?
Should I compress them first into for example 7z / tar or not?
In short: What is the best way and the best practices ...
0
votes
0
answers
38
views
How does the the linux kernel detect a usb device
I am facing an issue with an embedded Linux platform. There is a USB hub device which connects to the main CPU. However, this USB device intermittently is not detected on some power cycles. I am ...
0
votes
0
answers
43
views
usb 4-6.1: Disable of device-initiated U1 failed
I get this over and over in syslog, but can't identify what device its trying to disable. In fact I can't identify what bus 4 is. lsusb -t shows
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=...
-1
votes
0
answers
28
views
My kali linux live sometime suddenly gone blank
It have happened twice. Last time it’s gone blank and later on it displays some check up code until it was out of battery then turn on normal again. Now it’s just blank with an underscore. Can someone ...
1
vote
1
answer
63
views
How to get xrandr to output three 1680x1050 video signals over this USB-C dock at 60Hz?
I have three identical 1680x1050 monitors and am trying to use them via the “HP G5 USB-C dock” on my Razer Blade 15" 2018 laptop and its Thunderbolt 3 port. With xrandr I can get all displays ...
1
vote
1
answer
114
views
Fedora 37 reboot after update - Grub Out of Range Pointer and not able to rescue boot w/ USB
After a regular Fedora 37 update last evening, I rebooted my home server (actually a Fedora Workstation 37 but with lots of extras). I went to log in this morning remotely and ... no connection. Upon ...
0
votes
0
answers
25
views
So, what issue i have is my camera is connected but its not showing when i do lsusb and I really don't get what is the issue
ase) caiedge@caiedge-Precision-3650-Tower:~$ dmesg | grep usb
[ 0.819578] usbcore: registered new interface driver usbfs
[ 0.819578] usbcore: registered new interface driver hub
[ 0.819578] ...
-1
votes
1
answer
80
views
How can I create a USB pass-through switch in Linux?
I've never done much with the Linux USB stack, it's always just worked. But I'm reading about USB Dynamic device mapping and wondering if this is possible.
Can I, for example, plug a mouse into one ...
0
votes
0
answers
26
views
How to reset zpool after accidentally disconnecting a drive?
I am using OpenZFS on macOS (openzfsonosx.org), on a USB drive. It turns out that if I accidentally disconnect the drive from the computer, then zpool gives errors. However, if I reboot and reconnect, ...
0
votes
0
answers
29
views
Broken USB port slows down initialization of another port
Question
How can I prevent Linux from trying to activate a broken USB port on my motherboard?
Overview
I have a broken USB port on my motherboard (also nothing is plugged into it):
usb 1-3: device ...
0
votes
0
answers
15
views
Function like latency timer for cdc_acm
I have an application where a /dev/ttyACMx needs to report to the computer consistently and often (10 bytes at 200 Hz). For my application it is very important that this is delayed minimally (ideally &...
0
votes
2
answers
46
views
Forcing desired vendor:product IDs onto a USB device
My USB device (a OnePlus 10T smartphone) connected to a CentOS 7 server occasionally shows up with "wrong" (Google's) vendor:product IDs in lsusb output upon reboot:
Bus 002 Device 003: ID ...
0
votes
0
answers
23
views
Mouse multimedia buttons are not emitting events in `/dev/input/eventX`
I have a mouse (Canyon CND-SGM14RGB) with multiple programmable buttons, half of them are set to be multimedia buttons.
Software for configuration is Windows-only, and those buttons work in Windows -- ...
0
votes
0
answers
24
views
How can I determine the actual USB connection speed?
I did just connect a USB-mass storage to my Raspberry Pi with a cable that I do not really trust: I don't know whether it supports 5 Gbit/s (Superspeed).
Where can I find the actual speed of the link (...
0
votes
0
answers
34
views
tp-lik monitor mode error
I have a tp link usb network adapter and when I tried to enable monitor mode, I got something saying SET failed on device wlan1 ; Invalid argument. as I used iwconfig. Later on I found this link to ...
0
votes
0
answers
5
views
Automatic time-stamping of virtual-com data
I am using a virtual serial port to import data from a microcontroller.
I want the data time stamped as soon as possible, preferably immediately upon recovering the packet.
Does Linux do this ...
1
vote
0
answers
21
views
Kubuntu LUKS on USB boots internal disk after password prompt
I have an install of Kubuntu 22.04 on a USB connected NVMe drive. This drive has the root filesystem encrypted with LUKS. On all but one machine I have tried, this OS boots just fine and lets me use ...
0
votes
0
answers
28
views
Issues mapping USB device to VM
I need to map my USB device (a OnePlus 10T smartphone) connected to a CentOS 7 server to a VM on it. It works fine when I do it in virt-manager GUI, but closing the VM window in the GUI immediately ...
0
votes
0
answers
38
views
Mapping USB device to fixed bus/device #
Whenever I reconnect my USB device (a OnePlus 10T smartphone) to a CentOS 7 server or reboot it its device # on the bus changes as can be seen here:
Before: Bus 002 Device 052: ID 22d9:2765 OPPO ...
0
votes
1
answer
27
views
Systemd unit for bus devices
Is there a way to run a systemd unit when a /sys/bus path is available? I'm trying to automate the following command on an embedded device:
echo "on" > /sys/bus/usb/devices/usb1/power/...
0
votes
0
answers
65
views
Failed to Start Journal Service Error on Pop! OS (Ubuntu) Boot
I recently was booting my laptop when I accidentally plugged in an RFID scanner device and scanned a card during the Pop! OS boot sequence (after cryptsetup and before login screen). The system then ...
0
votes
0
answers
28
views
CD-ROM emulation in usb gadget mode
I am trying to create CD-ROM emulator from my Raspberry Pi Zero 2 W.
I configured Raspbery OS which allows Raspberry Pi Zero 2 W to work in USB Gadget Mode.
Also I use g_mass_storage_module to emulate ...
0
votes
1
answer
28
views
Volume Control Extremely Sensitive/Too Loud for Corsair 1500 USB Gaming Headset in Linux Mint
This headset works exactly as expected in non-linux operating systems (e.g. macOS, Windows) such that the volume control smoothly adjusts the loudness of the headset all the way from 0 to 100.
In ...
0
votes
0
answers
45
views
Ubuntu 22.04 dhcpd restart on docking station interface reconnect
I have setup on my desk, where Ethernet connected device is plugged into port of my USB-C docking station (same that powers the notebook). I've configured isc-dhcpd to work on enx3ce1a14ec0bd ...
0
votes
1
answer
59
views
FiiO K3 popping on start & some time after last sound
I have a Fiio K3, which has popping at the start (if nothing played for a bit) and some time after the last sound played.
I had already tried:
disabling usb suspend for the device (via powertop and ...
0
votes
1
answer
42
views
Accesing USB device as a file
I have a USB thermometer that I used in Windows XP with the bundled drivers. It just reads the air temperature and the PC reads that value.
Now I want to use it under Linux, for example in a Raspberry ...
0
votes
0
answers
47
views
How to figure out the necessary boot parameters to boot an iso file from a multiboot usb driver?
This is my first posting here and I would like to have asked a general question, namely "Is there a general procedure to deduce the boot parameters necessary to boot from an iso file on an usb ...
0
votes
0
answers
90
views
Automounting LUKS encrypted external usb when device inserted without error or hanging on boot if not present
Scenario
Have an external device, encrypted with LUKS, automatically mount when inserted and not cause any issues if not present on boot.
Most questions on this topic refer to mounting on boot - this ...
0
votes
1
answer
46
views
Linux mint not installing from USB
I created a Linux Mint Drive on a USB and have successfully installed it on one of my laptops (using this guide). When I try to install it on another laptop, the installation proceeds as normal (no ...
0
votes
0
answers
17
views
Modify Fedora behavior when plugging in Canon DSLR via USB
I'm using gphoto2 to turn my old DSLR into a webcam over USB.
As soon as the USB is plugged, my Fedora mounts its SD Card as a drive. Here's what I need to do each time manually:
Unmount SD Card (I ...
0
votes
0
answers
15
views
Whitelisting USB devices with udev SLES 12.5
I have placed a file called 01-usb.rules in the /etc/udev/rules.d directory.
The contents of the files are as follows:
# Enable only known devices
# skip non USB devices
SUBSYSTEM!="usb", ...
0
votes
1
answer
53
views
Puppy Linux secure boot key
I want to sometimes use Linux, sometimes windows.
I found out that, Puppy Linux is small, I can install it on a USB. But the problem is, if I click on my USB in the boot menu, I have to disable secure ...
1
vote
0
answers
212
views
"reset SuperSpeed USB device number 1 using xhci_hcd" kernel log message
When steadily reading data off a connected via USB3 HDD drive (cat /dev/sdx > /dev/null) in a VirtualBox VM (Host: Fedora 37, guest: doesn't matter) I see a constant stream of kernel messages ...
0
votes
0
answers
51
views
Debian USB Error
I am using Debina LXDE(Jessie) on Lichee Pi Zero Eval. Board. This board hasn't got a wifi hardware. So, i am using a wireless usb adapter for wifi connection.(Adapter: <Link: https://www.amazon....
0
votes
0
answers
171
views
Ubuntu 20.04 USB port doesn't work right
I installed Ubuntu 20.04 on my brand new Thinkpad E14 and it worked well until today.
I have 2 USB ports on my computer and they were working correctly a few days ago but now one of these 2 ports ...
0
votes
0
answers
35
views
Enabling the correct network interface on boot
I have a laptop with an integrated WiFi interface wlo1. I recently installed a USB network adapter and installed the correct driver. I ran the following commands to check that the adapter works using ...
0
votes
0
answers
20
views
Debian USB installation only boots once
I am trying to install Debian 11.6.0 on a USB. All of what I describe is done on a Lenovo Ideapad 5 laptop running Windows 11. Following the instructions for installing Debian from the Debian wiki, I ...
1
vote
1
answer
160
views
USB C charging PDO or PPS
I have Thunderbolt 4 (and USB 4) USB C ports to charge my laptop. Is it possible to find out if it is getting charged via PDO (power delivery objects) or PPS (programmable power supply)? And what ...
2
votes
0
answers
156
views
With a USB SD card reader, the SD card only shows up if it is inserted before the USB reader is inserted
I'm running Alpine Linux 3.17.0 on kernel 5.15.79-0-rpi, on a RaspberryPi Zero 2 W.
I have a USB card reader, and an SD card.
When I have the SD card inserted into the card reader, and then insert the ...
0
votes
0
answers
137
views
USB type C not working
I connected an external Numpad with a USB type C plug into my laptop and it doesn't work. I've tried the Numpad on a system running Windows and it works just fine.
I tried a couple of solutions on the ...
0
votes
0
answers
88
views
Guvcview can't choose camera Gnome 43 Ubuntu 22.10
System Ubuntu 22.10 and Gnome 43.
In guvcview v2.0.8 there's not a menu to choose video source. On laptop it uses front camera on the lid.
The only way to use an USB UVC camera or microscope is to run ...
0
votes
0
answers
165
views
external usb 3.0 hub not responding
I have a "Zerolemon" external usb 3.0 hub (This one: https://www.amazon.com/ZeroLemon-Charging-Switches-Indicators-Adapter/dp/B00NSE1OGY), and Ubuntu 22.04. Ubuntu is not recognizing it, ...
0
votes
0
answers
35
views
Virtually reconnecting keyboard
My problem is as follows: I use a Steelseries Apex M800 keyboard, which means it has proprietary RGB software for the keyboard backlight (I chose my keyboard before I switched to Linux, so I am aware ...
0
votes
0
answers
148
views
Ubuntu 22.04 read performance of external USB 3.1 NVMe SSD case only 5gbit/s, but should be 10gbit/s
I got:
Dell XPS 7390 with one shared Thunderbolt 3.0 / USB-C port capable of 10gbit/s
NVMe Samsung SSD 970 EVO 2TB capable of much higher read speed than 10gbit/s
NVMe to USB-C ICY BOX IB-1807MT-C31 ...
0
votes
1
answer
177
views
Debian 11 suddenly stopped detecting USB drives and HDMI, other USB devices and DisplayPort continue to work
I have a rather basic Debian 11 installation, kernel 5.10.0-8-amd64. I have never tinkered much with the lower-level settings.
Overnight two things changed:
xrandr suddenly does not detect the HDMI ...
0
votes
0
answers
1k
views
Ubuntu 22.04 USB-C dock no video
I've got a Wavlink WL-UMD502 usb-c docking station connected to a USB 3.2 Gen 2 port (USB-C) with an Ubuntu 22.04 5.15.0.56-generic kernel. I installed the device driver for the Wavlink docking ...