Questions tagged [usb-device]
The usb-device tag has no usage guidance.
284
questions
0
votes
1
answer
16
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 ...
-1
votes
0
answers
10
views
Woeusb cant find the widows iso on a usb
I'm trying to use woeusb to make a bootable USB so I can reinstall windows, Dell sent me a new USB but for the last 3 days it would shutdown.
I'm able to use the zorin on USB, its the only way to get ...
0
votes
1
answer
17
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-...
0
votes
0
answers
21
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, ...
0
votes
0
answers
37
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 ...
1
vote
1
answer
125
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 ...
0
votes
1
answer
40
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 ...
3
votes
2
answers
642
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 ...
8
votes
4
answers
2k
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 ...
0
votes
1
answer
713
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, ...
0
votes
0
answers
256
views
Reset USB serial device as if it has been physically reconnected
I have computers set up, each with a single 3DR/Sik Radio (USB) connected to receive data from a single 3DR transmitter on another machine. When this computer with the transmitting device is rebooted, ...
0
votes
0
answers
45
views
Temporary network interfaces created for a hot-plugged USB-Ethernet adapter
I'm very new to udev and the hotplug system of Linux.
When I plug in an USB-Ethernet-Adapter to an USB-port of my system the following uevents are fired by the kernel to udev (monitored by the udevadm ...
0
votes
1
answer
95
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, ...
0
votes
1
answer
61
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 ...
2
votes
1
answer
80
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 ...
0
votes
0
answers
27
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 ...
1
vote
1
answer
141
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
0
answers
1k
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.
...
1
vote
0
answers
126
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
2
answers
717
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
68
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
165
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
0
answers
125
views
Determine what is locking a USB device in Alpine (Home Assistant)
I'm running Home Assistant (standard RPi install) on a Raspberry Pi 4 GB with an AEOTEC Z-Stick Gen5. It's attached to a USB hub since the system won't use it otherwise. "Something" has ...
0
votes
1
answer
89
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
2
answers
171
views
How to tell which kernel module acts as a driver for a USB device?
I have an Acer netbook, with built-in camera, running just fine under Ubuntu/x86. I also have a stack of broken netbooks of the same model that suffered various accidents over the years of intense use,...
0
votes
1
answer
57
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
1
answer
144
views
Binding a mouse to a custom Character Device driver instead of the generic HID one
I am trying to write a simple Linux USB mouse driver, and I've run into a problem with actually getting the information from the mouse to the module.
Right now I have a kernel module that can be ...
1
vote
0
answers
151
views
USB Cam: No space left on device (-28)
I'm developing a project with lichee pi zero. I want to connect usb cam to it and record video plus show on LCD.
At first step I built u-boot and kernel and write them on SD card. It worked fine. Then ...
0
votes
0
answers
51
views
USB recovery: Support understanding dmesg output
I've a (probably) dying USB storage device. Can somebody help me to interpret the dmesg output (and maybe tell me what to do now). I've tried it on several machines with different kernels
dmesg:
[ 769....
2
votes
0
answers
214
views
Libvirt Yubikey passthrough
So I've been trying to get a yubikey passthrough to work for a few days now with no luck. Does anyone know what I'm doing wrong or what's wrong with my setup?
Setup:
I'm using ubuntu 18.04 as both ...
0
votes
1
answer
183
views
USB Audio Device (Tascam US-2x2HR) sporadically fails to load, making other USB devices inoperable. How can I fix or debug this problem?
I dual-boot Windows and Ubuntu 22.04.01 LTS. In Windows, my audio device (Tascam US-2x2HR) works well. In Ubuntu, it does not work on boot, but if I repeatedly unplug it and plug it back in, it will ...
2
votes
1
answer
384
views
How can I find out if the USB-C port on my laptop has video output (for adapter USB-C - HDMI)?
I have tried to use a hub with hdmi port that connects to the USB-C port of my computer but this one doesn't work.
Checking other similar threads on Internet (and here), I see that the problem is ...
1
vote
1
answer
998
views
My camera is being detected as a generic USB device, but not as a camera - how do I force /dev/videoX to be created?
EDIT: I added some additional information from sudo lsusb and sudo dmesg as recommended by telcoM below. I have one camera that works and a similar camera from the same manufacturer that doesn't work ...
0
votes
1
answer
190
views
Linux evdev subsystem vs libusb
What are the advantages and disadvantages to using the evdev subsystem versus accessing input devices using libusb?
The kernel docs for evdev state:
This is the preferred interface for userspace to ...
0
votes
0
answers
323
views
Wi-Fi USB Adapter RD9700 not available as network interface
The WiFi adapter works fine on Windows because CD-ROM pops up with appropriate drivers. But on Arch Linux the driver doesn't show up as a network interface, but the device is recognized. I've tried ...
2
votes
0
answers
314
views
/dev/input/event doesn't report keys being pressed
I have an usb keyboard connected to a linux box.
I need to capture all keys that have been pressed and released.
My keyboard n-key rollover meaning that it doesn't have limits on number of ...
1
vote
0
answers
409
views
USB Drive showing in lsusb & dmesg but not in lsblk or fdisk
I have this USB Drive that i'm trying to fix,.
When I plug it, dmesg shows the following :
[83630.997986] usb 1-10: new high-speed USB device number 12 using xhci_hcd
[83631.146553] usb 1-10: New USB ...
1
vote
1
answer
791
views
What's the difference between device properties and device attributes in udev?
For udev device entries, what is the technical difference between a "property" and an "attribute"? How are they customarily created (generated?) and used? Which one is the better ...
2
votes
2
answers
1k
views
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 ...
0
votes
1
answer
301
views
Manjaro doesn't recognize USB mouse movement
the trackpad works perfectly fine but no USB mouse I tried works. I can see the mouse is detected in lsusb
Bus 003 Device 004: ID 248a:8366 Maxxter Wireless Optical Mouse ACT-MUSW-002
and inxi -Jxxx ...
1
vote
1
answer
3k
views
Driver for AX88179 Gigabit Ethernet
I have the following Ethernet to USB-C adapter:
$ lsusb | grep Ethernet
Bus 002 Device 003: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Currently it is not working when plugged into ...
0
votes
1
answer
2k
views
Debian buster: package firmware-realtek installed, rtl8192eu wifi dongle USB adapter not showing up as network interface
I am trying to make a Wi-Fi USB adapter working, to no avail. The dongle is a TP-Link WN821N, which has a Realtek rtl8192eu chip. I cannot change it and will soon loose my wired connection due to ...
0
votes
1
answer
566
views
Restart a USB that gone down in debian9
I have a small linux test box that has one fancy usb lan gigabit adapter on it.
This adapter is connected first with a 4 port usb3 hub then to the machine.
machine -> usb3 4port hub -> lan ...
0
votes
1
answer
732
views
What does it mean when UEFI boot option returns immediately without doing anything?
Update for Answer
For anyone who wants the authoritative source see section 13.3.1.3 of the standard which describes the directory structure.
Objective
Make a UEFI bootable Ubuntu Linux USB drive with ...
1
vote
1
answer
3k
views
Enable a USB WIFI Dongle in Fedora 35
I have an issue with my laptops' WIFI
Whenever I connect the home network, the whole machine freezes. I came across drivers to try and fix the problem but I though it is better to use a compatible USB ...
0
votes
1
answer
821
views
Remap USB device default productId from udev rule
I have a device which is being assigned the productId of 1713 by modalias:
$ lsusb -s 001:008
Bus 001 Device 008: ID 1e71:1713 NZXT NZXT USB Device
$ lsusb -t | grep "Dev 8"
|__ Port 12:...
1
vote
1
answer
61
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
1
answer
91
views
Linux USB: Where to report that a specific device is in fact supported by `usbserial`, although not recognised automatically?
I have an USB device that the kernel does not automatically recognise as an USB serial device but when I manually say to the usbserial driver that it should bind to it (modprobe usbserial vendor=...
1
vote
1
answer
626
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
1
answer
74
views
External Screens (HDMI and Displayport) and External Keyboard (USB) don't work simultaniously after new Debian dual boot installation
I just installed Debian 11 on my Thinkpad as dual boot with windows.
In windows everything works fine.
In Debian when I first start the device the external monitors remain black but keyboard and mouse ...