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

learn more… | top users | synonyms

0
votes
1answer
8 views

How to prevent UDEV rules assigning a device to a specific set of names

I have some UDEV rules for a RAID array; 10 hard disks are assigned names from /dev/sda to /dev/sdj. The disks can be absent at any time. How do I write a UDEV rule to prevent a device such as an ...
0
votes
1answer
13 views

Disk ID in chroot / jail

When I print out all information about a disk /dev/sda on my host system, then I get this sort of information (I got this information with command udevadm info --query=all --name=/dev/sda): P: ...
1
vote
0answers
16 views

What is the purpose of a udev rule?

I'm being asked to add a udev rule for a new USB device I purchased. There doesn't seem to be a dirt simple explanation for why this is necessary or valuable to do. To always map a device to the ...
0
votes
0answers
18 views

Why do the rules in udev/…/rules.d have numbers in front of them

Is it just for convenience or is there some reason for it? Example: cat /etc/udev/conf.d/rules.d/98-kexec.rules
2
votes
1answer
26 views

why isn't monitor listed under /dev in linux?

If /dev is suppose to list all the devices that is connected, like usb, hdd, webcam, how come on my ubuntu 15 VM I don't see a monitor? I am running the desktop edition so there should be a monitor. ...
2
votes
0answers
25 views

Attributes from various parent devices in a udev rule

I have some trouble understanding how the udev device attributes from different parent devices are evaluated in a rule. I want to write a rule for a specific serial usb device (HUAWEI Modem), with a ...
1
vote
0answers
17 views

Udev rule not setting group

I'm trying to write a udev rule to change the group on my MSP-FET430UIF USB programmer. This is what I have so far (filename /etc/udev/rules.d/40-ti-fet430.rules): SUBSYSTEM=="usb", ...
3
votes
0answers
15 views

What can cause a usb port speed change?

I have an instrument connected via usb to a OpenSuse (11.1 32) computer. Following the vendor instructions, I've added one rule to udev: ATTR{idVendor}=="0e0d", ATTR{idProduct}=="0003", MODE="0666" ...
0
votes
0answers
4 views

jmtpfs fails when run from udev

I'm running Arch Linux with version 3.15.5 of the kernel (it's downgraded due to some unfortunate dependencies). I've been trying to get my Nexus 4 to automount using udev and jmtpfs 0.5 ...
1
vote
0answers
17 views

udevadm does not show expected information

I'm building my own Embedded Linux distro using bitbake . I added udev in the list of dependencies (RDEPENDS). I noticed that the output of: udevadm info --query=property --path=/sys/block/sda is ...
2
votes
1answer
51 views

Change hidraw device from mouse to joystick

I have a wireless PS3 controller adapter that is plugged in to my Ubuntu 14.04 box. It has 2 modes: XInput and DInput, which as far as I can tell, it just passes two different vendor/product id's ...
4
votes
0answers
22 views

How to debug an udev rule (in /etc/udev/rules.d/…)

I'm creating a new basic rule /etc/udev/rules.d/10-myrule.rules containing: KERNEL!="sdb*", GOTO="auto_mount_end" ACTION=="add", RUN+="/usr/bin/mount /dev/sdb1 /media" LABEL="auto_mount_end" I ...
4
votes
0answers
29 views

How to detect if USB device is bootable in udev?

I'm trying to write a udev rule to not mount USB devices plugged into my system if they're bootable, but I don't know how to specify in udev if a device is bootable in a rule. Is that possible? If so, ...
1
vote
1answer
41 views

Script executes differently if run from udev

I'm having an issue with a script that seems really weird; it appears to stop executing prematurely when run from udev, but not when I run it manually from the command line. I've tried troubleshooting ...
1
vote
0answers
37 views

Issues while eMMC partitioned using sfdisk

I am writing firmware(MLO,u-boot.img, uImage(ver 3.12), dtb, rootfs.tar.gz) programming script for am335x based custom board. Rootfile system is to be put onto the eMMC. Firmware programming script ...
1
vote
0answers
29 views

udev keyboard remapping with hwdb for secondary keyboards

I have a laptop, and I save the following to /etc/udev/hwdb.d/90-custom-keyboard.hwdb keyboard:usb:v*p* keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr* KEYBOARD_KEY_1a=a KEYBOARD_KEY_1b=b and run $ ...
4
votes
0answers
42 views

Is it possible to set interface name permanently in Raspbian?

I'm using 2 wifi dongles. First one is used to monitor and second one is used to access internet. Even if I changed /etc/udev/rules.d/70-persistent-net.rules as below, at startup sometimes wlan0 ...
3
votes
1answer
38 views

What is udev “urbnum”?

When making a query to the udev system, one attribute that can show up is the urbnum ie: ATTRS{urbnum}=="538" I've looked through the documentation, but cannot find any mention of it. Are the ...
1
vote
0answers
37 views

Linux choke on interface labels > 16 characters under Fedora 20+

I have an app that creates a subinterface (appending :ABCDE to the associated NIC label). This worked fine when interfaces were labelled something like eth0 or eth1. However, under Fedora 20 (and ...
1
vote
1answer
37 views

What's the relation betwen ACPI, udev, HAL and pm-utils

I'm trying to figure out how the power management in achieved in Linux (because I want to fix some issues in my laptop). I have found thoughtful documentation about these elements separately. In other ...
1
vote
0answers
55 views

Why does my USB modem produce multiple /dev/ttyUSB* files?

I have a single Sierra Wireless USB 308 modem we are using for sending SMS message to, and receiving SMS messages from, customers. When this single device is plugged in, the system creates multiple ...
0
votes
0answers
28 views

Does udev only check for matches on the first remove event?

ACTION=="add|remove",SUBSYSTEM=="tty", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX",SYMLINK+="device", RUN+="/home/alvin/udev/test.sh" This is the command that works on add ...
1
vote
1answer
149 views

btrfs RAID1 array shows as two disks

I mounted 2 drives as a RAID1 btrfs array (btrfs v3.12, Ubuntu 14.04). Everything's working fine except nautilus and other GUI-based apps see two disks, both labeled "Raid1". One is mounted (the ...
1
vote
1answer
40 views

How to map extended buttons on mouse?

I am trying to follow this guide to using a Logitech G600. I have (using a windows computer) mapped each key combo on the mouse to something on a normal keyboard. I have set up some rules in ...
1
vote
0answers
60 views

Bluetooth keyboard not showing up in /dev/input

I've just installed an Apple Wireless keyboard on a Debian system. I used this guide and only console tools — no X on that machine yet. The keyboard works fine. Now I want to remap a right Cmd key ...
1
vote
0answers
47 views

Handle mouse and keyboard usb device in udev

I'm trying to set up usbip on our thin clients to forward (almost all) USB devices to the server. What I don't want to forward are all input devices and all hub / virtual devices. So I want to ...
0
votes
0answers
47 views

udev not running rule at boot?

I have a very simple udev rule at /etc/udev/rules.d/sdcard.rules: KERNEL=="mmcblk1", SUBSYSTEM=="block", SYMLINK+="sdCARD" Problem is the symlink is not created for me automatically at boot. I have ...
1
vote
1answer
45 views

Mount USB stick without partitions using udev rules

I need to have udev mount a USB device that has raw data, which appears like /dev/sdc, but in the same time if another stick has partitions I only need to have folders mounted only for those ...
2
votes
0answers
133 views

UDEV-Rule to mount USB-Stick / execute script

I have a problem with an udev-rule. i simply want to mount a usb stick when it is plugged in. the rule correctly executes a script which mkdir the mount point and then calls mount. everything seems to ...
3
votes
1answer
127 views

No /dev/hidraw device when I plug in a Yubikey

I have a Yubikey NEO, and I'm trying to get it to work on Debian. When I plug it in, I get udev events, but no /dev/hidraw? device. Here's what I know so far: cat /boot/config-$(uname -r) | grep ...
0
votes
0answers
63 views

No USB flash drive / dev / Galileo Intel Gen2

I have intel Galileo Gen2 and Debina installed on it from here: http://sourceforge.net/p/galileodebian/wiki/Home/ And I also have a problem with that, it does not appear in the / dev / any of the usb ...
2
votes
1answer
41 views

How to wait for a /dev/video0 before starting a service

First off, I am systemd noob. I can write unit files, which depend on a mount, because I can list them and then add to Requires=xxx, such as: # systemctl list-units | grep data mount-data.service ...
1
vote
0answers
28 views

How to add scripts for udev to run

I have several scripts i would like udev to run when a monitor is plugged/unplugged. I have added the extra udev rules, but i don't know how to add the scripts that i want udev to run. I have tried ...
2
votes
0answers
57 views

debian wheezy extreme boot delay

I migrated from Arch to Debian(wheezy) recently. Since Debian was still using sysVinit, I migrated to systemd, but following this. The system booted after a long init, using fallback LSB scripts for ...
7
votes
1answer
475 views

reference whole disk (/dev/sda) using UUID

On my system (Debian), I can see the UUID identifier for all of my disks partitions (i.e. /dev/sda1, dev/sda2, ..) ls /dev/disk/by-uuid/ However, I don't see the UUID identifier for /dev/sda ...
1
vote
1answer
32 views

Stop interface name iteration?

I have a device that comes up as ttyACM0, however every time it is reset it iterates, so next time it will come up as ttyACM1 etc. Where might this lock be located so that I can remove it? I'd like ...
0
votes
0answers
128 views

In a buildroot system, understand the expected kernel -> udev -> hal/dbus communication

I am using a system based on buildroot. I wanted to have some system logs such as USB insertion/removal, disk alarms etc. to be raised on DBus system interface. So I selected DBus and eudev in make ...
0
votes
0answers
18 views

Unable to set node name using udev rules

I have a udev rule that has been working for years in Ubuntu versions up until now. I installed Kubuntu 14.04 and my rule no longer works. Actually, just the name assignment part no longer works. The ...
3
votes
1answer
234 views

cannot start chrome browser - bind failed: Permission denied

I am using grsecurity kernel with CONFIG_GRKERNSEC_SOCKET_SERVER enabled: [*] Socket restrictions [ ] Deny any sockets to group (NEW) [ ] Deny client sockets to group (NEW) [*] Deny ...
5
votes
1answer
265 views

how to find out if kernel or udev created a device node?

Is there any way to find out who created a device node? If it has been udev or the kernel itself? In the specific case of mine, I have two webcams. Nodes created for them are /dev/video0 and ...
5
votes
1answer
203 views

List all udev rules (e.g. for a device)?

I want to know how I can list all udev rules. I know that in they can be potentially stored as lines (one line = one rule) in *.rules files in these directories /etc/udev/rules.d /lib/udev/rules.d ...
0
votes
1answer
28 views

Why do I get mail when I unplug my adapter?

Usually I only get the terminal output You have new mail in /var/mail/$USER after running certain upgrades but I've started getting it every couple days after running other commands, seemingly at ...
3
votes
1answer
77 views

Mapping mouse buttons with udev hwdb

Following this guide: http://www.vxnick.com/blog/2014/10/binding-extra-mouse-buttons-on-linux/ I've set up a config file: $ lsusb | grep G500 Bus 006 Device 007: ID 046d:c068 Logitech, Inc. G500 ...
1
vote
1answer
24 views

Pushing changes to driver repos

My understanding of dkms is that its a way to dynamically manage all connected/disconnected device drivers on a Linux system. If that's correct, then I have to imagine that it allows you to configure ...
3
votes
0answers
77 views

Can I masquerade a kernel uevent?

What I think happens From my understanding this is what happens when I connect a USB device to my computer: Kernel recognizes that I plugged in a USB device Kernel setups the very low-level things ...
0
votes
1answer
34 views

Network card seems to be active but config file is missing?

I have a CentOS 7 virtual machine with an internal network as well as 2 bridged connections, I am unable to find the config file for the third network card. Any ideas where it could be? or what the ...
0
votes
1answer
45 views

many systemd-udevd spawns on embedded device

On my embedded device I observe a lot of systemd-udevd processes. Every few minutes a new systemd-udevd is spawning. At the same time a usb device (GSM Module) gets recognized and disconnect a few ...
1
vote
1answer
197 views

No Default Gateway route for bond0 / Slave eth* interface gets IP assigned

I have set up a 4-NIC bond on my Debian Wheezy box. After a fresh boot, the system has LAN access, but cannot resolve outside host names or access outside IPs. It seems that this is because the bond0 ...
0
votes
1answer
101 views

Udev rule: ACTION=“add” is working, but ACTION=“remove” isn't working!

I've written file 90-usb.rules under /etc/udev/rules.d/ containing: ACTION=="add", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="2008", RUN+="/bin/mkdir /home/pandya/Desktop/testdir" ACTION=="remove", ...
0
votes
1answer
183 views

Run a script that displays an X window from an udev rule

I found several questions on http://unix.stackexchange.com & on http://stackoverflow.com related to launch script by udev rules. But I can't find exact solution or certain answer for executing ...