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

learn more… | top users | synonyms

6
votes
1answer
2k 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
2answers
2k 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
3answers
959 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
7k views

How to interpret the output of 'lsusb' — What are all these Linux Foundation root hubs?

I recently found out about the lsusb command while troubleshooting a headset issue.. My laptop runs debian and doesn't have anything plugged into USB currently, but when I run the "lsusb" command, I ...
5
votes
3answers
774 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
8k 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
4answers
33k 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

USB to VGA on Linux

I've been offered a Macbook Pro mid-2012. Although it wouldn't have been my first choice it's still a great piece of hardware, only problem for me is that it only has a single Thunderbolt port ...
5
votes
1answer
1k 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
6k 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
997 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
4answers
351 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 ?
5
votes
3answers
1k views

How does libusb access kernel stuff?

From what I understand: Generally speaking, a driver runs in kernel space and can be called from user space. Only code in kernel space can call usb low level things / ioctl libusb is a library, so ...
5
votes
3answers
2k 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
2answers
8k 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?
5
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 ...
5
votes
4answers
4k 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 ...
5
votes
2answers
4k 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
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
1k 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 ...
5
votes
2answers
9k 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 ...
5
votes
2answers
4k 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.
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
4k 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
733 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
3k 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 ...
5
votes
2answers
40 views

Restrict USB access on a Debian

Is it possible to restrict the permissions of USB ports on a Debian (Linux) system ? For examples : Suppressing the ability to plug any kind of material excepted USB key? Giving the ability to ...
5
votes
1answer
403 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 ...
5
votes
5answers
18k views

Ubuntu 13.04 does not recognize USB drive

Using Ubuntu 13.04 (with Gnome 3), my new USB stick (details see dmesg/lsusb) doesn't show up automatically. Situation: The drive does not show up at fdisk -l The drive does appear when running ...
5
votes
2answers
1k views

Does the filesystem influence flash drive speed?

I'm currently filling up an empty 16GB flash drive which gives me a lot of time for imponderables. It's formatted as fat32 or whatever it came with (and I'll probably leave it that way for ease of ...
5
votes
1answer
1k views

Samson Meteor Mic under Linux/ALSA

Has anybody gotten a Samson Meteor Mic working under Linux/ALSA? I tried to google it but I found no mention of Samson Meteor under Linux at all. Kernel/ALSA/Audacity see the device. Unfortunately I ...
5
votes
3answers
4k 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 ...
5
votes
1answer
4k views

Unable to boot Chromium OS from USB drive

I have tried both my own builds of Chromium OS and Hexxeh's daily Vanilla builds, and neither work. I copy them over to my flash drive, but when I try to boot from it, nothing happens except my ...
5
votes
1answer
1k views

Configure fstab for a bootable usb

I'm trying to clone a partition and make it a bootable usb. I've made two ext3 partitions (just like the installation I'm cloning). The first one is small and has grub/ and the kernel. The second ...
5
votes
1answer
2k views

Problem installing Debian wheezy from USB stick

I try to install Debian wheezy on my IBM ThinkPad X40 2372-CTO via USB stick. First i do zcat boot.img.gz > /dev/sdb with this image. After that i do cp debian-*-netinst.iso /mnt/sdb with this ...
5
votes
1answer
379 views

UEFI boot Fedora from USB 2.0 on 3.0 port (l75d-a7280)

I'm trying to make a bootable usb in ubuntu for fedora, but my settings are not working. I formatted the USB with FAT & Ext4, MBR, and Legacy BIOS bootable. My BIOS allows the USB 3.0 controller ...
5
votes
1answer
4k 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 ...
4
votes
3answers
4k views

How can I format a thumb drive so that I delete all existing files?

I have a usb thumb drive that I want to reuse. How can I format it?
4
votes
2answers
1k views

How can I trigger an event in shell script when an USB device is removed?

I need to do some actions when a specific USB device is removed/added. I need a fast response on the order of milli-seconds. How can I do this in a shell script?
4
votes
2answers
10k views

ttyUSB0 permission changes after restart

I'm trying to install a device. I plug in the device which creates a ttyUSB0 file. When I open it in the program I need it for, it says the permission is denied. I type in terminal sudo chmod 666 ...
4
votes
3answers
587 views

Send a specific signal to an external USB keyboard? Or, how do I fix fdopen()?

Some background: I'm trying to make the caps lock light on an external keyboard light up on-command when I run a command from the command line. Ideally it would be scriptable, so that I can use it for ...
4
votes
2answers
19k views

How to automatically mount an USB device on plugin-time on an already running system?

I know how to use /etc/fstab to automatically mount devices on boot or when doing sudo mount -a, which works perfectly fine. For example, here is my current line for my device UUID=B864-497A ...
4
votes
3answers
159 views

What filesystem should be used when transfering files between Linux systems?

I often need to move files between two Linux computers via USB. I use gparted to format the USBs. When I formatted the USB to use FAT32, the USB was unable to copy symlinks, so I had to recreate the ...
4
votes
1answer
2k views

How to dump USB traffic?

I got an USB gamepad and I would like to see and inspect the signals and commands that this peripherals is actually sending to my PC/kernel: how I can do that ? I was assuming that something like ...
4
votes
3answers
2k views

How do I share an internet connection through USB?

I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I ...
4
votes
2answers
774 views

Can I easily remount an external USB drive without unplugging it?

Sometimes, a USB drive (or equivalent) that I have plugged in to my machine gets unmounted. Now, I know I could unplug it and plug it back in to remount it, but is it possible to easily do it from ...