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

learn more… | top users | synonyms

3
votes
1answer
67 views

Trying to read USB Audio Device, but /dev/hidraw0 is unavailable for reading

I'm trying to write a simple driver for my USB Sound Card (just for fun) on Xubuntu 14.04 -- for example, I want to have an opportunity to control volume on my laptop via this device. The problem is ...
3
votes
1answer
112 views

Cannot print text via /dev/usb/lp0 on recent printers

I have a strange problem, when I connect an old printer (HP, Epson, at last 4 years old printers) on my linux embedded board, when I type the command echo test > /dev/usb/lp0 it prints correctly. ...
3
votes
1answer
74 views

Pernicious USB-stick stall problem. Reverting workaround fix?

There's an issue with Ubuntu that hasn't been fixed yet, where the PC freezes or gets really slow whenever it is copying to an USB stick (see Why is my PC freezing while I'm copying a file to a ...
3
votes
1answer
2k 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. ...
3
votes
1answer
173 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 ...
3
votes
2answers
212 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 ...
3
votes
1answer
171 views

Is it possible to have two seperate one way (simplex) serial ports to make single tty device?

I am building embeded device, which has IR comunication with PC and it will have two IR Led/detector pairs which are one-way and are setup like this: IR source input commands -> near embeded device ...
3
votes
1answer
192 views

Creating multiple devices from one device?

Specifically taking a USB device, which normally allows only one process to open it for reading, and clone/duplicate/replicate it so that multiple processes can open and read the input. Something ...
3
votes
1answer
6k views

USB to Serial in Chrubuntu - /dev/ttyUSB0 missing

The usbserial stuff has been working so well for me in Ubuntu for a number of years that I have almost forgotten how to troubleshoot it. I just installed Chrubuntu, however, and now my usbserial is ...
3
votes
1answer
4k views

Two usb wifi adapaters, only wlan0 appears, how to get wlan1?

I'm attempting to connect two wifi usb dongles to a debian system, one is to connect to a local lan, the other I plan to use in adhoc mode to connect to a specific device. You could look at this as an ...
3
votes
2answers
3k views

Prevent usbhid from claiming USB device

Directly related: Prevent claiming of novelty usb device by usbhid so I can control it with libusb? I want to access an RFID reader (works as HID device) from a program that uses libusb-0.1. In the ...
3
votes
2answers
725 views

Getting input from a USB device listed with lsusb

I have a CF-1KB barcode reader connected to an RS232 to PS/2 adaptor and a PS/2 to USB adaptor. I'm not sure how the device works so I'm trying to figure it out by looking at what information I'm ...
3
votes
1answer
481 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 ...
3
votes
1answer
2k views

What is the best touch screen kiosk solution?

I'm a web developer and I'm looking for the best stripped-down linux experience that provides a full-screen experience for touch screens. I'll be looking for: a robust experience that stops people ...
3
votes
1answer
382 views

`power/persist` file not found in USB device sysfs directory

The file /usr/share/doc/linux-doc/usb/persist.txt.gz mentions that the USB-persist capability can be enabled for a given USB device by writing 1 to the file persist in that device's directory in ...
3
votes
0answers
45 views

Bad/strange USB device issue: failed to shutdown/restart

On a fresh Arch Linux installation with Intel i7 processor and an Nvidia graphics card, I noticed during boot log messages related to a usb device filled the screen before it reached the graphical ...
3
votes
0answers
52 views

Disable USB drive from sleeping

I am loading fedora20 directly from a SATA drive connected via USB. The problem is that I will be working and all of a sudden the drive seems to have been put to sleep and nothing will work except ...
3
votes
0answers
349 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. ...
3
votes
1answer
300 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 ...
3
votes
3answers
2k views

USB keyboard doesn't work with Debian installer

I have a wired USB keyboard. I've written the latest netinstall Wheezy image on my USB pendrive (using dd). It boots but the installer doesn't recognize the keyboard! (The same pendrive works on my ...
3
votes
1answer
671 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 ...
3
votes
0answers
535 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 ...
3
votes
1answer
2k 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 ...
3
votes
2answers
1k 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 ...
3
votes
1answer
330 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 ...
3
votes
0answers
346 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 ...
3
votes
0answers
909 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
1answer
305 views

Removing device from USB hub triggers udev event for removing hub

I have a udev rule to halt the system when a usb hub is removed: SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_VENDOR_ID}="050d", ENV{ID_MODEL_ID}="0237", RUN+="/sbin/halt" Unfortunately, this also ...
3
votes
0answers
296 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 ...
3
votes
2answers
430 views

Mounting USB camera on Ubuntu

I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck. From the instructions: Modify the usbdevfs ...
3
votes
0answers
1k 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 ...
3
votes
1answer
218 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 ...
2
votes
4answers
325 views

USB 500GB external drive mounted with undetermined permissions, missing data

Note: This situation is evolving. Please see the output at the end of this question for the current situation. I'm using Linux Mint 14. Recently, I repartitioned one of my hard drives, and I backed ...
2
votes
2answers
207 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 ...
2
votes
2answers
118 views

How should I format a USB prior to writing an ISO to it?

I found these Debian EeePC HowToInstallUsingStandardInstaller instructions at the Debian Wiki, stating that I can install an ISO to a USB using this: dd if=debian-*-netinst.iso of=/dev/sdX Do I ...
2
votes
2answers
404 views

Detect bad USB cable

Is it possible to detect with confidence via command line that the USB cable is damaged? I tried to connect my printer and it's not printing with this cable, I guess that the culprit is the USB cable. ...
2
votes
1answer
93 views

Mounted a USB to /home and lost all the sub-directory's

I have been searching for a about a hour but I can't find a answer if someone knows another thread that will help I would gladly look through it. So what happened is I am learning about how to mount ...
2
votes
2answers
1k views

Unable to remove the files from an usb drive (neither by dd /dev/zero nor by rm -r)

I have a flash usb drive and up till now it has worked well. Recently I recorded iso to it using dd. Now I want to delete it. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ....... sdb ...
2
votes
2answers
341 views

Swap alt and windows key except when using an external keyboard

On my laptop the Alt and Windows keys are in the opposite positions that I'd prefer them in. Swapping them is fairly easy. However, my external (USB) keyboard has the Alt and Windows keys in the order ...
2
votes
1answer
175 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.
2
votes
1answer
234 views

Why do Linux and OSX require no driver to connect to an Android device?

I asked the dual question at superuser and didn't really get an answer - thought I might have better luck here. I've started down the path of tinkering with my Android phones. What's curious to me is ...
2
votes
1answer
263 views

PPP over USB from RJ11

I have an adapter which on 1 side offers an RJ11 male plug, and on the other side and USB Type A female port, I also have another adapter which is similar but it offers and USB Type A male plug. I ...
2
votes
2answers
88 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
1answer
3k views

How do I get my wireless USB mouse working

My wireless USB mouse is not plugging and playing. This is my first time using linux (Ubuntu 12.04) and I'm trying to get a development environment going to learn to use the shell, Python, and other ...
2
votes
1answer
327 views

What is the udev rule to allow specific thumb drive vendors?

How can I write a udev rule that whitelists specific vendors and doesn't allow other USB drives? Do I put it in /etc/udev/rules.d, or /lib/udev/rules.d? What command do I run to test if the rule is ...
2
votes
2answers
6k 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 ...
2
votes
1answer
1k views

Does my Ubuntu have module for USB 2.0?

I copy some files between my external HDD and Lenovo T400 laptop. The external HDD is 7 years old and has "USB 2.0" on its enclosure, and the laptop is 3 years old. The copying speed is mostly ...
2
votes
2answers
2k views

How to enable force feedback in kernel 2.6.34 - 64 bit?

The wheel is Logitech driving force DFGT. The platform: linux-dopx:/home/anisha/ # cat /etc/issue && uname -a Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l). Linux linux-dopx ...
2
votes
1answer
235 views

Some keys on keyboard map to numbers instead

I'm running Leenux 5.1 from a USB stick using unetbootin. It works ok, except my keyboard is messed up -- pressing k results in a 2 instead (the 2 key also types a 2). How could this happen?
2
votes
2answers
172 views

Writing usb on FreeBSD to access on windows

How can I write "stuff" into USB drive on FreeBSD such that, the "stuff" is accessible in Windows [yes my wife still uses that :( ] and Ubuntu?