0
votes
0answers
10 views

udev not detecting HDMI port events

I'm trying to get udev to automatically setup my second monitor when plugged in via HDMI port. The HDMI port is provided by 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core ...
1
vote
1answer
29 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 ...
0
votes
0answers
25 views

simple udev rule does not work

I want a simple udev rule which gives my usb stick always the same symbolic link. first of all I executed udevadm info --name=/dev/sdb1 --attribute-walk and got this result looking at ...
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 ...
0
votes
0answers
25 views

How udev sends input device change notification to Xorg?

I want to troubleshoot why the graphic tables is active only if it is connected when Xorg is started (and stops working with spamming of Xorg.0.log if I reconnect it). As far as I know, udev-based ...
1
vote
1answer
63 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 ...
0
votes
1answer
39 views

How to increase the bcache sequential_cutoff on Fedora startup

The bcache has sequential_cutoff parameter that is usually reachable at /sys/block/bcache0/bcache/sequential_cutoff and one can increase the level with following command: echo 512M > ...
0
votes
1answer
33 views

udev rule not working

I am trying to write a udev rule for USB drive plugin. I want to first mount it to /media and then run the script at /usr/local/bin/script.sh. When I insert the USB, it doesn't even mount the device ...
0
votes
1answer
115 views

udev 99-hide-disks.rules is no longer working

A while ago I created a /etc/udev/rules.d/99-hide-disks.rules file on Ubuntu which worked fine. At some point, the hidden disks started reappearing in Dolphin and other file managers. The file hasn't ...
21
votes
2answers
522 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 ...
2
votes
1answer
133 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 ...
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", ...
0
votes
1answer
174 views

How to check if a udev rule fired?

I am trying to acquaint myself with udev, under Ubuntu 13.10. Here is my first simple 95.usbbackup.rules rule: ACTION=="add", SUBSYSTEMS="usb", RUN+="/usr/local/bin/my_backup.sh" and here is the ...
0
votes
0answers
83 views

Xorg ignores input devices after udev restart

System: debian 7.1, amd64, Xorg 1.12.4, awesome window manager I have stopped udevd using /etc/init.d/udev stop then powered off the usb hub my input devices are connected to. I have since restarted ...
1
vote
1answer
124 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: ...
0
votes
0answers
100 views

Unable to start p910nd daemon properly in udev rules

I have a dot matrix printer connected to Raspberry Pi using USB Parallel cable. When I plug in the usb cable to Raspberry Pi, udevadm info show these: # udevadm info -a /sys/class/usbmisc/lp0 ...
0
votes
0answers
152 views

Mount/unmount as non root user keeping read/write permissions

As per title, how to mount/umount a removable media as non root user obtaining read/write permission on it? I've tried to write a udev rule but I was not able to get it work. I can either have ...
0
votes
0answers
48 views

udev rule to load pulseaudio module intermittently fails

I'm trying to create an udev rule for when an usb device is plugged in to call a bash script that uses pulseaudio to load a module. The udev rule triggers when the USB is plugged in and I can load the ...
1
vote
2answers
257 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 ...
2
votes
1answer
944 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 ...
0
votes
1answer
631 views

How to ignore a USB device in udev

I want to pass a USB device (to be precise: a smart card reader) to a KVM virtual machine, and therefore have to prohibit that it is claimed by any driver on the host machine. I tried to write a udev ...
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 ...
0
votes
1answer
353 views

Can UDEV somehow trigger zenity for a logged in user in a session?

I would like a zenity dialog popup to ask me if I would like to run a backup, when I attached a specific external drive. Unfortunately, I am having trouble with the UDEV rule syntax. I've got this ...
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 ...
0
votes
0answers
189 views

Linux doesn't boot with hyperthreading enabled

I've had this problem since 2.6.39: my computer won't boot without disabling hyperthreading in the bios. I'm using 3.6.6 now and still have the same problem. The only thing I can add to the ...
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 ...
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 ...
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 ...
0
votes
1answer
403 views

Devices renamed with udev not working, original device node still there

I'm trying to rename certain video devices using udev. Here's a rule (broken down for readability): ACTION=="add", SUBSYSTEM=="usb", ATTR{busnum}=="1", ATTR{devpath}=="2", ATTR{idVendor}=="05e1", ...
1
vote
1answer
724 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 ...
0
votes
1answer
204 views

Udev rule is not working

I use Gentoo. I write a udev rule. localhost biergaizi # cat /etc/udev/rules.d/91-change-schduler.rules #SUBSYSTEMS=="usb", KERNEL=="sd??", ACTION=="add", RUN+="echo deadline > ...
0
votes
1answer
497 views

How can I set deadline as the I/O scheduler for USB Flash devices by using udev rules? [duplicate]

Possible Duplicate: Udev rule is not working I have set CFQ as the default I/O scheduler. I often get bad performance when I write data into a Flash device. This is resolved if I use ...
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?
2
votes
1answer
531 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: ...
0
votes
1answer
153 views

Starting custom script after input device is connected

I have a Genius tablet and I need to remap some buttons on it when I connect it to the usb. The remmaping is done by this command: xinput set-button-map 'Genius EasyPen M610X' 0 0 0 0 0 0 0 1 3 2 ...
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" ...
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
261 views

Writing udev rules

I have added the rule $ cat /etc/udev/rules.d/00-my.rules ACTION=="add", KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/usr/sbin/mytool add %r/%k" on my RHEL 5.8 to check the disk's partition ...
0
votes
0answers
374 views

Getting a USB remote controller to work

I'm at a lost at setting up a USB remote controller on Ubuntu Natty with Kernel 2.6.38-12-generic. It's a "USB pen" used to control the routine of Slideshows (Powerpoint, ... , etc) It recognizes the ...
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 ...
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 ...
0
votes
1answer
254 views

How can I link some device (given by its device ID) with an specific firmware in linux?

Imagine I have a new device which it's not working on Linux. I get its device ID with lsusb: Bus 001 Device 003: ID1164:7efdYUAN High-Tech Development Co., Ltd Imagine I know that this device will ...
0
votes
1answer
271 views

udev rules doesn't work with small number

I was writing a udev rule that makes use of the ID_PATH, just to make the device persistent against the port it's inserted in. So here is what I have ...
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 ...
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 ...
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 ...
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", ...
0
votes
1answer
163 views

Remove directory that is actually used by another process

I have udev rules that creates a directory for each usb-media that is plugged into my debian to automount usb-media. This directory where mount-points (the mount-directories) are created is passed ...
2
votes
1answer
367 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: ...
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" ...