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

learn more… | top users | synonyms

7
votes
1answer
5k views

Modules for USB wireless adapter missing?

I have an USB wireless adapter that is recognized as: # lsusb ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter. I am using this adapter on a device that has a much slimmed down kernel ...
7
votes
2answers
3k views

Booting from install disk, no USB keyboard

I'm trying to install Arch Linux on a new system with a Gigabyte GA-Z87N-WIFI board. Although I can use the USB keyboard (and mouse) in the BIOS, the keyboard doesn't seem to work at all once I boot ...
6
votes
2answers
134 views

Why does it take so long to detect an usb stick?

I'm writing an initramfs-script and want to detect usb-sticks as fast as possible. When I insert an usb 2.0 stick, the detection of idVendor, idProduct and USB class happens within 100 ms. But the ...
6
votes
1answer
34k views

How to read/write to tty* device?

I have a device that sends information over USB to my computer. Arch Linux sets up this device by creating a file named ttyUSB0 in /dev/. I have been using GTKterm to receive this incoming information ...
6
votes
3answers
15k views

How to check if an USB device is present without lsusb?

I want to see if an USB device is present but I don't have lsusb. Is there another way to check if an USB device is present without having to use lsusb?
6
votes
3answers
7k views

Mount USB (FAT) in Gentoo

Can somebody show me how to make Gentoo mount my USB? This is what I got when trying mount /dev/sdb1 /mnt: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage ...
6
votes
4answers
376 views

Is it possible to use pendrive as key for Linux system

I want to give high security for my linux box. So i planed to use my pen drive as key for my linux box. How can i do it ?
6
votes
1answer
9k views

Why doesn't this udev rule trigger upon removal of the device?

I have two mice, one which has an issue where the middle mouse button and button6 get triggered simultaneously. So I configured my ~/.Xmodmap to disable this button. At the same time, however, I ...
6
votes
1answer
3k views

Query USB current

How can I obtain information about the amount of current negotiated by a device attached to a USB port? I am looking for information similar to this presented by OS X in terms of current available ...
6
votes
4answers
6k views

Prevent claiming of novelty usb device by usbhid so I can control it with libusb?

I have a USB rocket launcher that I wish to experiment with through libusb. However, libusb cannot claim the interface; presumably because the output of usb-devices lists 'usbhid' as the driver for ...
6
votes
1answer
2k views

How to distinguish input from different keyboards?

I want to write an application in Python that you can use with your default keyboard and a specially designed one for the application. I will design it simply by using a small numerical keyboard with ...
6
votes
2answers
5k views

how to disable USB devices based on vendor id in Linux environment?

I want to disable usb devices based on vendor id in Linux environment. I want to allow only specific USB devices, based on vendor id.
6
votes
1answer
2k views

Installing FreeBSD from USB-Stick boots but later can't find the USB-Stick

When trying to install FreeBSD 8.2 from USB memory stick the kernel boots from the USB-Stick and the installer menus work and let me partition and everything. However when it comes to actually ...
6
votes
2answers
11k views

How to avoid powering down certain USB devices when a machine is suspended

I'd like to maintain power supply to a USB-powered drive when the system goes into suspend (AKA S3 or "suspend-to-RAM") mode. Normally the power is cut while the machine is suspended, which causes it ...
6
votes
1answer
1k views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. On that system I have one USB 3.0 port. In this port I am trying use my USB 2.0 device, but every time when I plug in that USB 2.0 device into the USB 3.0 port, the ...
6
votes
2answers
3k views

Creating bootable usb stick with NetBSD installer on Linux

How can I create bootable usb stick with NetBSD installer on Linux? I tried to use UNetBootin, but on download list there is only 4.0 version and when I select my ISO with 5.1 version it doesn't work ...
6
votes
1answer
8k views

Two usb wifi adapaters, only wlan0 appears, how to get wlan1?

I'm attempting to connect two wifi usb dongles to a debian system, one is to connect to a local lan, the other I plan to use in adhoc mode to connect to a specific device. You could look at this as an ...
6
votes
1answer
551 views

Can I make a USB port on my Linux computer look like a mass storage device?

I'm running Kubuntu 12.04 on my PC. I want to make one USB port on my computer appear as if it is a USB mass storage device to other devices. In other words, something connected to this USB port will ...
6
votes
3answers
5k views

USB performance/traffic monitor?

First of all, I found a similar question but it doesn't really solve my problem. I am trying to discover if the USB bus for a device I am using is the bottleneck in my program. How can I monitor a ...
6
votes
2answers
2k views

Support for usb 3.0?

I could not seem to find the question here but I was wondering what experience if any users have had with USB 3.0? My asus p5x58d has usb 3 on it but I have yet to try it out and also do not know ...
6
votes
1answer
473 views

Disconnect and reconnect USB port via cli

I have a mouse that will stop working randomly. The solution is easy, unplug and replug. Is there a way I can do this via the command line though? Doing via command line has a few advantages. ...
6
votes
1answer
6k views

Getting my Smart Card reader to work on Linux

I got a Smart Card reader, that I ripped from a Laptop the other day. It is an internal Smart Card reader, though it uses USB, so making a cable for it, was no problem. It seems it's recognized by ...
6
votes
1answer
1k views

How to make a system lock when the USB pendrive with authentication key is removed?

Say, I have USB drive authentication up and working. So far, so hoopy. But now I want to take the next step, which is locking the machine when I eject the medium. I know there is udev I can script, ...
6
votes
1answer
3k views

“usb 3-2: can't set config #1, error -110” - USB keyboard works in Windows 8 laptop but on PC only until Linux boots

I tried 2 new USB keyboards that work until Linux starts booting. When booting I saw: [ 8.365211] usb 3-2: New USB device found, idVendor=1a2c, idProduct=0b23 [ 8.404863] usb 3-2: New USB ...
6
votes
3answers
1k views

Detection of USB Modem is unstable - how can I correct this? [closed]

I am using Huawei 3G USB Modem in Ubuntu 12.04 LTS on DELL Inspiron NS5520. I tried every possible solution but had no luck. Whenever my USB Modem disconnects, I can not re-connect it and then I have ...
5
votes
3answers
882 views

How to get my USB key to auto mount

I'm currently working in a command line only environment. When I plug my USB key in, I see a new device file in /dev: ... sdi sdi1 ... If I simply sudo mount /dev/sdi1 /media/tmp, and umount it ...
5
votes
6answers
9k views

Disable USB power for USB controlled power strip

I have a USB controlled power strip that has a single usb port. If my computer is turned on and connected via usb to the power strip, the power strip will provide electricity to all the sockets. I ...
5
votes
5answers
3k views

How to check if the ISO was written to my USB stick without errors?

I followed these DebianEeePC HowTo InstallUsingStandardInstaller instructions at the Debian Wiki, to write a Debian ISO to my USB. dd if=debian-*-netinst.iso of=/dev/sdX Using sha1sum, I can check ...
5
votes
4answers
40k views

How to create a bootable USB stick with Debian Squeeze

Using Ubuntu, I want to install Debian Squeeze on my PC with a bootable USB stick. I found this tutorial: Plug the usb key in order to find the device location: $ df -k /dev/sdb ...
5
votes
3answers
3k views

Watch USB connections vendor id, product id, revision

I'd like to simply watch all devices added and removed from my system and view their USB vendor ID, product ID, and revision and other relevant information. How can I do this in Linux? Is there a ...
5
votes
1answer
2k views

Writing raw images safely to USB sticks

Trying lots of different linux, on all kinds of hardware I find my self typing commands like this quite often: sudo dd if=xubuntu-13.10-desktop-amd64.iso of=/dev/sdc bs=10240 Needless to say, ...
5
votes
1answer
7k views

List USB ports in linux

I want to list usb ports in linux and then send a message to the printer connected to it. That message is sensed by the printer to open the cash drawer. I know I can use echo - e and a port name, but ...
5
votes
4answers
1k views

Light up a LED through USB

Hey, so I'm just playing around with a usb cable and an LED. I plugged in the usb to my computer and connected ground with the LED ground and the last usb pin (+) to the LED. It stays lit bright. I ...
5
votes
3answers
3k views

Best practice to backup a LUKS encrypted device

What's the fastest method to backup and restore a luks encrypted device (e.g. a full encrypted usb-device to a image-file). The usb-device can be decrypted/accessed. I'm looking for a solution to ...
5
votes
1answer
4k views

usb kernel module does not load on demand but works fine with insmod and modprobe from the shell

I have a USB Linux Kernel module that compiles and builds. Running insmod loads my module and dmseg and tail -f /var/log/debug shows me it works as expected. Running depmod -a then modprobe from the ...
5
votes
2answers
5k views

Use an USB tethered phone as network adapter

I am running CentOS 6 and was able to tether my HTC phone using a proxy called proxoid . This allows me to redirect HTTP. But how do I redirect the entire TCP traffic, e.g. if I need to setup openvpn ...
5
votes
3answers
2k views

Installing Fedora from USB key

How do I load a Fedora DVD iso onto USB so I can install it from there. I've tried dd as in here: Fedora instructions but for some reason this didn't work. Here's what I've tried: sudo dd ...
5
votes
2answers
5k views

bluetooth mouse disconnects

I'm using Debian Jessie (testing). I have a bluetooth mouse (Microsoft Sculpt Comfort) and I can pair it and use it ok, but after some time of inactivity (around 10 minutes) it stops working, I have ...
5
votes
3answers
8k views

Can't create a bootable (live) usb flash for arch linux

I created a bootable usb from which I was going to install Arch. I did this the following way: sudo dd if=/path_to_arch_.iso of=/dev/sdX But when I tried to boot from this usb flash, I failed. ...
5
votes
3answers
26k views

Run CentOS 6 from a USB flash drive

I have a 16 GB USB flash drive that I would like to install CentOS 6 on so that I can boot into it on other computers. The reason for this is because I am going to be upgrading to VPS hosting and I ...
5
votes
3answers
15k views

How can I match a ttyUSBX device to a usb serial device

option driver correctly matched USB ID and loads driver for this device. For example # lsusb Bus 001 Device 002: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636 Bus 001 Device 003: ID 12d1:14ac ...
5
votes
1answer
2k views

How do I create a USB image with a partition table?

I want to create an image of some directory tree that is writable directly to an USB drive, just like the images of many linux distributions. For example, with openSUSE you can download an ISO image ...
5
votes
1answer
3k views

ddrescue extremely slow on USB hard drive

I'm recovering the HDD from my laptop that died (wouldn't boot up at all, Disk Utility reported that there were no problems, but wouldn't mount the disk). I've hooked up the HDD through the USB ...
5
votes
4answers
8k views

Determine the USB port to which my Mobile is connected?

I tried the following commands, but couldn't find the name of USB port $ lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 ...
5
votes
3answers
5k views

Change /dev/sd* for USB Linux install?

I am trying to install Scientific Linux 6.1 (which is literally RedHat Enterprise Linux without the branding) by booting its installer from my USB drive. The installer starts fine, but two things ...
5
votes
1answer
1k views

How to be notified when a USB device was plugged in?

My system has to auto-mount USB devices; how can I be notified when a USB device is plugged in? Where can I read more about this subject? I would like to handle this problem via C or a shell script. ...
5
votes
1answer
5k views

What is the easiest way to boot Linux from a USB drive on Intel Mac?

I would like to boot an Intel Mac from Linux on an external USB drive. Right now, I have install rEFIt and use grub on the internal hard disc to boot the external drive. That seems pretty complicated. ...
5
votes
1answer
2k views

USB 3.0 ports not working

I have a Sager NP8130 notebook with two USB 3.0 ports which I cannot get to work in any linux distros I've tried. The distros I've tried so far are the latest 64-bit (where available) versions of the ...
5
votes
1answer
781 views

How to understand Hot plugin mechanism for a USB in an Android stack?

I want to know where I could get some material to study USB hot plug-in mechanism in Android Stack. I tried googling many a times, but din't find anything useful.
5
votes
1answer
4k views

Monitoring USB traffic

Kernel version: 2.6.31-22 I wish to monitor the USB traffic to and from a device. I've searched, but different sites seem to give different information and I'm confused. Some sites suggest that I ...