Hello, When attaching in an Unisoc Phone and enabling tethering on the phone side, it fails with the following error message in dmesg: urndis0: using Vendor: interface alternate setting 0 failed
I tested with Linux kernel just to check it was not the cable nor a phone problem, and it works. I then searched into Linux kernel source code and found the following relevant commit adding support for such phone: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/serial/option.c?id=a095edfc15f0832e046ae23964e249ef5c95af87 In case it helps, here is what I have in the Linux kernel log: usb 1-2: New USB device found, idVendor=1782, idProduct=000c, bcdDevice= 0.01 usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2: Product: Unisoc Phone usb 1-2: Manufacturer: Unisoc usb 1-2: SerialNumber: Unisoc Phone rndis_host 1-2:1.0: skipping garbage rndis_host 1-2:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-2, RNDIS device, d2:36:db:4f:f6:8a rndis_host 1-2:1.0 enxd236db4ff68a: renamed from usb0 Any suggestion or idea of patch welcomed. Thank you very much in advance! Regards, Arnaud dmesg: OpenBSD 7.8 (GENERIC.MP) #4: Tue Mar 3 10:00:16 MST 2026 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 16792186880 (16014MB) avail mem = 16256438272 (15503MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x6149a000 (49 entries) bios0: vendor American Megatrends International, LLC. version "V2.00L22" date 05/28/2025 bios0: Panasonic Corporation CFSV1-2 efi0 at bios0: UEFI 2.7 efi0: American Megatrends rev 0x50013 acpi0 at bios0: ACPI 6.2 acpi0: sleep states S0ix S4 S5 acpi0: tables DSDT FACP MCFG SSDT FIDT MSDM SSDT TCPA HPET APIC SSDT SSDT NHLT UEFI LPIT SSDT SSDT DBGP DBG2 SSDT SSDT SSDT SSDT DMAR FPDT SSDT SSDT BGRT TPM2 ASF! PTDT WSMT acpi0: wakeup devices PEGP(S4) PEGP(S4) PEGP(S4) PEG0(S4) PEGP(S4) RP01(S4) RP02(S4) RP03(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xc0000000, bus 0-255 acpihpet0 at acpi0: 19200000 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 4379.45 MHz, 06-8c-01, patch 000000bc cpu0: cpuid 1 edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> ecx=77fafbff<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND> cpu0: cpuid 6 eax=17eff7<SENSOR,ARAT,PTS> ecx=9<EFFFREQ> cpu0: cpuid 7.0 ebx=f3bfa7eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL> ecx=18c07fce<AVX512VBMI,UMIP,PKU> edx=fc100710<SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD> cpu0: cpuid a vers=5, gp=8, gpwidth=48, ff=4, ffwidth=48 cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=121<LAHF,ABM,3DNOWP> cpu0: cpuid 80000007 edx=100<ITSC> cpu0: msr 10a=a005c6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,RFDS_NO> cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 20-way L2 cache, 8MB 64b/line 8-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 38MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 4389.88 MHz, 06-8c-01, patch 000000bc cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 3732.44 MHz, 06-8c-01, patch 000000bc cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 3434.05 MHz, 06-8c-01, patch 000000bc cpu3: smt 0, core 3, package 0 cpu4 at mainbus0: apid 1 (application processor) cpu4: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 3388.82 MHz, 06-8c-01, patch 000000bc cpu4: smt 1, core 0, package 0 cpu5 at mainbus0: apid 3 (application processor) cpu5: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 3265.06 MHz, 06-8c-01, patch 000000bc cpu5: smt 1, core 1, package 0 cpu6 at mainbus0: apid 5 (application processor) cpu6: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 3240.34 MHz, 06-8c-01, patch 000000bc cpu6: smt 1, core 2, package 0 cpu7 at mainbus0: apid 7 (application processor) cpu7: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 3183.63 MHz, 06-8c-01, patch 000000bc cpu7: smt 1, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpiprt0 at acpi0: bus 0 (PC00) acpiprt1 at acpi0: bus 1 (PEG0) acpiprt2 at acpi0: bus -1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (RP09) acpiprt11 at acpi0: bus -1 (RP10) acpiprt12 at acpi0: bus -1 (RP11) acpiprt13 at acpi0: bus -1 (RP12) acpiprt14 at acpi0: bus -1 (RP13) acpiprt15 at acpi0: bus -1 (RP14) acpiprt16 at acpi0: bus -1 (RP15) acpiprt17 at acpi0: bus -1 (RP16) acpiprt18 at acpi0: bus -1 (RP17) acpiprt19 at acpi0: bus -1 (RP18) acpiprt20 at acpi0: bus -1 (RP19) acpiprt21 at acpi0: bus -1 (RP20) acpiprt22 at acpi0: bus -1 (RP21) acpiprt23 at acpi0: bus -1 (RP22) acpiprt24 at acpi0: bus -1 (RP23) acpiprt25 at acpi0: bus -1 (RP24) acpiprt26 at acpi0: bus 2 (TRP0) acpiec0 at acpi0 acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001 acpicmos0 at acpi0 acpials0 at acpi0: ALSD "INTC1044" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "INTC1043" at acpi0 not configured "MAT0024" at acpi0 not configured "SYNA0102" at acpi0 not configured "MCHP1930" at acpi0 not configured "MCHP1930" at acpi0 not configured "MCHP1930" at acpi0 not configured "SONY488A" at acpi0 not configured pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 360 pins "PNP0C14" at acpi0 not configured intelpmc0 at acpi0: PEPD state 0: 0x7f:1:2:0x00:0x0000000000000060 counter: 0x7f:64:0:0x00:0x0000000000000632 frequency: 0 state 1: 0x7f:1:2:0x00:0x0000000000000060 counter: 0x00:32:0:0x03:0x00000000fe00193c frequency: 8197 tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x0000104a rev 0x4e "MAT0040" at acpi0 not configured "MAT0019" at acpi0 not configured acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "CF-VZSU1C" serial 00227 type LION oem "Panasonic" acpibtn0 at acpi0: LID0(wakeup) acpibtn1 at acpi0: PWRB "MAT0028" at acpi0 not configured "INTC1051" at acpi0 not configured "INTC1025" at acpi0 not configured "INTC1040" at acpi0 not configured "USBC000" at acpi0 not configured "PNP0C0B" at acpi0 not configured acpipwrres0 at acpi0: PXP_, resource for PEG0, PEGP acpipwrres1 at acpi0: PXP_, resource for RP08 acpipwrres2 at acpi0: BTRT acpipwrres3 at acpi0: V0PR acpipwrres4 at acpi0: V1PR acpipwrres5 at acpi0: V2PR acpipwrres6 at acpi0: WRST acpipwrres7 at acpi0: TBT0, resource for TDM0, TRP0, TRP1 acpipwrres8 at acpi0: TBT1, resource for TDM1, TRP2, TRP3 acpipwrres9 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2, TRP3 acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu4 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu5 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu6 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpicpu7 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), C1(1000@1 mwait.1), PSS acpitz0 at acpi0 acpitz0: critical temperature is 105 degC acpipwrres10 at acpi0: PIN_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F acpivout1 at acpivideo0: DD2F cpu0: Enhanced SpeedStep 4379 MHz: speeds: 2501, 2500, 2400, 2300, 2100, 2000, 1800, 1500, 1400, 1300, 1100, 1000, 900, 700, 600, 400 MHz pci0 at mainbus0 bus 0 0:31:5: mem address conflict 0xfe010000/0x1000 pchb0 at pci0 dev 0 function 0 "Intel Core 11G Host" rev 0x01 inteldrm0 at pci0 dev 2 function 0 "Intel Xe Graphics" rev 0x01 drm0 at inteldrm0 inteldrm0: msi, TIGERLAKE, gen 12 "Intel Core 11G DTT" rev 0x01 at pci0 dev 4 function 0 not configured ppb0 at pci0 dev 6 function 0 "Intel Core 11G PCIE" rev 0x01: msi pci1 at ppb0 bus 1 nvme0 at pci1 dev 0 function 0 "Samsung PM9C1" rev 0x00: msix, NVMe 2.0 nvme0: Samsung SSD 990 PRO 1TB, firmware 5B2QJXD7, serial S7HDNF0Y608522B scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 990, 5B2Q> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors ppb1 at pci0 dev 7 function 0 "Intel Core 11G PCIE" rev 0x01: msi pci2 at ppb1 bus 2 "Intel Core 11G GNA" rev 0x01 at pci0 dev 8 function 0 not configured "Intel Core 11G SRAM" rev 0x01 at pci0 dev 10 function 0 not configured xhci0 at pci0 dev 13 function 0 "Intel Core 11G xHCI" rev 0x01: msi, xHCI 1.20 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 2 not configured xhci1 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x20: msi, xHCI 1.20 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 500 Series Shared SRAM" rev 0x20 at pci0 dev 20 function 2 not configured iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x20, msix dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2 int 27 iic0 at dwiic0 ihidev0 at iic0 addr 0x2c gpio 323, vendor 0x6cb product 0xcdea, SYNA0102 ihidev0: 15 report ids ims0 at ihidev0 reportid 2: 2 buttons wsmouse0 at ims0 mux 0 hid at ihidev0 reportid 9 not configured hid at ihidev0 reportid 10 not configured hid at ihidev0 reportid 11 not configured hid at ihidev0 reportid 12 not configured hid at ihidev0 reportid 14 not configured hid at ihidev0 reportid 15 not configured dwiic1 at pci0 dev 21 function 1 "Intel 500 Series I2C" rev 0x20: apic 2 int 40 iic1 at dwiic1 "MCHP1930" at iic1 addr 0x1f not configured "MCHP1930" at iic1 addr 0x11 not configured "MCHP1930" at iic1 addr 0x17 not configured "Intel 500 Series HECI" rev 0x20 at pci0 dev 22 function 0 not configured puc0 at pci0 dev 22 function 3 "Intel 500 Series KT" rev 0x20: ports: 16 com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo ahci0 at pci0 dev 23 function 0 "Intel 500 Series AHCI" rev 0x20: msi, AHCI 1.3.1 ahci0: PHY offline on port 1 scsibus2 at ahci0: 32 targets pcib0 at pci0 dev 31 function 0 "Intel 500 Series eSPI" rev 0x20 azalia0 at pci0 dev 31 function 3 "Intel 500 Series HD Audio" rev 0x20: msi azalia0: codecs: Realtek ALC295, Intel/0x2812, using Realtek ALC295 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 500 Series SMBus" rev 0x20: apic 2 int 16 iic2 at ichiic0 "Intel 500 Series SPI" rev 0x20 at pci0 dev 31 function 5 not configured em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x20: msi, address b8:20:8e:23:9a:3d isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> sd1: 880639MB, 512 bytes/sector, 1803550192 sectors root on sd1a (59d3c2ec81d48847.a) swap on sd1b dump on sd1b inteldrm0: 1920x1200, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwx0: hw rev 0x350, fw 77.30b1cbd8.0, address 00:93:37:ac:7c:40 usbdevs: Controller /dev/usb0: addr 01: 8086:0000 Intel, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub0 Controller /dev/usb1: addr 01: 8086:0000 Intel, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub1 addr 02: 1782:000c Unisoc, Unisoc Phone high speed, self powered, config 1, rev 0.01, iSerial Unisoc Phone driver: urndis0 driver: ugen0
