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

learn more… | top users | synonyms

0
votes
1answer
12 views

How to avoid duplicate connection names? (32) Connection 'Auto Ethernet' is already active on enpXXX

Is there any way that I can make networkmanager to assign some unique names or device derrived name instead of Auto Ethernet so that we can avoid the names conflict? After I've upgraded to Ubuntu ...
8
votes
3answers
959 views

How to enable “Predictable Network Interface Names”?

I decided to check out what name my ethernet device will end up with, but contrary to other distros, Debian doesn't seem to have activated this change (or is holding it back?), * Keep the old ...
1
vote
0answers
12 views

Ubuntu 14.04 - Multiple Griffin Technology Powermate Knobs

I am running Ubuntu 14.04, and I want to run multiple griffin powermate knobs: https://store.griffintechnology.com/powermate. I want to map them to different keys other than audio control. I want to ...
1
vote
2answers
72 views

Which udev rule triggered?

a. Is it possible to find out, which udev rule triggered as soon as some USB/serial device plug-in or plug-out ? b. Is it possible to reload one specific rule out of many rules, without device replug ...
2
votes
1answer
956 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
0answers
30 views

figuring out the e “manufacturer” and “product” attributes using udev for pendrive

I saw Writing raw images safely to USB sticks On Debian though, get nada from that command :- [$] udevadm info -a -p $(udevadm info -q path -n /dev/sdb)|grep -iE "manufacturer|product" [$] I ...
0
votes
1answer
2k views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
0
votes
0answers
6 views

udev usb stick device list

we have 2 different yocto distributes. 1) ARM Kernel 3.10.53 2) X86 SMP Kernel 3.10.0 if we add a usb stick to the ARM system we get the different udev Messages. usb/usb_device usb/use_interface ...
1
vote
1answer
8 views

How to specify a specific product in udev hwdb file?

I'm trying to remap the buttons on a peripheral that incorrectly has its buttons mapped to F keys. To remedy this I'm trying to use a udev hwdb file to remap keys only on specif devices. So far my ...
5
votes
2answers
77 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 ...
1
vote
1answer
55 views

Files in folder /run/udev/data

Does someone know, when and how the files in this folder /run/udev/data are generated. I ask because I have a program, which needs udev in jail. But the version in jail is newer (version 208) than ...
1
vote
1answer
84 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 $ ...
1
vote
1answer
25 views

How to remap an F key on a specific Keyboard?

I have a peripheral attached that is actually not a keyboard, but all of its buttons are being treated as F keys, they all send the same scancode and keycode as the standard F keys (based of of ...
64
votes
5answers
91k views

How to reload udev rules without reboot?

How should one reload udev rules, so that newly created one can function? I'm running Arch Linux, and I don't have a udevstart command here. Also checked /etc/rc.d, no udev service there.
1
vote
1answer
670 views

No ttyUSB when connecting USB-RS485 to Beaglebone Black

I'm trying to connect a externally powered board to control the motors of a robot to my BeagleBone Black. I'm using ssh over USB(the mini-usb) to control the Beaglebone from my laptop. The BBB is ...
35
votes
6answers
12k views

How can I detect when a monitor is plugged in or unplugged?

Is there any event that is triggered when I plug in or out an external monitor into the DisplayPort of my laptop? ACPID and UDEV don't react at all. I'm using onboard graphics on an intel chip. Here ...
32
votes
11answers
12k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
1
vote
1answer
653 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 ...
4
votes
1answer
55 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 ...
1
vote
0answers
12 views

Attributes not available in udev

I'm attempting to write a udev rule for a USB device, however I'm having trouble matching the ATTRS{*} attributes in my rules. After a little debugging using udevadm info, I've found that none of my ...
1
vote
0answers
9 views

Detect power_supply online status for different device in udev rule

In order to save battery power, I enable runtime PM for all devices using a variant of this rule set: ACTION!="add", GOTO="powersave_end" SUBSYSTEM=="usb", GOTO="powersave" LABEL="powersave" ...
3
votes
1answer
23 views

What ENV variables can be set in udev rules?

Recently I discovered the ENV{REMOVE_CMD} variable, which removes the need for using the ACTION=="remove" match in the case you need both add and remove. I was trying to find some info on other useful ...
4
votes
2answers
4k views

Point USB phone to specific /dev/ttyACM using udev

We have a Nagios + check_mk setup on Ubuntu 12.04 LTS server with smstools for sending text message notifications. We are using an old Nokia 6230 phone connected by a USB cable, though I do not ...
1
vote
1answer
34 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 ...
3
votes
0answers
38 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" ...
3
votes
1answer
2k 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 ...
1
vote
1answer
38 views

systemd : write a .service daemon for setting up swap and fs in zram

I recently acquired a laptop with a ssd and in order not to weigh too much on the ssd (which I was told had a limited number of write cycles), I decided to write a systemd unit file for setting up a ...
3
votes
1answer
572 views

How to get device filename from lsusb output or by device path

Related question: USB connect/disconnect notification When the device is plugged/unplugged, I get instant notification, that's great. But to make it (almost) perfect, I also want to get device ...
0
votes
0answers
18 views

An help with udev,want to force usb stick to use my options

I want to force mount of usb stick with async and noatime option,so i put on udev this rule SUBSYSTEM=="usb",ATTR{idVendor}=="067b", ATTR{idProduct}=="2517", ACTION=="add", ...
4
votes
1answer
2k views

script does not behave properly when called by acpi and udev events

I have the following files in /etc/acpi/events and /etc/udev/rules.d. /etc/acpi/events/lidclose # Pass all events to our one handler script event=button/lid action=/etc/acpi/monitors.sh ...
3
votes
0answers
45 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 ...
0
votes
1answer
32 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
1
vote
1answer
90 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 ...
4
votes
1answer
48 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, ...
7
votes
2answers
2k views

Making UDEV ignore certain devices during boot.

I'm trying to make UDEV stop mounting one of my devices at boot time, and I've created a rule in /etc/udev/rules.d/ called 1-myblacklist.rules. All the rule does is matches the device by kernel ...
4
votes
1answer
36 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 ...
1
vote
1answer
43 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
29 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: ...
7
votes
2answers
977 views

How can I change the permissions in /sys to alter the state of a LED/light using `udev`?

I've got a Thinkpad and would like to use the ThinkLight (the white flash light above the screen designed to light up the keyboard) for notifications on incoming Jabber messages. It is easy to ...
1
vote
0answers
38 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", ...
0
votes
0answers
24 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 ...
2
votes
0answers
163 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 ...
2
votes
1answer
106 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 ...
2
votes
4answers
16k views

PuTTY can access serial port as /dev/ttyUSB0, but not as named udev device

I have multiple USB-to-serial converters. I need to access one of them in particular. I'm using a udev rule to give it a special name. I have rebooted since I last modified it. SUBSYSTEM=="usb", ...
1
vote
1answer
50 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
92 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 ...
3
votes
1answer
2k views

Allow any user in the fuse group to unmount

I'm currently trying to write a couple of systemd/udev configuration files that will allow me to automount/unmount MTP Android devices on my Arch Linux laptop. It took me some time, but so far it ...
4
votes
1answer
83 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 ...
3
votes
1answer
202 views

How to differentiate USB flash drive and CD-ROM?

I want to differentiate an USB flash drive and a CD-ROM. My requirement is when I connect to a system only the CD-ROM should work, but not the USB key.
1
vote
0answers
46 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 ...