[Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 19 14:05:48 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345

rozhuk.im at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|Closed                      |In Progress

--- Comment #39 from rozhuk.im at gmail.com ---
You re implement my first solution, U3G_HUAWEI_IS_CDC() = u3g_huawei_is_cdc()
is same.

My last patch does not need this function to work.
See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345#c28

We do not need compare device id~s, we need only one simple thing: call
usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex);
only after some serial sub device is attached.

Current code call: usbd_set_parent_iface(uaa->device, i,
uaa->info.bIfaceIndex);
then try attach and if it fail then device still marked as "no need to driver
probe".

Also my patch on probe() fail return more proper code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-usb mailing list