Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [udev]

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

Filter by
Sorted by
Tagged with
-1 votes
1 answer
87 views

How to deactivate the internal bluetooth adapter when it's not on lsusb (shows as UART?)

I've tried a bunch of searches, SE questions and even ChatGPT, to no avail. As many before me, I want to get rid of the terrible Mac Mini bluetooth adapter, in favor of a USB dongle (which also ...
igorsantos07's user avatar
0 votes
0 answers
33 views

mapping between PCAN_USBBUSX to /dev/pcanusbX [migrated]

I have Ubuntu server (22.04.2 LTS) with multiple PCAN devices connected, CAN driver info: $ modinfo pcan filename: /lib/modules/6.5.0-26-generic/misc/pcan.ko license: GPL version: ...
Rami Hassan's user avatar
0 votes
1 answer
305 views

How to automatically mount a hard drive at runtime in Ubuntu 22.04 server

I found many solutions online, but each had specific errors or downsides, that made them unconvenient. I want: On an Ubuntu 22.04 server, connect hard drive at runtime, not only boot, via sata and ...
Hyrikan's user avatar
  • 49
0 votes
0 answers
23 views

Can't find a way to remove nrf-udev package [duplicate]

Edit: second answer fixed my problem The suggested duplicate doesn't fix my problem, as shown below I tried to do that exact same thing without success (output shown below) I have installed "nrf-...
Ernest Dujo's user avatar
0 votes
0 answers
11 views

Mixing audio to mono - changing display name of remap

Following the post "Can I downmix stereo audio to mono" I can remap my headphone amp output to mono (I'm deaf in one ear). However the device name that appears in the displayable selection ...
Brian Jones's user avatar
3 votes
0 answers
87 views

Making an ISO from a dvd once it's inserted

I'm trying to make it so that when I insert a dvd into the cdrom It exports it into an iso using dd. Here's the script for exporting to an iso #!/bin/bash timestamp=$(date +"%Y%m%d_%H%M%S") ...
tpko's user avatar
  • 39
1 vote
0 answers
49 views

Printer not accessible by saned, probably udev rules not working

I'm trying to setup a printer as network printer with a server. sane-find-scanner outputs could not open USB device 0x03f0/0xc111 at 001:003: Access denied (insufficient permissions) could not fetch ...
Wave's user avatar
  • 19
8 votes
1 answer
527 views

Systemd: DISPLAY, XAUTHORITY variables are not enough to start Graphical dialogue in Wayland

I use the following in systemd .conf file to run a graphical zenity dialog every time specific device with SMART capability is inserted to the USB port. This works fine in Xubuntu which uses X display ...
rusty's user avatar
  • 16.4k
1 vote
1 answer
181 views

Problem writing udev script to disable onboard network card

I'm trying to disable a faulty onboard network card with the solution suggested in this answer: https://unix.stackexchange.com/a/467085 . But for some reasons, the script/commands are unable to write ...
rusty's user avatar
  • 16.4k
1 vote
1 answer
116 views

Hidraw udev rule group sometimes failes

I have troubles with a sensor that acts as a hidraw device to send periodic data through USB. I have a Udev rule that creates a symlink to be used by docker container with Azure IoT Edge. SUBSYSTEM==&...
lalannou's user avatar
0 votes
0 answers
37 views

How to merge 2 udev rules for same device

I'm running lubuntu 22.04 For PS4 controller connected over usb(not bluetooth) I wrote 2 udev-rules for erase touchpad and soundcard device nodes. I want to achive the 2 rules in only 1 udev rule. For ...
nobody's user avatar
  • 5,507
0 votes
1 answer
464 views

How to change permission for Sysfs file using udev rules

I am writing a custom module kernel that boots at startup. I can write in the sysFS file using this : echo -e "(0,0,255,750)\n" | sudo tee /sys/fs/led_sysfs/led_value But I will have ...
Tamanar's user avatar
0 votes
0 answers
345 views

netplan/udevadm broken in Ubuntu 22 LXC containers

The physical host is running 18.04.6 LTS and LXD/LXC 3.0.3. I have two unprivileged containers, one Ubuntu 18.04 container and a new Ubuntu 22.04 container. (Using the default images that lxc launch ...
Curtis's user avatar
  • 101
1 vote
0 answers
27 views

using xubuntu linux, I created a udev rule to capture adding sdc-z* and mount in a directory, but gets mounted again in /media/user as well

I have written a shell script that is called by a udev rule when a new usb device is added and the partition matches /dev/sd[c-z]* . The shell script does get called, and my shell script mounts it in ...
Jr rbb's user avatar
  • 11
0 votes
0 answers
162 views

screen rotation fix with ACCEL_MOUNT_MATRIX on TrekStor SurfTab W1

Hi askUbuntu community I recently managed to install Ubuntu 22.04 on a TrekStor Surftab W1 10.1, and I have problems with the screen rotation. With research, I figured out that I need to adapt the ...
JoniG59's user avatar
0 votes
0 answers
567 views

Ubuntu 23.10 - Timed out udev queue being empty

The Ubuntu 23.04 boot was very fast, after installing 23.10, the boot takes, on average, 4 minutes and then the message appears: "Timed out udev queue being empty" and then it enters the log ...
Osni Winkelmann's user avatar
2 votes
2 answers
207 views

Run kpartx on system start

I'm trying to detect and run partitions on top of jMicron fakeRAID, which is discovered by dmraid. How far I'm stuck with making this automatically during boot. hopungo@hopungo-pc:~$ sudo kpartx -l /...
Danatela's user avatar
  • 13.3k
0 votes
0 answers
36 views

dhclient triggered by udev event give only IPV6 IP

I have an udev event that when a net adapter is plugged, dhclient is run to attribute an IP, I want to attribute an IPv4 but it always give me IPv6 address (which I don't want, When I run dhclient ...
Tiklyt's user avatar
  • 1
0 votes
1 answer
92 views

What is the point of creating a symlink in /dev direcory?

I understand that you can write custom udev rules to create a symlink in /dev directory. Wondering what having a symlink in /dev accomplishes? What is the symlink linking to? ACTION=="add", ...
Dr. Chocolate's user avatar
1 vote
0 answers
349 views

dev/input event how to determine which is my laptop's keyboard or mouse?

Having list of dev/input events, how to determine which is my laptop's keyboard or mouse? drwxr-xr-x 2 root root 100 Aug 29 2023 by-id drwxr-xr-x 2 root root 180 Aug 29 2023 by-path crw-rw---...
jNc's user avatar
  • 21
0 votes
0 answers
373 views

How to mount exFAT/FAT partitions as user without all files having the executable bit set in permissions?

Ubuntu 23.04 here, but should apply to almost every version. I want to mount external drives via the user mount mechanisms in the system (is udev involved?), often over SSH with udisksctl mount -b /...
emk2203's user avatar
  • 4,186
0 votes
1 answer
4k views

Cannot boot Ubuntu 22.04 after update: Failed to start default target: Transaction for graphical.target is destructive

Good morning, Since a couple of days I need to boot with advanced configuration to switch from 22.04.3, with Linux 6.2.0-26-generic to 22.04.3, with Linux 5.19.0-50-generic. When I try to switch back ...
Jocelyn's user avatar
0 votes
0 answers
69 views

camera tagged as keyboard by udev why? See syslog output below

erik@X18:~$ cat Insp-camera-connect THE CAMERA is connected to USB-port. erik@X18:~$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 006: ID 0bda:0177 Realtek ...
Goliat's user avatar
  • 1
2 votes
2 answers
308 views

Writing udev rules - wildcards?

Is it possible to use wildcard characters when writing udev rules? I have multiseat and i want to assign every device (keyboard, mouse etc) that gets connected to a certain USB hub - or even better, a ...
dolt's user avatar
  • 335
0 votes
0 answers
52 views

Ubuntu 22.04.2 LTS does not load Internal SATA DVD

I'm running a 64-bit Ubuntu 22.04.2 LTS running GNOME 42.9. I have a SATA Hard drive which loads correctly, I also have a SATA DVD Drive but it does not load at all. I have swapped SATA slots and ...
cb49747's user avatar
  • 13
0 votes
0 answers
195 views

How can I add a 51-gcadapter.rules file to the /lib/udev/rules.d folder?

I have installed the Dolphin Emulator through the Ubuntu Software App, as no ppa's worked for me. However, my Mayflash gamecube controller adapter is not recognized by the emulator. I set this up ...
will's user avatar
  • 1
1 vote
1 answer
4k views

Ubuntu install hangs 'Timed out for waiting the udev queue being empty'

Every time I try to install Ubuntu it hangs and after a while Ubuntu install hangs 'Timed out for waiting the udev queue being empty' appears on screen twice. I'm using Rufus to write Ubuntu 23.04 to ...
usr's user avatar
  • 11
0 votes
0 answers
301 views

DNS resolution fails with "SERVFAIL" after running "udevadm trigger"

I'm experiencing an issue where DNS resolution fails with a "SERVFAIL" error after executing the "udevadm trigger" command on my Ubuntu Server. I've noticed that this problem ...
domsch's user avatar
  • 1
-1 votes
1 answer
83 views

What does udev rule /lib/udev/rules.d/75-net-description.rules do and can I delete it?

Could someone please tell me what this udev rule is doing and if I can delete it? I am using linux as a personal computer and not a web server. I do not want a personal network, just access to the ...
pac_2023's user avatar
2 votes
1 answer
163 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
136 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
530 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
217 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
55 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
-2 votes
1 answer
115 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
  • 39
0 votes
3 answers
593 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
1 vote
0 answers
182 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
  • 41
0 votes
0 answers
250 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
  • 305
0 votes
1 answer
392 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
1k 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
1 vote
0 answers
1k 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
1 vote
1 answer
67 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
57 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
3 votes
1 answer
2k 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
  • 63
3 votes
1 answer
3k 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,233
1 vote
1 answer
2k 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
  • 117
1 vote
1 answer
119 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
2 votes
0 answers
361 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
110 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
7k 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
2 3 4 5
14