[systemd-devel] udev "uaccess" tag does not support "hotplug" for some devices

Robert Milasan rmilasan at suse.cz
Wed Aug 19 05:18:23 PDT 2015


On Wed, 19 Aug 2015 17:45:28 +0800
"Tom Yan" <tom.ty89 at gmail.com> wrote:

> Hi all!
> 
> So I added the following rules:
> [tom at localhost ~]$ grep . /etc/udev/rules.d/*
> /etc/udev/rules.d/uas.rules:DRIVERS=="uas", TAG+="uaccess"
> /etc/udev/rules.d/usb-storage.rules:DRIVERS=="usb-storage",
> TAG+="uaccess"

Can you try:

ACTION=="add|change", SUBSYSTEMS=="usb",
ENV{ID_USB_DRIVER}=="usb-storage", TAG+="uaccess"

in usb-storage.rules ?

You might wanna rename the rule to something like 90-usb-storage.rules,
but thats besides the point.

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


More information about the systemd-devel mailing list