t2linux/fedora

Blacklisting cdc_ncm may prevent USB to Ethernet dongles from working

Closed this issue · 1 comments

Blacklisting cdc_ncm seems to stop a USB to Ethernet adaptor from working even
though it is detected as a USB device

[  158.137732] usb 1-4.4: new high-speed USB device number 17 using xhci_hcd
[  158.480725] usb 1-4.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[  158.480729] usb 1-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  158.480730] usb 1-4.4: Product: AX88179A
[  158.480732] usb 1-4.4: Manufacturer: ASIX
[root@fedora]/home/fakhry# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

Both the touchbar and the external dongle become functional as net interfaces after loading
the blacklisted module :

modprobe cdc_ncm

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp4s0f1u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether ac:de:48:00:11:22 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::1e31:336b:2050:3e03/64 scope link tentative noprefixroute
       valid_lft forever preferred_lft forever
3: enp0s20f0u4u4c2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether f8:e4:3b:72:f0:25 brd ff:ff:ff:ff:ff:ff