Questions tagged [usb]

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

712 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
votes
2answers
5k views

Microphone volume on USB soundcard very low, snd_usb_audio options?

I have a C-Media USB soundcard installed on my Raspberry Pi: Bus 001 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.. It is a USB cable with an XLR end on the other side, to which I have an XLR ...
8
votes
1answer
588 views

How to keep USB device (action cam) from going to sleep?

I've got an action cam (iON Air Pro Lite WiFi). It uses an SD card and can be connected to the PC via USB cable. It comes with only Windows and Mac support. However, once connected via USB and turned ...
8
votes
1answer
2k views

Is it necessary to explicitly flush the HDD on-disk write caches?

Abstract Sometimes, the Linux kernel is not aware of on-drive write caches of external USB storage devices. Is it necessary in such situations to explicitly flush those caches prior detaching these ...
7
votes
2answers
6k views

USB ports keep resetting on Linux

Problem USB Ports (2.0) keep resetting causing connected peripherals to stop working after some time. Hardware Motherboard: ASUS J1800I-C CPU: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz RAM: 4GB ...
7
votes
0answers
3k views

Make laptop to wake up by keyboard and mouse

The only way I can wake up my laptop (HP Elitebook 8460p) from suspend is by pressing the power button. Neither the built-in keyboard/mouse nor the external ones (connected via USB) wake the laptop up....
6
votes
0answers
2k views

How can I use a USB keyboard or mouse to wake from suspend?

I am using GNOME 3.36.6 on Arch Linux. By default, GNOME's automatic suspend option is enabled and it works as expected. However, I have to press the power button to wake the computer from suspend. I ...
6
votes
0answers
6k views

USB cdc_acm driver not assigning Data interface to any port

I have a USB CDC-ACM device emulating Serial over USB communication. The CDC Communications and Data interfaces are shown respectively on 2-1:1.0 (Comm) and 2-1:1.1 (Data) interface descriptors, and ...
6
votes
0answers
2k views

How to make MTP work

I'm experiencing many problems trying to properly connect and access the memory of my phone from my Linux system. I'm running openSUSE 13.1, with KDE, and my phone is a Samsung Galaxy S3 Neo equipped ...
6
votes
3answers
8k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
5
votes
0answers
2k views

External displays not detected when connected through USB-C hub

I normally work with an external monitor connected by HDMI to a USB-C adapter. I also have a USB-C hub (Aukey CB-C48), tested working with another USB-C device. The monitor works fine when connected ...
5
votes
0answers
149 views

dm-crypt: Try multiple possible cryptkey entries

I'm using dm-crypt (LUKS) on my Arch Linux machine to encrypt my root partition. I added the cryptkey entry to the kernel parameters in the bootloader entry to automatically decrypt my device if a ...
5
votes
0answers
3k views

Android device not recognized by lsusb anymore

I know this question has been asked before, however none of the threads were helpful. My android device is not being recognized anymore. When I connect my phone, it does not show the USB-Debugging ...
5
votes
0answers
3k views

usbfs did not claim interface before use

Using Sunnybeamtool to read out sunnybeam over Rasperry Pi USB port. I get lot of errors in dmesg which doesn't affect the working (apparently) program is written in C. Messages: [30563.867756] usb ...
5
votes
1answer
661 views

Enable numlock when new external keyboard is connected?

I'm not sure this is possible, but I thought why not to ask. I have a laptop without a numeric block, and use it sometimes with external keyboard. Numlock for the internal keyboard = useless, so I ...
5
votes
1answer
2k views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...
5
votes
2answers
3k views

How do I reset a USB device using a script?

I have a USB GSM modem that does not always work property (Huawei E367u-2) Sometimes it gets reset (USB device disconnect/reconnect in logs) and when it comes back up, it has different ttyUSB numbers. ...
5
votes
0answers
4k views

How do I find out the device node corresponding to my device in SuSE 8?

I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...
4
votes
0answers
4k views

device not accepting address 18, error -71

I am using a USB to ethernet converter to connect my laptop to a raspberry pi. But the kernel log shows USB: device descriptor read/64, error -71 I have used this device previously without any ...
4
votes
0answers
423 views

`thumbnail.so` preventing from ejecting USB

What is what thumbnail.so process, what does it belong to and why is it locking usb stick from ejecting? (the system is debian Buster with KDE)
4
votes
0answers
220 views

How to reliably detect a USB drive just after boot on Linux

We're building a device based on Raspberry Pi. And we'd like to add an option to detect plugged USB drive on when the device boots, to e.g. perform a firmware update. There's a problem that the USB ...
4
votes
1answer
3k views

USB drive is not recognized in all Linux

I have a Smartbuy 16Gb USB 2.0 flash drive (whith new memory controler) that is not recognized in any Linux system, but on Windows it recognized and worked fine. When I connect it to the PC on Linux ...
4
votes
1answer
3k views

Controlling USB-C Power Delivery on a HP ProBook G5 laptop

Question: I want to look at parameters under /sys/class/typec, but on my laptop, this doesn't show up. When I load the typec module manually, the directory appears but it is empty. After loading tcpm ...
4
votes
1answer
642 views

How to force Fedora 27 to write to USB flash drive immediately?

My Fedora 27 writes actual data to USB on umount. Before umount it works only with links or something like that. So, for example, when I transfer a big file of 5 GB cp /home/iam/bigFile /run/mnt/iam/...
4
votes
0answers
313 views

Display shows frequently a black screen

I'm using an USB-C Dock to connect to two displays. The dock offeres displayport (dp) and HDMI. The displays offer dp, dvi and hdmi. The displays show the correct picture. But once a minute, the ...
4
votes
0answers
762 views

A USB stick isn't visible anywhere but in dmesg

I'm plugging in a usb stick and isn't not getting mounted and kind of invisible. $ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 178.9G 0 disk ├─sda1 8:1 0 256M 0 ...
4
votes
1answer
573 views

How to diagnose slow USB transfer from embedded linux?

I have a board with Cyclone V SE, which contains ARM CortexTM-A9 MPCore (single core). On this board I run linux 4.1.15 built using Buildroot. When testing USB it turned out that while Bulk OUT ...
4
votes
1answer
1k views

lsusb shows USB devices that are not connected

I have the weird issue that lsusb shows USB devices that are not connected. We have a couple of devices connected via USB. To disconnect them from the system we disable the power to the USB port with ...
4
votes
1answer
3k views

External hard drive not recognized on USB 2.0 port

I bought a Seagate FreeAgent GoFlex Desk 2 TB external drive two years ago and used the drive with Ubuntu and Windows (dual boot workstation). I made a backup of the drive last week using another ...
4
votes
0answers
911 views

What can cause a usb port speed change?

I have an instrument connected via usb to a OpenSuse (11.1 32) computer. Following the vendor instructions, I've added one rule to udev: ATTR{idVendor}=="0e0d", ATTR{idProduct}=="0003", MODE="0666" ...
4
votes
0answers
1k views

USB Mouse Freezing in Debian / KDE // Keyboard OK

Having problems with seemingly random freezes of my Logitech Wireless Mouse in Debian (KDE). With regards to a number of articles out there, I don't have powertop, mouseemu or laptop-mode-tools ...
4
votes
0answers
529 views

Trouble getting USB printer to 'stick' using udevadm

What I’ve got so far $ udevadm info -a -p$(udevadm info --q path -n /dev/usb/lp1) | grep serial ATTRS{serial}=="544336460792090000" /etc/udev/rules.d/50-udev.rules: SUBSYSTEM=="usb", ATTRS{serial}==...
4
votes
0answers
149 views

How to identify process accesing usb port (scale)?

I'd like to identify through terminal which processes are using the scale connected to my mac, I need to kill those processes or clean the port to be used only by my app. Thanks a lot in advance.
4
votes
0answers
346 views

automatic disconnection of RAID array

A RAID array connected to my system (Debian 7) via USB frequently disconnects itself for no apparent reason. Upon initial connection to the system, the device is detected, and the array can be ...
4
votes
1answer
4k views

usbip: problem getting device attributes: No such file or directory

I try to use an ftdi rs232/usb adapter over ethernet. It's connected to my raspberry pi. pi@raspberrypi ~ $ usbip list -l Local USB devices ================= - busid 1-1 (0424:9512) 1-1:1.0 -&...
4
votes
0answers
744 views

Cannot Boot New Linux From USB

Recently, I got a new laptop, the MSI gx60. I grabbed a usb and loaded the Linux Mint 16 Cinnamon image onto it, tested it on my old laptop and desktop, where it worked. However, when I try it on my ...
4
votes
0answers
2k views

How can I set repeat rate of USB keyboard with udev?

How can I get my keyboard repeat rate to apply to a hotplugged USB keyboard? I made a udev rule to set the keyboard repeat delay and rate, /etc/udev/rules.d/99-usb-keyboard.rules with the following ...
4
votes
0answers
2k views

USB mouse not working

Every time I plug in any wired mouse recently, I get similar to the below on VCS1: [1443270.286164] usb 6-1: new low-speed USB device number 15 using uhci_hcd [1443270.454270] usb 6-1: New USB ...
4
votes
1answer
708 views

UEFI boot Fedora from USB 2.0 on 3.0 port (l75d-a7280)

I'm trying to make a bootable usb in ubuntu for fedora, but my settings are not working. I formatted the USB with FAT & Ext4, MBR, and Legacy BIOS bootable. My BIOS allows the USB 3.0 controller ...
4
votes
1answer
735 views

PS/2 to USB port for keyboard gives “unable to enumerate USB device on port 5”

I got my hands on a Logitech Ultra X (Y-SX49) keyboard, with US key marks. The US key placement is much better than my Swedish native, at least for programmers, because there are much fewer shortcuts ...
4
votes
1answer
1k views

Emulating scroll lock behaviour to trigger USB KVM switch

At work, I use two computers: one Windows machine for intranet and mail, one Ubuntu machine on a separate network for development. In order to easily switch between the two I use a simple USB KVM ...
3
votes
0answers
27 views

Astronomy Camera rapidly disconnects when used on Ubuntu

For the past while I've been trying to connect my Celestron Nightscape Camera to my Ubuntu system. This specific camera (with a KAI-10100 CCD) does not have a driver, but there is a similar model ...
3
votes
1answer
426 views

Slow transfer/write speed to USB 3 flash. What are all possible solutions?

Please see the following screenshot of transferring to a USB 3 sandisk flash drive: This has been asked before but the answers didn't help. They always suggest changing this: echo $((16*1024*1024)) &...
3
votes
0answers
2k views

USB keyboard and mouse mouse control end after login

Ubuntu 18.04: When the login screen appears the USB keyboard and mouse work fine. I select an account and enter its password. As soon as the desktop for the given account appears, the mouse and ...
3
votes
0answers
179 views

usbfs: Can I read a USB device's binary object store descriptor (BOS)?

I am able to read device descriptor fields from the usbfs files in /sys/bus/usb/devices/. If a USB device has a Binary Device Object Store (BOS) descriptor, is this stored in the usbfs as well?
3
votes
0answers
59 views

How to cleanly remove a non-storage USB device

Is there a way in Linux to cleanly remove (i.e. 'safely remove') a USB device that is not a mass storage device before it is unplugged? My problem: I have a USB TV stick - a 'Mygica T230 DVB-T/T2/C'....
3
votes
0answers
151 views

USB bulk write works in VM linux (on win7) but not in native linux (ubuntu 4.19)?

I'm experiencing weird behavior on a custom board that is flashed through USB hub and I'm trying to determine the root cause. When flashing is attempted from natively (Linux XPS-15-9560 4.19.0-041900-...
3
votes
0answers
983 views

KVM passthrough in virtual machine more than 3 usb devices

I have a question, how can i passthrough in virtual machine more than 3 usb devices? I have a usb hub and i cannot passthrough in virtual machine more than 3 usb device. My usb device connect to usb ...
3
votes
1answer
139 views

How can I get my photos off of an old cell phone in Linux?

I have an old, non-Android flip phone (Samsung SPH-M400) from about 2012, and I would like to get the photos off of it. The phone is fully functional, but its service is deactivated. I have tried ...
3
votes
0answers
2k views

How to get DisplayLink to work with Debian?

I have have successfully installed the necessary drivers as outlined: https://github.com/AdnanHodzic/displaylink-debian/blob/master/post-install-guide.md I do have UEFI installed on Intel NUC (...
3
votes
0answers
96 views

Required kernel modules / configuration for OTG host on OMAP3 based device

I'm trying to figure out what kernel modules that I need to load in order correctly configure an TI OMAP3 based device (DM3730) as a USB host via the on-chip OTG controller. Without loading any ...

1
2 3 4 5
15