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

learn more… | top users | synonyms

1
vote
2answers
616 views

Doubts about symbolic link Printer Brother all-in-one [Solved]

I have a doubt and confusion regarding symlinks on settings of "Brother MFC-660CN printer" I installed the drivers through an installation file of the website Brother The file is ...
1
vote
0answers
101 views

Problem with cryptdisks-udev service

I am getting an error when I run 'puppet resource services' that complains about the cryptdisks-udev service. The exact error message is as follows: status: Unknown parameter: DEVNAME The error ...
1
vote
1answer
1k 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 ...
0
votes
1answer
2k views

For pulseaudio what does tsched do (and what are the defaults)?

If I modify /etc/pulse/default.pa and change this line: load-module module-udev-detect to: load-module module-udev-detect tsched=0 I am clearly disabling tsched. Similarly if I change the line ...
0
votes
1answer
56 views

UDEV: how to match SYMLINK during remove event?

I am using libusb to contact with a printer. And I am writing a rule for udev to remove the printer when it is disconnected. I use symlink to indicate the device. But when removing, the rule is not ...
1
vote
2answers
296 views

Why would 70-persistent-net.rules have no effect?

I've got a saucy server with a lot of NICs and they end up with weird names like "rename19". I know interface names can be changed by modifying the /etc/udev/rules.d/70-persistent-net.rules file. The ...
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
3k 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
505 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
93 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
236 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
367 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
4k 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
3answers
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
206 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
501 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
159 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
553 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
510 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
226 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
921 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
1k 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
389 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
341 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
371 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
784 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
2k 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
2answers
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
219 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
188 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
181 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
6k 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 ...
2
votes
1answer
139 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
301 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
570 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
437 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
219 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
396 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
242 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. ...
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
210 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
4k 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
359 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
35k 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 ...