2
votes
1answer
49 views

Is it possible to simulate/force/fake an USB device unplug and replug on Linux?

So I've got a strange problem that I've been running onto. I've got a bitcoin usb miner, Bitfury, and I'm using CGMiner to mine. When I start the application, as root, the USB device is not detected ...
5
votes
1answer
102 views

Why does “cat ttyUSB0” not produce output?

I connected an infrared receiver to a USB port ... (the last line of dmesg tells device file) $ dmesg [10496.596063] usb 7-2: new full-speed USB device number 2 using uhci_hcd [10496.751112] usb 7-2: ...
2
votes
1answer
86 views

Map physical USB device path to the Bus/Device number returned by lsusb

I need to get the title of the attached USB device. I can do that with lsusb. udev allows some substitutions when I write rules: say, we can use $kernel to get name of the device, or $devpath to get ...
1
vote
0answers
64 views

Fedora unable to detect USB or wireless networks? [closed]

I installed Fedora(Gnome) 19 on a Dell Inspiron with Intel i3 processor, and a factory built-in Windows 7 home premium OS. The installation process completed successfully. But now when I log into ...
3
votes
1answer
276 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
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 ...
0
votes
1answer
113 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?
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 ...
1
vote
0answers
278 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 ...
3
votes
2answers
118 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 ...
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 ...
2
votes
1answer
52 views

Assigning static device path

I have 4 flash cards plugged in, sequentially named by system: /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 I want to assign static pathes to them, so every time the system boots up their pathes will ...
3
votes
1answer
1k views

Query USB current

How can I obtain information about the amount of current negotiated by a device attached to a USB port? I am looking for information similar to this presented by OS X in terms of current available ...
2
votes
2answers
2k 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 ...
4
votes
0answers
1k 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 ...
3
votes
3answers
6k views

GSM modem does not create /dev/ttyUSB file

I installed Kannel in a server, and I want to use a GSM 3G USB modem to send/receive SMS messages, as described in section SMS Centers > GSM Modem of the Kannel User Guide. I have already installed, ...
0
votes
1answer
125 views

Using USB hub for keyboard and mouse in multiseat

I want to configure a 2 user multi-seat in Linux. Is it possible to configure keyboard and mouse for second seat with a USB hub on a single USB port or I need to connect each of them to a separate USB ...
2
votes
1answer
764 views

Debian USB automount

Got my USB flash automount broken after reboot. Using Debian 6, GNOME 2 My NTFS hard disk is still mounting correctly. When i connect my Android smartphone (with SD and local drive) my messages log ...
7
votes
1answer
4k views

Understand output of `udevadm info -a -n /dev/sdb`

I plug an external HDD into my laptop. I try to find out the information by $ udevadm info -a -n /dev/sdb Udevadm info starts with the device specified by the devpath and then walks up the chain of ...
3
votes
1answer
2k 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. ...
0
votes
0answers
405 views

Silicon Wave USB Bluetooth Adapter doesn't work

I have been trying to use my usb bluetooth adapter(silicon wave) on ubuntu 11.10 server, it appears in the lsusb list but it doesn't work Bus 005 Device 003: ID 0c10:0000 root@i5-PC:/home/john# ...
4
votes
2answers
6k views

ttyUSB0 permission changes after restart

I'm trying to install a device. I plug in the device which creates a ttyUSB0 file. When I open it in the program I need it for, it says the permission is denied. I type in terminal sudo chmod 666 ...
8
votes
3answers
4k views

Mount printers at /dev/usb and still use CUPS

Due to a new version of CUPS, I suddenly lost the direct path to my printers that was previously available under /dev/usb/lpXXX. I used this to print directly from the command line. echo "test" > ...
5
votes
3answers
534 views

How to get my USB key to auto mount

I'm currently working in a command line only environment. When I plug my USB key in, I see a new device file in /dev: ... sdi sdi1 ... If I simply sudo mount /dev/sdi1 /media/tmp, and umount it ...
9
votes
4answers
4k views

If I connect a physical device, how can I ever know which device file belongs to it?

Say I plug in several USB drives which don't get automatically mounted. How can I find out which device file belongs to which physical device, so I can mount it for example? I'm running Mac OS X but ...
5
votes
3answers
2k views

Prevent claiming of novelty usb device by usbhid so I can control it with libusb?

I have a USB rocket launcher that I wish to experiment with through libusb. However, libusb cannot claim the interface; presumably because the output of usb-devices lists 'usbhid' as the driver for ...
6
votes
1answer
848 views

How to be notified when a USB device was plugged?

My system have to auto-mount for usb devices, how can I be notified when a usb device is plugged? Where can I read more about? I would like to treat that using shell script or C.