Skip to main content

Questions tagged [udev]

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

1 vote
0 answers
21 views

Udev Rule stops working after some time

I have an udev rule to wake my laptop using bluetooth as follows. ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", \ ATTR{bDeviceClass}=="e0", \ ATTR{...
paulodiovani's user avatar
3 votes
1 answer
120 views

Removable media mounting strategies

I'm working my way through understanding more about unix/linux and how the various tools/packages/options interact with one another (for example, the role of systemd, or how fstab works). I'm also ...
jungle_jim's user avatar
0 votes
0 answers
60 views

Read device name in sys with udevadm info

If I print the USB property of a device I own with the following command, I get the following output $ udevadm info --no-pager /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3 P: /devices/...
Davidbrcz's user avatar
  • 201
1 vote
1 answer
49 views

Changing HID device type

I bought this lovely old Macally iBall Pro and I have it setup well in Ubuntu 22.04 using xinput to configure middle button emulation and scrolling with a button. Like so: xinput set-prop "12&...
Fratink's user avatar
  • 51
0 votes
0 answers
45 views

systemd service which only runs when a specific usb drive is mounted

I have a udev rule which looks for a specific usb stick (VID and PID), and then starts a templated systemd service: KERNEL=="sd[a-z][0-9]", ... ACTION=="add", RUN+="/...
kalj's user avatar
  • 111
2 votes
1 answer
465 views

Linux auto-mounting USB with UDev

My task is to have a custom mount point and for the mount itself to happen automatically. that is, the device is connected, a folder with its name is created in some place (/mnt/usb/{name}) and the ...
richstog's user avatar
0 votes
0 answers
32 views

How to pause and resume processing of Keyboard USB on a device, without deauthorizing it?

I am building keyboard multiplexer. My current plan is to connect two devices through Bluetooth, and let my wired USB keyboard switch between these two devices. My first instinct is to build Two-...
MRINAL YADAV's user avatar
1 vote
0 answers
60 views

How to authorize de-authorized usb device

I am following this article to deauthorized usb: https://www.kernel.org/doc/Documentation/usb/authorization.txt The command I used for de-authorization is sudo sh -c 'echo 0 > /sys/bus/usb/devices/...
MRINAL YADAV's user avatar
2 votes
1 answer
95 views

USB Smart Card Reader Hotplug Not Working in Docker Container

I run ubuntu based docker image in linux server and I want to attach usb smart card reader to the docker container. At the initial start my usb reader is picked from the container and do desired job. ...
wika's user avatar
  • 39
12 votes
1 answer
1k views

How to force drives to be on a predictable device name

I have a computer, running Debian 12, that is equipped with 2 RDX (from dead Tandberg / Overland company) cartridge drives. One is an internal SATA, and one is an external USB. They are cartridge ...
iXô's user avatar
  • 337
1 vote
0 answers
42 views

systemd-logind: seat0 CanGraphical=yes despite untagging master-of-seat in 99- udev rule

Ubuntu 24.04 LTS, systemd 255 In a multiseat setup, I'm trying to set seat0 (Matrox DRM) to CanGraphical=no for TTY-only, but loginctl shows yes even after untagging master-of-seat in a 99- custom ...
trleith's user avatar
  • 11
2 votes
0 answers
272 views

DRM: Artificially simulating a monitor Disconnect+Reconnect event, or a HOTPLUG uevent

Is there a way to simulate a physical HDMI cable unplugging and replugging on a Linux system running Xorg with AMDGPU driver? In my Xfce system on X11, I have trouble with monitor output/connector ...
feearent's user avatar
0 votes
0 answers
35 views

Accessing USB Gadgetfs driver without sudo

I am working with an embedded machine (rock pi s) which can act as a USB device, communicating with a host device using the USB OTG port on the machine. I use the gadgetfs functionality of linux for ...
GrixM's user avatar
  • 101
2 votes
0 answers
57 views

Using systemd-escape in udev rule

I'm trying to invoke a service template '[email protected]' when I insert my USB key into my computer. [email protected] [Unit] Description=THe Nope [Service] Type=oneshot ExecStart=/bin/bash -c "/bin/...
Davidbrcz's user avatar
  • 201
0 votes
0 answers
73 views

How do I debug USB device and determine what is causing errors?

I have two Ubuntu 22.04 systems. One is Intel the other Arm. I have them configured the same to interface to a QHYCCD camera. The device works flawlessly under Intel but is a mess under Arm. When ...
WallyZ's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
76