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

learn more… | top users | synonyms

5
votes
1answer
904 views

How to be notified when a USB device was plugged?

My system have to auto-mount for usb devices, how can I be notified when a usb device is plugged? Where can I read more about? I would like to treat that using shell script or C.
5
votes
1answer
254 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 ...
5
votes
1answer
1k 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
633 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
2k 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
3answers
5k views

Howto read SMS stored on a SIM card?

I have an old phone with a telephone card (SIM card) inside. The telephone has an infrared interface on the side. I want to read out my contacts and stored SMS messages from the phone, either via ...
5
votes
1answer
879 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
1answer
2k 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
727 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
251 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 ...
4
votes
3answers
2k 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
570 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
3answers
19k 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 ...
4
votes
1answer
4k 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 ...
4
votes
2answers
7k 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
263 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
3answers
701 views

How to remove a USB drive without worrying if its been unmounted?

Sometimes I unplug my usb drive only to find out files were not written to it. I suppose the only way to ensure files are written to it is to right click on the USB drive on the desktop and then ...
4
votes
3answers
670 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
1answer
1k 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 ...
4
votes
2answers
679 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 ...
4
votes
2answers
122 views

How can I enable access to USB devices within VirtualBox guests?

I cannot see any USB devices within my VirtualBox guest VMs from my host. How do I enable access for my guest VMs? ...
4
votes
3answers
257 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 ...
4
votes
4answers
2k views

When installing linux on USB Drive, which filesystem should I use to format for best performance?

I'm planning on installing Linux on a USB drive, and I was wondering which filesystem I should use to format the drive for best performance (overall responsiveness), and life of the drive?
4
votes
2answers
1k 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 ...
4
votes
2answers
399 views

Is it normal that a restart is required to mount USB after a kernel upgrade?

Sometimes I see the Linux kernel being mentioned in the list of upgrades, when running pacman -Syu (updating my packages in Arch Linux). Whenever this happens, after installation of the packages, I ...
4
votes
2answers
6k views

Difficulty with mobile broadband device being recognized (registered as CD ROM)

I am running Ubuntu 10.04 LTS on a Samsung n150 netbook. I have bought a vodafone pay-as-you-go mobile broadband dongle. It is a Huawei device. I have *usb_modeswitch* installed. I installed betavine ...
4
votes
3answers
1k 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 ...
4
votes
1answer
52 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
1answer
1k 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 ...
4
votes
4answers
5k 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 ...
4
votes
2answers
6k 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 ...
4
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. ...
4
votes
2answers
54 views

USB set to /dev/sda instead of /dev/sdb

I've been trying to use a kickstart file to guide the Red Hat installer (RHEL6.5) without user intervention. It correctly looks for the kickstart file in /dev/sdb/fs.cfg, but because the USB is ...
4
votes
1answer
478 views

What kind of bad things can happen if I disable APIC (not to be confused with ACPI)?

I'm dealing with some really old point-of-sale machines that run a point-of-sale flavour of SuSE 9. It turns out that its kernel is affected by an old bug that makes USB 2.0 functionality unstable ...
4
votes
1answer
1k views

How does the Linux kernel decide how much bandwidth to allocate to Isochronous USB endpoints?

As far as I'm aware, USB endpoints that use isochronous transfers have a 'wMaxPacketSize' parameter associated with them that is used by the kernel to guarantee a certain amount of bandwidth for the ...
4
votes
2answers
2k views

udev rules don't appear to be working

I'm running Arch Linux on my server, and I need to let users of the group usb access my weather station. Here's my rule: /etc/udev/rules.d/usb-70.rules SYSFS {idVendor} == "1941", SYSFS {idProduct} ...
4
votes
2answers
55 views

Finding an USB device path

Recently I saw this command posted on the internet: ls -l /dev/disk/by-label/ It worked, but I'm concerned, does it work on other Linux distros? How can I find USB device on the computer where USB ...
4
votes
1answer
121 views

USB device messages flooding dmesg (and console)

When USB mouse is plugged into my laptop, dmesg is flooded with following messages: usb 3-1: USB disconnect, device number 28 usb 3-1: new low-speed USB device number 29 using xhci_hcd usb 3-1: New ...
4
votes
1answer
595 views

udev rule for assigning known symlinks for identical usb serial devices

I have two (and possibly in the future, more) USB serial devices which are identical (down to the serial number, unfortunately) - they're actually BTC miners. Currently they end up as ttyUSBX where X ...
4
votes
2answers
119 views

Can I read/write from/to the USB device that does not enumerate any device in /dev?

I'm using a Texas Instruments MSP430F5529 Launchpad, but it is probably not important. This device upon connection enumerates 2 ACM devices: /dev/ttyACM0 and ttyACM1. Once upgrading firmware something ...
4
votes
1answer
2k 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 ...
4
votes
2answers
3k views

Cannot change baud rate on usb serial device

I recently upgraded to ubuntu 12.04 from 10.04. Under 10.04 I had no trouble using usbserial driver to connect to a device through the serial port. After the upgrade usually I cannot reset the baud ...
4
votes
2answers
868 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 ...
4
votes
1answer
2k views

Udev triggers are not firing on insert of CF card into USB card reader (anymore)

I've got a udev rule that triggers a shell script that copies photos off my CF card when I insert the card into my USB card reader. This worked fine for a while. But after a recent upgrade it has ...
4
votes
1answer
1k views

Linux support for new Sony Vaio Z external graphics card?

The new Sony Vaio Z series laptop comes with a media dock that has a USB connection (Light Peak) to an external AMD Radeon graphics card. What is the support for devices like this in Linux?
4
votes
1answer
147 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 ...
4
votes
3answers
2k 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 ...
4
votes
0answers
32 views

automatic disconnection of RAID array

A RAID array connected to my system (Debian 7) via USB frequently disconnects itself for no apparent reason. Upon initial connection to the system, the device is detected, and the array can be ...
4
votes
0answers
1k views

How do I find out the device node corresponding to my device in SuSE 8?

I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...