The kernel's device manager, responsible for the contents of /dev.

learn more… | top users | synonyms

0
votes
1answer
41 views

How do I make udev rules work?

I would like to learn udev rules. Here is what I do : victor@X301A1:~$ ls /etc/udev/rules.d/ 70-persistent-cd.rules 70-persistent-net.rules README Then victor@X301A1:~$ sudo gedit ...
1
vote
0answers
44 views

Udev rules boot errors

TL;DR; Udev is showing a lot of errors during boot and it is pointing to a .rules file. A little background: I recently upgraded an Ubuntu 5 server to Ubuntu 12. I performed a stepwise upgrade to ...
0
votes
0answers
13 views

where are devices named if not in 70-persistent-net-rules?

I have a ubuntu 12.04 server VM which has /etc/udev/rules.d/70-persistent-net.rules created as a directory instead of a file. I understand this helps maintain device naming when cloning in a cloud ...
1
vote
0answers
24 views

In Ubuntu 12.04, /dev/.udev/db no longer exists

Prior to Ubuntu 12.04 the udev database was available and updated at /dev/.udev/db but in 12.04 and greater, the directory /dev/.udev/ exists but the database doesn't. Does anyone know where it went?
0
votes
0answers
29 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 ...
5
votes
1answer
95 views

Why is this udev rule blocking?

Here is a rule from my /lib/udev/rules.d directory: SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="008c", RUN+="/home/mikeknoop/scripts/udev-receiver.sh" Here is the simple contents ...
0
votes
0answers
41 views

Add xorg section when device matched (SIS671 VGA)

I am working on small distribution based on Ubuntu. Some of computers we use are SiS based. I need to add proper xorg section which sets video driver to sis671. I can use /etc/X11/xorg.conf file, but ...
0
votes
0answers
60 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: ...
0
votes
2answers
68 views

Persistent device naming for Windows 7-partition in Ubuntu

I'd like to give the Windows partition of my Ubuntu installation a persistent device name, so different applications (like the local folder-account of my email software, or my local dropbox client) ...
0
votes
1answer
39 views

External HDD automatically get back after safe remove

This is weird! I use udisks --detach /dev/sdb for safely remove my hard disk. after 2 sec hard drive automatically mounted and nautilus window pops up. This is output of udevadm monitor --udev. UDEV ...
2
votes
1answer
101 views

Fail to mount on boot

I have just created a Ubuntu server and all is working well however at boot I receive the following error message which is causing problems. I am running Ubuntu Server 12.04 Here is the error any ...
0
votes
0answers
28 views

why my rule in udev/rules.d does not set the mode and group

jardag@precise-GiB:~$ lsusb Bus 001 Device 006: ID 15ba:002a Olimex Ltd. ARM-USB-TINY-H JTAG interface jardag@precise-GiB:~$ cd /dev/bus/usb crw-rw-r-- 1 root root 189, 0 Apr 4 21:13 001 crw-rw-r-- 1 ...
0
votes
1answer
44 views

Disable all USB Storage Devices except USB Dongle

I need to disable all USB storage devices except a software Protection Dongle. How do I do it? I tried black listing the USB storage device, but that seems to block ALL usb devices including the ...
1
vote
0answers
63 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
323 views

Problems booting in recovery mode with Ubuntu 12.10

This is what I get when I boot into recoverymode: udevd[369]: timeout: killing '/sbin/modprobe/ -bv pci:v00001002d00006738sv0000174 Bsd0000174Bbc03sc00i00' [374] It shows multiple times.
0
votes
0answers
33 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
100 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 ...
2
votes
1answer
90 views

How to create udev event that runs a command for mx510 usb mouse?

I have Logitech mx510 mouse which uses 400cpi resolution by default. I want to set it to 800cpi automatically. How can i set a udev rule that runs lomoco -8 when I plug in the mouse?
1
vote
0answers
81 views

Can Ubuntu be used with an alternative to udev (reason increased boot speed)?

I think that udev can be a wonderful thing, since it really manages that the same Ubuntu system will boot up on virtually "every"(*) hardware setup. So I do really apreciate udev. Still I think it ...
1
vote
1answer
538 views

How to disable udev net rule generation?

In our cloud, we generate MACs with the prefix 2c:c2:60 for instances. When we re-use an instance, or duplicate it, the new copy gets another MAC address. When the new copy boots, the NIC gets the ...
1
vote
1answer
103 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
662 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 ...
2
votes
0answers
106 views

Udev rule gets matched twice with a smartphone in storage mode

I have a problem with an udev-rule, that gets matched always twice when i connect my device. I wouldn't ask here if was not very sure that i made up an absolutely correct rule. I think the problem is ...
1
vote
0answers
100 views

Failing to upgrade udev on 12.04 armhf (beagleboard)

I have just tried an usual update+upgrade today on my beagleboard and it fails as below: cprov@beagle-one:/var/lib/dpkg$ sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
3
votes
1answer
137 views

Can I prevent an IDENTIFY PACKET DEVICE command to a specific device at boot?

This is related to a previous question related to installation that is now resolved. I'm opening a new question, because I still need to get my DVD drive working. Problem: Failed boot when my ASUS ...
2
votes
1answer
239 views

How do I let other users access my /media/[username]/HARDDRIVE with Ubuntu 12.10?

I am trying to let other users access my external 1TB NTFS hard drive mounted automatically at /media/[username]/STORAGE The problem is that by default, udisk2 (present with Ubuntu 12.10) ...
2
votes
0answers
66 views

How can I temporarily suspend Nautilus filesystem automounting, without making permanent changes to the system and user configuration?

I have written a tool which automatically formats and copies files to USB flash drives when they are inserted. It needs the drive to be unmounted to format it. Normally Nautilus will automatically ...
1
vote
1answer
160 views

udev to ignore disk partition mapping?

is it possible to disable partition mapping on specific SATA disk? I'm using ,say "sdb", disk for DRBD replication where KVM VM is installed directly. Because of that, /dev/sdb got partitions and ...
0
votes
1answer
139 views

Creating floppy drive special devices under Quantal

First, I'd like for the various special devices for different floppy capacities (like /dev/fd0u720 etc.) to be available. I tried to adapt some udev rules I found online. I tried this, which I saved ...
2
votes
1answer
817 views

NTFS partitions mount as root instead of user as set in /etc/fstab

I recently upgraded a server to Ubuntu 12.04 with a fresh install and my NTFS partitions won't mount as user at boot but I can mount them as user manually from the console with $ sudo mount -a. Using ...
3
votes
0answers
367 views

udev hide partition in nautilus for specific user/group

I'm trying to hide a partition form a specific group of users in Ubuntu 12.04. I have created a new rule in /etc/udev/rules.d/99-hide-disk.rules with KERNEL="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1" ...
1
vote
0answers
97 views

How do I set up dependency based startup to reconfigure the network interfaces before networking is started?

I have a system which originally ran Ubuntu 12.04 (now 12.10) on the 'real' hardware. Due to a requirement to run Windows 7 and IE9 (watching streamed movies needed Silverlight with DRM) I installed ...
0
votes
0answers
124 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
1answer
136 views

how to set owner and permission to a cryptsetup made device?

I have an encrypted loopback volume. I need to mount and umount the volume manually, so I use cryptsetup luksOpen and cryptsetup luksClose . However, under all sessions (gnome/xfce/kde/unity), when I ...
0
votes
1answer
487 views

What does udevd process do during the boot time?

Ubuntu 11.04 boot time is 80 seconds 67 of which belong to the udevd process. Here's what dmesg shows: [ 6.534288] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) [ ...
0
votes
0answers
47 views

smartctl not returning on HBA that's secure-erasing a different drive

Whenever I run smartctl -i /dev/sd* where * is a drive that is plugged into the same host bus adapter as another drive that is currently being erased with an hdparm secure erase command, the smart ...
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 ...
9
votes
2answers
660 views

What happens under the hood when an USB drive is inserted?

Some systems use udev / pmount to automatically mount thumbdrives. How is that solved in Ubuntu (specifically, Ubuntu 12.04)? Apparently, neither the pmount package nor the corresponding udev rules ...
1
vote
2answers
817 views

Ubuntu Server 12.04 hotplug SATA automount

How do I get Ubuntu Server to recognize and automount a hotplugged SATA drive? AHCI is on and I can manually mount but as this device is destined to be a headless device used by people with no clue ...
3
votes
1answer
756 views

Udev webcam rule read, but not respected?

I have two usb-webcams on them machine, but at boot they sometimes switch /dev/video number. The solution to this problem seems to be creating a new udev rule. I have added this rule ...
2
votes
1answer
430 views

Trying to automount USB drive in VirtualBox via udev but changes have been made in ubuntu 12.04

So i'm trying to automount my usb sticks on my VirtualBox guest via udev. There was a fine guide to it here: https://forums.virtualbox.org/viewtopic.php?f=7&t=39374 The problem is that guide is ...
1
vote
1answer
621 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 ...
2
votes
1answer
480 views

automatically starting crashplan backup when a usb harddisc is connected

Using CrashPlan I've configured two backup sets: online backup in crashplan's cloud (this is running perfectly) a local backup on a usb harddisc directly connected to the local laptop. The USB ...
1
vote
2answers
581 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 ...
0
votes
1answer
1k views

What are these “unknown key 'BUS'” errors during boot?

I'm trying to optimize the boot process on my Ubuntu 12.04 laptop, and while analyzing the /var/log/boot.log file I found many unknown key 'BUS'.... How can I get rid of them? Here's the relevant ...
1
vote
1answer
243 views

Auto-run script when iPad plugged in

The way that Ubuntu handles documents on the iPad is awesome (without any configuration required). It beats windows, even with iTunes installed. I want to have the documents in certain iPad apps ...
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 ...

1 2