[Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Nov 2024 20:15:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783

--- Comment #41 from Pierre Pronchery <pierre@freebsdfoundation.org> ---
I think it was a matter of avoiding a sleep when holding a mutex, more than
about the ability to lock the mutex recursively.

With this in mind, I have updated the working copy of the patch on GitHub at
https://github.com/freebsd/freebsd-src/compare/main...khorben:freebsd-src:khorben/umb
with a version that no longer crashes when attaching. (For me at least)

> umb0 on uhub4
> umb0: <Sierra Wireless, Incorporated product 0x68c0, class 0/0, rev 2.00/0.06, addr 3> on usbus2
> umb0: version 1.0
> umb0: bpf attached

Unfortunately I am not able to confirm that it works yet:

> # ifconfig umb0
> umb0: flags=1008811<UP,POINTOPOINT,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
>         options=0
>         media: <unknown type>
>         status: 
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> # umbctl umb0
> umb0: state down, mode unknown, registration unknown
>         provider "", dataclass none, signal #-999
>         phone number "", roaming "" (denied)
>         APN "", TX 0, RX 0
>         firmware "", hardware ""

This is after entering the pin code with "umbctl umb0 pin 1234" as per usual,
with no success so far.

-- 
You are receiving this mail because:
You are the assignee for the bug.