Bug 1218371

Summary: Networkmanager fails with USB-C mobile phones
Product: [openSUSE] openSUSE Tumbleweed Reporter: Juan Erbes <jerbes>
Component: Kernel:NetworkingAssignee: Oliver Neukum <oneukum>
Status: CONFIRMED --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: chcao, jerbes, nnikita.beloglazov, pascal.german, R_Nik_C, tiwai, virex
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Juan Erbes 2023-12-23 16:36:06 UTC
Networkmanager fails to establish a network connection with USB-C mobile phones.

I tested with 2 phones:

Samsung Galaxy A23 5G:
Bus 001 Device 003: ID 04e8:6863 Samsung Electronics Co., Ltd Galaxy series, misc. (tethering mode)

Huawei P40:
With Huawei don't detects tethering mode, but the phone was on this mode via USB:
Bus 001 Device 004: ID 12d1:108a Huawei Technologies Co., Ltd. ANA-NX9

With older phones  micro USB they was no problem and could connect without problems. But at this time I don't have one phone with micro USB, only a 4G modem, wich are detected by Networkmanager, but don't connects because a settings problem with the APN of the mobile company.

On Windows 10 the 2 listed phones work fine.

My desktop computer don't has wifi, and after a week the ftth connection because a huge storm, the service wasn't restablished yet.

I don't find a way to make a network connection with my mobile phones with USB-C on Opensuse Tumbleweed and Leap 15.4.
Comment 1 Jonathan Kang 2023-12-28 06:41:23 UTC
Can you check the output of "sudo journalctl -b" and confirm whether there are related logs about that usb device?

Mine isn't working as well. Here are some related logs.

Plug in usb cable:
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: new SuperSpeed USB device number 10 using xhci_hcd
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: New USB device found, idVendor=18d1, idProduct=4ee8, bcdDevice= 4.19
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: Product: OnePlus 8T
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: Manufacturer: OnePlus
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: SerialNumber: 4337821a
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: Enable of device-initiated U1 failed.
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: Enable of device-initiated U2 failed.
> Dec 28 10:03:31 t5810-tw kernel: usb 4-1: Quirk or no altest; falling back to MIDI 1.0
> Dec 28 10:03:31 t5810-tw mtp-probe[23119]: checking bus 4, device 10: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
> Dec 28 10:03:31 t5810-tw mtp-probe[23119]: bus: 4, device: 10 was not an MTP device
> Dec 28 10:03:31 t5810-tw (udev-worker)[23124]: controlC2: Process '/usr/sbin/alsactl restore 2' failed with exit code 99.
> Dec 28 10:03:31 t5810-tw mtp-probe[23126]: checking bus 4, device 10: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
> Dec 28 10:03:31 t5810-tw mtp-probe[23126]: bus: 4, device: 10 was not an MTP device

Select USB tethering:
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: USB disconnect, device number 10
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: new SuperSpeed USB device number 11 using xhci_hcd
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: New USB device found, idVendor=22d9, idProduct=276a, bcdDevice= 4.19
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: Product: OnePlus 8T
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: Manufacturer: OnePlus
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: SerialNumber: 4337821a
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: Enable of device-initiated U1 failed.
> Dec 28 10:03:36 t5810-tw kernel: usb 4-1: Enable of device-initiated U2 failed.
> Dec 28 10:03:36 t5810-tw mtp-probe[23135]: checking bus 4, device 11: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
> Dec 28 10:03:36 t5810-tw mtp-probe[23135]: bus: 4, device: 11 was not an MTP device
> Dec 28 10:03:36 t5810-tw mtp-probe[23136]: checking bus 4, device 11: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
> Dec 28 10:03:36 t5810-tw mtp-probe[23136]: bus: 4, device: 11 was not an MTP device

It seems that kernel didn't load needed cdc_ether module. In another system that USB tethering works shows the following logs:

> Dec 28 14:20:03 jonathan-x1 kernel: usbcore: registered new interface driver cdc_ether
> Dec 28 14:20:03 jonathan-x1 kernel: rndis_host 2-4:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-4, RNDIS device, 82:5d:02:f1:73:93
> Dec 28 14:20:03 jonathan-x1 kernel: usb 2-4: Enable of device-initiated U1 failed.
> Dec 28 14:20:03 jonathan-x1 kernel: usb 2-4: Enable of device-initiated U2 failed.
> Dec 28 14:20:03 jonathan-x1 kernel: usbcore: registered new interface driver rndis
Comment 3 Juan Erbes 2023-12-28 13:40:07 UTC
For Huawei P40:

Plug in usb cable:
dic 28 10:15:14 localhost.localdomain kernel: usb 1-2.4: new high-speed USB device number 3 using xhci_hcd
dic 28 10:15:15 localhost.localdomain kernel: usb 1-2.4: New USB device found, idVendor=12d1, idProduct=107e, bcdDevice= 2.99
dic 28 10:15:15 localhost.localdomain kernel: usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
dic 28 10:15:15 localhost.localdomain kernel: usb 1-2.4: Product: ANA-NX9
dic 28 10:15:15 localhost.localdomain kernel: usb 1-2.4: Manufacturer: HUAWEI
dic 28 10:15:15 localhost.localdomain kernel: usb 1-2.4: SerialNumber: VWS0220525001709
dic 28 10:15:15 localhost.localdomain kernel: usb-storage 1-2.4:1.1: USB Mass Storage device detected
dic 28 10:15:15 localhost.localdomain kernel: scsi host9: usb-storage 1-2.4:1.1
dic 28 10:15:15 localhost.localdomain kernel: usbcore: registered new interface driver usb-storage
dic 28 10:15:15 localhost.localdomain kernel: usbcore: registered new interface driver uas

Select USB tethering:
dic 28 10:18:39 localhost.localdomain kernel: usb 1-2.4: USB disconnect, device number 3
dic 28 10:18:39 localhost.localdomain systemd[1507]: Starting Cleanup of User's Temporary Files and Directories...
dic 28 10:18:39 localhost.localdomain systemd[1507]: Finished Cleanup of User's Temporary Files and Directories.
dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: new high-speed USB device number 4 using xhci_hcd
dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: New USB device found, idVendor=12d1, idProduct=108a, bcdDevice= 2.99
dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: Product: ANA-NX9
dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: Manufacturer: HUAWEI
dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: SerialNumber: VWS0220525001709
dic 28 10:18:40 localhost.localdomain mtp-probe[2881]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/usb1/1-2/1-2.4"
dic 28 10:18:40 localhost.localdomain mtp-probe[2881]: bus: 1, device: 4 was not an MTP device
dic 28 10:18:40 localhost.localdomain mtp-probe[2882]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/usb1/1-2/1-2.4"
dic 28 10:18:40 localhost.localdomain mtp-probe[2882]: bus: 1, device: 4 was not an MTP device


For Samsung Galaxy A23 5G:

Plug in usb cable:
dic 28 10:24:12 localhost.localdomain kernel: usb 1-2.4: USB disconnect, device number 6
dic 28 10:24:12 localhost.localdomain kernel: usb 1-2.4: new high-speed USB device number 7 using xhci_hcd
dic 28 10:24:13 localhost.localdomain kernel: usb 1-2.4: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 5.04
dic 28 10:24:13 localhost.localdomain kernel: usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
dic 28 10:24:13 localhost.localdomain kernel: usb 1-2.4: Product: SAMSUNG_Android
dic 28 10:24:13 localhost.localdomain kernel: usb 1-2.4: Manufacturer: SAMSUNG
dic 28 10:24:13 localhost.localdomain kernel: usb 1-2.4: SerialNumber: R5CW30XW7ZD
dic 28 10:24:13 localhost.localdomain kernel: cdc_acm 1-2.4:1.1: ttyACM0: USB ACM device
dic 28 10:24:13 localhost.localdomain plasmashell[1729]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/ExpandableListItem.qml:291: TypeError: Cannot read property 'enabled' of null
dic 28 10:24:15 localhost.localdomain ModemManager[1197]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:0>

Select USB tethering:
dic 28 10:27:45 localhost.localdomain kernel: usb 1-2.4: new high-speed USB device number 8 using xhci_hcd
dic 28 10:27:45 localhost.localdomain kernel: usb 1-2.4: New USB device found, idVendor=04e8, idProduct=6863, bcdDevice= 5.04
dic 28 10:27:45 localhost.localdomain kernel: usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
dic 28 10:27:45 localhost.localdomain kernel: usb 1-2.4: Product: SAMSUNG_Android
dic 28 10:27:45 localhost.localdomain kernel: usb 1-2.4: Manufacturer: SAMSUNG
dic 28 10:27:45 localhost.localdomain kernel: usb 1-2.4: SerialNumber: R5CW30XW7ZD
dic 28 10:27:45 localhost.localdomain mtp-probe[3212]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/usb1/1-2/1-2.4"
dic 28 10:27:45 localhost.localdomain mtp-probe[3212]: bus: 1, device: 8 was not an MTP device
dic 28 10:27:45 localhost.localdomain mtp-probe[3213]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/usb1/1-2/1-2.4"
dic 28 10:27:45 localhost.localdomain mtp-probe[3213]: bus: 1, device: 8 was not an MTP device
Comment 4 Nikita Beloglazov 2024-01-17 16:45:12 UTC
Plus. This issue occurs due to /usr/lib/modprobe.d/50-blacklist-rndis.conf, due to the fact that the required kernel modules are included into the blacklist
Comment 5 Igor Kuznetsov 2024-01-18 04:53:11 UTC
same problem
Comment 6 Azim Kozubaev 2024-01-19 16:36:59 UTC
I am experiencing exactly the same problems.
Comment 7 Takashi Iwai 2024-02-07 10:14:04 UTC
Something for Oliver?
Comment 8 Oliver Neukum 2024-03-14 10:02:48 UTC
(In reply to Juan Erbes from comment #3)
> For Huawei P40:
> 
> Plug in usb cable:

> dic 28 10:15:15 localhost.localdomain kernel: scsi host9: usb-storage
> 1-2.4:1.1
> dic 28 10:15:15 localhost.localdomain kernel: usbcore: registered new
> interface driver usb-storage
> dic 28 10:15:15 localhost.localdomain kernel: usbcore: registered new
> interface driver uas

Does claim to be a storage device

> Select USB tethering:
> dic 28 10:18:39 localhost.localdomain kernel: usb 1-2.4: USB disconnect,
> device number 3
> dic 28 10:18:39 localhost.localdomain systemd[1507]: Starting Cleanup of
> User's Temporary Files and Directories...
> dic 28 10:18:39 localhost.localdomain systemd[1507]: Finished Cleanup of
> User's Temporary Files and Directories.
> dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: new high-speed USB
> device number 4 using xhci_hcd
> dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: New USB device
> found, idVendor=12d1, idProduct=108a, bcdDevice= 2.99
> dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: New USB device
> strings: Mfr=1, Product=2, SerialNumber=3
> dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: Product: ANA-NX9
> dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: Manufacturer: HUAWEI
> dic 28 10:18:40 localhost.localdomain kernel: usb 1-2.4: SerialNumber:
> VWS0220525001709
> dic 28 10:18:40 localhost.localdomain mtp-probe[2881]: checking bus 1,
> device 4:
> "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/
> usb1/1-2/1-2.4"
> dic 28 10:18:40 localhost.localdomain mtp-probe[2881]: bus: 1, device: 4 was
> not an MTP device
> dic 28 10:18:40 localhost.localdomain mtp-probe[2882]: checking bus 1,
> device 4:
> "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/
> usb1/1-2/1-2.4"
> dic 28 10:18:40 localhost.localdomain mtp-probe[2882]: bus: 1, device: 4 was
> not an MTP device

But what is it?
Please provide the output of "lsusb -v" at that stage.
> 
> 
> For Samsung Galaxy A23 5G:

> dic 28 10:24:13 localhost.localdomain kernel: cdc_acm 1-2.4:1.1: ttyACM0:
> USB ACM device

Advertises itself as ACM.
Just to make this clear: Does this one work?
Comment 9 Juan Erbes 2024-03-14 12:19:07 UTC
Bus 001 Device 006: ID 04e8:6863 Samsung Electronics Co., Ltd Galaxy series, misc. (tethering mode)
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6863 Galaxy series, misc. (tethering mode)
  bcdDevice            5.04
  iManufacturer           1 SAMSUNG
  iProduct                2 SAMSUNG_Android
  iSerial                 3 R5CW30XW7ZD
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x004b
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass        224 Wireless
      bFunctionSubClass       1 Radio Frequency
      bFunctionProtocol       3 RNDIS
      iFunction               7
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      3 RNDIS
      iInterface              5
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 01
      ** UNRECOGNIZED:  04 24 02 00
      ** UNRECOGNIZED:  05 24 06 00 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 [unknown]
      bInterfaceProtocol      0
      iInterface              6
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8e  EP 14 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0f  EP 15 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0





cat /usr/lib/modprobe.d/50-blacklist-rndis.conf
# RNDIS is considered insecure (bsc#1205767, jsc#PED-5731)
blacklist rndis_wlan
blacklist usb_f_rndis
blacklist rndis_host


The output of "sudo journalctl -b":

mar 14 08:39:37 localhost.localdomain kernel: usb 1-2.4: new high-speed USB device number 6 using xhci_hcd
mar 14 08:39:37 localhost.localdomain kernel: usb 1-2.4: New USB device found, idVendor=04e8, idProduct=6863, bcdDevice= 5.04
mar 14 08:39:37 localhost.localdomain kernel: usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
mar 14 08:39:37 localhost.localdomain kernel: usb 1-2.4: Product: SAMSUNG_Android
mar 14 08:39:37 localhost.localdomain kernel: usb 1-2.4: Manufacturer: SAMSUNG
mar 14 08:39:37 localhost.localdomain kernel: usb 1-2.4: SerialNumber: R5CW30XW7ZD
mar 14 08:39:37 localhost.localdomain mtp-probe[5614]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/usb1/1-2/1-2.4"
mar 14 08:39:37 localhost.localdomain mtp-probe[5614]: bus: 1, device: 6 was not an MTP device
mar 14 08:39:37 localhost.localdomain mtp-probe[5615]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:0b:00.1/usb1/1-2/1-2.4"
mar 14 08:39:37 localhost.localdomain mtp-probe[5615]: bus: 1, device: 6 was not an MTP device


After modified /usr/lib/modprobe.d/50-blacklist-rndis.conf

# blacklist rndis_wlan
# blacklist usb_f_rndis
# blacklist rndis_host

Restarting the system and before setting tethering mode:

Bus 001 Device 003: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6860 Galaxy series, misc. (MTP mode)
  bcdDevice            5.04
  iManufacturer           1 SAMSUNG
  iProduct                2 SAMSUNG_Android
  iSerial                 3 R5CW30XW7ZD
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0071
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          4 mtp
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      iInterface              5 MTP
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x001c  1x 28 bytes
        bInterval               6
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         1
      bInterfaceCount         2
      bFunctionClass          2 Communications
      bFunctionSubClass       2 Abstract (modem)
      bFunctionProtocol       1 AT-commands (v.25ter)
      iFunction               8 CDC Serial
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              6 CDC Abstract Control Model (ACM)
      CDC Header:
        bcdCDC               1.10
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          2
      CDC ACM:
        bmCapabilities       0x02
          line coding and serial state
      CDC Union:
        bMasterInterface        1
        bSlaveInterface         2
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 [unknown]
      bInterfaceProtocol      0
      iInterface              7 CDC ACM Data
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      UNRECOGNIZED CDC:  08 24 80 0c 00 01 00 01
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)


  After setting tethering mode:


  Bus 001 Device 004: ID 04e8:6863 Samsung Electronics Co., Ltd Galaxy series, misc. (tethering mode)
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6863 Galaxy series, misc. (tethering mode)
  bcdDevice            5.04
  iManufacturer           1 SAMSUNG
  iProduct                2 SAMSUNG_Android
  iSerial                 3 R5CW30XW7ZD
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x004b
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass        224 Wireless
      bFunctionSubClass       1 Radio Frequency
      bFunctionProtocol       3 RNDIS
      iFunction               7
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      3 RNDIS
      iInterface              5
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 01
      ** UNRECOGNIZED:  04 24 02 00
      ** UNRECOGNIZED:  05 24 06 00 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 [unknown]
      bInterfaceProtocol      0
      iInterface              6
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8e  EP 14 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0f  EP 15 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0


Now networkmanager works ok with the modified /usr/lib/modprobe.d/50-blacklist-rndis.conf