Udev is a Linux process that manages device file entries under /dev

learn more… | top users | synonyms

2
votes
2answers
36 views

How can I run setfacl -m group:group2:rwx /dev/video0 /dev/snd/* on login?

Q: How do I grant permissions to /dev/video* and /dev/snd/* to a second user, user2 when logged in interactively as user1? I have written a wrapper for sudo that clones the XAuthority settings, and ...
2
votes
2answers
702 views

udev rule for usb attach/detach not triggering

I'm running RHEL6 and I'm trying to write a udev rule that is triggered upon plugging in and removing usb devices. I created a file called 80-usb.rules in /etc/udev/rules.d/ and I gave it the ...
4
votes
1answer
84 views

lshw lists my drive but it has no /dev file

Ive just got a dedicated server which has 2x 1TB HDD. However when I type df -h I get the following: [root@sd-56537 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 916G ...
3
votes
1answer
2k views

Udev : renaming my network interface

I just installed RHEL 6.3 on a Dell 1950 server. This server as two GBit ports, Gb0 and Gb1. For some obscure reason, udev chose to name Gb0 eth1 and Gb1 eth0. This is definitly not a good find for ...
2
votes
1answer
114 views

can not create /dev/shm

I need to create /dev/shm on an embedded ARM system. From "Installed The Latest Changes to Current and......". I see that it can be created with mkdir /lib/udev/devices/shm, but I'm wondering what ...
2
votes
1answer
213 views

Udev rule to match multiple node USB device

I have a 3G/GPS device that creates 5 tty nodes, although it's only one physical USB connection. Basically, a multi port usb-serial adapter. I'm trying to create some udev rules to make sure those ...
1
vote
1answer
128 views

XFCE on Debian: hiding block devices

I'm running XFCE 4.8 on Debian Wheezy and I can't find a clean way to hide a block device (system's SATA/SSD drive) on the desktop, but still be able to see / mount removable devices via Thunar. The ...
1
vote
1answer
331 views

Please help me understand what's wrong with this udev rule

I'm reading through this link in trying to make the appropriate rule to make the BSG device nodes have group ownership of wheel and permissions of 0660. This is the rule that I have: [user@mylinux ...
1
vote
1answer
201 views

UDev automounting drives as 'usbhd' regardless of type and name on Ubuntu 12.10

I have 3 drives which I use for storage on my system. Here are their mounting points in /etc/fstab # <file system> <mount point> <type> <options> <dump> ...
1
vote
1answer
267 views

Why do I not seem to have hidraw options on my system, and how can I fix my usb devices?

Starting today, I noticed a few problems with my system. USB devices, including the internal ones such as microphones, don't seem to be working at all. I first noticed when my keyboard and mouse ...
2
votes
0answers
17 views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...
2
votes
0answers
27 views

How can I set repeat rate of USB keyboard with udev?

How can I get my keyboard repeat rate to apply to a hotplugged USB keyboard? I made a udev rule to set the keyboard repeat delay and rate, /etc/udev/rules.d/99-usb-keyboard.rules with the following ...
2
votes
0answers
69 views

How to rename devices for graphical output such as VGA0

On my Laptop the names of my graphical outputs change depending on what chip is activated in the BIOS. This leads to problems in some scripts where outputs such as VGA-0 or LVDS-0 are specified. So I ...
2
votes
0answers
68 views

How to know when a device is ready

I have firewire mixing console and I wrote an udev rule which calls a script to set up the whole audio chain (alsa -> pulseaudio -> jackd -> firewire) as soon an the console is switched on. Now I ...
2
votes
0answers
209 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
2
votes
0answers
119 views

Can a FAT32 and NTFS file system exist without UUID?

I have an USB disk drive partioned with 2 FAT32 partitions, which is not getting detected in the embedded device, but gets detected in a Fedora system. Basically in the udev rules, I am not able to ...
2
votes
0answers
2k views

Understanding udev rules and permissions in libusb

I had a problem with my scanner. Xsane worked only as root. Using it as normal user it didn't find any devices. Adding the user to the groups saned or scanner didn't help. Finally I solved the ...
2
votes
0answers
356 views

Automatically update MPD database upon external storage insertion

I have an Alix board in my living room running Voyage MPD edition and acting as jukebox. In order to play "guest" music, I would like that MPD automatically updates its database with the content of ...
2
votes
0answers
437 views

Access a variable by name in udev?

I'm trying to get access to the partition type (the one-byte field in the master boot record) in udev, so that I can set ownership and permissions based on partition type. The challenge is of course ...
1
vote
0answers
34 views

Add udev rule alias for input device

I am trying to add a udev alias rule for my xboxdrv (x-box controller) and I can't seem to figure it out. dmesg | grep "input" I see: [ 6.239955] input: Microsoft X-Box 360 pad as ...
1
vote
0answers
36 views

GKrellM vs. udev's asynchronous drive mappings on bootup

Well, supposing you had multiple drives (3 in this example), udev would always play dice with them on each system reboot. And now, let's make things a little more quirky by adding one USB flash drive ...
1
vote
0answers
180 views

udev Unable to Rename Network Device: Device or Resource Busy

I'm trying to use udev rules in order to give my network interfaces static, consistent names. However, it seems like there is some race condition happening preventing these rules from consistently ...
1
vote
0answers
90 views

Why doesn't my udev rule work?

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
463 views

Not working udev rule with systemd-udevd on Fedora 19

I would like to play with IOIO on my Fedora 19, so I installed the udev rule as the documentation tells, in /etc/udev/rules.d/50-ioio.rules: ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ...
1
vote
0answers
266 views

Check if Keyboard and Mouse are plugged in

Is there a way to detect if a keyboard and a mouse is plugged in (and working) in Linux? This will be embedded in a PXE setup, so I only have Kernel + Modules and Busybox available. Bonus question: ...
1
vote
0answers
39 views

udev does not see drm subsystem changes on laptop resume

I am using udev to manage setting up monitors on my ThinkPad T400. I use a docking station, and the desired behavior is that when I dock the laptop, the LVDS output is turned off, and the DVI-0 output ...
1
vote
0answers
95 views

Udev rule- change group

I would like to change group of /dev/nvidia0. I was write udev rule: KERNEL="nvidia[0-9]", GROUP="video", MODE="0666" But it does't change group, after reboot file is in rootgroup. How do this?
1
vote
0answers
161 views

How to resume the ?WATCH command when a USB GPS is reconnected

I have some hacks to ensure that my USB GPS devices continues spitting data if disconnected, then reconnected. The devices are so flaky that they need restarting so as to continue transmitting data. ...
1
vote
0answers
376 views

How to achieve fast user switching with multiple graphics adapters, prevent virtual terminal switch?

My boxen has two video nVidia graphics adapters which I'd like to assign to separate seats, including virtual terminals. This question most likely isn't display manager specific, but in this case I'm ...
1
vote
0answers
120 views

Program does not terminate when called from udev

I've written a program in C#/Mono that probes a device to determine if it is a modem. The program works fine from the command line. However, when it is called from PROGRAM= in a udev rule, the ...
0
votes
0answers
11 views

Pulseaudio startup fails on VPS as non-root

I installed pulseaudio, but I can't manage to run it as any non-root user. pulseaudio -vvvv output is (relevant parts with errors): D: [pulseaudio] cli-command.c: Checking for existence of ...
0
votes
0answers
57 views

External disk doesn’t appear in /dev/

I have an external (USB-2.0) hard drive. Today I couldn’t mount it after plugging to my computer. When I look in /dev/ $ ls /dev/sd* There is no new disk, only sda and sdb with their partitions, ...
0
votes
0answers
356 views

Automount in Xfce4 just stopped working

A little while ago my usb drives stopped auto mounting. It might have been after an update but not sure where to look. I have been manually mounting them as root and that is a pain. Is there maybe ...
0
votes
0answers
487 views

upstart-udev-bridge is using 100% CPU (and a known fix doesn't help)

I'm running Linux Mint 12 on a Latitude D630 and every time I start my laptop (and sometimes when I come back from being suspended), top shows that upstart-udev-bridge is using 100% CPU (and if I do ...