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

learn more… | top users | synonyms

3
votes
2answers
32 views

Udev - How to change device group?

By default, all hard drive and usb drive devices belong to group "disk". I want to change usb drives to group "adm". I verified the ID_BUS $ udevadm info -q all -n /dev/sdb | grep ID_BUS E: ...
0
votes
1answer
16 views

Ubuntu Server: Boot Messages on terminal 7 (video) Why?

I use only text terminals in ubuntu server. Especially at boot time :) I've turned off plymouth splash screen and I get boot messages on terminal 1. But after couple of messages, active terminal is ...
0
votes
0answers
23 views

Scrolling Microsoft Natural Ergonomic Keyboard on 14.04 [closed]

(This question is a follow up to how to get Microsoft Natural Ergonomic Keyboard 4000's zoom slider (and other buttons) to work? ) On 14.04, the suggested steps to get the scrolling key on the ...
2
votes
0answers
34 views

Why do my udev rules run if I use udevadm trigger, but NOT at boot time?

I'm having trouble with udev rules not running. Here's an example: I have a rule /etc/udev/rules.d/99-test.rules which contains: ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ...
1
vote
0answers
484 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 ...
6
votes
1answer
239 views

How to run a script when password is entered at the lock screen?

To toggle the enabling/disabling of my notebook's touchpad according to connected USB mouse, I used touchpad-indicator, which runs a daemon to monitor connected devices and take appropriate action. ...
2
votes
1answer
148 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 ...
0
votes
1answer
26 views

ID_FS_LABEL in udev

What is ID_FS_LABEL in udev? Also why doesn't it show up when I execute this command : sudo udevadm info --root --name=/dev/sdb The output that I get for the above command : vineet@vineet:~$ sudo ...
59
votes
5answers
8k views

I can read from /dev/null; how to fix it?

I read the Wikipedia article on /dev/null and was playing around by moving files to /dev/null. For this I created a test_file and put some contents in it: $ touch test_file $ echo "This is written ...
0
votes
0answers
33 views

What is the difference between /dev/tty* and /dev/bus/usb/001/002?

When I plug in a device that uses the LUFA USB framework (or any USB<->serial peripheral), Ubuntu creates a /dev/ttyACM* device file. It also creates a /dev/bus/usb/001/002 file and a ...
2
votes
1answer
56 views

Usb udev rule never worked for me

I try to have a USB device recognized as being part of my user group. So I don't have to issue a sudo during development time when I debug my program which access those devices. Especially painful ...
1
vote
1answer
34 views

Identify udev subsystems and devtypes

I have to write a python script to monitor for usb mass storage devices. To successfully filter the required media it must be identified by its subsystem and DEVTYPE. Does anyone know the required ...
4
votes
3answers
1k views

Rebuild /dev accidentally deleted

How to rebuild /dev on an ubuntu lucid where all files in /dev were accidentally deleted ? MAKEDEV std and MAKEDEV pty aren't enough, which isn't surprising on a system under udev. I haven't reboot ...
0
votes
1answer
120 views

Multiseat in Ubuntu 13.10

I have a Ubuntu 13.10 Desktop machine with one Intel Integrated graphic card and one PCI graphic card.I want to implement Multiseat (2 seats) configuration with own set of keyboards, mice, and ...
1
vote
0answers
75 views

udev rules for pendrive (/dev/sdb1) to change owner, group, permissions

Ubuntu 13.10 - Need udev rule to change owner/permissions for /dev/sdb1 (usb pendrive) when plugged into computer. All combinations tried so far under /etc/udev/rules.d/99-pendrive have failed to ...
2
votes
2answers
2k views

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 about the terminal so I need something as idiotproof as possible. I expect I ...
4
votes
1answer
5k 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 ...
2
votes
2answers
707 views

automount USB drive in VirtualBox via udev in ubuntu 12.04

How do you automount usb drives directly to VirtualBox in ubuntu 12.04
0
votes
1answer
3k 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
33 views

Alternative for removing ignore_device option in udev?

Recently, the option ignore_device has been removed from udev rules. What is the alternative to deny a device to mount or to connect to system in udev rules?
0
votes
1answer
34 views

Why does my udev rule run several times?

I want to when I plug an usb device to my laptop, a script will be run just one time. So I use the udev rules system in UBUNTU 12.04. I wrote the below udev rule: ACTION=="add", SUBSYSTEMS=="usb", ...
0
votes
0answers
105 views

All effects on my desktop have stopped working (UDEV problem?)

Yesterday I upgrade my system (currently running 12.04 with kernel updates from the PPA), and there has been a problem with the update of udev see below for the console output. Setting up udev ...
4
votes
2answers
6k 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 ...
0
votes
0answers
29 views

After converting KVM machine to native environment, system boot is slow

A coworker set up a Ubuntu 12.04 system that will eventually be used for booting without a disk via the network with KVM. Everything works as it should on native hardware, except a delay of 113-114 ...
0
votes
0answers
67 views

How to write a udev rules file for /dev/sda

How to write a udev rules file to change permission of /dev/sda for permanent change of ownership to normal user (even after reboot).
0
votes
1answer
78 views

How to require mount with password of other internal hdd partitions for all mount-style applications (with udev)

I am trying to block access to other partitions with different file systems on the same physical hdd (layout: gpt) by preventing any partition mounting without requiring a password. FSTAB takes care ...
3
votes
3answers
7k 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 ...
0
votes
1answer
107 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 ...
3
votes
1answer
508 views

Can I hide a partition in Nautilus for a 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" ...
2
votes
1answer
270 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
0answers
149 views

Ubuntu Server 12.04: Boot hangs with error "udevd[538] inotify_add_watch(…) failed: invalid argument

I'm currently faced with the following situation: when rebooting a Ubuntu 12.04 LTS server after updating (it ran perfectly for a year or so, I updated it around two months ago and rebooted with no ...
6
votes
3answers
7k 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 ...
16
votes
5answers
22k 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 ...
1
vote
1answer
136 views

auto rip CD with morituri (or launch custom script on CD insert)

How can I automaticaly start ripping my CD when I insert a CD. There used to be a custom command option in the settings where you could run a custom command on CD insert. The I could use a bash script ...
2
votes
0answers
90 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, ...
6
votes
6answers
1k 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 ...
0
votes
0answers
75 views

Egistec ES603 fprin_demo Shows No Device found

On ubuntu 12.04 LTS amd64 I have used the following commands to get fprint_demo. sudo apt-get install libfprint0 fprint-demo libpam-fprint gksu-polkit wget ...
0
votes
0answers
75 views

Simulate USB reconnect to change device number

I have a PS3 controller strangely doesn't work if it's connected as /dev/bus/usb/006/002. If it gets assigned any other device number (like /dev/bus/usb/006/003) then it starts working (which can be ...
0
votes
0answers
79 views

PS3 controller only works after unplugging and plugging in again

I use xboxdrv for my PS3 controllers which I connect via USB. I start xboxdrv with the following command (using daemon because I don't have the controllers connected all the time): sudo ...
1
vote
1answer
225 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 ...
0
votes
0answers
34 views

Where is the udev error log located?

I'm trying to add some rules to udev. I've added usb_log="info" in /etc/udev/udev.conf, but I can't figure out where the messages end up. They used to be in syslog, didn't they? I just installed ...
1
vote
0answers
112 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. ...
0
votes
0answers
76 views

Ubuntu 13.10 - how to apply kernel patch?

In Ubuntu how can i change this modifications safely? One manufacturer given me the PATCH to apply. "faulty USB2 cameras on USB3 Linux systems. patch" --- linux/drivers/usb/core/hub.c.orig ...
0
votes
1answer
74 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 ...
2
votes
1answer
255 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
1answer
191 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
0answers
336 views

Stuck on a blank screen with a flashing cursor and a udevd error [duplicate]

Possible Duplicate: [My computer boots to a black screen, what options do I have to fix it?] (My computer boots to a black screen, what options do I have to fix it?) I have Ubuntu 11.10 ...
0
votes
0answers
66 views

Tie via UDEV an external video webcam to /dev/video5 for Apache Server webcam streaming

My aim is to nail my Logitech C270 to /dev/video5 and my old less capable internal cam to /dev/video0 via setting UDEV rules as follows in /etc/udev/init.d/26-video-persistent.rules/ ...
0
votes
1answer
2k 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 ...
0
votes
0answers
238 views

13.04 udev and bios config for MTP

I'm new to ubuntu. Prior to install it on my brand new work computer, i tried ubuntu 13.04 on a gigabyte brix. Main specs as follow: dual core 1.8 ghz intel graphics intel 8 gb of ram unknown ...