Questions tagged [udev]
The kernel's device manager, responsible for the contents of /dev.
677
questions
-2
votes
0
answers
37
views
OpenRGB does not run via flatpak
I'm using Ubuntu 23.10 and I've installed OpenRGB via:
flatpak install org.openrgb.OpenRGB
I've also installed the rules via openrgb-udev-install.sh
ls /usr/lib/udev/rules.d/60-open*
/usr/lib/udev/...
0
votes
1
answer
98
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 ...
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-...
0
votes
0
answers
10
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 ...
3
votes
0
answers
85
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")
...
0
votes
0
answers
39
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 ...
8
votes
1
answer
463
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 ...
1
vote
1
answer
150
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 ...
1
vote
1
answer
89
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==&...
0
votes
0
answers
32
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 ...
0
votes
1
answer
362
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 ...
0
votes
0
answers
264
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 ...
1
vote
0
answers
26
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 ...
0
votes
0
answers
133
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 ...
0
votes
0
answers
456
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 ...
2
votes
2
answers
200
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 /...
0
votes
0
answers
32
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 ...
0
votes
1
answer
80
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", ...
1
vote
0
answers
307
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---...
0
votes
0
answers
325
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 /...
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 ...
0
votes
0
answers
62
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 ...
2
votes
2
answers
253
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 ...
0
votes
0
answers
50
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 ...
0
votes
0
answers
167
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 ...
1
vote
1
answer
3k
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 ...
0
votes
0
answers
279
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 ...
-1
votes
1
answer
79
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 ...
2
votes
1
answer
154
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 ...
0
votes
0
answers
113
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/...
1
vote
0
answers
484
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 "...
3
votes
1
answer
199
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 /...
0
votes
0
answers
51
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 ...
0
votes
0
answers
281
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 ...
-2
votes
1
answer
102
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:...
0
votes
3
answers
571
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
...
1
vote
0
answers
169
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 ...
0
votes
0
answers
215
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) ...
0
votes
1
answer
374
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 ...
1
vote
1
answer
998
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 ...
0
votes
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
...
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 ...
0
votes
0
answers
53
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 ...
3
votes
1
answer
1k
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 ...
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 ...
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 ...
1
vote
1
answer
111
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 ...
2
votes
0
answers
339
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 ...
1
vote
1
answer
104
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 ...
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 ...