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

learn more… | top users | synonyms

4
votes
2answers
341 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
2answers
7k 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
1answer
7k views

Understanding udev rules and permissions in libusb

I had a problem with my scanner. Xsane worked only as root. Using it as normal user it didn't find any devices. Adding the user to the groups saned or scanner didn't help. Finally I solved the ...
4
votes
1answer
3k 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
2k 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
5k views

How creation of new USB device file in /dev/bus/usb/001/ directory work?

I noticed that every time I connect a USB device, a new device gets created in the /dev/bus/usb/001/ directory. Further on each reconnection of the same device, the "Device Number" and "ID" change. ...
4
votes
2answers
5k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
4
votes
1answer
592 views

WD 'elements' disk spins down, disappears

I have a 1TB Western Digital Elements USB drive connected to a sheeva plug with Debian installed. I use autofs for auto mounting USB drives. Here are the options I currently use. usb1 -fstype=auto,...
4
votes
1answer
72 views

Safely remove usb from linux device [duplicate]

I am using a USB with an embedded device running linux. The issue is that in some cases when I unmount the usb by giving the command umount /media/sda1 the unmount is successful but when I proceed to ...
4
votes
0answers
114 views

disable a usb port in linux

I've searched a lot for an answer to this, but the closest I can get to finding a solution is this, but it doesn't work for me. Here's my system: # uname -a Linux vin 4.4.0-1-amd64 #1 SMP Debian 4....
4
votes
0answers
240 views

What can cause a usb port speed change?

I have an instrument connected via usb to a OpenSuse (11.1 32) computer. Following the vendor instructions, I've added one rule to udev: ATTR{idVendor}=="0e0d", ATTR{idProduct}=="0003", MODE="0666" ...
4
votes
0answers
521 views

USB Mouse Freezing in Debian / KDE // Keyboard OK

Having problems with seemingly random freezes of my Logitech Wireless Mouse in Debian (KDE). With regards to a number of articles out there, I don't have powertop, mouseemu or laptop-mode-tools ...
4
votes
0answers
103 views

Trouble getting USB printer to 'stick' using udevadm

What I’ve got so far $ udevadm info -a -p$(udevadm info --q path -n /dev/usb/lp1) | grep serial ATTRS{serial}=="544336460792090000" /etc/udev/rules.d/50-udev.rules: SUBSYSTEM=="usb", ATTRS{serial}=...
4
votes
0answers
228 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
725 views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...
4
votes
1answer
761 views

Alsa not detecting USB microphone on system boot

I have a USB microphone that works fine, up until I reboot my system. After that, it doesn't work at all until I unplug it and replug it. Based on my (limited) understanding of the components ...
4
votes
0answers
3k 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 ...
4
votes
1answer
412 views

PS/2 to USB port for keyboard gives “unable to enumerate USB device on port 5”

I got my hands on a Logitech Ultra X (Y-SX49) keyboard, with US key marks. The US key placement is much better than my Swedish native, at least for programmers, because there are much fewer shortcuts ...
4
votes
0answers
2k views

Make laptop to wake up by keyboard and mouse

The only way I can wake up my laptop (HP Elitebook 8460p) from suspend is by pressing the power button. Neither the built-in keyboard/mouse nor the external ones (connected via USB) wake the laptop up....
3
votes
2answers
5k views

FreeBSD in USB Flash Drive

I like to use live FreeBSD in my USB flash drive. How can i do it ? Please give clear way to do it.
3
votes
5answers
1k views

Using a differencing, aka overlay, aka union, file-system with commit capability

I work in two PCs and I sync all my files from my primary PC to a USB flash memory. In my second PC, I mount the USB flash memory to the same path to work on my files as I were on my primary PC. Now ...
3
votes
2answers
710 views

Why is lsusb taking so long?

I'm running lsusb several times, but it's taking a long time to return. Is there a reason why it won't finish or that it runs slowly? I've tried killing their PIDs but that doesn't work. So I close ...
3
votes
2answers
6k views

Automount not disabling in Ubuntu 12.04 or 13.04

I'm trying to disable the automounting of any usb device. I have this working in Ubuntu 10.04, but I'm trying to do the same in either 12.04 or (ideally) 13.04 but not having any luck. Everywhere I ...
3
votes
2answers
2k views

How to mount a filesystem from a given USB bus:device

Recently I bought a new smartphone (with Android). When I connect it to my laptop, the (gui)file manager (PCManFM) recognize it and show me the filesystem at route gphoto2://[usb:001,003]. But I can't ...
3
votes
1answer
140 views

Grub rescue if Ubuntu USB not plugged in?

I have my Ubuntu installed on a USB drive, and to log into Windows I need to have it plugged while booting, or I get the Grub rescue prompt. When the USB drive is plugged in, I get the Grub menu from ...
3
votes
4answers
6k views

Auto mount USB devices on debian?

This isn't a big deal i was just curious so if anyone happens to know why then great. I'm not sure if usbmount is the tool as which usbmount doesn't show anything but on my debian system (no graphics)...
3
votes
2answers
508 views

How to switch HP printer from CDROM mode to Printer/Scanner mode

I have an HP multifunction printer/scanner M1123 MFP. I installed the latest hplip that should support it and also hp-plugin. However, when I plug the device in, I only see a CDROM detected in dmesg. ...
3
votes
2answers
339 views

Data loss when loop-mounting a file on removable USB storage

If I plug in a USB and modify files and unplug it I don't lose data. However if I use mount on a file on the USB I WILL lose data. Whats with that? Is there anything I can do to prevent loss of data? ...
3
votes
2answers
1k views

Mount a device as another user

Is there a command (on Debian Wheezy) that a testuser that belongs only to the group testuser can run (maybe he needs to be listed in sudoers first) in order to mount a USB stick as if he belonged to ...
3
votes
1answer
5k views

Mounting USB drive on 3G dongle

I've got an Huawei HiLink E303 USB G3-internet dongle that I'd like to use to connect to the internet. I'm using Arch Linux. According to this page, the Linux drivers are actually on the device and ...
3
votes
1answer
4k views

Raspberry Pi Wireless USB stick

I recently acquired a Raspberry Pi, and have installed Debian Squeeze on it, and after doing a small bit of research (I'm not too proficient with Linux) I found and ordered a USB wireless dongle ("...
3
votes
2answers
2k views

How to get vodafone mobile connect (or equivalent) working reliably on debian squeeze

I got a Vodafone K3760 at some point in Debian/Lenny's lifetime, for use with a Lenovo S10e. I installed (from the Vodafone BetaVine site) usb-modeswitch 0.97 and vodafone-mobile-connect (VMC) 2.10....
3
votes
1answer
4k views

Qemu USB passthrough (windows guest)

I have a USB ADC/DAC and a HASP protected proprietary data acquisition system for it, both of which do not work in linux. I am trying to make it work in Windows virtual machine using qemu. Here are ...
3
votes
2answers
375 views

How to read lsusb?

What is the vendor id and what is the product id in the output of lsusb? ➜ lsusb Bus 001 Device 018: ID 0781:5576 SanDisk Corp. Bus 001 Device 011: ID 0e0f:000b VMware, Inc. Bus 001 Device 001: ID ...
3
votes
1answer
1k views

Gnome, nautilus copy files to USB stops at 100% or near

I had similar issues before but i don't remember how i solved it. When i try to copy something to USB stick, with FAT, it stops near the end, sometimes at 100%. And of course, when i transfer the ...
3
votes
2answers
625 views

How does an emulated keyboard work?

I have read that some USB devices emulate a keyboard and the information these devices send will be as if the information was typed on a keyboard. For example: a magnetic card reader can use an ...
3
votes
1answer
1k views

Qemu 2.0 Windows guest - mouse stops working (vnc) when using usb-passthrough

I have installed Qemu 2.0 on an Ubuntu Server 14.04 LTS computer. I use Qemu to run multiple virtual machines. One of them is using Windows 8.1 Pro (x64) and is used for back-ups. The guest runs fine ...
3
votes
2answers
10k views

Booting Ubuntu from usb on a Mac

I have a Macbook pro (late 2009) running OSX 10.6.8. I want to partition a flash drive and install my Ubuntu iso image onto it. Then I want to boot up from it by (restarting my computer and) holding ...
3
votes
1answer
858 views

Is it necessary to enable CONFIG_USB_OHCI_HCD , when there's only USB 2.0 ports

Is it necessary to enable CONFIG_USB_OHCI_HCD on a system that has USB 2.0 port only ? I'm not sure those devices present , e.g bluetooth , camera use that driver ? Bus 001 Device 001: ID 1d6b:0002 ...
3
votes
1answer
4k views

How can I uniquely identify which device is on USB `hub 6-0:1.0: port 2`?

How can I uniquely identify which device is on USB hub 6-0:1.0: port 2? I receive messages in my dmesg every now and then and I want the system to tell me which device is connected to that port. ...
3
votes
1answer
5k views

USB 3G Modem for embedded Linux?

I am fairly new to Linux world, I have to develop an application on embedded Linux which sends data over internet. I have to choose a USB 3G modem with a SIM card holder. I would appreciate if anyone ...
3
votes
2answers
797 views

Launching Gentoo from external hard drive

I have an external hard drive (Transcend TS500GSJ25M - not sure M1, M2 or M3, but guess it's M1) and I'd like to install Gentoo on it. It's pretty easy, using genkernel, though it compile a lot of ...
3
votes
2answers
6k views

Is it possible to make a Microsoft LifeCam HD-5000 work under linux?

I am trying to set up a virtual machine which will act as a home security system. (If you've chatted with me in The Tavern, you may know why...) I purchased two USB webcams (Microsoft LifeCam HD-5000) ...
3
votes
2answers
8k views

How to use iphone internet tethering via USB with Ubuntu 10.04

What are the steps to use iPhone 3G internet tethering via USB on Ubuntu 10.04? Is there software I need to install on Ubuntu for this? The tethering works fine on Windows.
3
votes
1answer
55 views

How USB bus number and device number been assigned?

When use lsusb I realize that the bus number and device number of a USB device can change from time to time. From what I understand, the bus number can be change on every reboot. The device number ...
3
votes
2answers
3k views

how to create multiboot usb w/ persistence for multiple OS

I'm installing multiple operating systems on a usb drive I recently purchased for this purpose and was wondering how to create a usb drive with multiple persistent OS's that will be linux based and ...
3
votes
1answer
7k views

cannot mount usb drive [closed]

This is my first day on linux and I can't figure out how to mount a usb drive. I plugged it and used fdisk -l to locate it. However when I type mount /dev/sda1 it says that sda1 does not exist. root@...
3
votes
1answer
2k views

How to suspend an USB device?

I want to suspend a connected USB device at my pc manually. I tried the following instructions in Debian (Kernel 3.2.0). uname output: Linux debian7-dev-gnome 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3+...
3
votes
1answer
5k views

USB passthrough for LXC containers

PROBLEM: So I've been trying to get a usb device (primesense - the OEM reference for the Kinect) to passthrough to an LXC container so I can develop without worrying about polluting my stable system ...