Stack Exchange Network

Stack Exchange network consists of 175 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
19 views

Determine which device was assigned to a USB modem?

I'm testing a Tinker board, which is an ARM gadget running Debian 9.8. I inserted a USB modem. It appears the modem was detected but I can't find a device for it: [ 8178.815663] usb 1-1.1.5: new full-...
2
votes
1answer
52 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 ...
0
votes
0answers
11 views

Create udev rules to run a shell script after insert an USB device

Actually, I have two lines of rules in my rules.d folder: SUBSYSTEM=="tty", ATTRS{idVendor}=="23b8", ATTRS{idProduct}=="0005", SYMLINK+="ttyACM-Daruma", MODE="0777" SUBSYSTEM=="tty", ATTRS{idVendor}==...
0
votes
0answers
22 views

Plugging USB causes parallel port to hang

I am developing a parallel port C++ application (on Ubuntu 18.04). Whenever a USB is plugged into the PC while the application is running, it causes one of the following ioctl calls to hang forever. ...
0
votes
0answers
14 views

USB disk disconnects when exchange quite high data

I have an embedded PC (based on Atom Z3735F with a 32 GB eMMC for o.s.) that I use as NAS with OpenMediaVault 4.1.2-1. On an USB port I connected a 1 TB Hard-disk for storage. Whenever I do something ...
-1
votes
0answers
14 views

USB transfer problems 99%

So I am having a strange problem on my pc running linux mint cinnamon 3.67 running kernal version 4.10.0-38-generic. When I try to copy files to a USB it says its copying @110mbps even if its a usb2....
0
votes
0answers
8 views

Ubuntu unable to recognize any usb device after update/upgrade including printer

I have been using and updating ZorinOS for 3 months. In the last update, It stopped recognizing any usb device after the update/upgrade. I have inserted different types of usb flash drive, usb ...
0
votes
1answer
24 views

How to change write permissions to a usb

I just installed debian 9 stable and I need to remove the read only permission from my usb. I used the usb to install the os and after the setting changed itself
1
vote
0answers
31 views

Problem with USB device on Debian

I used to be able to plug my USB headphones in and out without an issue. I occasionally had to use the Sound section of settings to reset the device back to my headphones, but that was it. Today, I ...
0
votes
2answers
21 views

Copy specified subdirectories

I have a bunch of folders in an external HDD and I want to copy a part of them. The folders have the following structure: A001A A003A A004A etc... ...and all the folders contain similar directories ...
0
votes
0answers
30 views

I have the latest Kali installed on Feb22,2019 (4.19.0) ,which usb wifi adapter should I use [duplicate]

I have bought a usb adapter with this identification (0bda:f179 Realtek Semiconductor Corp). but it didnt work on VMware station kali linux, so on the local market there are two other usb devices; TP ...
0
votes
1answer
40 views

Possible to force udev to create specific device event number, or change device event numbers

I have a kernel module that reads usb keyboard input specifically from /dev/input/event2 and /dev/input/event3. On some devices the keyboard doesn't get assigned event2 and event3, it gets assigned /...
-1
votes
0answers
27 views

USB CDC-ACM class throughput testing on Linux OS

I have a development HW where there are THREE ACM interfaces gets enumerated when connected to Ubuntu host. Interfaces are /dev/ttyACM0, /dev/ttyACM2, /dev/ttyACM3. I would like to test the ...
0
votes
1answer
75 views

Firewall-like software for udev usb devices?

O.MG Cable is here and the way technology is going, more of those devices will be available to the common user. This kind of USB attack isn't new and there is plenty of devices out there ready to do ...
0
votes
0answers
15 views

Is usbtop accurate?

I am trying to see how much bandwidth is being used up by my webcam. Its raw video YUV2 at 1920x1080 so I expected roughly 20MB/s. usbtop gives me this: Device ID 2 : 141.73 kb/s ...
1
vote
0answers
81 views

Can't suspend Debian machine: wakes up immediately after sleep (“PM: Device usb1 failed to suspend async”)

Since I installed the latest Debian updates yesterday (udev, systemd, ...) I can't put my Debian 9/KDE machine to sleep. It wakes up immediately after suspending (systemctl suspend). /var/log/syslog ...
0
votes
0answers
23 views

How do I get snd-usb-audio to detach from a device?

Context I'm working on a reverse-engineered controller for an Arturia AudioFuse over at https://github.com/rhofour/audiofuse-cli that uses libusb (through pyusb). I'm able to find the device, detach ...
0
votes
0answers
33 views

tcpdump usbmon module output explained

Running the command: tcpdump -qAXni usbmon3 -s 0 I am getting this output: 02:32:04.781964 BULK SUBMIT to 3:16:4 What does the last number after the colon (4) represent? How can I identify it in ...
2
votes
0answers
31 views

How to make /dev/input/mouse0 accessible for wine?

I have a gaming mouse (specifically Genius DeathTaker) and its Windows driver. The configuration app (e.g. setting the meaning of the buttons) runs fine under wine. However, when I click "Apply", ...
3
votes
0answers
22 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'....
0
votes
0answers
33 views

JMicron Sata-USB Adapter not working on Ubuntu

I have a SATA-to-USB reader which is not working with this workaround (but a CFast Card reader is working fine with the same fix). With "dmesg" I see usb 4-1: new SuperSpeed USB device number 2 using ...
0
votes
0answers
17 views

How to diagnose the difference in OS performance between installation media?

I have two different USB sticks, a 128 GB Samsung and a 64 GB SanDisk. I used Gnome Disks to benchmark both of them and the Samsung one was supposedly better, it had faster read and write speed but it ...
0
votes
0answers
23 views

Cross plaform encryption of USB key (securefs Sirikali)

I'm in the need of: a) a folder based encryption mechanism like securefs, encfs on my USB key b) cross platform (linux and windows) c) has the binary on the USB as I can't have install software on at ...
0
votes
0answers
31 views

CentoOS 7 Samba Share USB NTFS

Cannot seem to find an answer which includes all of the specifics of my situation. I followed instructions in Sharing a mounted drive with samba on CentOS7, but still have a problem. I have CentOS 7 ...
1
vote
1answer
18 views

Method to automatically email if a drive goes offline (or a USB port is restarted)

Is there a quick and easy method to send an email (I already have automatic emails coming from the server for other events - I just need to be able to send one for this specific event) if a USB port ...
3
votes
1answer
396 views

Determine free space available on a USB flash drive in C (linux)

I would like to figure out the available free space on a USB flash drive in a C program in Linux. I have earlier used system("df -h /dev/sda1") to figure it out but using system command in a Linux C ...
0
votes
1answer
30 views

Passthrough Sonnet USB-C card to Windows guest via KVM and vfio

I am trying to passthrough a USB card to a guest, but I can't seem to make the VFIO driver stick, instead it seems that the host loads and takes over the card. I have a GPU successfully passed through,...
0
votes
0answers
24 views

Wireless Issue with Rtl8188su Chipset USB dongle

I am unable to see any wifi networks. I WAS able to when I installed it at first, though I could still not connect to them, it was saying it needed passkeys or authentication (this I have obviously). ...
4
votes
1answer
38 views

How do I simulate /proc/sys/kernel/grsecurity/deny_new_usb without grsecurity?

How do I flexibly enable and disable plugging in new USB devices (running driver code responsible for those devices) at runtime without Grsecurity patch? Are there other approaches or alternative ...
1
vote
1answer
55 views

Detect if USB disk is mounted in C application in Linux

I would like to check if USB disk is mounted in a C application. I know that in a script I can accomplish this via mount | grep /mnt (the mount point where udev mounts the USB drive) but I need to do ...
0
votes
0answers
11 views

Backup from Linux to a cifs USB drive in a Netgear router

I have a Netgear WNDR4500 (N900), with a USB drive from Sandisk formatted as cifs. I can map it as a drive from Windows, and it works fine. When I boot lubuntu 18.10, and try to mount it so I could ...
1
vote
0answers
31 views

Send to USB attached touch screen monitor with xrandr

I have a project which involves buying a 5'' inch USB Touch Screen (from Raspberry Pi) to create an "info" screen: to control brightness, volume, current music, open shortcuts, etc... I have the ...
1
vote
0answers
28 views

How can you add an USB OTG port to the average mainboard?

OTG ports are mostly used on ARM devices like smartphones or single board computers. Is there some way to add this functionality to the average desktop or laptop mainboard? There are addon cards like ...
1
vote
1answer
36 views

How to filter wireshark output data to only view ttyUSB0 data?

I'm Using Wireshark on Ubuntu 18.04 to monitor my ttyUSB0 USB port output as I'm developing something that requires that. On the website, I found how to get it to sniff USB ports but the output is ...
1
vote
1answer
371 views

Can't create bootable USB with WoeUSB

When I try to create a Windows 10 bootable USB on my Linux Ubuntu 18.04 with WoeUSB it gives me this error: Installation failed! Exit code: 256 Log: WoeUSB v@@WOEUSB_VERSION@@ ========================...
0
votes
1answer
80 views

Does my Wireless USB Adapter support monitor mode? [duplicate]

I have a TL-WN721N Wireless USB Adapter and it has Atheros AR9271 2.0.0.32 driver version. Is it possible to send packets and set the mode to monitor with this adapter chipset? I read on a post and it ...
0
votes
0answers
37 views

How to resume the USB device after selective suspend configuration in Ubuntu host

I have Linux based development board on which DWC3 USB controller driver is present. I have implemented Link Power Management(L2 state) in the usb driver. Ubuntu is the host which on which my ...
1
vote
0answers
35 views

USB drive not useable right after Debian installation

I have encountered an interesting scenario. I have some Debian Live CD images (I have tried debian-8.11.0-amd64-netinst.iso, debian-9.6.0-amd64-netinst.iso and some custom images I built using live-...
1
vote
0answers
58 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 ...
0
votes
2answers
64 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
27 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
78 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
18 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
106 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 ...
0
votes
0answers
49 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 ...
2
votes
2answers
398 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
41 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
148 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
169 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
44 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?