Questions tagged [usb-device]
The usb-device tag has no usage guidance.
261
questions
0
votes
1
answer
27
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
208
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
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
59
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
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
36
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, ...
0
votes
0
answers
56
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 ...
0
votes
1
answer
41
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
84
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
77
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:...
0
votes
1
answer
15
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 ...
0
votes
1
answer
114
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
20
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, ...
0
votes
1
answer
154
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 ...
0
votes
0
answers
15
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
61
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, ...
0
votes
0
answers
56
views
USB-Device and inotify
I'm looking a solution for being notified about files and directories modifications using inotify or any other API when the files are located on a filesystem on a custom board which is configured as a ...
1
vote
1
answer
61
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 ...
0
votes
1
answer
466
views
How to reset bluetooth that stopped working on a Linux laptop? (after resuming from standby)
Context:
Linux kernel 5.10.46 (Debian)
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. If I ...
1
vote
0
answers
436
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-...
0
votes
0
answers
62
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
182
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
127
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
155
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
vote
1
answer
93
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. ...
1
vote
0
answers
577
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
149
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
109
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
497
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 ...
0
votes
0
answers
192
views
How to find USB device port in Linux?
I have a USB device connected to my computer, it is this one:
I want to use it in Python according to the example in this link. How do I know what to put for port (instead of 'COM1') in the line with ...
0
votes
0
answers
114
views
After reboot modem is not detected anymore. "unable to enumerate USB device"
I have a 5G modem attached to a m.2 port. When powering up the device it detects the modem just fine attached the the USB bus. After reboot, the modem is not detected anymore by the kernel or lspci.
...
1
vote
1
answer
77
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 ...
0
votes
0
answers
248
views
BlueZ, controller not working with every bluetooth services but some of them yes
I'm not really advanced with linux but this seems like a beginner problem I can't solve.
I'm running this on a Raspberrypi Zero W running Raspbian OS.
I have a controller ( BLE controller running ...
0
votes
1
answer
705
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 ...
0
votes
1
answer
92
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
0
answers
31
views
rtl8723de not detected in lsusb in kernels after version 4.19
Mine is an HP laptop with RTL8723de adapter for Wi-Fi + Bluetooth.
[kernel 4.19 ---- Wi-Fi doesn't work without installing additional drivers but Bluetooth works]
[kernel 5.x ---- Bluetooth doesn't ...
0
votes
1
answer
68
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-...
0
votes
0
answers
64
views
Setting up Blackfly USB external camera
I'm trying to connect the Blackfly S USB camera to my Linux device running Arch, however it doesn't appear to be recognized as a video device. Here's the output of dmesg:
$ dmesg | tail
...
[46632....
0
votes
0
answers
71
views
Enablig USB3.0 HDMI Video Capture /UltraHD on CentOS
I purchased this device on amazon.
Its description:
Game Capture Card, 4K HDMI to USB 3.0 HD Video Audio Capture Device 1080P 60FPS Game Box Grabber, HDMI Video Conference Camera, Live Streaming for ...
0
votes
0
answers
83
views
Any tool to parse raw usbmon output?
As per usbmon documentation, there are steps to collect the raw data and its format. I have a bunch of such files to analyze. Is there any tool available to parse this data or does one has to go ...
2
votes
0
answers
33
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 ...
0
votes
0
answers
34
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??
...
0
votes
0
answers
95
views
Can I create an access point and WiFi connection using a single USB WiFi adapter?
I am running a Ubuntu 18.04 distro with kernel v5.4 where I have a Netgear A6210 USB adapter that is using the mt76u2x driver. Recently, due to network issues, I tried to use this USB adapter to ...
1
vote
1
answer
150
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 ...
0
votes
0
answers
52
views
How to find out if any connected USB Bluetooth dongle supports particular protocol?
I have a very old USB Bluetooth dongle EB-DGC2. But let's say I don't know the type of this dongle and I can't find an appropriate datasheet. Is there any terminal way to list all information about ...
0
votes
0
answers
120
views
List USB devices (with more details than lsusb)
I've not been able to get the same information from lsusb as I can extract from the journal (system-log).
This is from the system-log:
Jun 08 12:23:04 SRV01 kernel: usb 1-5: new low-speed USB device ...
1
vote
1
answer
168
views
Unable to mount USB CD Drive
I have a Linux machine running CentOS7 that does not have a built-in CD drive. I need to copy files from a CD onto the computer, so I'm using a USB CD drive. I cannot get the computer to recognize the ...
0
votes
1
answer
474
views
Latitude & Dell TB19 USB-C thunderbolt Nightmare with ubuntu 21
Internet is already full of Dell WD19TB dock problem... but i didn't found answer for my random crashes on a fresh install, and a fresh dock.
Nothing works well (multi screen, ethernet, etc.) with ...
0
votes
1
answer
501
views
USB port stops working shortly after bootup
I am very new to Linux. I have recently installed Manjaro on my PC. The installation is on a separate SSD to my Windows installation. When I boot up, my mouse (Logitech g403) works fine for ...