You are not logged in.

#1 2013-07-02 08:41:59

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,446

udev and event timeout, is it possible to disable?

I've an udev rule like this:

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}="yes" , ACTION=="add", RUN+="/root/scripts/scanner.udev.autoconnect.sh"

/root/scripts/scanner.udev.autoconnect.sh is a script that exits on request, but after 120secs it gets killed by udev/systemd:

Jul  2 10:35:39 localhost systemd-udevd[30798]: timeout: killing '/root/scripts/scanner.udev.autoconnect.sh &' [30838]                                                       
Jul  2 10:35:39 localhost systemd-udevd[30798]: '/root/scripts/scanner.udev.autoconnect.sh &' [30838] terminated by signal 9 (Killed) 

i tried to add the option:

, OPTIONS+="event_timeout=99999"

But it is just ignored (works fine for low valuse like 3)

Somebody can help please?

Offline

#2 2013-07-15 21:43:07

divansantana
Member
Registered: 2011-01-21
Posts: 117

Re: udev and event timeout, is it possible to disable?

Offline

Board footer

Powered by FluxBB