The tag has no wiki summary.

learn more… | top users | synonyms

21
votes
2answers
520 views

What problems does udev actually solve?

For that matter, what exactly was wrong with a bunch of static files in /dev? It's apparently unsatisfactory enough for developers to have reinvented this wheel by my count 3 times now (devfs -> udev ...
12
votes
1answer
573 views

Assigning USB hub to specific seat in multiseat configuration

On my debian-based machine, I have a working multiseat configuration. One annoying detail that so far I couldn't fix is that any USB hardware I connect is always assigned to the primary seat. ...
10
votes
6answers
14k views

Using udev rules to run a script on USB insertion

I'm trying to set up a script to run every time I plug in a USB device. I created the file /etc/udev/rules.d/90-local.rules and added the following rule: ACTION=="add", SUBSYSTEM=="usb", ...
7
votes
5answers
5k views

udev rule to auto load keyboard layout when usb keyboard plugged in

im trying to load a new keyboard layout when I plug in a usb keyboard but my udev rule isnt working. SUBSYSTEM=="input", ATTR{idVendor}=="062a", ATTR{idProduct}=="0201", GOTO="usb_xmodmap_auto" ...
5
votes
3answers
7k views

Script in udev rule doesn’t run

I'm running Ubuntu 9.10 (Karmic Koala) on a laptop and would like NumLock to automatically toggle depending on whether my USB keyboard is plugged in (numlock on) or unplugged (numlock off). To ...
4
votes
2answers
5k views

Why is Google Chrome not starting after replacing udev with systemd-tools?

I recently updated my system via sudo pacman -Syu. Afterwards, I proceeded to open Google Chrome, but it failed. When I tried to start it via the terminal I got the error. /usr/bin/google-chrome: ...
4
votes
3answers
2k views

udev: waiting for uevents to be processed on my Gentoo

During the startup I see machine executing this thing for about 30 seconds: udev: waiting for uevents to be processed Then I get a quick message which says something like: devfs: timeout (50 ...
4
votes
2answers
10k views

How to rescan and remount drives on Ubuntu Hardy or Jaunty?

When I connect an USB drive to an Ununtu Hardy and Jaunty system, the system mounts the partitions found on the drive, and opens a Nautilus window for each mounted partitions. Within Nautilus, I am ...
4
votes
1answer
8k views

Ubuntu system drops to BusyBox prompt while booting, followed by “udevd [94]: timeout: killing '/ sbin / blkid-o udev-p / dev / sda' ” error

I have installed Ubuntu 11.10 on a netbook (Intel 1.6 GHz and RAM 1 GB) with Windows XP. One week ago, Ubuntu stopped. That day had not installed any upgrade or any software. When I try to start ...
4
votes
3answers
1k views

Update udev after fdisk run

How to update /dev directory after creation of new partition on a disk? I have the udev installed, it works perfectly except this. The new devices appear only on reboot.
3
votes
1answer
614 views

restore /dev after `rm`ing it

during a gentoo install from the livedvd, there's one step to create a dev dir to be used later in the chroot of the target for the instalation it's done like that mount --rbind /dev /mnt/gentoo/dev ...
3
votes
1answer
570 views

differentiate between identical USB devices on Linux

I'm using two identical USB to serial adapter on my Linux system. So depends on who's inserted first, one of them will be represented with name /dev/ttyUSB0 and the other with /dev/ttyUSB1. Is there a ...
3
votes
1answer
242 views

How to blacklist a USB device by UUID in GNOME (udev)?

I'm using GNOME 3, with udev. How can I blacklist a specific USB drive by its UUID or label so that it doesn't mount automatically?
2
votes
1answer
3k views

How do I get udev to mount certain USB disks when they are plugged in, or after a reboot?

I've just upgraded to Fedora 15. I've used Bacula for backup for some years now, and it works fine. But now I've just run into a problem, probably because Bacula is now running as user bacula rather ...
2
votes
5answers
12k views

No login prompt displayed after updating Ubuntu 10.04, broken gdm

So here's what happens: I updated my system the other day, was prompted for a reboot for the update to complete but was in the middle of working so I delayed it until after I was done. I reboot and ...
2
votes
1answer
130 views

White list for USB flash using udev

I want to create something like "white list" for USB flash drives. I mean "deny everything that is not allowed". I know that I should use udev rules: Add to /etc/udev/rules.d/ a rule to deny every ...
2
votes
2answers
629 views

Prevent all access to hard drives from Linux Bootable CD

I'm working on creating a bootable Linux CD to distribute a sandbox environment to customers that will work on multiple PCs. One requirement of this environment is that we do not want the user to ...
2
votes
2answers
169 views

On linux something is changing my backlight brightness. How to know what process it is?

I'm using Linux with a 3.9 kernel (BohdiLinux, but I'm looking for a distro (or at least desktop environment) agnostic answer). Something is periodically (or on some event, perhaps) reseting the ...
2
votes
1answer
597 views

Debian Lenny expects udev on a vps that doesn't support it

Primary symptom: /proc/self/fd is there and normally populated, however /dev/fd is not. Process substitution therefore fails, because bash wants to create files under /dev/fd. /dev/.static/ and ...
2
votes
1answer
2k views

udev: Mount encrypted volume upon USB stick insertion

I have an encrypted partition which I would like to mount automatically when I insert a usb stick containing the key, and I'd like to unmount it (and close the mapper) when the stick is removed. I am ...
2
votes
2answers
148 views

Linux: How to read-enable dynamic mice

I have an app that reads input from 4 (four) mice that are plugged in via USB in addition to the built-in touchpad. This is no problem for Ubuntu 9.10: hald notices the new devices and udev's them ...
2
votes
1answer
935 views

udev rules ignore device

I'm on Fedora 18 In /etc/udev/rules.d I've added new rule (70-stm32.rules) with following content: SUBSYSTEM=="block", ENV{ID_MODEL}=="STM32_STLink", OPTIONS=="ignore_device" then restarted udev ...
2
votes
1answer
191 views

udev affects behavior of script, prevents dpkg from working

I have a udev rule configured to run a shell script whenever a USB flash drive is inserted; I've verified that udev matches against the rule, that the shell script runs as intended when run manually ...
2
votes
1answer
722 views

Setting udev rules in Linux Mint 13

What I'm trying to do is set up a udev rule for my HP headphones (usb) with the aid of several tutorials out there. Created a file ( 90-local.rules ) in /etc/udev/rules.d and added the following: ...
2
votes
1answer
530 views

Udev rules failing to pass parameters

Linux newbie on Gentoo here. I am trying to write a udev rule that would run a Python script and pass some information whenever a usb device (specifically a usb modem) is inserted. I have: ...
2
votes
1answer
585 views

Udev rules on Ubuntu/OMAP (Beaglebone)

I have an IROX Pro-X weather station and am running wview weather software on Ubuntu 12.04. I have been running it on my old laptop for a few months with no problems but am trying to run it on a ...
2
votes
1answer
366 views

In Ubuntu, after I add a partition to /dev/sde, why don't I have a /dev/sde1 device?

I'm using ubuntu 9.10 with kernel 2.6.31. In addition to the boot disk, I have a software raid of 5 disks using mdadm. One disk failed. I removed it from the array. mdadm --detail /dev/md0 shows: ...
1
vote
1answer
62 views

I don't have eth0 but eth1

How come I don't have eth0 but an eth1 instead? I restart service udev, like below, but my ether card is still eth1, not eth0 % service udev --full-restart * Stopping the hotplug events dispatcher ...
1
vote
2answers
256 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm ...
1
vote
1answer
331 views

Xorg input devices fail without udev

What I am trying to do: Launch Xorg server without udev device manager. What I have tried to do: Make sure that /dev/ has all required nodes, such as /dev/input/*. Make sure that all required ...
1
vote
2answers
2k views

udev rule not being executed

I have the following device that udevadm lists as: looking at device '/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2/6-2:1.0/ttyUSB0/tty/ttyUSB0': KERNEL=="ttyUSB0" ...
1
vote
1answer
28 views

udev rules exclude device

is it possible to use udev rules to excluce a single device from the rule? for instance if I have 5 harddisk plugged in and I want to create custom names for all harddisk except for a single one? is ...
1
vote
2answers
5k views

Reloading udev rules fails

I've changed my rules in /etc/udev/rules.d (Ubuntu) to change my ethernet port names from 0 to 1 and 1 to 2, however whenever I run: sudo service udev restart sudo udevadm control ...
1
vote
2answers
769 views

Setting graphics driver without xorg.conf

It looks like X has this new approach of working without a xorg.conf and instead letting udev do all the configuration. Is there a nice description of this out there? More specifically I installed ...
1
vote
1answer
846 views

udev and Garmin eTrex Vista HCx in ubuntu 9.10

I have a Garmin eTrex Vista HCx GPS and would like to use it in ubuntu 9.10. At first I just plugged the thing in and it recognised it as a "Garmin eTrexHCx microSD" in the nautilus "computer:///" ...
1
vote
1answer
27 views

udev rule to make certain ports always correspond to certain devices

Basically my problem is that I am on a server which constantly switches around hdd's. what I want to achieve is have having devices tied to the physical ports on the hardware. like /dev/sda is port 0 ...
1
vote
1answer
122 views

udev rule with bInterfaceNumber doesn't work

I'm trying to use udev to give relevant names a USB-serial device but I'm having now luck. # lsusb -d 04e2:1412 -v Bus 004 Device 028: ID 04e2:1412 Exar Corp. Device Descriptor: ...
1
vote
0answers
196 views

Howto set udev rule to disable intel_pstate turbo on linux?

I m looking to make a udev rule that will basically do: echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo In order to disable the turbo, how can i do it ? I ve nevr made udev rule and I am a ...
1
vote
1answer
98 views

Set an external HDD to shut down mode

I use udisks --detach /dev/sdb for safely remove my hard disk. This command works like safely remove menu in nautilus when you right click on an external HDD. The problem is, after 2 sec hard drive ...
1
vote
0answers
175 views

Prevent udev / uevents looking up DVD at boot time

Problem: Boot time delay caused by udev. Early after initscripts starts there is message saying waiting for uevents to be processed and causing delay on boot, it seems that udev is looking if there ...
1
vote
1answer
722 views

Writing USB udev rules based on vendorid, productid & usb bus information

I've got a few usb webcams, but unfortunately they have no serial numbers. So upon boot they tend to switch device file names. Since they'll always be in the same usb port I want to create a rule ...
1
vote
0answers
107 views

Device detected before udev loaded on boot

I have an FTDI USB serial device plugged into a USB port on boot. I have set up a udev rule to create a fixed name for the port that it exposes. My problem is that on boot up the device sometimes ...
1
vote
0answers
721 views

Strange message during the Linux boot caused by udev

When Debian Wheezy, testing version, is booting a strange message appears: udevd[336] timeout usb_id--export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-2.2/1-1.2:1.0 video4linux/ [502] After this ...
0
votes
3answers
136 views

Linux How can I prove if udev installed?

How can I prove if udev is installed and working proper? Just call udevadm would be a method, right?
0
votes
1answer
331 views

Permanent Permission on /dev/ttyS0 CentOS 6.4

I seem to be unable to change the permissions on the /dev/ttyS0 device of a CentOS 6.4 machine. Every time I reboot, the system goes back to the defaults. I've googled that I need to edit the udev ...
0
votes
1answer
1k views

Where can I find the command “udevinfo” on Debian?

I'm trying to fix a problem with my webcam in Wheezy, and I need some information about the drive with the command udevinfo. The problem is: where is this executable? if I run sudo udevinfo the ...
0
votes
2answers
88 views

wait for kernel after creating partition with sftdisk on linux

I am creating a partition with sfdisk under linux. After partition creation I want to create a filesystem. This fails with mkfs.ext3 not finding the partition: echo ",,L" | sfdisk $DEVICE mkfs.ext3 ...
0
votes
1answer
76 views

How to treat an internal hard drive like an external one (to only mount on request)

I want to assemble a Linux machine with an SSD Drive for the root filesystem. Another, larger internal hard disk is also attached, but will only be used few times a week/month, for backups, storing ...
0
votes
1answer
155 views

Disable device node using udev (/dev/sr0)

I am trying to disable udev from generating /dev/sr0 device (my cdrom) and Im trying to write udev rules. I added a file 10-cd-trial.rules in /etc/udev/rules.d and /lib/udev/rules.d, the contents ...
0
votes
1answer
53 views

What does these udev rules mean?

The following is taken from an embedded system which does not have hard drive in it. KERNEL=="sd?", SUBSYSTEMS=="usb", DRIVERS=="usb-storage", NAME="sda" KERNEL=="sd?2", SUBSYSTEMS=="usb", ...