Questions tagged [usb-device]

The tag has no usage guidance.

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

g_mass_storage select usb port

I have nanopi neo air board with armbian buster image on it. I want to setup mass_storage on usb2 port. I successfully setup g_mass_storage for serving mass_storage device, but it work on default usb ...
0
votes
1answer
14 views

Why are some parts of a udev rule triggered script not working? (use xinput to set mouse acceleration when plugged in)

I have a udev rule ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c084", RUN+="/some/script.sh" which successfully ...
1
vote
1answer
29 views

How to configure USB Pedals with NixOS

I have a set of USB Pedals that I wish (need!) to configure with NixOS, because frankly my hands are killing me. The pedals are identified in lsusb: Bus 001 Device 006: ID 413d:2107 And evtest shows ...
1
vote
0answers
15 views

Command on Linux to tell is displayport over USB-C is supported

I am running Linux and kernel 5.3 which has apparently had the DP Altmode supported for some time, but cannot get a monitor to work from an adapter cable. Question: what is a shell command that will ...
0
votes
0answers
11 views

How to know if USB program will work in Linux? (foot control pedals connecting to audio programs)

I'm planning to buy a USB foot control pedal. For example, one like this: I haven't bought it yet, nor have any similar device. So I don't have access to the device. I know it's used mostly by ...
0
votes
0answers
17 views

Copying large files to Android device stops with an error

I'm trying to copy video file (~12 GiB) via USB to Android device (OnePlus 7 pro) and constantly getting an error like this: or like this: (libmtp error) Small files usually transferred ...
3
votes
1answer
60 views

Simultaneous video recording with 2 identical cameras on Raspberry PI

I want to use 2 identical USB cameras to record video on Raspberry Pi 4 1GB (Raspbian 10). Both cameras have identical VID:PID (05a3:9530) and Serial number (SN5100), so only one of them records video ...
0
votes
0answers
41 views

I can't compile/install TP-Link T4u v3 drivers on Ubuntu 20.04 Focal Fossa

I am a real begginer in Linux and don't know why, I can't install my USB WiFi card drivers, I always get errors. I searched all of the Internet and tried over 10 solutions but nothing worked for me. ...
0
votes
0answers
12 views

Using ser2net for a USB device mounted as /dev/bus/usb/005/002

I have a Z-Wave Sigma USB stick that I would like to share to another host on my network, but not entirely sure if this is possible. The host to which I am connecting the USB device is running ...
1
vote
1answer
29 views

what will the kernel do when an USB mouse inserted in Linux PC?

I am trying to write a kernel module which loads upon detection of USB Mouse. I am new to this stuff, I googled for this issue but couldn't find any appropriate solution. can anyone please explain ...
0
votes
1answer
24 views

how to mount and read from the .img file used by usb_gadget/g_multi/mass_storage?

the pocket beagle, using debian9.9, shows up as a mass storage device on my windows machine. I have found the backing file (i'll call it a drive) used by the mass storage device. I would like to mount ...
1
vote
0answers
27 views

Persistent name for USB HID (LED) gadget

I have a USB LED gadget that shows up as a USB HID device. When I plug it in to my server it shows up as /sys/class/leds/delcom2:{red,green,blue} and I can operate it by manipulating the files that ...
0
votes
0answers
90 views

Using MFGtool(UUU) on IMX6DL in Linux

I am pretty new to this area so please bear with me. I have an IMX6DL board and I want to flash a Linux image through USB. Originally, I flash my image using a windows version of mfgtool. This takes ...
0
votes
0answers
32 views

Unable to install Linux_Headers for my distro armv71

I have been trying to get package linux headers for my "orange pi pc" computer unable to install them using apt get (tried everything you can think of directly) the goal is to install support for 0bda:...
0
votes
0answers
72 views

Linux can't find camera and shows up as UNCLAIMED in lshw

I'm trying to connect my external web camera (link to camera) to my computer. I use Arch Linux. when I plug it into one of my USB ports the OS doesn't seem to recognize it, all programs which depend ...
0
votes
0answers
18 views

Getting usb device data from pci device

I am currently scanning all PCI devices and I am able to locate the usb-controller. However, I am not able to reach for the usb root hub on there. The struct I am using (pci_dev) struct pci_dev { ...
0
votes
1answer
88 views

rsync and original permissions

I know that there are a lot of treads about this subject, but I was unable to solve it. I'd like to make a simple backup with rsync between my hard drive and a USB device. My original directories and ...
0
votes
0answers
12 views

Why am I getting ehci error with USB wifi

Ok, so I have an old arch Linux machine that mostly runs YouTube 24/7, with minor shell work here and there, and a network mounted partition that my laptop (ab)uses. I've been using a wireless USB ...
2
votes
1answer
73 views

Udev does not always automatically bind the usbhid driver to my device

I have multiple sytems running Ubuntu 19.10. I have a USB HID device which can be detected by each of those systems and I am using the exact same udev rules file on all 3 of them (99-MyDevice.rules) : ...
0
votes
0answers
6 views

Dell Inspiron 5559 touch screen flaky causing system not to boot

I have a touch screen on my Dell Inspiron 5559, and Linux will continually try to power cycle it and fail. It will sometimes never finish booting because of this. Is there a way to disable this device?...
1
vote
0answers
233 views

USB Stick shown in lsusb but not in lsblk

I was trying to format an usb key with mkfs.ntfs to use it on windows. When it reaches 80%, I got an error (don't remember it exactly) so I tried to remove the key and put it back. But the key didn't ...
0
votes
0answers
60 views

PL2303 cable subtype identification

There are several PL2303 serial cable sub-types \ revisions: the PL2303-HXD is the D-revision. A black PL2303 cable is provided to me. I would like to use it with a Raspberry Pi, which is a 3.3.V ...
0
votes
0answers
150 views

usb_claim_interface error -6

I've installed rtl-sdr on a Raspberry Pi. Now, since I'm going to use it remotely, I want to use Stephen Blinick's ring buffer rewrite of rtl_tcp as detailed here: https://www.rtl-sdr.com/...
0
votes
0answers
18 views

Wacom Bamboo Fun tablet not recognized when plugged in

I am unable to use my Wacom Bamboo Fun tablet. It is about 11 years old ... I did have this working earlier on Funtoo (both in 2009 until probably about 2011), but am not able to get it working on ...
0
votes
0answers
431 views

Unable to enumerate USB device (USB microphone)

I have just installed a fresh Linux Mint Cinnamon (19.3 Tricia) system. I have updated both the system and all drivers. The problem is that my Rode-NT USB microphone (uses an A/D converter 16bit 48kHz)...
0
votes
0answers
13 views

How do I load a kernel module g_massstorage in boot?

I've been trying with with the g_mass_storage kernel module. Tried loading it by putting it in /etc/modules and when the module boot nothing happens. When i lsmod it shows only usb_f_mass_storage.. i ...
0
votes
2answers
283 views

Problem with VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

I have some problems with VL805. I tried to update the firmware as suggested here https://askubuntu.com/questions/1162391/usb-3-0-pci-card. [ 2.407086] usb 3-1.1: New USB device found, idVendor=...
0
votes
0answers
34 views

Kinect won't konnect

I'll start with context and get to the question. I have been working on setting up ARSandbox and I've been having issues with hooking up the Kinect.I seem to have narrowed it down to problems with the ...
0
votes
1answer
25 views

Kinect 0 does not exist

I'm trying to set up the AR Sandbox and I'm having a tough go of it. I can't seem to get KinectUtil to pull the intrinsic calibration data from the kinect unit. When I use the KinectUtil list command, ...
0
votes
0answers
34 views

USB not working on Ubuntu

The USB ports in my notebook don't work for my kindle and my pendriver. Although they work with my cellphone. I tried running fdisk -l and all the sdb partitions are missing. But if I run lsusb the ...
1
vote
1answer
210 views

How do I get the `/dev/ttyUSB0` from `/dev/bus/usb/006/015`?

Short version: How, from device information such as /devices/pci0000:00/0000:00:13.1/usb6/6-3 and /dev/bus/usb/006/015, I get a path such as /dev/ttyUSB0 or /dev/serial/by-path/pci-0000:00:13.1-usb-0:...
0
votes
1answer
64 views

USB Wireless devices not registering, how do I fix this?

I put Kali Linux on a small little laptop for testing and demonstration purposes, but I've run into an issue I've never seen before. Every wireless interface I plug in through USB shows up as shown ...
0
votes
0answers
48 views

What is the meaning of SYMLINK in udev rules?

I've been trying to write a USB driver for a device, but none of the methods (libhid, libusb-0.1, libusb-1.0) I've tried work. I've written usb drivers before. I can also communicate with the device ...
1
vote
1answer
28 views

Use and set a default ethernet card for external network/internet (WAN) access

I'm running an Ubuntu PC with 2 network cards: An external USB to ethernet card, eth1 Built in ethernet NIC, eth0 I have eth1 assigned a static IP from the admin and intend to use it as the ...
0
votes
0answers
57 views

How to find hid device and detect when inserted/removed?

I'm following this example on reading data from /dev/hidraw : https://elixir.bootlin.com/linux/latest/source/samples/hidraw/hid-example.c It's exactly what I'm looking as a proof of concept. ...
2
votes
1answer
47 views

Suggestion for linux distro from USB

The SSD of my laptop (Dell Latitude E7240) seems gone for now, and since I'm travelling I can't order a new one. I have a USB stick (16GB), a SD card (4GB) and a micro SD with SD adaptor (16GB) that I ...
0
votes
0answers
15 views

Ubuntu suspend hangs when WinTV USB Tuner attached

I'm running Ubuntu 18.04 (Bionic Beaver) on a Dell N7010 laptop using a WinTV-HVR-955Q USB tuner stick. All software was installed from the default Ubuntu apt repositories. Almost everything is ...
3
votes
1answer
45 views

Is there a limit to the number of FTDI connections on Debian 9?

I have a Debian 9 box, and if I plug in 1 of my devices, its UART shows up in both lsusb and in the output of ls /sys/bus/usb-serial/devices/. When I attach 2, the 2nd one always shows up. But for ...
0
votes
0answers
51 views

Create bootable and writeable Fedora USB-Stick

I'm trying to create a bootable and writeable USB-stick with Fedora 30, because on the one side I want to be able to add and modify a Kickstart-File and on the other side I want to install additional ...
1
vote
0answers
142 views

Anabel Mouse: couldn't find an input interrupt endpoint

I have a very weird problem ;) I used to Debian 10 about 3 month and every things OK until today, when my colleague put a new router on my desk. when she power-on the router my mouse stopped and I can ...
1
vote
1answer
136 views

Assign static /dev/ttyACM[0-9] static

I have a couple of USB radios (one ZigBee, one Z-wave) that are currently located at /dev/ttyACM0 and /dev/ttyACM1, respectively. When I reboot, they are randomly assigned, rendering my home ...
0
votes
0answers
34 views

FreeBSD 11 not recognising changes to connected devices when MTP device attached to USB. Phone, cable, and USB socket all work

When I connect my phone via USB (USB type C to A cable) to my FreeBSD 11.2 setup, nothing happens. No console messages, nothing in camcontrol devlist, dmesg, or usbconfig AFAICS. (I could be missing ...
1
vote
1answer
195 views

How can you force the Linux kernel to use a specific block size for a disk?

I work in IT. Sometimes we're asked to get data off of drives that have failed. We have various SATA-to-USB, ATA-to-USB, etc. adapters for this task. But, sometimes they report the wrong block size to ...
3
votes
0answers
109 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?
1
vote
0answers
43 views

Get the USB port 'by path' to autofill in udev rules file

I'm trying to improve on my udev rules for USB serial devices or USB sound cards. I want the USB port number to be populated in the ENV{ID_PATH} field without having to edit it myself (this becomes ...
1
vote
0answers
249 views

USB Keyboard doesn't work until I manually inspect its device file

So I have a USB Keyboard that I built myself which runs the qmk keyboard firmware. I would preface this by saying that it's possible that this is a bug in the keyboard firmware. However, since the ...
1
vote
1answer
952 views

udev rules for USB serial 'by path' not working

I have more than 2 serial devices enumerated by FTDI driver as /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 etc. On reboot, these may get jumbled up in any other order. Also, I may replace/swap these ...
0
votes
0answers
23 views

Particular USB Device not getting mounted - Embedded Linux

I have an embedded Linux, all the USB devices are getting mounted automatically except one. The usb device mounts on another Linux machine, so no problem with device. dmesg output, nothing seems to ...
-1
votes
2answers
848 views

Find device's MAC address connected through USB

I'm interested in finding the MAC address of a device (in this case an ESP8266) connected through an USB serial to my computer. Is there a linux command to achieve that? I tried with dmesg or lsusb ...
0
votes
0answers
10 views

Several program web-camera issue

I have the Logitech C270 web-camera. I cant use it on Skype and OBS at the same time! If my Skype is running and I run OBS I see the green light on the camera. But, I do not see the picture on the ...