Questions tagged [usb-device]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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
44 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 ...
0 votes
0 answers
38 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
0 votes
1 answer
46 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 ...
  • 103
1 vote
1 answer
45 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
0 answers
22 views

How to troublshoot g_mass_storage gadget USB3 super-speed stability

I have a development board that I'm using as a mass storage device with a Windows PC USB host. I install the g_mass_storage gadget driver via modprobe and then plug in the USB cable, and it sometimes ...
0 votes
0 answers
26 views

"Could not enter folder" on Android device connected by usb

I'm using: Debian GNU/Linux 10 KDE Frameworks 5.54.0 Qt 5.11.3 (built against 5.11.3) When I connect my Xiaomi Mi A1 by USB to the laptop, a notification appears For some reason, there's a ...
0 votes
0 answers
14 views

Linux unable too enumerata Samsung Phone via USB or show it with lsusb

This is very similar to other questions here, but it only happens with a Samsung J5 Prime phone. dmesg shows the following error: [ 1474.984812] usb 3-1: new full-speed USB device number 18 using ...
  • 111
0 votes
0 answers
14 views

USB Device Randomly Disconnects

One of the USB ports disconnects randomly and cannot start again in our embedded Linux system. The host device uses Yocto distribution Linux with kernel version of 4.19.59. The peripheral device is ...
0 votes
1 answer
45 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 ...
0 votes
1 answer
586 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 ...
  • 1,706
0 votes
0 answers
49 views

Connect USB card reader MAUSB-10 (alauda driver)

I want to connect the Olympus USB card reader MAUSB-10 to my Ubuntu PC. The card reader is detected. dmesg output: [22886.973598] usb 1-1: new full-speed USB device number 28 using xhci_hcd [22887....
0 votes
1 answer
375 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 ...
  • 133
0 votes
1 answer
117 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 ...
  • 2,524
0 votes
1 answer
207 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
1k 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
0 answers
96 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
297 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:...
  • 281
1 vote
1 answer
25 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 ...
  • 379
0 votes
0 answers
83 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, ...
  • 379
0 votes
0 answers
174 views

Can the Zoom H1n be used as a USB audio interface/mic under Linux?

I own a Zoom H1n handy recorder. I know that it can be used as an audio interface with Windows, MacOS, and iOS devices. Is there drivers to use it as such with a Linux device? I know this was the case ...
  • 101
0 votes
1 answer
50 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
197 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
174 views

Touchscreen device doesn't work after boot but does after reconnecting USB

I have A Sharp Touch Screen device. Sharp PN-HW431T 43" Connected via USB. Bus 002 Device 003: ID 04dd:9e90 Sharp Corp. Touch Device The Touch works fine if you connect it after OS is Booted. OS:...
  • 111
0 votes
1 answer
20 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 ...
  • 101
0 votes
1 answer
367 views

How to properly eject / power-off usb device (not drive, e.g. web camera)?

Web search finds info only on drives which get mounted. How about other non-mounted devices? E.g. web cameras, keyboards, microphones, etc. Is it completely ok just to pull them out (unplug)? Eject ...
0 votes
0 answers
26 views

Cups "sending to printer"

Since some weeks, i try to get my Printer "HP LaserJet 107a" running via usb. Unfortunately i dont get over the point where cups says Sending to the printer. The Printer starts and heats up, ...
  • 35
0 votes
1 answer
228 views

modprobe mwifiex doesn't support Marvell 8786's USB version, but the SDIO

I needed a small (in-home) Access Point and remembered having saved a Marvell K20326 with an 88W8786U. After some research, I found that the mwifiex driver was the one indicated, which I 'insmod'ed ...
  • 573
0 votes
0 answers
40 views

UHID Keyboard not interacting with Window Manager

I'm trying to get the following UHID device code working on my machine. It is supposed to be sending random keystrokes to my Window Manager, but it isn't. I wonder if this has to do with udev not ...
0 votes
1 answer
148 views

Missing USB "out" endpoint?

I am trying to communicate to a USB device which is a laser controller. There is a Windows controller for this device which both writes (turn laser on or off) and reads (get the status of the laser, ...
1 vote
1 answer
157 views

How do I cut power from USB ports when the laptop is suspended?

I have a laptop that's always connected to a USB powered cooling fan. When I had windows as the OS, that fan stopped working, on Ubuntu all USB ports are providing power when suspended. Is there a way ...
  • 11
2 votes
1 answer
1k views

How to reset bluetooth that stopped working on a Linux laptop? (after resuming from standby)

Context: Linux kernel 5.10.x (5.18.x also) Thinkpad X1c (gen7) laptop Problem: Sometimes, when I set my system to sleep (suspend to RAM) and then resume, the bluetooth adapter is not found anymore. ...
  • 18.2k
2 votes
1 answer
995 views

How to Boot Memtest86 from a Ventoy USB

I downloaded memtest86 with the intention of adding it to my Ventoy usb, so that I could boot a machine for a memory test. Although Ventoy claims to support img files, it wouldn't boot the memtest86-...
  • 4,483
0 votes
0 answers
104 views

USB-device 'unmounts' itself while syncronising data with rsync on Centos Stream 8

Problem: the mounted USB-device 'unmounts' itself and 'vanishes' spontaneously while synchronizing data with rsync. Device: USB-stick PNY 512GB USB 3.1 formatted as ext4 (see below information from ...
0 votes
0 answers
403 views

How to get vid and pid of usb device before authorize it

I am writing an application in C++ on Linux (Ubuntu) that can detect plugging USB devices. I am using libudev library to detect new devices and get some pieces of information about them, such name, ...
0 votes
1 answer
423 views

Unable to eject (unmount) USB drive

I'm on Debian Bullseye XFCE. Please find the relevant details of my system below: vrgovinda@krishna:~$ uname -a Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux ...
0 votes
0 answers
205 views

raspberry pi 4 cannot detect usb signal from UPS

I am trying to connect a Vultech UPS1050VA-PRO to my new raspberry pi 4 via the usb cable provided, but it does not show up in the lsusb output (I tried connecting it with both usb 2.0 and 3.0 ports ...
  • 1
1 vote
1 answer
176 views

PXN-0082 controller - xinput does not see but lsusb does - how to connect

I have an arcade controller I bought so my dying dad can play old school games. but it does not show up under xinput, where it does show up under lsusb Bus 003 Device 021: ID 0079:187c DragonRise Inc. ...
  • 131
1 vote
0 answers
933 views

USB Ports Malfunctioning - usb 1-1: device descriptor read/64, error -71

I have a Dell Latitude 7350 2-in-1 (touchscreen tablet hybrid) that is 7+ years old. I originally had installed Pop!_OS on the system, and it worked fine for months, but one day my wireless keyboard ...
0 votes
0 answers
268 views

Custom USB HID device keeps disconnecting and reconneting

I have a little home-made measurement device, which outputs it data by USB HID to a connected computer. It works fine under Windows, but under Linux (I tested it on two different computers, both a ...
1 vote
0 answers
272 views

USB input devices not working under Xorg for a single user

I have a strange occasional buggy behaviour that I'm trying to trace and solve on my laptop. Occasionally, wired USB input devices (mouse and keyboard) stop working under an Xorg XFCE session. There ...
0 votes
0 answers
23 views

Can I trigger xmodmap on USB keyboard connection, as a user? [duplicate]

I remap my Right Alt to Compose with xmodmap in my .profile. But when I disconnect my USB keyboard and reconnect it I have to rerun xmodmap for it to take effect again. Is there a way, I suspect as a ...
3 votes
0 answers
728 views

xhci restart needed

I have a laptop with usb 3.0 ports, ryzen processor, linux 5.14.3 kernel, and an external keyboard and mouse connected via a usb hub. Occassionally, the usb devices stop functioning, both keyboard and ...
1 vote
1 answer
94 views

Is there a kernel option to allow a userspace app discovering custom USB devices on the host?

Consider a minimalist, buildroot-based Linux image on some 1-PCB computer with a USB host port. Then there is another small computer: a Raspberry Pi Compute Module "CM3", the only connection ...
  • 115
0 votes
1 answer
1k views

QMK Bootloader not found

I'm trying to flash my DZ60RGB V2 keyboard on Arch Linux. I installed qmk package setup qmk_toolbox using qmk setup command. In the process it warned me about missing udev rules which I added when ...
  • 295
0 votes
1 answer
172 views

Launch GUI app from udev rule

I am trying to launch a GUI app upon plugging in a certain USB device. The udev rule gets triggered, but the app does appear on my screen. Running the script from another TTY makes the app open in my ...
0 votes
1 answer
99 views

Why is my brand new USB memory not visible?

I have bought a nano SD card, which includes a USB reader. When I plug it, I can see it with dmesg: [721825.906705] usb 2-1.6: new high-speed USB device number 42 using ehci-pci [721826.019724] usb 2-...
  • 153
2 votes
0 answers
37 views

Are there any desktops (intel or amd) or pci-e cards that can support more than 16 USB devices per port?

I have a custom device from a manufacture that creates 32 ttyUSB devices. But this doesn't work with pc usb's controller because this generates error "not enough host controller resources for new ...
  • 21
0 votes
0 answers
51 views

How to prevent block device like hdisk to mount, using ibudev

It is possible to prevent USB device to be bound using libudev (udev interface in c). Now I want to prevent other devices like block devices to mount using it. Is it possible?? and how to do it?? ...
  • 1
1 vote
1 answer
259 views

Debug character devices (mouse, keyboard, touch screen etc) and read input data

I am working on a project where I have a infrared multi-touch frame connected to the PC via USB cable, whenever an object, eg, a hand/finger, passes through it, it acts as a mouse. What I want to do ...

1
2 3 4 5 6