As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [udev]

The kernel's device manager, responsible for the contents of /dev.

Filter by
Sorted by
Tagged with
2 votes
1 answer
100 views

How to play a mp4 file from USB flash memory everytime it attached?

I have an orange pi board with Lubuntu os. I need to configure it to run 1.mp4 file from USB flash drive automatically when inserted. How can I do it? I tried udev but it fails to run VLC with error ...
user2085899's user avatar
0 votes
0 answers
17 views

Run command on bluetooth connect

To be able to use my keyboard, I have to run /usr/bin/numlockx off and /usr/bin/xmodmap ~/.xmodmap-k4 whenever it connects via bluetooth. To automate this, I created the file /etc/udev/rules.d/tmp/...
doppelfish's user avatar
1 vote
0 answers
42 views

UDEV rule to change bluetooth controller name

I have several PS4 and PS5 controllers connected through bluetooth on my Ubuntu 23.04 Server, kernel 6.2.0. I'm trying to build a UDEV rule to rename them, because by default they're all called "...
RogerRabbit's user avatar
3 votes
1 answer
64 views

Phantom /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf on every boot

I have several "phantom" /dev/sdX entries that don't point to any hardware: ~$ ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 May 3 11:04 /dev/sda brw-rw---- 1 root disk 8, 1 May 3 11:04 /...
lord_nimon's user avatar
0 votes
0 answers
32 views

Linux upgrade stops because of invalid udev extension in sources list

Hoping people server smarter than me can help out on this one. We have 3 (one load balancer and two servers) Ubuntu servers on 18.04. I was trying to bring them up to 22 (slowly) and got blocked ...
cbloss793's user avatar
  • 101
0 votes
0 answers
28 views

How can i whitelist one specific device using udev rule and block everything else?

I want to whitelist a USB Touch screen and block everything else. I have written hundreds of UDEV rules but none of them seem to work. I can block every single connected USB device but can't find a ...
Jay Chauhan's user avatar
-2 votes
1 answer
44 views

Webcam failing : mtp-ptobe and colord-sane issue

Not sure whats going on here. This is ubuntu 22.04. Suddenly after a reboot (which installed patches) the video devices fail, most notably the logitech webcam. What I see for it in syslog is Apr 23 20:...
kmand's user avatar
  • 29
0 votes
3 answers
90 views

ubuntu zfs zpool lost after reboot due to /dev/sd* name re-ordered

create zfs pool with: $ sudo zpool create -f data raidz2 sda sdb sdc sdd $ sudo zpool status pool: data state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM ...
monkincloud's user avatar
0 votes
0 answers
32 views

xboxdrv apparently blocked xbox controller

I own a Gioteck VX4PS4-34-MU XBox Controller and it was recognized by Ubuntu 22.10: $ lsusb | grep Xbox360 Bus 005 Device 007: ID 045e:028e Microsoft Corp. Xbox360 Controller $ ls -l /dev/input/js* ...
Mark's user avatar
  • 447
1 vote
0 answers
28 views

How exactly kernel, udev and DBus mount external devices?

I'm trying to understand how exactly SDcard unmounting/ejecting works in Ubuntu to debug context of this issue: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1980080 Looked this thread getting ...
nusch's user avatar
  • 31
0 votes
0 answers
21 views

Force USB wlan ifname keep starting from 0

Description: I have a NUC running on 20.04 with an internal WiFi chip. Since I need to connect to external antenna so I have added a USB WiFi adaptor. What problem I am having: The USB WiFi interface ...
WHo S's user avatar
  • 1
0 votes
0 answers
53 views

How to install libudev on Jetson Xavier Ubuntu 20.04

I want to install libudev on Jetson Xavier, so when I try sudo apt-get install libudev-dev I get: The following packages have unmet dependencies: libudev-dev : Depends: libudev1 (= 245.4-4ubuntu3) ...
Bilal's user avatar
  • 259
0 votes
0 answers
70 views

ZRAM error at boot

I have configured ZRAM via /etc/udev/rules.d/99-zram.rules which looks like this: KERNEL=="zram0",ATTR{comp_algorithm}="lz4hc",ATTR{disksize}="2048M",TAG+="systemd&...
Maestro's user avatar
  • 123
0 votes
0 answers
28 views

Xserver "reloads" input devices after system startup. How to debug?

I am attempting to figure out why many (10+) input devices (most importantly, my touchpad) are being needlessly loaded a second time and overwriting user-defined settings with default values. Here is ...
Niko Senkov's user avatar
0 votes
1 answer
95 views

Systemctl cannot start service which uses ttyACM0 port after reboot

I need to start my own service (SignalR client) written in C# (.NET6) after ttyACM0 port is available. This service should be started after other service (SignalR server). The server service starts ...
Chebona's user avatar
1 vote
1 answer
158 views

Cannot discover USB device port?

I am trying to find this a micro controller device that's plugged in with a USB to my computer and ideally I want open up the port that it's connected to. Problem is that I cannot find the device's ...
PatTheTrickster's user avatar
0 votes
0 answers
248 views

Ubuntu 20.04 netplan static default route lost after reboot

this is a new Ubuntu 20.04 install and I have ip and static route configured in netplan like below: $cat /etc/netplan/lan.yaml network: renderer: networkd ethernets: lan: dhcp4: false ...
monkincloud's user avatar
0 votes
0 answers
169 views

rename a device using UDEV rules

I am working on a RPI 3 with a ubuntu server 22.04, I have created a rule to change the name of a bluetooth device that I connect via USB but I can't get it to work. that I connect via USB but I can't ...
cavero00's user avatar
1 vote
1 answer
49 views

Using ERGO WO2-CRC9 USB Modem/Roater make my laptop very hot and power-consuming

I'm LUbuntu 22.04.2 LTS user. When I insert ERGO LTE USB Wi-Fi router WO2-CRC9, the laptop (HP Probook) stays very-very hot independently on the current load, the fan runs continuously, and the ...
v_mil's user avatar
  • 491
0 votes
0 answers
26 views

From which file lsblk command reads a USB mountpoint (lsblk -o MOUNTPOINT)?

lsblk manual page says that command reads from /run/udev/data/ and /sys/bus/usb/device/* directory files to display an info to the user. However I couldn't connect these two directories to obtain the ...
ojacomarket's user avatar
0 votes
0 answers
33 views

Partitions mounting when not listed in fstab

I am using Ubuntu Studio 22.04 and I have three partitions that are mounting automatically on bootup even though they are not included in fstab. One of these partitions is on the same physical HDD as ...
Aqua1925's user avatar
2 votes
1 answer
351 views

High CPU usage by dbus-daemon and systemd-udevd relating to home partition

I'm running Ubuntu 20.04.5 LTS and using the gnome-classic desktop (because I'm stuck in my ways). I've always noticed a few minutes of high CPU from dbus-daemon when I initially log in, but it ...
dfluff's user avatar
  • 53
3 votes
1 answer
535 views

Who/what is creating /dev/loop0, /dev/loop1, ... /dev/loop7?

I've recently been working on a project requiring encrypted files mounted via a connection to a loop device. While the project will run on an Ubuntu system, I was experimenting with setting it up on ...
pgoetz's user avatar
  • 1,213
0 votes
1 answer
399 views

How to automount a USB key when plugged in on Ubuntu 22.04

This functionality worked on my 20.04 box, but is not working on my 22.04 install. When I plug a MicroSD drive into an SD->USB device and plug that into Ubuntu it is seen as /dev/sda1, but it is ...
davidgo's user avatar
  • 97
1 vote
1 answer
80 views

File policy-rc.d in WSL1 not found

I am trying to resolve the udev issue in my WSL, and I am following the "Apt-get upgrade errors" troubleshooting steps in the WSL docs. To fix issues related to udev, follow the following ...
Ron's user avatar
  • 13
1 vote
0 answers
119 views

Unable to load udev rules file

After modifying /lib/udev/rules.d/99-tpm.rules file, am trying to reload using below commands sudo udevadm control --reload-rules sudo udevadm trigger But getting error as below: edge@edge:~$ sudo ...
Karma Yogi's user avatar
1 vote
1 answer
43 views

App permissions overriding usb symbolic link permissions

My goal is to limit access to FPGA dev board (connected by usb) to certain users. We normally access these dev boards using Vivado or Quartus Prime. For some reason, Vivado seems to be overriding the ...
FPGA_Student_Driver's user avatar
4 votes
0 answers
6k views

On Ubuntu 22.04.2 the Package 'libu2f-udev' seems needed for google-chrome-stable it installs without issue - Why? [closed]

It looks like Google chrome has updated the google-chrome-stable to Version 111.0.5563.64 which depends on libu2f-udev. However, I got the following results during installation: Preparing to unpack ...
Finrod Niu's user avatar
1 vote
0 answers
358 views

Apply udev rule on reboot if device is present

This code must be executed each time my Keychron K1 keyboard is about to be used: echo 2 > /sys/module/hid_apple/parameters/fnmode The code enables Fn keys as the Keychron suggests on Linux. I put ...
exebook's user avatar
  • 319
0 votes
0 answers
73 views

Can't able to upgrade command "apt upgrade"

If I try to install those dependencies it shows Force install shows following error: sudo apt install -f (Reading database ... 92 files and directories currently installed.) Preparing to unpack .../...
Swapon's user avatar
  • 101
1 vote
0 answers
39 views

How to consistently idenfity USB devices with udev

I have a udev rule for a USB cable with 2 serial ports that successfully matches ttyUSBx to /dev/ttyUCx KERNEL=="ttyUSB*", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{...
T Horvitz's user avatar
0 votes
0 answers
107 views

How to change keboard mapping via udev rule when attaching a USB Keyboard

I am running Ubuntu 22.04 on AMD® Ryzen 5 3400g with radeon vega 11, 32GB, with Gnome on Xorg, and a Razer Huntsman Mini USB keyboard, with "openrazer-daemon" and "RazerGenie" ...
storestyggeulv's user avatar
0 votes
1 answer
61 views

How to fix triggering repetitive udevadm "change" event which causes 100% CPU core use?

This is a top process from the top command 643 root 20 0 93856 74480 3940 R 100.0 0.3 131:25.50 systemd-udevd This is the output from udevadm monitor KERNEL[16222.287655] change /...
Alan's user avatar
  • 255
0 votes
0 answers
493 views

Ubuntu installation gets stuck (Failed to start Wait for udev to complete device initialization)

I am trying to install Ubuntu 22.04 on my HP Envy 13-ag0700ng. I created a boot stick using Balena Etcher and Rufus, both options with the same results. You can find the console output in the attached ...
Clemens's user avatar
1 vote
0 answers
560 views

Enabling and disabling touchscreen with Wayland enabled

If you Google how to disable a touchscreen using Wayland, the most common results suggests adding an udev rule. In fact, that's how my local install on a HP Inspiron 5379 is setup: ~ via 💎 v3.0.2 ❯ ...
Vitor Py's user avatar
  • 343
0 votes
0 answers
83 views

How to find who is setting an interface?

I have a computer with ubuntu 20.04 and two LAN ports. I want the left one to be eth0 and the other eth1. I therefore wrote a udev rule SUBSYSTEM=="net", ACTION=="add", ATTR{...
maetulj's user avatar
  • 101
0 votes
0 answers
83 views

Remove metadata device node for USB camera

When I connect a USB camera I get two device nodes (/dev/video*) entries for each camera, one I believe being a metadata device node, indicated by the attribute {index} == 1. Is there a way to prevent ...
jpb647's user avatar
  • 31
0 votes
1 answer
67 views

Udev symlink is changing data

I have a udev rule that identifies a Spektrum RC dongle and symlinks its hidraw file to a custom one. This is the udev rule I am using. ACTION=="add", ATTRS{idVendor}=="0483", ...
Matthew Starkey's user avatar
0 votes
0 answers
80 views

Interface name assignment change between Ubuntu 18 and 20

I have two ethernet ports on the computer(s) that I use for testing out different software. Since some of the software runs on Ubuntu 18.04 and the other needs Ubuntu 20.04 I quite often switch ...
maetulj's user avatar
  • 101
6 votes
1 answer
776 views

Different behaviour of bash script in udev

I created a small sample-script which is reduced version of my real script and it looks basically as follows: #!/bin/bash echo "start" > /home/myName/log.txt #get list with all attached ...
hafisch's user avatar
  • 125
0 votes
1 answer
86 views

Ubuntu rename Wi-Fi to "eth0"

I need to install a software (iCEcube2 from Lattice Semiconductor) on a Ubuntu 20.04 machine. Apparently there is something hardcoded in this software related to license checking that requires the ...
user171780's user avatar
0 votes
0 answers
91 views

USB Permission denied

when I mount a USB storage I am not able to save files to it, due to permissions denied. I think this is because I was playing with the udev rules at one point when I needed to develop for webUSB api. ...
Viktor's user avatar
  • 101
-1 votes
1 answer
548 views

rtl_test fails because of udev (i think) on a raspberry pi 4

I am running Ubuntu 22.04 Raspberry Pi 4 The question is that how do I make it not out put that error. Note, I did summit a bug report here rtl_test output Found 1 device(s): 0: , �bߧ��, SN: @�ާ�� ...
lnee's user avatar
  • 771
2 votes
1 answer
334 views

How to find a device path in a udev program?

I'm trying to build a system that will remount a USB drive when plugged in. The USB, when plugged in, is then mapped to something like /dev/sdc1. I then want to unmount, then remount using pmount (in ...
Some Guy's user avatar
  • 173
0 votes
1 answer
285 views

BurpSuite not in full size using bspwm

When I open burpsuitecomunity edition in a bspwm session, burpsuite does not use the full screen space. But when I open burpsuite in a mate xsession it goes allrtight. This is my bspwmrc file: #!/bin/...
Ankylo Gomez's user avatar
0 votes
1 answer
119 views

Inconsistent UDEV behavior 'dev/video14'

I am trying to write a udev rule that creates a symlink /dev/video14 that points to the /dev/video index of my usb camera, so that I can map it to the same index consistently. I currently have the ...
jpb647's user avatar
  • 31
5 votes
2 answers
2k views

WSL: how do I set the group for a tty device

I am running usbipd on windows 11 to enable USB devices to attach to WSL. This works. I can run my serial application as root and it works fine. I would rather not run my application as root. My user ...
Mike's user avatar
  • 51
0 votes
1 answer
553 views

udevadm test command on Ubuntu gives warnings not seen in Manjaro

I created a very simply udev rule /etc/udev/rules.d/99-local.rules that runs a script to create a file in /tmp when a USB key is inserted into my computer. I tested this on a Raspberry Pi 4 running ...
FlexMcMurphy's user avatar
1 vote
0 answers
2k views

libudev1 (jammy-updates) removes many packages

Installing libudev1 249.11-0ubuntu3.1 from jammy-updates will remove many packages. What could be the cause? # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ...
hirose31's user avatar
0 votes
1 answer
2k views

Listing device in /dev/ path

I have been trying for several days to get my ESP32 to show in /dev/ttyUSB* I cannot get it to show at all I am running ubuntu If I do lsusb I get Bus 001 Device 006: ID 1a86:55d4 QinHeng Electronics ...
DottoreM's user avatar
  • 103

1
2 3 4 5
14