Woo it's a win of almighty grawity again! \o/ My rules works perfectly fine with the 70- prefix just as the shipped 70-uaccess.rules. Should have thought about it. Any pointer for details about the "consumed" here btw?
On 19 August 2015 at 20:43, Mantas Mikulėnas <[email protected]> wrote: > On Wed, Aug 19, 2015 at 3:18 PM, Robert Milasan <[email protected]> wrote: >> On Wed, 19 Aug 2015 17:45:28 +0800 >> "Tom Yan" <[email protected]> wrote: >> >>> Hi all! >>> >>> So I added the following rules: >>> [tom@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. > > Hmm, in fact, the "uaccess" tag is consumed by: > > 73-seat-late.rules:15:TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess" > > So the ordering might be very relevant. > > -- > Mantas Mikulėnas <[email protected]> > _______________________________________________ > systemd-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
