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

learn more… | top users | synonyms

3
votes
1answer
19 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
24 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
26 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
25 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
15 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
109 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
21 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
36 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
35 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
27 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
31 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
83 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
80 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
46 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
29 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
24 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
47 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
292 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
89 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
14 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
194 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
179 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
102 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
25 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
63 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
23 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 ...
2
votes
0answers
48 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
30 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
40 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
130 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
78 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
145 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 ...
2
votes
0answers
103 views

udev .rules not running script

I'd like my computer to run certain scripts when a specific keyboard is (1) plugged in, (2) plugged out, (3) detected at startup. Here's the device: [rob@X200 vim]$ lsusb | grep keyb Bus 005 Device ...
2
votes
0answers
26 views

What is the difference between HAL and udev?

As far as I understand, if I have 3 different network cards, then HAL will cal each of them eth0, eth1 and eth irrespective of their brands, manufacturerers etc. But it seems to me that udev precisely ...
4
votes
1answer
108 views

Difference between /dev and /sys

Exactly what is the difference between devfs and sysfs? Both seem to maintain a list of hardwares attached to the system. Then why the need for 2 separate fs even arose? As far as I can get /sys ...
2
votes
0answers
33 views

Trouble getting USB printer to 'stick' using udevadm

What I’ve got so far $ udevadm info -a -p$(udevadm info --q path -n /dev/usb/lp1) | grep serial ATTRS{serial}=="544336460792090000" /etc/udev/rules.d/50-udev.rules: SUBSYSTEM=="usb", ...
1
vote
1answer
51 views

UDEV Rule Not Triggering

I have gone through 10s of answers on this and other sites trying to debug my udev rule, but to no avail. The rule is very simple: I want to lock my screen when my Yubikey is unplugged. My rule is ...
0
votes
0answers
20 views

serial port devices not found on bootup

I am running linux kernel 3.9.2 on my embedded device. I have this standalone program called usb_device_label.c, which checks for various USB devices connected and passes the information to main ...
0
votes
0answers
43 views

Error to install svn on ubuntu 14.04

I tried to install SVN on ubuntu 14.04 and got the following error: $ sudo apt-get install subversion apache2 libapache2-svn apache2-utils * udev requires hotplug support, not started ... fail! E: ...
1
vote
1answer
455 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 ...
1
vote
0answers
91 views

udevadm trigger runs only one rule

I have 1294:1320 RISO KAGAKU device on F17. The problem is after sleep/resume hid reclaims this device back and its udev rule is ignored. If I unplug and plug in the device it is OK until next ...
0
votes
0answers
19 views

udev rule not working with su [duplicate]

I want to run a simple script when I plug in a monitor, and here is my rule: KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/user/.Xauthority", RUN+="/home/user/auto.sh" ...
1
vote
0answers
77 views

/dev/disk/by-id creating wrong symlinks for harddrive

I'm running into an interesting problem where on reboots and power cycles, my harddrives will occasionally be given the wrong symlink in /dev/disk/by-id. For example, when I issue ls /dev/disk/by-id I ...
1
vote
0answers
71 views

System doesn't see HDMI attached tv&receiver until reboot

When my system starts and receiver with tv are disabled during boot, then system will not see them even if later I will replug hdmi cable. To make receiver/tv visible to the system, I must leave them ...
1
vote
1answer
72 views

arch linux recognizes the partitions and hard disks wrongly

My arch Linux system does not recognize neither the partition nor the hard disk in which it is installed. it is installed on /dev/sdb1 but it recognizes that as /dev/sdc1 and the initialization goes ...
2
votes
1answer
109 views

Get ID and Mounted location of an USB

I need to find a way of retrieving the ID and Mounted Location for USB devices. I've found two commands that gives me what i want, but i haven't find how to associate them.. rsm@matrice:~$ lsusb Bus ...
2
votes
0answers
256 views

How do I get ata-style IDs in /dev/disk/by-id to work for USB disks?

I have USB drive dock that I'm plugging SATA drives into. The way they show up in /dev/disk/by-id seems to be dependent on whether the drive has a partition table (usb if not, ata if yes). This makes ...
0
votes
0answers
62 views

How to modify rights automatically when I plug a usb device ?

I am running CentOS 6.6. I need to get specific rights (666) on /dev/bus/usb/... when I plug a specifc usb board (Digilent FPGA board). Otherwise my software complains about LIBSUB_ERROR_ACCESS. It ...
2
votes
1answer
106 views

create several /dev/xconsole files automatically upon boot

I understand from my previous question that the /dev/xconsole file can be created using mkfifo. On my system (Debian Wheezy), /dev/xconsole gets created automatically. I am wondering who creates it ...