Questions tagged [usb]

Universal Serial Bus (USB) establishes a connection between devices and a host computer.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How I can re-enable USB Port after the OS disable them without reboot?

How I can re-enable access to usb port after the OS disable them after an unsecure unplug? I am using Arch linux , sometimes after using a port for a long time the port become unusable, and I only can ...
user3824954's user avatar
0 votes
0 answers
24 views

What causes the keyboard to stay turned on (or turn back on a few min later) after standby and how to make it turn off on Debian?

There are a few lights on my USB keyboard and for a long time after putting the computer into standby the keyboard lights went out as well. But since a few months ago, they often stay turned on or ...
mYnDstrEAm's user avatar
  • 4,168
0 votes
0 answers
8 views

USB-C display is detected but only shows black screen (AMD Ryzen 7 2700U, Linux Mint)

I just got myself a Samsung S27A600UUU. I was hoping to attach it via USB-C to my Lenovo E585 and use it as both the laptops power cable and the display cable. The power part works as expected, but ...
Shade's user avatar
  • 1
1 vote
3 answers
57 views

How can I view only non-storage devices using lsusb, lsblk, or similar?

I'd like to see a list of connected USB Devices (eg. Usb Mouse, USB Keyboard) without having to go through a list of devices that includes internal and external storage devices (eg. internal HDD, USB ...
Lee's user avatar
  • 105
0 votes
0 answers
17 views

USB recognized in docking station when booting Windows - but not when booting Debian

I have a USB mouse and keyboard plugged in a Dell notebook which is connected to an I-Tec docking station. The docking station is connected to two monitors. In addition, two external USB harddisks are ...
René Nyffenegger's user avatar
0 votes
0 answers
23 views

Udev rules do not work while a USB device is plugged in

I am trying to disable all USB ports and only provide access to my keyboard and mouse. Rules are working when I plug in and out the USB devices.  However, when I try to reboot the system while there ...
deneme yanılma's user avatar
0 votes
1 answer
19 views

turn on/off an external usb ssd with UHUBCTL

I need to turn on/off an external usb ssd on my Proxmox VE 8 zimaboard832 (Debian 12 Bookworm) automatically. It's possibile with uhubctl? If it is, how can i make a turn_on/off bash script safely?
Alessandro's user avatar
0 votes
1 answer
44 views

Access USB device with Bash script

I am using a Raspberry Pi 4 Model B. I am trying to make a script that runs automatically whenever a USB device is plugged in. It will try to read from a text file on the USB device. This is what I ...
XII's user avatar
  • 3
1 vote
1 answer
22 views

USB SATA dock failing on one computer but not on another

I've got one 20TB and one 6TB HDDs into an ORICO 6629us3-c USB3->SATA dock. For some testing purposes I have split the 20TB disk into 18 partitions and the 6TB inton 6 partitions. I could run ...
akostadinov's user avatar
  • 1,048
1 vote
0 answers
17 views

Udev rule to adjust mouse speed not working (but executing)

Summary I want to use a udev rule to adjust the speed of a certain mouse when I attach it. I can get the udev rule to fire, but it does not successfully adjust the mouse speed. However, when I ...
link's user avatar
  • 31
0 votes
0 answers
18 views

No partitions visible on external hard drive

I'm trying to rescue data from Linux installation on old laptop. It was dual-booted with windows. I know there is at least 1 ntfs partition and 1 ext4. I can boot Windows on the old laptop, but linux ...
Dekakaruk's user avatar
  • 101
0 votes
1 answer
12 views

Given a journal error and a lsusb listing identify usb device causing the problem

In arch linux the journal shows this error message kernel: usb 2-2-port1: Cannot enable. Maybe the USB cable is bad? Given this listing of devices (lsusb), which is the problematic one? Bus 001 ...
Stephen Boston's user avatar
0 votes
0 answers
44 views

How to tell when Linux's USB autosuspend has triggered?

Is there a way to see logs from the USB autosuspend system, to identify when it activates? I am working on a test harness which repeatedly tests USB devices-under-test. I've seen spurious errors, and ...
wickedchicken's user avatar
0 votes
1 answer
18 views

How to create an AP with belkin usb using rtl8192u?

As I can remember, once I have seen it working, but it was not today. Can I do something to use it as an AP?
peterh's user avatar
  • 9,731
0 votes
0 answers
25 views

Linux Kernel cannot find USB Stick to use as root FS

I have a USB stick with a Basic Linux/Busybox distro from scratch. I use extlinux as my bootloader. In Qemu everything works fine and I can boot without problems by typing in the following command ...
pauljako's user avatar
0 votes
0 answers
26 views

Can't boot to Linux USB after unplugging it

After I installed Kali on a USB, it worked fine.  After shutting off & unplugging, and plugging the USB back into the PC, it no longer appears as a boot option.  What can I do to fix this besides ...
LG Блоха's user avatar
0 votes
0 answers
14 views

How to find out, which network device is created by an USB port?

I see a networking device in the USB bus: lsusb shows it well and it looks working well. As a network device, it also generates a network interface. Yes, ip link ls shows them, and some of them is ...
peterh's user avatar
  • 9,731
0 votes
1 answer
35 views

Why does the device names in lsusb differ from dmesg?

When I plug my USB device in, I see in the system with dmesg, usb 5-2.2.2.2: new low-speed USB device number 48 using xhci_hcd usb 5-2.2.2.2: New USB device found, idVendor=1130, idProduct=0202, ...
Evan Carroll's user avatar
  • 30.8k
3 votes
1 answer
32 views

alsamixer / amixer supported usb audio class 2 controls

I am currently developing a usb soundcard that is usb audio class 2 compliant. In my current setup I have audio and mute controls for several channels working in alsamixer. The USB audio class 2 spec ...
Jelle Jan's user avatar
0 votes
1 answer
48 views

Can USB devices prevent sharing?

I have Ubuntu 22.04 as a virtual machine and a Raspberry Pi 0W, on the Pi 0W I have a CAN-Bus USB adapter, I have set it up so I can have the Raspberry Pi 0W and CAN-Bus adapter connected to my Tesla ...
SPlatten's user avatar
  • 111
0 votes
1 answer
60 views

resetting usb bus to allow device mount after usbguard service stop

in RHEL 8.9, there is a holdover problem with usbguard. For example: usbguard active with rules.conf having just allow with-interface one-of { 03:*:* 09:*:* } to allow human interface devices (kybds/...
ron's user avatar
  • 6,607
1 vote
2 answers
62 views

Is it possible to programmatically identify the number of physical USB ports on a Lenovo ThinkCentre?

I have several Lenovo machines with varying numbers of physical USB ports. I need to programmatically identify the number of physical USB ports on each machine. The operating system installed is Linux....
Shubham Kumar's user avatar
0 votes
0 answers
25 views

usbguard rules - interface class, subclass, protocol listing

in relation to this question: usbguard rules allow any keyboard and mouse from https://usbguard.github.io/documentation/rule-language.html it mentions interface-type represents a USB interface and ...
ron's user avatar
  • 6,607
0 votes
1 answer
21 views

Udevadm doesn't auto trigger after suspended

I set up my USB modem with Ubuntu, so that it automatically switches to modem mode every time it suspends and resumes from sleep mode. Following the instructions from here [1], I was able to do it, ...
Nhan.Q's user avatar
  • 1
1 vote
0 answers
80 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
2 answers
118 views

USB 4G Modem Not Detected on Raspberry Pi with NetworkManager

Am trying to set up a USB 4G modem on a Raspberry Pi using NetworkManager, but it doesn't seem to be detected. Here are the details of my setup: Raspberry Pi model: 4 USB 4G Modem: zte mf833u1 ...
user3607022's user avatar
0 votes
0 answers
53 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
0 votes
0 answers
12 views

I'm trying to create a new nv_uboot-snow-usb.kpart file changing some parameters on the file snow.h file,but the modifications I made don't stick

My ARM Chromebook SNOW has the mmc slot broken,but I've realized that I can boot Linux using the USB port.To enable the booting of Linux via USB I have modified this file : https://github.com/...
Marietto's user avatar
  • 531
0 votes
0 answers
49 views

Linux USB gadget configured through configfs

I have successfully configured USB On-The-Go (OTG) on an STM32 MPU (Linux) to support both Abstract Control Model (ACM) and Human Interface Device (HID) protocols. I utilized the ...
Barak1's user avatar
  • 1
0 votes
0 answers
54 views

Poor performance on Linux compared to Windows when reading from certain USB 3 flash drives

The issue to which I refer has been talked about a bit elsewhere on the internet: https://www.reddit.com/r/linuxquestions/comments/sbpt23/usb_flash_drive_read_speed_much_slower_in_linux/ https://...
K. S.'s user avatar
  • 109
0 votes
2 answers
103 views

Make USB audio device default

Running Debian : # uname --kernel-name --kernel-release --machine Linux 6.5.11-7-pve x86_64 # cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at ...
bilogic's user avatar
  • 101
0 votes
0 answers
27 views

jbd2 problems while writing to encrypted USB thumb drive

I'm seeing an error while writing to a LUKS-encrypted USB thumb drive that is known-good. Could this be due to a bug in the jbd2 code? I'm also using a Wifi driver that is ''tainted'' i.e. the ...
ppppppp2's user avatar
0 votes
0 answers
47 views

Mounting a USB drive on a synology system: "operation permitted for root only" although sudo was used

I want to mount a USB drive on my NAS synology Following those tutorials: https://askubuntu.com/questions/37767/how-to-access-a-usb-flash-drive-from-the-terminal https://linuxconfig.org/howto-mount-...
ecjb's user avatar
  • 403
0 votes
0 answers
27 views

Failed to connect BLE printer from Linux system with reason 0x13

I am working on an embedded Linux system (5.10.24), where there is WIFI+BT controller in system. I have built and installed Bluez5-5.54 in the system, and I want to connect a BLE printer to test the ...
wangt13's user avatar
  • 429
0 votes
0 answers
70 views

unable to access usb in debian 12 through Home folder

when I plug the usb in and try this code : sudo fdisk -l I see my USB device in results but can't open it through HomeFolder, I see nothing. How to fix it in Debian 12 ? (thanks for help)
user598575's user avatar
0 votes
0 answers
25 views

Can a single USB/IP export both gadgets and physical bus devices? If not, can 2 instances of USB/IP run simultaneously?

I need to create USB gadgets for a keyboard and mouse and attach them to a client using USB/IP. I also need to attach a few other devices. USB/IP can run in Device Mode (using the -e or --device flag) ...
sonicbhoc's user avatar
  • 101
1 vote
0 answers
179 views

USB-C Power Delivery charging not working on Linux

I recently had my laptop serviced, and the motherboard was replaced. I run a dual boot setup with Fedora Linux and Windows. Before the servicing, the USB-C port supported charging on Linux via Power ...
LCZ's user avatar
  • 111
0 votes
0 answers
116 views

new USB stick: backup GPT table corrupt, primary appears OK

Kubuntu - I can't mount/partition a new USB-stick [1] The sudo fdisk -l output is: The backup GPT table is corrupt, but the primary appears OK, so that will be used. Disk /dev/sdb: 61 TiB, ...
Joan DoeT's user avatar
0 votes
0 answers
23 views

Failed to run `usb start` in u-boot with error of !CSWSIGNATURE

I am working on an embedded Linux system with u-boot (2013-07) as bootloader in an SOC platform, now I tried to support USB disk in u-boot, so I did some porting and HW configuration. I think the u-...
wangt13's user avatar
  • 429
0 votes
1 answer
131 views

Is my brand new USB SSD defective?

I've had a few times this problem in the past few days (but not in the previous weeks and I haven't changed anything besiders package updates) in a Debian 12 system (kernel 6.1 - haven't tried 6.6) ...
golimar's user avatar
  • 417
0 votes
1 answer
489 views

How to create a bootable USB for Debian on Mac with Apple Silicon?

I thoroughly went through the official and up-to-date articles from Debian. I will list some resources below: https://lists.debian.org/debian-cd/2023/12/threads.html https://wiki.debian.org/...
Kamil's user avatar
  • 11
0 votes
0 answers
54 views

How do I identify the connected USB device?

If I write the rules, for example, in this form: ACTION=="remove", GOTO="serial_end" SUBSYSTEM!="tty", GOTO="serial_end" KERNEL=="ttyUSB[0-9]*", RUN+=...
alexanderzhirov's user avatar
0 votes
0 answers
53 views

Trying to get data off an original iPhone

Yes, I have an iPhone 1 (3G or whatever it should be called) :) I'm on Ubuntu 20.04 running in Virtualbox. I have tried running iTunes under wine, but iTunes doesn't detect a device. Various articles (...
AlanQ's user avatar
  • 71
1 vote
3 answers
1k views

How to disconnect and reconnect USB devices on the command line?

I want to find out what gnome-disk is doing, how to do the same on the command line and how to undo whatever gnome-disk does. (It can not undo all it does itself.) I have already experimented a little ...
Robert Siemer's user avatar
0 votes
0 answers
42 views

USB ports are not responsive after closing laptop overnight (Debian 12)

This is the second time this has happened in a row so I figured I would make a question about it. But basically, when I am done working on my laptop for the day, I close it (not shut it down), and ...
Luca Guarro's user avatar
0 votes
1 answer
86 views

Making USB to SATA DVD drive show up as sr0 in Debian

I have a WH16NS40 DVD drive that I want to use on my Debian 12 virtual machine. The drive is inside a Vantec NexStar DX2 USB 3.0 external enclosure, which connects to the DVD drive via a standard SATA ...
bdrun33's user avatar
0 votes
1 answer
49 views

Would there be a difference in running cryptsetup from a Ubuntu USB FD vs internal disk?

Meaning Ubuntu installed on a USB vs an HDD. Would it make a difference security wise, example speed with USB during luksFormat with the specified iter time? Or a difference running it through USB or ...
user avatar
0 votes
1 answer
40 views

Restore USB Stick after using it to install TrueNAS Core

Im facing a problem and, im running out of option. I used a usb stick to install TrueNAS on old computer to make a home server, I downloaded the iso from TrueNAS website and used rufus to burn it on ...
Omega's user avatar
  • 1
1 vote
2 answers
99 views

fdisk -l on an usb drive gives a very weird response

Today I nuked an old usb3 flash 8GB drive on a linux machine with: dd if=/dev/random of=/dev/sdb then I put it into a windows pc, it asked me to format it, I did an extended format with default ...
user3450548's user avatar
  • 2,868
0 votes
0 answers
114 views

Serial interfaces and sysfs. How to get a unique identifier for each serial port

I want to enumerate the serial ports on a Linux system and get unique and stable (across reboots) identifiers for them. Stable in the sense that when I plug and unplug serial USB devices (same USB ...
Andreas H.'s user avatar

1
2 3 4 5
42