Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [usb]

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

1
vote
0answers
12 views

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

Abstract: How to detach an external HDD that uses an on-disk write cache while the kernel thinks that it it writing through? Setting I use a WD-Elements external USB HDD of which hdparm -I says ... ...
0
votes
2answers
18 views

Disable automounting with commands in Xubuntu 18.04

I run a number of Xubuntu 18.04 machines, and set up more from time to time. I want to be able to turn off automounting of USB sticks with commands, so that it becomes an automatic part of my setup. ...
0
votes
1answer
19 views

(Debian) How to fix whatever nVidia's driver did to usb 2.0

OS: Debian Stretch Motherboard: Foxconn G33M02 I installed the package nvidia-driver using the instructions at https://wiki.debian.org/NvidiaGraphicsDrivers and on reboot, got a looping "over current" ...
1
vote
0answers
42 views

Fedora 28 new install, severe USB keyboard & mouse lag [closed]

I'm installing Fedora 28.1.1, after verifying the checksum of the download, on a brand new server with a Xeon E3-1275 v6 CPU, 64GB of 2400 Unbuffered ECC DDR4, Intel P630 integrated HD Graphics, and a ...
0
votes
0answers
9 views

USB/IP installation on Oracle Linux 7 for VirtualHere client

I am trying to use VirtualHere Linux console client on an Oracle Linux 7 box. However the client fails to start with an error: [root@hostname ~]# ./vhclientx86_64 modprobe: FATAL: Module vhci_hcd not ...
0
votes
0answers
46 views

Manjaro USB 3.0 transfer rate questionably slow

We have a fairly later(est) version of Manjaro linux xFCE, and we are trying to copy over 150 GB of data from a 1 terabyte HDD 5400 ROM to a Samsung external SSD T5 500 GB. It transfers at a whopping ...
1
vote
0answers
16 views

How can I force my pci card usb bus numbers to stay the same after reboot? [migrated]

I have a few identical usb sound cards and wrote a udev rule so they each get a persistent name matching the specific port they are attached to. Now I added a pci usb 3.0 card and that is playing ...
0
votes
0answers
24 views

Apcupsd on Debian stretch 9 no connection to UPS?

I'm trying to get apcupsd to work with my Ups (APC Back-UPS 700VA) with my server running Debian 9 stretch but can't connect to ups and get this when I run: rene@odroidxu4-share:~$ sudo apcaccess ...
0
votes
0answers
33 views

USB 3.0 HDD not recognized on USB 3.0 ports [closed]

I am running on Linux Mint 19.1 64 bits, generic kernel 4.15.043. I have two external USB3 HDD's that will not show anymore when I plug them into a USB3 port, but do show when I plug them in a USB2 ...
2
votes
2answers
53 views

USB Device not responding to set address

I have a built-in USB device that is not responding to setup address. It tries to set the device up continuously and fails continuously: wasting battery, CPU, disk space, etc. Is there a way to kill ...
0
votes
0answers
36 views

Did this dd command run too fast? [duplicate]

Usually people want to speed dd up but I want to slow it down, because I think there is something fishy going on with its speed. sudo dd if=hannah-montana-linux-amd64.iso of=/dev/sdb1 bs=512k 5988+...
1
vote
0answers
51 views

TP-Link TL-WN722N with Atheros AR9271 doesn't work on Debian 9 Stretch aarch64 (ROCK64)

I am trying to get my TP-Link TL-WN722N external USB wireless adapter with Atheros AR9271 working and I've tried everything I could find on the matter. I have firmware-atheros and all the firmware-* ...
0
votes
0answers
35 views

Fedora 29 no sound from a generic usb headset

I bought a generic usb headset (Generic USB PnP Sound Device), it has been detected by the system, I am using Plasma KDE by the way, but it worked for me once and for about a second and then nothing. ...
2
votes
2answers
36 views

USB drive with configured Debian

Is there a way where I could install needed apps on Debian, configure it and save this image to the USB stick so that I could easily and fast install my desired environment any time on any machine?
2
votes
1answer
67 views

USB 3.0 external hard disk only operating at 480 Mbit/s

When I attach my USB 3.0-Stick dmesg says: [ 3308.966755] usb 2-1.1: new SuperSpeed USB device number 5 using xhci_hcd [ 3308.987443] usb 2-1.1: New USB device found, idVendor=0781, idProduct=5583 [ ...
6
votes
2answers
403 views

Type of filesystem to put on USB storage, that is compatible with most OSs [closed]

I want to format a USB storage device from the terminal and I have found several formats to do it. It's the first time I'm going to do this and I have doubts. I want to do it well. I have these ...
0
votes
0answers
24 views

Access to USB device denied

I have a ColorHug ALS ambient light sensor that I use together with the DDC/CI interface of my display to automatically set the brightness of my displays just like every smartphone does. It is ...
0
votes
0answers
21 views

Add new configs for USB gadget driver on-the-fly

I am working with embedded board based on IMX6. Kernel 4.1.46. Board should act as mass storage drive when connected to PC. Right now, mass storage is implemented using configfs and works fine. ...
3
votes
1answer
78 views

What filesystem allows transferring files between Linux and OS X?

I have a file that is 12 GB that I am trying to copy from a MacBook Air to a Debian computer, using a USB. I tried formatting the USB in many different ways, such as NTFS, FAT32, OS X Journalizing but ...
3
votes
2answers
215 views

How to find kernel module for a given device?

I am trying to troubleshoot a problem: usb mouse doesn't work on a freshly installed linux. I suspect the problem is that there is no suitable kernel module/driver for my usb hardware. Indeed: $ ...
0
votes
0answers
10 views

Is my Speechmatic USB MultiAdapter recognized by the kernel?

Alsamixer shows my Speechmatic, but it doesn't work in any application. I have .asoundrc set to device 1, and it works with other USB sound cards, like my Logitech, but not this one. I think I have ...
0
votes
0answers
44 views

USB card reader does not work in Linux. Prolific driver missing?

When I plug the reader into USB port then it is not recognized by the system and the red LED in it keeps on glowing (as opposed to the situation when it is running properly and the LED is only glowing ...
0
votes
0answers
13 views

How to convert USB to ethernet frames and back?

Is there some easy way to convert USB frames to ethernet packets and converting those back to USB frames? The Linux network and USB stack can certainly do the former. That's how USB ethernet / wifi ...
1
vote
0answers
21 views

How to inspect and filter USB packets?

I'd like to filter USB packets coming from a USB wifi adapter so that the computer can only see specific wireless devices i.e.the "firewall" would filter out everything coming and going to wifi ...
0
votes
0answers
30 views

How to sniff a socket without using socat?

I would like to do socket sniffing, but I'm wondering what options there to do without using socat? I can't use that command, since it's not already installed (and I cannot install it). I thought ...
1
vote
0answers
15 views

boot time & usb

In a coming new system we need to have a very short boot time (up to 3 seconds). The system shall also have a USB connected to touch screen. We are afraid that the USB enumeration might take too much ...
0
votes
0answers
16 views

USB mmcblk support (realtek or others)

Can a USB card-reader ever appear as /dev/mmcblk0 and support the MMC ioctl commands? I see there are some kernel driver modules such as: rtsx_usb_sdmmc.ko (rtsx-usb-sdmmc) rtsx_usb.ko (rtsx-usb) ...
2
votes
0answers
35 views

Raspbian restart network without reboot

When I am using raspbian with a 4g USB modem, sometimes the network goes down and there is no option to bring back the network unless I reboot the raspbian. In such cases, I try: service networking ...
1
vote
0answers
26 views

Debian - USB mouse not recognized by X?

I can't seem to figure out how to properly configure my USB mouse: when I plug it, it simply gives no response, while the touchpad continues to work instead. System informations: Lenovo Z50-70 ...
0
votes
1answer
19 views

Integrating Z-Wave into Router

Although it is possible to add another box (Z-Wave hub)to home automation, it would be preferable to integrate Z-Wave communications functionality into a USB router. Are there any examples or ...
1
vote
0answers
53 views

When i plug in usb camera i get 2 devices

When I plug in the camera to Linux then I get 2 devices /dev/video0 and /dev/video1 Why is that happens and is that normal? Odd numbered devices do not work. /dev/v4l/by-path looks like that: ...
0
votes
1answer
20 views

Create Linux USB that can boot from any computers like the liveusb installer

From my understanding, when installing Linux on a USB, it's only guaranteed to boot on that machine, unlike the liveUSB installer. So my Dell laptop already has Linux on it's internal hard drive. ...
0
votes
0answers
10 views

Handling USB endpoint Zero Length Packet request in Linux Kernel USB driver

I have a test app which basically sends block of characters over USB by using NCM connection. When packet size is exact 512 bytes i see NCM is getting hung. By analyzing further i have found that it ...
1
vote
1answer
32 views

Busybox USB Ethernet adapter

I have an embedded device running busybox on an ARM 7 processor. How would I go about using a USB -> Ethernet adapter for network connectivity? Currently I only have a serial console. The system ...
1
vote
1answer
82 views

Can't permanently assign additional IP addresses to USB ethernet adapter via /etc/network/interfaces. Why?

I want to assign multiple IP4 addresses to a USB->Ethernet adapter in an Ubuntu 18.04 LTS system. I have removed netplan, since I find the yaml-based configuration even more obscure than the ...
-1
votes
1answer
34 views

How to move partition in a usb to the first position

I've Recalbox installed in the USB with 16 gb 3.0. It's partitionated in 4 because Recalbox needs at least 3 partitions, and it has a fourth partition of 5 gb that is called Documents. The problem ...
1
vote
0answers
26 views

Detecting misbehaving USB flash memory devices, that block the rest's IO

I'm using f3 and a custom Bash script to test USB flash memory in big amounts. A common problem I encounter is that some faulty drives would starve all the healthy ones for IO, effectively stalling ...
0
votes
0answers
28 views

Turning USB into a terminal

I have a hardware device that connects via USB without creating a specific /dev/something. It does change the time on /dev/ptmx and /dev/char but that's about it. All I know are the VID:PID of the ...
-3
votes
1answer
646 views

How to install nitrux os?

I would like to install Nitrux OS on my computer, which I like because of its beautiful design. I currently have Ubuntu installed, downloaded the Nitrux ISO and would now like to create a bootable USB....
1
vote
0answers
51 views

USB-C AlternateMode not working even after upgrading kernel to 4.19

I have been trying to use an external display with my hp-envy-13 running ubuntu 18.04 for a while now. I was expecting that kernel 4.19 would have the support but it still does not seem to work. The ...
0
votes
1answer
179 views

USB boot on NTFS system, grub error: unknown filesystem

I followed online instructions on setting up a USB bootdisk with rufus-3.3 to install Linux Manjaro, after setting everything up I get the following error: So far two versions of the Manjaro - from ...
3
votes
0answers
39 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-...
-5
votes
1answer
36 views

why can't I instialize the struct member fields separately?! (In USB device driver) [closed]

I'm trying to implement usb device driver. I've wrote #include<linux/module.h> #include<linux/kernel.h> #include<linux/usb.h> struct usb_device_id IDtable[]={ {USB_DEVICE(0x067b,...
1
vote
1answer
142 views

USB-C to DisplayPort Adaper still not recognised in Linux kernel 4.19

I use Ubuntu 18.04 and upgraded to Linux kernel mainline 4.19.2 with ukuu, which purportedly supports DisplayPort alternate mode for USB-C. alex@gta-65:~$ uname -a Linux gta-65 4.19.2-041902-generic #...
1
vote
0answers
38 views

Make the TTY console ignore the /dev/input/event3 keyboard

I have a remote control IR USB receiver, but it acts just like a normal keyboard. I'm reading the input from /dev/input/event3 to handle events. Because of this I need a way for the TTY console to ...
1
vote
1answer
31 views

How Do I Find The Mobile Provider From 4G Dongle?

I have two or more 4G dongles connected via USB. I have set up multiple configuration files (one for each provider), but short of a visual inspection (which for this project won't be possible in the ...
0
votes
2answers
49 views

Writing file to specific USB device

I am looking to write the output of cat /var/log/dpkg.log to a file rather than viewing on the screen. I have tried cat /var/log/dpkg.log | file.txt without any success. Ultimately I want ...
1
vote
0answers
69 views

How to get my device recognized as an HID device?

I'm trying to get a USB HID device to work in Ubuntu, but can't seem to get it to work at all. It is a USB HID device, and shows up as such in dmesg: [ 2236.277518] usb 1-1: new full-speed USB device ...
2
votes
0answers
44 views

Qubes OS USB drive with boot partition broke

I had the boot partition of my Qubes installation on an external USB drive but it broke and I could save the files. How can I make a grub2 boot partiton to boot the OS again?
0
votes
1answer
70 views

SYMLINK For usb devices

I am trying to use 4-6 differnet usb dongles to communicate with hardware from my RPI. I want to give them a static name that I can refer to such as modbus, dmX, arduino1, rpiZero and so on. ...