0
votes
0answers
2 views

How to block a virtual part of a USB device with udev?

I've got Microsoft Sculpt Ergonomic Desktop (keyboard+mouse). It's a nice set but it creates problems for me as one of its parts in the system is a virtual joystick js0. I've got an advice to use ...
0
votes
0answers
6 views

udevadm doesn't print in terminal

So I'm using Ubuntu 14.04 and I'm trying to create some udev rules as I have 8 identical USB RFID readers Firstly I wanted to check what logical ttyUSBx devices existed (where x is 0, 1, 2...) with ...
2
votes
0answers
37 views

How to distinguish between identical USB's

I have this system where I have 8 USB RFID readers which I would like to distinguish from one another. Here's a snippet from lsusb Bus 002 Device 011: ID 05fe:1010 Chic Technology Corp. Optical ...
-1
votes
0answers
28 views

my custom udev hwdb rule doesn't work

I'm using ubuntu 14.04 installed in EFI Mode, i tried to write simple udev rule which for all external USB keyboards will map capslock for escape. I use a lot of vim and plug and unplug keyboards ...
-1
votes
1answer
44 views

How create symbolik link /dev/usb/lp* and permission change to raw print? Xubuntu 14.04

i want use a symbolic link from usb printers but i can't write to this device: $ ls -l /dev/usb/lp* crw-rw---- 1 root lp 180, 0 jun 25 14:17 /dev/usb/lp0 crw-rw---- 1 root lp 180, 1 jun 25 14:17 ...
0
votes
0answers
46 views

Disable all USB Storage devices and enable some devices based on Vendorid

I tried by adding below udev rule ACTION=="add", SUBSYSTEMS=="usb", RUN+="/bin/sh -c 'for host in /sys/bus/usb/devices/usb*; do echo 0 > $host/authorized_default; done'" ACTION=="add", ...
1
vote
1answer
122 views

Gamepad detected by lsusb but not by PCSX or jstest-gtk in Ubuntu 14.04

I had been using a PS3 gamepad on PCSX for a while on Ubuntu 14.04, but realized it stopped working today. The controller is detected by lsusb on Terminal, but it does not appear in PCSX or ...
0
votes
0answers
22 views

udev .rules file run as local per user?

I have my code that will run every time udev detects new usb. My code works fine when I run it as a local user. But It fails when I use udev.rules file because it runs my script as root. How can I ...
1
vote
0answers
80 views

3 Modems HUAWEI E220 - Finding diferent data to make permanent USB Ports

I Have 3 Modems Huawei E220 USB connected on the same hub in the back USB Motherboard Ports. After they are connected they work very well - no conflicts. When I restart the system, all USB ports ...
0
votes
0answers
26 views

Creating/removing a symbolic link when a USB device is connected/disconnected [duplicate]

I'm working with an Arduino board and Matlab under Linux. Matlab, unfortunately, doesn't recognize the Arduino board when is connected unless I create a symbolic link to the Arduino board in /dev by: ...
0
votes
0answers
29 views

How to force device node for usb device on Ubuntu

I want a particular usb device assigned to a given node usb on ubuntu 12.10. lssub shows Bus 002 Device 003: ID 19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636 Now ZTE WCDMA Technologies ...
1
vote
0answers
39 views

Keyboard is not configured properly

I have a problem with my USB keyboard not being correctly configured in Ubuntu 14.10. lsusb shows the device as Bus 005 Device 010: ID 0db5:0119 dmesg | tail gives the following: [ 726.852025] usb ...
2
votes
0answers
71 views

Assigning ehci-pci to an Epson V33 scanner instead of xhci_hcd

I have recently installed Xubuntu 14.04 on two computers. Computer A is a DELL Aptitude E5430 laptop, whereas Computer B is a home-mounted desktop, with an ASUS H87-Plus motherboard. I have been ...
3
votes
2answers
90 views

Udev - How to change device group?

By default, all hard drive and usb drive devices belong to group "disk". I want to change usb drives to group "adm". I verified the ID_BUS $ udevadm info -q all -n /dev/sdb | grep ID_BUS E: ...
0
votes
1answer
79 views

ID_FS_LABEL in udev

What is ID_FS_LABEL in udev? Also why doesn't it show up when I execute this command : sudo udevadm info --root --name=/dev/sdb The output that I get for the above command : vineet@vineet:~$ sudo ...
0
votes
0answers
108 views

What is the difference between /dev/tty* and /dev/bus/usb/001/002?

When I plug in a device that uses the LUFA USB framework (or any USB<->serial peripheral), Ubuntu creates a /dev/ttyACM* device file. It also creates a /dev/bus/usb/001/002 file and a ...
1
vote
1answer
196 views

Identify udev subsystems and devtypes

I have to write a python script to monitor for usb mass storage devices. To successfully filter the required media it must be identified by its subsystem and DEVTYPE. Does anyone know the required ...
1
vote
0answers
54 views

Alternative for removing ignore_device option in udev?

Recently, the option ignore_device has been removed from udev rules. What is the alternative to deny a device to mount or to connect to system in udev rules?
0
votes
1answer
84 views

Why does my udev rule run several times?

I want to when I plug an usb device to my laptop, a script will be run just one time. So I use the udev rules system in UBUNTU 12.04. I wrote the below udev rule: ACTION=="add", SUBSYSTEMS=="usb", ...
0
votes
0answers
133 views

Egistec ES603 fprin_demo Shows No Device found

On ubuntu 12.04 LTS amd64 I have used the following commands to get fprint_demo. sudo apt-get install libfprint0 fprint-demo libpam-fprint gksu-polkit wget ...
0
votes
0answers
149 views

Simulate USB reconnect to change device number

I have a PS3 controller strangely doesn't work if it's connected as /dev/bus/usb/006/002. If it gets assigned any other device number (like /dev/bus/usb/006/003) then it starts working (which can be ...
0
votes
0answers
134 views

PS3 controller only works after unplugging and plugging in again

I use xboxdrv for my PS3 controllers which I connect via USB. I start xboxdrv with the following command (using daemon because I don't have the controllers connected all the time): sudo ...
0
votes
0answers
85 views

Ubuntu 13.10 - how to apply kernel patch?

In Ubuntu how can i change this modifications safely? One manufacturer given me the PATCH to apply. "faulty USB2 cameras on USB3 Linux systems. patch" --- linux/drivers/usb/core/hub.c.orig ...
1
vote
1answer
418 views

udev rules seem ignored; can not prevent modem manager from grabbing device

I am trying to prevent modem manager from running when I plug my cell phone into a USB port. I have tried to add a custom rule with udev, but my custom rules seem ignored. I created a file ...
1
vote
1answer
738 views

USB Mount Autorun a script using udev

I've spent a lot more time than I was expecting and was hoping I could get some help debugging. My goal is to sync files between my documents and my usb drive as soon as it is mounted. I've ...
1
vote
0answers
324 views

udev rules for multiple usb game controllers (including dual controllers)

Using XBMCbuntu Eden... I'm having trouble creating udev rules for my controllers. I have a dual arcade stick that has two separate usb connections, and I am having no trouble writing the udev rules ...
2
votes
2answers
1k views

lsusb lists Galaxy Samsung Tab s2 & adb devices lists nothing

really, I do all my efforts to run an android project through eclipse on a tablet "Samsung galaxy Tab s2/ GT-P3100" under Ubuntu 12.04. i add the vendor id of samsung in ~/.android/adb_usb.ini ...
0
votes
0answers
38 views

USB to serial converter - no serial number

I have tried a lot of USB->serial converters but none report its iSerial number in udev. This makes it impossible to distinguish between adaptors. This is a problem if they are moved from one USB slot ...
0
votes
1answer
393 views

How can I detect unknown/unapproved devices with udev?

I'm designing a security sensitive setup for a client. The situation is as follows: Sensitive information has to be stored on a server that might be accessed by unauthorized personnel. There is no ...
0
votes
0answers
183 views

Ubuntu 12.04 repeatedly trying to mount a StarTech KVM USB Dongle (bad performance)

I'm dealing with an odd issue where Ubuntu 12.04 Server LTS 64-bit is repeatedly attempting to mount a StarTech KVM USB dongle that's attached via VGA and USB. I've already contacted StarTech's ...
0
votes
1answer
453 views

Ubuntu Server: Udev automount - can't unmount this USB drive. Any Idea?

I use Ubuntu Server 12.04.03 LTS (without GUI) and wrote an udev rule: KERNEL=="sd?1", SUBSYSTEMS=="usb", ATTRS{product}=="Mass Storage Device", RUN+="/bin/mount /dev/%k /mnt/usbdrive" This is ...
1
vote
1answer
770 views

Auto-unmount USB drive

I used to work for a long time with ubuntu 10.10 and I changed to a recent machine so I had to move to Ubuntu 13.04. One feature I'm now missing is the auto umount of usb drives. I've not been able to ...
0
votes
1answer
332 views

Auto backup when USB Drive inserted

If this is not the best place to post this question, can you please direct me to a more appropriate place to post this. What I am trying to do: I have a USB drive, it is fat32 and its name is ...
1
vote
2answers
488 views

Phone not getting detected in DDMS in Ubuntu 12.04 - 32bit

I am using Ubuntu 12.04 32 bit. I have a Micromax Ninja A87 Android phone running GB 2.3.5. My problem is the phone does not get detected. When I try on a Windows 7 PC, it does get detected. Here are ...
2
votes
0answers
187 views

Udev: no takes rule for gps

I'm trying to create a udev rule for a GPS. I tried several ways but can not get the device to be captured by the rule: lsusb: Bus 002 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 ...
1
vote
0answers
347 views

How do I mount a USB hard drive to an arbitrary mount point?

I just upgraded my system with an SSD from a hard drive. Loads faster. But, I left all of my large media files on my hard drive. Currently, I have a SATA optical bay caddy on order, but in the ...
1
vote
1answer
53 views

How can my app request sudo permissions when installed from the Software Center?

I have written a USB over IP server for Ubuntu and want to deploy it via the Ubuntu Software Center However for the app to run, it requires sudo access to udev files. Is there anyway to get sudo ...
1
vote
1answer
203 views

Do I need to umount USB drive before unplugging it when using udev?

Ubuntu 12.04.1 LTS I'm about to set up udev rules to automatically mount/umount an external USB drive when plugged or unplugged. I'm concerned that by using udev to automatically unmount the ...
0
votes
1answer
3k views

Cannot mount/see/access USB-device - ttyUSB0

I am trying to connect to a GPS sport watch (similar to Garmin watches). I am running Ubuntu 12.04, 64bit. Ideally, I would like to connect the watch to one of the OS sport softwares like turtle sport ...
0
votes
2answers
235 views

How USB drives goes after system hard drives

I am using 12.04. My hard drives usually comes as: sda, with sudo blkid and if I plug-in any USB drive, they comes as: sdb, sdc etc; after sda. That's fine. But problem arises after I restart my ...
2
votes
1answer
2k views

udev rule group ownership not working

I have added a udev rule for my Arduino, but the symlink gets the ownership "root root" instead of "root dialout". $ cat /etc/udev/rules.d/47-Arduino.rules SUBSYSTEM=="usb", ATTR{idVendor}=="2341", ...
5
votes
3answers
9k views

How to get Bus and Device relationship for a /dev/ttyUSB

I need to write an script for restart USB dongles. I have all tools but I can't link my /dev/ttyUSBx to physical BUS and DEVICE. An issue is that I have three dongles with the same id vendor and id ...
1
vote
2answers
1k views

udev not updating usb permissions and group

I am using ubuntu 10.04 LTS - Locid Lynx. I have a requirement to set specific group and permissions for any usb stick file/directories on mount. I have tried overwriting the udev rules. Here is what ...
4
votes
1answer
4k views

How do I configure libfitbit?

To use Ubuntu to upload FitBit data you need libfitbit which is available as ppa now. However I couldn't find configuration instructions. I also wonder if cuttlefish could help to get the same ...
0
votes
1answer
430 views

Can't install on an Asus EEE PC 900 due to udev timeout error

I have an ASUS EEE PC 900. I am trying to install using a bootable USB drive. I have tried installing Ubuntu 11.10 and 10.04 as well as Lubuntu 11.10. Every time a get a repeating message to the ...
4
votes
3answers
2k views

Start script when connecting phone through usb

Trying to run a script when my phone is plugged in via USB, a made a udev rule looks like this in /etc/udev/rules.d/85-lazydroid.rule ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="428c", ...
4
votes
0answers
160 views

How can I link some device (given by its device ID) with an specific firmware? [closed]

Imagine I have a new device which it's not working on Linux. I get its device ID with lsusb: Bus 001 Device 003: ID1164:7efdYUAN High-Tech Development Co., Ltd Imagine I know that this device will ...
6
votes
3answers
16k views

How to distinguish between identical USB-to-serial adapters?

I use a number of identical USB-to-serial adapters with my laptop (Ubuntu 9.10). The adapters are manufactured by Sabrent and are built around a Prolific PL2303 IC, as shown by lsusb: Bus 001 Device ...
2
votes
3answers
2k views

Can udev be used (udev rules) to whitelist certain usb devices?

Can udev be used (udev rules) to whitelist certain usb devices? What I mean is that only devices in a list I create (containing device IDs that I can obtain with lsusb) will be passed on / processed ...
3
votes
1answer
3k views

Assign fixed path to printer (/dev/usb/lp0)

I have two USB printers. They are assigned a path depending on the order of turning them on. The first one is /deb/usb/lp0 and the second one /deb/usb/lp1. However, I sometimes echo to these printers ...