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

learn more… | top users | synonyms

2
votes
0answers
238 views

LVM logical volumes do not activate on boot on 13.10

I am running an UbuntuGNOME 13.10 and I set it up without an LVM during the installation process. I am now running it with to encrypted partitions, one is containing a LVM. This all works fine, ...
0
votes
1answer
579 views

udev + xrandr to set display gamma when plugging in a display works briefly, but gets overridden

I'm using a script like this to set the gamma values of my laptop screen and external monitor: #!/bin/bash export DISPLAY=:0 export XAUTHORITY=/home/peat/.Xauthority xrandr --output LVDS1 --gamma ...
1
vote
0answers
442 views

How to store LXC container's files in another folder

Well the answer seems to be given on https://help.ubuntu.com/13.04/serverguide/lxc.html#lxc-hostsetup page under Using a separate filesystem for the container store title but it doesn't work for me. ...
2
votes
1answer
1k 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
515 views

Automatically disable mouse acceleration whenever mouse is plugged

I have a laptop and I often use a Logitech G5 mouse with it. I don't like acceleration while using the mouse. Thus I have to disable the acceleration every time I plug the mouse. Is there a way to ...
0
votes
1answer
205 views

Connect K8055n Experiment Board to Ubuntu

I purchased a K8055n Velleman Experimental Board and for some reason every program I run or if I try to access the board I get the following error: Could not open the k8055 (port:0) Please ensure ...
0
votes
1answer
5k views

Huawei e173s 3G USB dongle won't switch into modem mode

Output of lsusb | grep Huawei is Bus 003 Device 003: ID 12d1:1c0b Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem off) I've checked if usb_modeswitch is set up properly as per ...
1
vote
2answers
728 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
110 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 ...
1
vote
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
78 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
377 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 ...
2
votes
1answer
4k 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
1answer
103 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
266 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
430 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 ...
1
vote
2answers
2k 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
5k 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
4k 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
2k 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
240 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
555 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
184 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", ...
0
votes
1answer
539 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
242 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
968 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
419 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
378 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
403 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
864 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
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 ...
10
votes
2answers
3k views

Prevent a specific USB device from auto-mounting

I want to stop a USB device from automounting in Ubuntu 13.04. For example, when I connect my iPhone 5 to my desktop I am consistently prompted for what I want to do (whether or not I want to erase ...
3
votes
2answers
6k 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
240 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
204 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
199 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
150 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
322 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
609 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
442 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
240 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
427 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
256 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. ...