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

learn more… | top users | synonyms

0
votes
1answer
2k views

Adding to a file: /etc/udev/rules.d/51-android.rules

I am a complete n00bie, so please be gentle.... I have just started using Eclipse with the Android ADT setup and I attempting to set up a device for development. I have created the following file ...
1
vote
1answer
2k views

How to detect insertion of DVD disc?

In particular, how to catch it for the purposes of automounting the DVD filesystem? Update in response to Oli's answer: udev seems to be able to detect the insertion of DVD, as demonstrated by ...
1
vote
0answers
420 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 ...
0
votes
1answer
87 views

How to run a script when I connect a device?

new Linux user here (Ubuntu 12.04)... I've been looking on google and found some scripts that would make what I'm about to ask easier but what I would like to do is write a script that automatically ...
0
votes
1answer
208 views

Reducing the size of udev filesystem

I have this line in the output of df -h: udev 16G 4.0K 16G 1% /dev What is this thing doing? Do I need it, and if not, how can I reduce the size of it? As far as I know, this ...
0
votes
1answer
314 views

Remove persistent devices from file browser list

In my file browser, it lists all the drives and devices available for browsing. There is one that is from another OS installation, and i want to remove it from the list. Hiding devices using ...
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 ...
6
votes
6answers
3k views

How can I tell linux kernel to completely ignore a disk as if it was not even connected?

Notice Please scroll down for the answer (it has 0 points but it is the correct one). The problem is solved by a patch that will be in kernel 3.12.7 and up; I hope it will back-ported to earlier ...
1
vote
2answers
3k views

Using udev to automount external HDD

I have just installed a Plex Media Server to my Linux box and am happy with the idea of the server. My problem is the fact that Plex is not discovering ANY of the files on my external hard drive. The ...
3
votes
2answers
1k views

Problem with `notify-send`

I have been working in a script to change audio output when you (dis)connect am HDMI screen/TV. Basically it uses UDEV to check any change in the connection and acts accordingly. Everything works ...
2
votes
1answer
191 views

udev held back by apt-get while using ondrej systemd PPA

For probably about a month now, udev has been held back by apt-get when running apt-get updgrade. The following packages have unmet dependencies: udev : Depends: sysv-rc (>= 2.88dsf-24) but ...
1
vote
1answer
447 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 ...
1
vote
0answers
138 views

Why doesn't my udev rule work? [closed]

I created a file /etc/udev/rules.d/60.alsa.rules with the following content: KERNEL=="0000:00:1b.0", SUBSYSTEM=="pci", ATTR{label}=="Realtek High Definition Audio Device", ATTR{vendor}=="0x8086", ...
1
vote
0answers
519 views

Ubuntu 12.04 boot from LiveCD - “udev timeout sbin/modprobe -bv” error message

I'm trying to install Ubuntu 12.04 from LiveCD. I get the short purple-hue screen at first, but then I get the following error: udev timeout sbin/modprobe -bv pci:v0.... This goes on for 2 ...
0
votes
1answer
473 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 ...
0
votes
1answer
220 views

Upgrade to the latest LTS ubuntu server

I've the old OS installed in our server and I needed to install nodejs on the process I was required to update the system so I did apt-get update and in the process it breaks the libudev library and I ...
1
vote
1answer
876 views

ADB cannot see my tablet (Pipo S1)

I am unable to access my tablet (Pipo S1) through adb - after running adb devices, there are no devices visible. USB debugging is enabled, and I have tried 2 different USB ports and cables. I was ...
1
vote
1answer
997 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
353 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
1answer
315 views

udev rule for cdma modem is not working

The udev rule i've written for CDMA modem is SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="00", ATTRS{bNumEndpoints}=="03", ATTRS{product}=="ZTE CDMA Tech", ACTION=="add", SYMLINK+="CDMAModem" and $ ...
2
votes
1answer
356 views

Custom udev rules won't work

I'm trying to set a custom udev to set the /dev/sd** mount point for all 6 HDDs on my system. I've been trying to get it to work, but it just wont. I need to get this sorted because my drives seem to ...
1
vote
1answer
720 views

Why /dev/disk/by-id/ change after a suddenly server power-off?

I'm management a server that in /etc/fstab have references to some partitions using /dev/disk/by-id/DISK_ID-partN. The server suddenly power-off and DISK_ID part of /dev/disk/by-id/DISK_ID-partN ...
1
vote
0answers
61 views

Udev alternates between correct and incorrect network configuration on subsequent reboots

I'm currently experiencing a problem that seemingly lies with udev in Ubuntu 12.04. I have numerous machines in the lab I am managing, all of which have been cloned from a single original master ...
1
vote
0answers
1k views

USB drives not recognized all of a sudden (module usb_storage not loading)

I am very close to the solution, just need to know how to get usb-storage to load I have tried most of the advice on askubuntu and other sites, usb_storage enable to fdisk -l. But I am unable to ...
3
votes
1answer
5k 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
1answer
201 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?
5
votes
1answer
1k 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 ...
1
vote
2answers
174 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
167 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
5k 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 ...
1
vote
0answers
124 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
275 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
2answers
535 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
435 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.
2
votes
0answers
211 views

Udev: no takes rule for gps [closed]

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
374 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
54 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
233 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?
15
votes
3answers
2k views

How are key codes mapped to the appropriate action?

After figuring out how to change the mapping of scan codes to key codes using udev, see this question, I was wondering how those key codes (or events if you will) are mapped to the appropriate action. ...
1
vote
0answers
313 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 ...
3
votes
3answers
11k 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
208 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 ...
2
votes
1answer
333 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 ...
16
votes
6answers
32k views

How to make keyboard backlight Fn buttons work in Samsung Series 9?

I've just installed Ubuntu 12.10 on my Samsung 900X4C. However, I can't get the keyboard backlights to work. I added the keymaps as per community docs - Samsung Series 9 (section Function Keys). But ...
5
votes
2answers
871 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 ...
5
votes
1answer
2k 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) ...
4
votes
1answer
121 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
421 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
263 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 ...