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

learn more… | top users | synonyms

3
votes
1answer
488 views

usb0 -> what exactly is it for?

So far, I found out that on GNU/Linux /media/usb0 seems to be a mount point for Ethernet over USB. Nice. Question: Where is defined, what usb0 is exactly for? I distilled the above mentioned ...
3
votes
3answers
605 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 ...
1
vote
0answers
141 views

Kicking a process from a USB-Serial port

I have a application which is using the USB-serial port. Occasionally on shutdown the port cannot be opened by another instance of the program, and up until now the only way I know of the program ...
1
vote
2answers
87 views

Undo safely remove device [duplicate]

After I have asked the OS to safely remove device (USB) and can no longer access it. Without plugging out and in the USB how can I make the OS gain access to the USB device again? Basically ...
2
votes
0answers
149 views

lsusb partially fails, is the problem with the USB bus or with the command?

What does Couldn't get configuration descriptor 0, some information will be missing mean? Did the Host fail to get the descriptor from the device, or the command lsusb failed to fetch that ...
1
vote
0answers
967 views

All USB ports detected as USB 1.0, not USB 2.0

My Ubuntu 13.10 server (Upgraded from 11.10) has always had an issue with mounting USB 2.0 devices. Despite legacy being turned off on the motherboard bios, the output of lsusb -t always shows the ...
1
vote
1answer
218 views

Make a bootable CD without ISO file but from a CD

I have a Windows XP CD which I want to install on a USB Drive. However my own CD drive is broken. I have a friend's laptop on which Windows 7 is installed (and no idea if it has a CDROM of not). ...
1
vote
0answers
21 views

udev rules to identify a USB storage media? [duplicate]

I need to execute a command once a usb storage media is inserted. But I don't want to identify the device by the device file, e.g /dev/sdcX. So I can't use filters like KERNEL=="sd?" Is there any ...
1
vote
0answers
110 views

Mount an SD card over USB?

I'm currently using: insmod g_file_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1 This works as I can see the device in Windows. However when it comes to changing a file, the changes are not ...
2
votes
2answers
44 views

Would my downloaded Ubuntu, require an Internet Conncetion?

So I download a setup of Ubuntu 12.04 LTS of about 600 MB (don't remember the actual size) and burned it on a USB using unetbootin. So, Is that Ubuntu, the Offline Installer? As I cant run online ...
0
votes
1answer
193 views

network device name is changed by itself

I use a Ubuntu-arm, uname -a Linux arm 3.7.8-x8 #1 SMP Sat Feb 16 04:15:13 UTC 2013 armv7l armv7l armv7l GNU/Linux I have two USB WiFi interfaces that are named wlan0 and wlan1 on ...
0
votes
0answers
269 views

Embedded device GadgetFS connects to Linux machine and receives one USB setup request more than with a windows machine connected

I am using this GadgetFS implementation http://www.linux-usb.org/gadget/usb.c to have my embedded device connect to a Host. What's weird is, when I connect it to a Windows machine everything works ...
0
votes
1answer
63 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
1answer
2k 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 ...
1
vote
0answers
109 views

Writing a USB driver from scratch [closed]

I have an FPGA that I'm going to be connecting to a Raspberry Pi running Raspbian 3.6.11+. I've been reading up on how to write a USB2.0 HS driver for linux and how to reverse engineer USB ...
1
vote
1answer
110 views

2 or more programs in same USB serial converter

Having a network of lets say 10 devices in RS-485, connected to the linux PC with a RS-485 to USB Converter. Already there is a C program interacting with the serial converter at /dev/ttyUSB0. My ...
2
votes
2answers
1k 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?
0
votes
2answers
94 views

embedded linux and powering usb stick

I have a problem where I need to read a usb-stick or a usb keyboard: When I plug in the USB stick or keyboard I can't get power to the device. dmesg says nothing I tried: for device in $(ls ...
1
vote
0answers
125 views

PXE USB BOOT Debian

I have installed a Debian. I rsynced it. I load it on my client through PXE from NFS to make a backup. But I need my Computer(NFS-host) at the same time to make something other with it. For example, ...
2
votes
0answers
405 views

Debian Wheezy USB2 ehci_hcd

I have a friend who decided to switch to Linux from Windows. I was helping her to get up and running as quickly as possible but we ran into a problem which I can't seem to solve. She uses Debian ...
0
votes
0answers
252 views

Strange behaviour from special keyboard keys

OS: Linux Mint 13 Maya - MATE So, I had a new keyboard through today and there is something strange going on. The following keys are identified as the Shift key. LEFT SHIFT RIGHT SHIFT ...
3
votes
2answers
191 views

Permissions to print directly to USB printer

I've a netbook with Linux. I've a usb/serial printer and I added the line chmod 666 /dev/tty* to rc.local and it prints straight after a reboot. When I close the lid of a netbook for a while and then ...
7
votes
2answers
1k views

Is it possible for a daemon (i.e. background) process to look for key-presses from a USB keyboard?

I'm working on an embedded Linux project where I will be developing a program that will run automatically on bootup and interact with the user via a character display and some sort of button array. ...
2
votes
1answer
2k views

USB 3.0 Device not enumerated on USB 3.0 Port in Debian 6.0 OS

I have installed Debian 6.0 OS (Linux kernel 2.6.32 )to test my USB Application as well as Driver. My USB device is working fine on USB 2.0 Port without any issue. But when i tried to connect the ...
3
votes
0answers
292 views

USB mouse not working

Every time I plug in any wired mouse recently, I get similar to the below on VCS1: [1443270.286164] usb 6-1: new low-speed USB device number 15 using uhci_hcd [1443270.454270] usb 6-1: New USB ...
4
votes
2answers
147 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 ...
2
votes
1answer
491 views

Cannot stop autofs on FC19

I'd like to temporarily disable autofs on my fedora 19 x86 install. I would like to insert USB drives without them auto-mounting. Typing: service autofs stop Returns: Redirecting to ...
9
votes
2answers
8k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
1
vote
1answer
799 views

Installing Packages Offline On Linux Mint

Is it possible to create a linux software package on windows ,store it on a USB stick and then install it on a linux system which is not connected to the internet ? For example I would like to ...
3
votes
1answer
874 views

Updating Linux Mint Without Internet Access

I can't afford to have an internet connection at home. Is there any way of figuring out what update I need for my system so that I can download the same onto my USB stick from the office internet ...
4
votes
3answers
1k 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 ...
0
votes
1answer
589 views

Cannot upen libusb shared object

I'm trying to use heimdall to install a custom Android ROM. When I run it, I get this: ./heimdall: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file ...
-1
votes
2answers
733 views

How to remove a USB drive without worry if its been unmounted? [closed]

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 ...
2
votes
1answer
280 views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...
5
votes
1answer
271 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 ...
2
votes
1answer
154 views

GPS Device Attached to Linux Mint 15

I purchased a Silvercrest GPS device from Lidl recently, but the software that came with it is a tad "underpowered" to say the very least and has no Linux support. I'm attempting to get at the raw ...
0
votes
1answer
39 views

How to get back on track of your Linux PC fails and your USB drives with Linux O.S. are lost [closed]

Assumption is you take your netbook or nettop and fly to another country where you have no friends, etc. You can not create a bootable usb drive with a linux iso file unless you purchase a windows pc ...
1
vote
1answer
581 views

How do you use minicom with stdin and stdout?

I need to communicate with Python over a USB to RS-232 converter, to a device. The application minicom connects seamlessly, so if I could run that in non-interactive mode, everything would would be ...
3
votes
1answer
840 views

No room on ep ring?

I just switched to tty1, and I'm getting all kinds of output. It all looks like this: [timestamp] xhci_hcd 0000:00:14.0: ERROR no room on ep ring It's happening over 100 times per second, every 5 ...
2
votes
1answer
405 views

How to disable USB autosuspend in Manjaro Linux?

How can I disable USB autosuspend in Manjaro Linux?
4
votes
3answers
1k 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 ...
0
votes
2answers
362 views

How do I send text to a USB device?

I'm trying to get the "Torobot" USB servo controller to work with Angstrom on a Beagle Board XM. The servo controller registers as a USB device. The device just takes simple text commands, but there ...
3
votes
5answers
11k 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 ...
3
votes
0answers
792 views

How do I reset a USB device using a script?

I have a USB GSM modem that does not always work property (Huawei E367u-2) Sometimes it gets reset (USB device disconnect/reconnect in logs) and when it comes back up, it has different ttyUSB numbers. ...
3
votes
0answers
2k 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 ...
1
vote
2answers
432 views

A single key on keyboard produces extra keypresses for each simultaneously pressed key

I recently acquired MK-85 mechanical USB keyboard from QPAD. The keyboard works perfect on Windows. It works perfect in Syslinux. It works almost perfect on Linux. The only issue on Linux is that a ...
1
vote
1answer
136 views

Overcoming data word length limitation of usbmon

When capturing USB traffic with usbmon, I sometimes see the following: ffff8801ed3703c0 2599784347 S Bo:1:008:2 -115 74 = 24484880 087ffa7f dd7ffc08 d87fec7e d3000080 5e80a30c d1d43300 00803c9b The ...
2
votes
1answer
1k views

USB keyboard only works intermittently in GRUB 2 on reboots - how to make it work consistently?

Something weird is going on with my keyboard. The keyboard is a USB-connected Unicomp, which works absolutely flawlessly once the computer is up and running. However, GRUB 2 (specifically, ...
6
votes
2answers
1k 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 ...
1
vote
1answer
472 views

Incorrect step with grub while installing onto a USB stick?

I tried installing debian on a USB stick. I believed I made a mistake with the grub boot up part. I want to leave my harddrives alone and with my bios choose to boot up from a stick. Do I need grub if ...