Tagged Questions
0
votes
0answers
25 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
58 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
0answers
62 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 ...
0
votes
0answers
32 views
what is the udev rule to allow specific vendor thumb drive?
i need a udev rule so that it should detect specific vendor and other pendrives it should not allow. how to write a rule and where we have to write the rule is it in /etc/udev/rules.d or ...
1
vote
0answers
63 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
99 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
31 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
102 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
0answers
652 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
0answers
123 views
usb ssd disk mount at boot on z77 chipset
i have 12.04 ubuntu installed. I want to mount usb ssd disk at boot. After boot it detected as disk in /dev/disk/by-id/... and as /dev/sdb3.
During boot there disk are not detected.
Even after boot ...
0
votes
2answers
153 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 ...
1
vote
1answer
616 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", ...
1
vote
1answer
2k 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
579 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 ...
1
vote
1answer
2k 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
294 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
2answers
1k 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", ...
3
votes
0answers
118 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 ...
3
votes
3answers
7k 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
1k 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
1k 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
3k views
How does automated hotplug mounting work?
I was reading a bit about gnome-mount, HAL, udev, etc. It left me with a couple of faint ideas how mounting a hotplug device might work in the latest Ubuntu release.
Could someone give a detailed ...
3
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 ...
12
votes
4answers
5k views
How to run a script when a distinct flash-drive is mounted?
Is there a way to run a script when a specific USB device is mounted?
I keep my videos on a separate USB and would like to run a script that would mount the video folder on the USB device to the one ...
5
votes
2answers
4k 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 ...