Re: udev rules & USB devices - ignored at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 08/02/2021 08:10, Strahil Nikolov wrote:
Can you share your udev rules ?

Best Regards,
Strahil Nikolov

    On Sun, Feb 7, 2021 at 15:33, lejeczek via CentOS
    <centos@xxxxxxxxxx> wrote:
    Hi guys,

    I have an Ethernet USB adapter for which udev executes my
    custom rules but!... udev does it only at plug-in
    event and
    not! when the USB stays plugged in during a reboot, then
    same rules are ignored (or some other problem results in
    udev failure to do the same when device is plugged to a
    running system).
    My system is just an average box with a Ryzen on a B550
    platform.
    Anybody sees this reproduce?
    many thanks, L.
    _______________________________________________
    CentOS mailing list
    CentOS@xxxxxxxxxx <mailto:CentOS@xxxxxxxxxx>
    https://lists.centos.org/mailman/listinfo/centos
    <https://lists.centos.org/mailman/listinfo/centos>

simple rules:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:10:1f:00:00", ATTR{type}=="1", KERNEL=="eth*", NAME="lteusb"

like I said - I get iface "lteusb" when I plug the USB so it works. If I leave that USB plugged in and reboot then no "lteusb".

regards, L.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux