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

learn more… | top users | synonyms

2
votes
1answer
71 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.
0
votes
1answer
102 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether ...
1
vote
0answers
45 views

How to make a mouse driver from a tty?

I have an Arduino plugged in my computer through the uart/tty port. I would like to use it as a mouse but I have no idea where to start with kernel/device drivers/etc. Here is a little summary of ...
4
votes
3answers
117 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 ...
3
votes
1answer
259 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. ...
1
vote
1answer
133 views

Smartphone used as USB memory stick is correctly read on XP VirtualBox machine but Linux Mint show only root folders

Smartphone used as USB memory stick is correctly read on XP VirtualBox machine but Linux Mint show only root folders The stick is recognized by Linux, but show first level folder only: Folders are ...
1
vote
1answer
81 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
471 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 ...
1
vote
1answer
170 views

Creating bootable USB from .iso in Fedora 19

I created a somewhat similiar question previously, but seeing as my understanding of the topic improved drastically with the answers, I realized that I had asked the wrong question. I am trying to ...
3
votes
1answer
118 views

Kernel recognizes USB device but then I can't find it in /sys or /dev

When I connect my Samsung 390G (a cheap cell phone!) to Ubuntu 13.04, dmesg seems to indicate that the storage device thereon is recognizable: [Sun Dec 29 01:26:10 2013] scsi16 : usb-storage ...
1
vote
1answer
37 views

Install to usb drive

I'm thinking about to install Debian Wheezy or CentOs 6.5 (not the live version) on an USB drive. I think this shouldn't be a problem as long as my computer can boot from USB. But will this work ...
2
votes
2answers
51 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 ...
1
vote
1answer
38 views

udev GROUP and MODE assignments on symbolic link have no effect

I'm trying to connect my velleman k8055 board per usb to my pc. For this I have the udev rule SUBSYSTEM !="usb_device", ACTION !="add", GOTO="velleman_rules_end" ATTRS{idVendor}=="10cf", ...
0
votes
2answers
317 views

USB flash drive mounts and unmounts automatically

Whenever I plug my flash drive into the usb, a message like this window appears on the screen: Error mounting /dev/sdb1 at /media/sajjad/Linux Mint 16 Cinnamon 64-bit: Command-line `mount -t "ntfs" ...
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" ...
3
votes
0answers
283 views

WiFi USB stick not recognised by BeagleBone Black

I'm trying to set up a TP-LINK TL-WL725N v2 WiFi USB stick on my BeagleBone Black. However, it doesn't even appear to be recognised, i.e. it doesn't show up in the output of lsusb: $ lsusb Bus 001 ...
4
votes
1answer
107 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 ...
3
votes
1answer
465 views

Modules for USB wireless adapter missing?

I have an USB wireless adapter that is recognized as: # lsusb ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter. I am using this adapter on a device that has a much slimmed down kernel ...
0
votes
0answers
50 views

Gphoto2 does not output anything

I'm running ArchLinux and I want to download all the pics from my EOS1100D. However when I plug the camera and run gphoto2 --list-ports Nothing happens at all and the program get stuck. Here's ...
0
votes
0answers
62 views

Double-Ended USB Unrecognized Alfa AWUS036NHR

I have a wonderful little wireless adapter that works perfectly well on Windows, but drops the connection regularly in Arch. As far as I can tell, it's not getting enough power to function properly. ...
1
vote
0answers
99 views

Scanner works in laptop, not in desktop

I have an Epson Perfection 660 flatbed scanner that works on my laptop. This is what appears in /var/log/syslog when I plug it in: Dec 18 15:43:57 lap kernel: [   31.868278] usb 6-2: new full-speed ...
4
votes
1answer
241 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 ...
3
votes
2answers
211 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 ...
0
votes
1answer
38 views

Missing usbserial driver

I am looking for the usbserial driver: “option” for Debian Jessie and armel architecture. Is there a package that contains this and other usbserial drivers? Where is the source-code for this driver ...
0
votes
1answer
146 views

USB 3.0 host controller suddenly stopped working

sudo lshw *-usb:0 UNCLAIMED description: USB controller product: 7 Series/C210 Series Chipset Family USB xHCI Host Controller vendor: Intel Corporation ...
3
votes
2answers
261 views

USB memory stick failing to mount - Not Authorized

One of my customers uses a machine running CentOS 6.4 with Gnome 2.28.2. Whenever he plugs a USB memory stick or external hard drive into the machine he gets an error pop-up that simply states Unable ...
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
3answers
603 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 ...
3
votes
1answer
143 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 ...
1
vote
1answer
94 views

USB flash drive file transfers seem to hang multiple times during file transfer

I've got Scientific Linux 6.4 Installed (RHEL6.4) and am having trouble transferring to and from USB flash drives... Transfer seems to hang multiple times during transfer to the device, and transfer ...
2
votes
1answer
717 views

How to troubleshoot No Sound on CentOS 6.4 w/ USB headset?

Have a new Dell machine with a fresh install of CentOS 6.4. I have a headset hooked up via USB, but no sound. I'm not sure CentOS is recognizing my sound card -- or maybe it's not recognizing the ...
0
votes
1answer
112 views

How to debug a device that changes from /dev/ttyUSB0 to /dev/ttyUSB1 at will?

I have a device plugged to a CentOS server that changes randomly from /dev/ttyUSB0 to /dev/ttyUSB1 and vice versa. The device I'm trying to connect is this one. How can I debug this?
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
148 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
163 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
69 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
66 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
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
542 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
180 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
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 ...
2
votes
2answers
43 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
90 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
152 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 ...