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" > I think using DRIVERS is incorrect, but as I dont have all info. > The rules basically works, but it doesn't support "hotplug", that is, > I have to re-login for newly plugged devices to get the ACLs, and I > have to do that as well if I replugged the device after I logged in. > > However, it doesn't seem to be a universal limitation, because it does > support "hotplug" for my SATA optical drive. I enabled hotplug of that > SATA port in BIOS, unplugged the SATA cable, made sure "cdrom" > (symlink) and "sr0" are no longer in /dev, then plugged it in again, > the ACLs remains. I also tried to boot without the optical drive > connected, and plugged in after login, it also works fine. Because the rule is different, not implemented the same way as you did. > > So could it be a bug of udev or logind, or something wrong with > certain kernel drivers? > _______________________________________________ > systemd-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Robert Milasan L3 Support Engineer SUSE Linux (http://www.suse.com) email: [email protected] GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
