2
votes
0answers
18 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. ...
2
votes
0answers
44 views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. To 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 plugged that USB 2.0 device into that USB 3.0 port,system ...
0
votes
4answers
78 views

Unwanted console text

For some reason, every time I plug in a USB device, a whole bunch of messages get dumped onto the terminal. (Saying something about device IDs, buffering modes, etc.) How to I prevent this from ...
1
vote
1answer
36 views

USB modalias. Meaning of numeric values

For the USB modaliases, I know that the values corresponding to the device's vendor and product ids can be found here: http://www.linux-usb.org/usb.ids Which online resources and/or kernel source ...
-1
votes
1answer
30 views

Is there a reason that Apple's USB vendor ID on Linux is a close anagram of Broadcom's? [closed]

I was poking around in lsusb and I noticed that Apple's USB vendor ID, 05ac, is a very close anagram of Broadcom's, 0a5c. Is there a historical/political/other reason for this, or is it just a ...
0
votes
0answers
34 views

Why does my USB device not get recognized by Ubuntu?

I seem to have a problem that no else appears to have encountered before (at least a couple of hours Googling has shown this to be the case). I am running Ubuntu 12.04. I plug in the device (Linksys ...
3
votes
1answer
71 views

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in ...
0
votes
1answer
133 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 ...
0
votes
0answers
37 views

Stuck/hung upon connect usb device

I have a device the is coming up 'busy' as soon as I plug it in. I even sniffed the usb connection and all looks normal. How do I find out what is capturing the device? How do I free it up? ...
0
votes
0answers
14 views

USB bEndpointAddress varies when run on different targets

I am running a target application that implements the usb gadget driver FunctionFS and has 4 endpoints. I write the descriptors to the endpoint ep0 and the other 4 endpoints are opened for read/write ...
0
votes
0answers
33 views

How do i block USB devices based on device class in Linux

Problem Statement In windows server to provide access to USB devices are managed by GFI EndpointSecurity. Is there any open source tool in Linux which can do the same job. I want to block USB ...
2
votes
1answer
73 views

udev rule for a USB device and ignoring others

Is it possible to create a udev rule for an USB device and ignore other USB devices? I want my system to support HID USB touchscreen (hid.ko) and ignore HID devices such as keyboards, mice, etc.
1
vote
1answer
82 views

How to make a USB storage device undetectable in u-boot?

I need to do a test in an embedded system where I plug in the USB storage device and do "usb start" but the USB storage device is not detected. I have a working pendrive. How to make it undetectable ...
3
votes
1answer
90 views

USB device to be detected at the “same” /dev point always?

In Linux (actually I'm with CentOS v6.5), whenever I plug in my USB Terminal/Character Device (some kind of USB Adapter) for the first time (after booted), it is detected at: /dev/ttyUSB0 But ...
4
votes
2answers
477 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?
2
votes
2answers
64 views

Is it possible to mount one H.D.D. via USB Hub on two PCs?

Having a HDD Drive on a USB hub with two partitions. Can I mount first partition to Computer A and second partition to Computer B without trouble? Or even better, would it be possible to mount one ...
1
vote
1answer
80 views

USB disk doesn't work on the new kernel

I just install the latest linux kernel (3.12.6) on my laptop(Lenovo). My system is Ubuntu 12.04. I just use the old configuration file in the old system which is "config-3.2.0-58-generic". Everything ...
2
votes
2answers
53 views

Kodak still camera udev problem

My still camera is not includev in udev list. lsusb stands: Bus 007 Device 016: ID 040a:058b Kodak Co. Digital Camera So I add to /usr/lib/udev/rules.d/40-libgphoto2.rules ...
2
votes
0answers
40 views

Detach keyboard from the kernel

I am writing a remote controller app for an octocopter and want to use a keyboard as an input device for this app but I don't want it to have any effect outside this app. Somehow I would like to make ...
2
votes
0answers
32 views

Driver not showing in /sys/bus tree

I'm trying to bind the "rt3572sta" to a USB device that previously had the "rt2800usb" driver bound to it. I ran this: $ sudo sh -c "echo [device-bus-id] > /sys/bus/usb/drivers/rt2800usb/unbind" ...
0
votes
1answer
26 views

Yanked USB Key During Move [duplicate]

I'm using Fedora 17. I was backing up some files to a USB key. I was foolish and used the Move command instead of copy, and before the directory I was moving completed I accidentally yanked the usb ...
-1
votes
2answers
84 views

Is there any other way to restrict USB storage?

I have been using /etc/modprobe.d/blacklist.conf to restrict USB storage but all employees are given root permissions, so they are removing restriction very easily. What I'm looking for is is there ...
3
votes
1answer
144 views

Turn system on by USB keyboard?

To hibernate my Debian Wheezy system, I run the following command: sudo sh -c 'echo disk > /sys/power/state' To wake up the system, I can press any key on my USB keyboard. My understanding of ...
2
votes
1answer
80 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
3
votes
1answer
153 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
166 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 ...
2
votes
0answers
92 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
86 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 ...
0
votes
0answers
153 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 ...
3
votes
1answer
661 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
1answer
66 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 ...
0
votes
2answers
65 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 ...
5
votes
2answers
485 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
774 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 ...
4
votes
3answers
381 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
489 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 ...
-2
votes
2answers
332 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
89 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
35 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 ...
3
votes
1answer
296 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 ...
0
votes
0answers
89 views

USB Modem connection problem

I am using Linux (CentOS 6.x) for the last three or four months. There are Dual OS in my PC (Windows 7 and centOS 6.x). I am using Airtel USB Dongle for Internet connection. Now the problem is that ...
1
vote
1answer
254 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
66 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 ...
3
votes
2answers
229 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
164 views

How do I access a flash drive that has been ejected without physically plugging it out and back in? [duplicate]

When I plug in my flash drive, it gets auto-mounted. If I right click on the drive and select 'eject', then it's unmounted. Now, I want to remount the drive in Terminal. How do I do this? I've ...
1
vote
3answers
918 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 ...
6
votes
3answers
1k views

Get power consumption of a USB device

Is there a way to check how much power a USB device requires? Why do I need this? I need to connect an LTE USB stick to my Raspberry pi, and don't know how much power it needs. We got it quite ...
2
votes
1answer
240 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
4
votes
3answers
1k 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?
3
votes
1answer
229 views

How can I prevent drivers from binding USB devices on a certain bus?

I have a setup with two Logitech Unifying receivers, each receiver has a keyboard bound to it. One of the receiver is to be used by the physical machine to which the devices are connected, the other ...