3
votes
2answers
32 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
26 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
34 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
34 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
33 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
34 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
77 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
75 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
82 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
77 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
226 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
490 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
244 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
778 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
33 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
310 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
179 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
428 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
556 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
313 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 ...
0
votes
0answers
186 views

USB devices sometimes fail to initialize on boot

I have an issue where on some boots my computer basically does not recognize anything plugged in to certain USB ports. Strangely, it never affects the USB hub built in to my monitor but usually it ...
0
votes
0answers
389 views

ubuntu 12.04 64b udev rule overwritten

Ubuntu 12.04 64b mounts usb drives (hdd & flash) at /media/{DISK-LABEL} and assigns always 700 permissions. I've written an udev rule in /etc/udev/rules to assign 0755 permissions: ...
1
vote
2answers
408 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 ...
1
vote
0answers
162 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
306 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
51 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
190 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
225 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", ...
4
votes
2answers
6k 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
409 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
155 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 ...
4
votes
3answers
14k 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
2k 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 ...
4
votes
1answer
2k views

USB device changes using udev and D-Bus

I am trying to get a list of currently plugged in USB devices in Ubuntu 10.10 and monitor changes that happen, like devices being plugged in or out using udev and D-Bus. I'm fairly new to ...
6
votes
3answers
7k views

Configure udev to change permissions on USB HID device?

I have a USB scale, a USB HID. Currently, when it is plugged in, the permissions only allow the superuser to access it. How can I configure udev to let anybody access this device? I have the vendor ...