#usb device is not activated on boot

1 messages · Page 1 of 1 (latest)

tropic latch
#

I have this usb ethernet device 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet, I have added it to my dracut.conf file like this add_drivers+= " ax88179_178a " . From dmesg, I can see the device is detected on boot, but the ethernet is not activated. I have unplug then plug the device back to activate it.

I suspect it is because the usb device need some extra time to initialize, but the kernel did not wait and assume the device is not working. Is there a way to make the boot process wait for a few seconds before loading kernel and modules?

Thanks.

plucky plume
#

Have you tried adding it to modprobe.d instead of dracut?

tropic latch
#

lsmod | grep ax returns nothing. I think I don't even need a module to drive that device.

#

But, what's difference between adding to dracut and adding to the modprobe.d?

plucky plume
#

Sounds like it's built into the kernel then

#

Adding it to initramfs or modprobe will make no difference

tropic latch
#

I increased the boot menu timeout to 15 sec but it is still not initialized...the device is not initialized after power on, but have to wait for some system signal?

tropic latch
#
looking at device '/devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb4/4-1/4-1.1/4-1.1:2.0/net/eth0':
    KERNEL=="eth0"
    SUBSYSTEM=="net"
    DRIVER==""

udevadm info shows this. I think the device is really drived directly by kernel. Then, how I make the kernel recognize it during boot?

tropic latch
#

I found this log in dmesg

Mar 08 18:44:17 xps9560 systemd[1]: Starting Network Manager Wait Online...
Mar 08 18:44:17 xps9560 systemd[1]: Finished Network Manager Wait Online.

So the system think it is already online and proceeded with bootup....I wonder which interface it used to detect if it is online.

tropic latch
#

So, from the NetworkManager's log, it looks like the network interface's name got changed, and after the change, the eth0 is not initialized correctly.