You are not logged in.

#1 2015-02-23 17:59:55

fstirlitz
Member
Registered: 2013-04-10
Posts: 5
Website

[fixed] Drivers are not loaded until I run udevadm trigger

Like the subject line says. Sound card and WiFi drivers are not loaded until I manually run udevadm trigger as root.

The problem goes away after I install the following override for systemd-udev-trigger.service:

[Service]
ExecStart=
ExecStart=/usr/bin/udevadm trigger --action=add ; /usr/bin/udevadm trigger --action=add

I don't think that's a good solution, though. Any ideas?

Last edited by fstirlitz (2015-02-23 18:43:31)


— felix (wiki · aur)

Offline

#2 2015-02-23 18:43:13

fstirlitz
Member
Registered: 2013-04-10
Posts: 5
Website

Re: [fixed] Drivers are not loaded until I run udevadm trigger

Never mind, I fixed it.

My first clue was this excerpt from journalctl -u systemd-udevd:

systemd-udevd[90]: starting version 218
systemd-udevd[247]: starting version 218
mtp-probe[383]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
systemd-udevd[247]: worker [270] /devices/pci0000:00/0000:00:02.0/drm/card0 is taking a long time
systemd-udevd[247]: worker [271] /devices/pci0000:00/0000:00:02.0/drm/controlD64 is taking a long time
systemd-udevd[247]: worker [278] /devices/virtual/drm/ttm is taking a long time
systemd-udevd[247]: worker [282] /devices/pci0000:00/0000:00:02.0/drm/renderD128 is taking a long time
systemd-udevd[247]: worker [273] /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/controlD65 is taking a long time
systemd-udevd[247]: worker [274] /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD129 is taking a long time
systemd-udevd[247]: worker [275] /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 is taking a long time

I disabled all my custom udev rules in /etc/udev/rules.d and nailed it down to one I wrote to automatically enable runtime PM management:

ACTION!="add", GOTO="end_runtime_pm"
SUBSYSTEM=="usb", ENV{ID_BUS}=="", IMPORT{builtin}="usb_id"
ENV{ID_INPUT_MOUSE}=="?*", ATTR{power/control}="on", GOTO="end_runtime_pm"

SUBSYSTEM!="usb", ATTR{power/control}=="on", ATTR{power/control}="auto", RUN="/usr/bin/logger enabled runtime pm for %p"
LABEL="end_runtime_pm"

Disabling the RUN= did the trick. I am kind of still puzzled why, though.


— felix (wiki · aur)

Offline

Board footer

Powered by FluxBB