Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Dec 2017 22:48:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372
Message-ID:  <bug-192345-17-h8EtD5gzL8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192345-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192345-17@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345

--- Comment #28 from rozhuk.im@gmail.com ---
First modem interface in huawei cases is serial.
FBSD call probe() and u3g wins.
FBSD call attach() and u3g attach to all interfaces.
No more probe() call, all interfaces marked as u3g child.

There is 3 ways:
1. Now I move usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex);
after usbd_transfer_setup(), witch probably success only with serial device=
s.

2. u3g will atach only to one device per attach() call, so some modems will
generate fews u3g devices.

3. Add check, that will call cdce probe() from u3g and on success will skip
interface.
(Same thing was done in first patch, but instead of cdce probe() call code =
with
dev check was duplicated)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192345-17-h8EtD5gzL8>