Questions tagged [usb-device]

The tag has no usage guidance.

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

How do I query an HID device as a non-superuser in Linux?

With superuser privileges, I send instructions to the device as follows: $ sudo hid-query /dev/hidraw1 0x01 0x80 0x33 0x01 0x00 0x00 0x00 0x00 Device /dev/hidraw1 : 413d:2107 interface 1 : (null) (...
0
votes
1answer
22 views

Is there a USB Wireless device emulator for Linux?

I would like to have a Wireless device available in a Linux VirtualBox machine, but VirtualBox doesn't offer the option to expose the builtin PC Wireless device to the VM. It's possible to purchase a ...
2
votes
1answer
20 views

What is the meaning of `ATTR{stat}==“ …”` on udev attributes?

I was studying about the activity/change while copy pasting file in USB. Seems like the stat attribute gets changed on every action on USB drive. So what does each value of these stat denotes? Command ...
0
votes
0answers
15 views

USB Device is going to corrupt state when SetConfiguration is called by application

I am trying to enumerate Android phone with kernel version 4.19 with my application in Ubuntu 18.04,when I call SelectConfiguration of device when in any mode(PTP,Charging ,MTP) results in device ...
0
votes
1answer
36 views

How do I deterimine if (and which) USB ports share bandwidth?

I've read that in many cases, the motherboard basically acts as a USB hub. So if you have two 10gbps USB ports, and you try to transfer files over both, you won't go over 10gbps between both of them. ...
1
vote
1answer
44 views

Format unmountable usb pendrive

I believe someone else has already encountered this very same issue. Yet, I googled a lot and couldn't find my specific case. Yesterday I created a "password reset disk" in Windows, using a ...
0
votes
0answers
26 views

Get most recent plugged in USB device

I want to make a script that displays the latest usb devices plugged into the computer, but not all of them. I am using Arch Linux. Do you have an idea how to accomplish this?
0
votes
1answer
121 views

Can't mount external (USB 3.0) HDD

I'm trying to mount and format a Solid State Drive (SSD) hard-drive that's inside an USB hard-drive enclosure. When I connect the USB device, it gets recognized correctly, but I can't do anything with ...
0
votes
0answers
10 views

HIDRAW device arbitrarily reconnects with different names

I have a hidraw device connected to a Debian machine via USB. (The device is a solar inverter/charger but that probably does not matter.) The device would sometimes arbitrarily come off and show up ...
1
vote
0answers
15 views

linux-usb.org submissions - web site broken, emails ignored?

I need to submit some new USB device IDs for addition to the list/kernel. Does anyone know what has happened to the linux-usb.org list maintainer? I've attempted to submit new IDs as per the ...
1
vote
1answer
30 views

Recovering from USB dongle disconnection with systemd

If this is not the right place to post a this question, please say. I’m running zigbee2mqtt (Zigbee broker) on a USB dongle device (CC2531 with antenna, forgot the antenna model) and a Linux machine (...
0
votes
0answers
152 views

Why USB connected UPS device does not show up as /dev/ttyUSB0?

I'm connecting a Legrand Keor SP UPS device via USB to my Debian linux. The problem is that /dev/ttyUSB0 is not created therefore I cannot communicate with the device. After connecting I can see it ...
0
votes
0answers
28 views

g_mass_storage: module ready, but no device found

I try to setup g_mass_Storage to serve mass_storage device on my nanopi neo air with friendlycore (lichee) 3.4 onboard. Module successfully loaded and report, that it has reached ready state, but no ...
0
votes
0answers
16 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
24 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 ...
3
votes
1answer
58 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 ...
2
votes
0answers
72 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
18 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
86 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
1answer
172 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
26 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
34 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
36 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
61 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
215 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
41 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
153 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
21 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
174 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
14 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
177 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
7 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
562 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
94 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 ...
1
vote
1answer
402 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
21 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
920 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
20 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
535 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
40 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
27 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
1answer
71 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
352 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
92 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
223 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
33 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
78 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
50 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 ...
3
votes
1answer
52 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
60 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
2 3 4 5