Skip to main content

Questions tagged [usb-device]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
36 views

My USB ports stopped working in Linux. Both Mint and Arch. What is causing this and how do I fix it?

It was about half a year ago when after an update My USB ports while using Arch stopped working. They work in the UEFI settings so I know it's not a problem with the hardware. I tried turning off auto-...
bill chill's user avatar
0 votes
0 answers
31 views

USB audio interface continuously connects and disconnects once audio output starts

I'm having issues getting my audio interface (Mackie DLZ Creator) working properly on my Linux machines. I've tried using both PulseAudio and Pipewire, although I've been focusing mostly on using ...
redhotvengeance's user avatar
0 votes
0 answers
62 views

USB drive is not recognized due to a failed partition formatting

(sorry for my poor English) I created a encrypted partition on my Kingston USB drive (/dev/sda) using VeraCrypt. I was trying to format the partition using GNOME Disk Utility after mounted the ...
Ezra's user avatar
  • 113
1 vote
2 answers
188 views

Compile a script, add it to system so it runs before (or during) system boot

I really don't know how to go about this so I'm asking you guys here for help Long story short with some background details I have a USB3 2.5gb NIC attached to my Raspberry Pi 5 (this SBC also has its ...
Arelius's user avatar
  • 73
1 vote
2 answers
159 views

How to digitally re-plug a USB device when it's not showing up in lsusb

Whenever I wake my machine from sleep, my USB audio interface is not recognized anymore. It works again as expected after un- and re-plugging the cable, or after a reboot. But obviously it's annoying ...
lenny's user avatar
  • 111
0 votes
0 answers
27 views

USB Subsystem crash after a Fedora upgrade

I have one specific device, that crashes the USB subsystem on one specific host. This device when plugged into a identical system with the same patch level does not crash. Other usb devices work fine ...
Alwin Leerling's user avatar
0 votes
1 answer
25 views

RS232 (FT232R) - Different TX voltages with the same adapter under Windows and Linux

I have a USB to RS232 adapter cable (FT232R) that I use with Windows and Linux. Therefore I use a Python script with pyserial. Under Windows, the lowest voltage during a data transfer is -6.2V and the ...
FHG's user avatar
  • 1
1 vote
1 answer
66 views

How to reset status of a network adapter before assigning the name in a udev ruleset?

Part 4 of the problem with the usb3 nic interfaces after debian 6.1.0-20 kernel update. See the other posts here: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each ...
user3450548's user avatar
  • 2,974
0 votes
1 answer
32 views

Use usb path of an usb nic address in udev rules in order to assign an interface name instead of mac address

Related to: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each reboot Use parrent attribute "serial" in UDEV configuration to assign lan interface another ...
user3450548's user avatar
  • 2,974
3 votes
1 answer
224 views

Debian 12 – All of a sudden my USB3 LAN adapter gets assigned random MAC address at each reboot

I have various small NUCs with attached on each one some of this USB3 LAN adapters (because the NUCs have only one Ethernet, so I added extra ones with USB3 adapters). You can see an image of the ...
user3450548's user avatar
  • 2,974
1 vote
0 answers
51 views

Why does my USB HDD detect as /dev/sdr?

I have a Synology RT2600ac router with an OWC Mercury Elite Pro (USB, eSATA, FW800) external HDD. The drive is detected as /dev/sdr where any ol' USB flash drive is detected as /dev/sda or sdb. Why ...
MJA's user avatar
  • 111
0 votes
1 answer
24 views

ath9k_htc wifi must be unplugged and plugged back in after each boot

Context, I have an stm32mp135d odyssey board running my own linux image made with yocto and booting from an SD Card. I have a cheap ath9k wifi USB dongle plugged into it and have a nuisance issue ...
robo1340's user avatar
0 votes
0 answers
32 views

Umount + hdparm setting for an external hd

How can I obtain that in umount state but connected to usb port my external hd don't work to preserve it? It's possible to re-mount it any time? I would like to keep it on for just an hour a day to do ...
Alessandro's user avatar
0 votes
1 answer
42 views

Only temporarily disabling or powering off connected cameras

I've seen many answered questions about permanently dis-configuring a webcam or any webcams at all to disable them permanently. This is not the case at hand. Can one temporarily disable a v4l2 managed ...
matanox's user avatar
  • 612
1 vote
2 answers
461 views

Trigger usb_modeswitch on boot for Huawei E3372 Modem

I am trying to make a Huawei Brovi E3372-325 USB LTE model work with a Raspberry Pi. Out of the box, it shows as a CDROM when plugging it in. (This is apparently used to automatically run the driver ...
LiterallyCode's user avatar
1 vote
0 answers
234 views

How to ignore/disable all USB HID devices except a certain one using udev rules?

I would like to ignore/disable all USB HID devices except a certain one, using udev rule(s). I have the idVendor and idProduct attributes of the USB HID device I want to allow. I am able to disable ...
shakta's user avatar
  • 11
0 votes
0 answers
81 views

How do I add an endpoint to a USB gadget and change its addresses?

I am trying to make a USB gadget with bulk in and bulk out for serial communication in the Linux operating system. But I am having difficulty setting device descriptors. I especially want to decide ...
TheCoder's user avatar
8 votes
5 answers
1k views

How to programattically determine the device name/basename of the root partition?

Ref: The following question Drive name? What is the correct term for the "sda" part of "/dev/sda"? Given: I have a system, (in this case a Raspberry Pi, but this could be relevant ...
Jim JR Harris's user avatar
0 votes
0 answers
71 views

Linux USB Ethernet connection to Android devices

I am attempting to get a USB Ethernet connection between a Linux Device and an Android Tablet, using CDC_ECM/EEM/NCM (or similar), and I am unable to get the Android tablet to detect the Ethernet ...
Phill's user avatar
  • 1
1 vote
0 answers
34 views

Unable to send automated mail using udev and msmtp

I am trying to write a script to send an email whenever a usb device is connected to my computer (Arch Linux). The code I wrote is #!/bin/bash if [[ ! -z "$1" ]]; then echo "USB ...
JustaNobody's user avatar
0 votes
1 answer
566 views

Formatting USB SSD on WSL 2

I need to format a 1TB SSD connected through USB to the EXT4 file system. It is currently in NTFS. As I am on Windows, I thought the best way to get that is by installing the WLS 2 to be able to use ...
MauroL's user avatar
  • 3
0 votes
1 answer
148 views

Use libfido2 on macos to set PIN on usb security token

I have bought a FIDO-U2F/FIDO2 usb security token and managed to add it as passkey for github on my macOS (sonoma). It didn't work for another site and I suspect that it's because the key doesn't have ...
chmike's user avatar
  • 211
1 vote
1 answer
112 views

Get /dev entry for USB on a Mac

I have never used a Mac before and have no idea what I'm doing. I need to run dd on a USB device to copy data off. I plug the device in, and it shows up in system_profiler SPUSBDataType. How do I ...
Nate's user avatar
  • 154
0 votes
0 answers
106 views

Use Ubuntu with wifi-adaper AWUS036ach - rtl8812au

Every road I follow leeds to: E: Unable to locate package linux-headers-5.15.133.1-microsoft-standard-WSL2 E: Couldn't find any package by glob 'linux-headers-5.15.133.1-microsoft-standard-WSL2' E: ...
Henrik Stanislav's user avatar
1 vote
1 answer
427 views

How to select card in amixer by name

I have a razer headset which has a usb sound card that can be used with it (BlacShark V2). From some point, when I boot up the system (The headset is usually connected to my system and I don't unplug ...
III_phr's user avatar
  • 33
0 votes
0 answers
37 views

Loupedeck USB device 'libvirtd' pass to Win with UDEV rule

I have this console that I'm trying to pass as an USB to the Win11 running on QEMU. It is unhappy being 'redirected' as an USB device, so I wrote an UDEV rule for it, b/c without it, of course I didn'...
greengold's user avatar
  • 113
0 votes
0 answers
49 views

USB wakeup from suspended state on Android 13.x IMX8MQ evk

I am unable to use USB wake-up feature of Android on IMX8MQ evk. I am using the following setup: -Imx8mq EVK -Android 13 -Kernel 5.15.71-dirty -GSM modem is attached via USB I have set the following ...
Muhammad Awais's user avatar
0 votes
0 answers
675 views

Compile and install Linux "ms912x" driver for device "534d:6021" (USB 3.0 to HDMI adapter)

I know that the best option would be to use the manufacturer's website, but let's see what we can do with our knowledge about Linux since the manufacturer doesn't care about 🙄 ... I was able to ...
Eduardo Lucio's user avatar
1 vote
0 answers
109 views

Multipass with QEmu driver: how to access usb camera

on my Asus rog laptop with ubuntu 23.10 I installed the ROS (robot os) image from multipass, as explained in this official guide https://ubuntu.com//blog/ros-development-on-linux-windows-and-macos . I ...
AndrewBloom's user avatar
0 votes
1 answer
71 views

Map usb devices to static addresses on boot

I have a couple of USB devices connected to my computer: An FT232 based USB-UART converter : Used to send and receive data between a microcontroller and the computer using the Serial protocol. A ...
ssarkar's user avatar
  • 103
2 votes
0 answers
242 views

How do we configure musb-hdrc driver?

I would like to use a USB gadget device (phone) as a host via configfs. After setting up configfs, no gadget is being set up on the host peripheral (phone). The init script executes with the following ...
Bret Joseph's user avatar
0 votes
0 answers
718 views

Getting "attempt power cycle", "USB disconnect, device number 2" and similar errors only on Linux Debian, not on Windows or BIOS

I have a desktop computer with an AMD FX 8350 CPU, an Asus M5A99X EVO R2.0 motherboard, 32 GB RAM and an EVGA 850 W Bronze PSU. I dual boot Debian 12 Bookworm and Windows 10 Professional on it. ...
RAKK's user avatar
  • 1,362
0 votes
1 answer
43 views

Gamepad disconects after a while

I have bought some cheap generic usb gamepad (nubwo nj-25). When I connect, it works for a while, until resting. And then throw errors. Device info I am using Linux 6.1.52 (NixOS) Lenovo ThinkPad T14s ...
Danil's user avatar
  • 31
0 votes
1 answer
102 views

How can install and load mods related to videodev and others?

Same hardware,two debian-11.7 installed in the same pc ,one is on /dev/sda1,other is on /dev/ada2. For the debian on /dev/sda1: uname -a Linux debian 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-...
showkey's user avatar
  • 395
0 votes
0 answers
272 views

Usb device wont enumerate after booting kernel on a custom board : usb 1-1: device descriptor read/64, error -71

When i plug in my usb device I get the following errors: usb 1-1: new high-speed USB device number 2 using xhci-hcd usb 1-1: device descriptor read/64, error -71 usb 1-1: device descriptor read/64, ...
Sujan SM's user avatar
1 vote
1 answer
329 views

nut usbhid-ups loosing connection after some time

I have a CyperPower OR500LCDRM1U connected via USB to nut on Debian (proxmox). After some time (hours?), the connection to UPS is lost. Extremely frustrating because UPS is a critical component. It ...
divB's user avatar
  • 208
2 votes
1 answer
2k views

Modifying the polling rate of usb devices

This video shows how increasing the polling rate decreases the average input lag for gaming controllers. Unfortunately, the software used to modify the polling rate is called hidusbf and is only ...
Wilfred Montoya's user avatar
0 votes
1 answer
72 views

Show icon when USB Keyboard present (KDE System Tray) [closed]

My setup has 2 computers, and I use a hardware USB switch to constantly switch (plug in) the keyboard between 1st and 2nd computer. Often I start typing and realize the switch was set to the wrong ...
Nick Bailuc's user avatar
3 votes
2 answers
2k views

How to read a NFC card with USB reader

I need to read some NFC cards by a USB reader on a Linaro/Debian OS. The USB reader has a HID profile. Presenting a 13,56 MHz card the keyboard returns a code. I read about a command to send to the ...
SteMMo's user avatar
  • 197
10 votes
4 answers
5k views

Does every USB device have a vendor id and product id?

I have a random speaker and I want to develop a driver for it so I can report statistics, battery, etc to the dev file system. However, I'm having a hard time finding the speaker's vendor and device ...
vmemmap's user avatar
  • 273
1 vote
1 answer
3k views

Slow file transfer to USB stick

I'm copying files to a USB 3.0 stick. The USB stick is plugged to a blue USB port. I'm copying 22 files of 1.5GB. When I do the copy (simple drag and drop), the copy dialog reports a speed of ~60MB/s, ...
jpo38's user avatar
  • 91
0 votes
1 answer
558 views

How to create a `/dev/ttyACMx` for a given device

I work with two prototyping board from cypress: CY8CKIT-043 and CY8CKIT-049. When I plug the first into a usb port, a /dev/ttyACM0 is created and I can communicate with the device. For the second, ...
Mathieu's user avatar
  • 2,721
0 votes
1 answer
105 views

Ubuntu 18.04.04 on Orcle VirtualBox cannot detect sdcard

I am working on some embedded project on Ubuntu 18.04 that is located on Oracle Virtualbox 6.0.24. My host is Windows 10 pro. When I insert an SD-card (I have a Sandisk USB card reader) I see that ...
Jonathan's user avatar
2 votes
1 answer
195 views

Where are the hub and serial device drivers in Linux and have you ever seen a serial TTL adapter cut off data after some period of time

This question will be difficult to fully explain, I apologize in advance, but please read the entire description? Thank you. NOTE: I'm primarily posted this to document it, and only asking for advice ...
James Newton's user avatar
0 votes
0 answers
36 views

Conflict with multiple SDcard readers of the same brand connected at the same time

I have some Lexar UHS-II card readers (I believe the model is LRWM05U-7000), and when I connect more than one I realize some operations read/write from/to the wrong reader. Some apps do not even ...
TonyStacker's user avatar
1 vote
1 answer
373 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 ...
JohnnyFromBF's user avatar
  • 3,516
2 votes
0 answers
3k views

USB stick: device not accepting address, error -71

Problem Recently, my USB stick been unrecognized by the OS. Therefore I would like to copy it entirely on my hard disk drive asap. However, neither on windows nor linux, the USB stick appears. ...
gforhan's user avatar
  • 21
1 vote
0 answers
257 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, ...
kmand's user avatar
  • 111
0 votes
2 answers
2k 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 ...
dandreye's user avatar
0 votes
0 answers
135 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 ...
dandreye's user avatar

1
2 3 4 5
7