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

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345

--- Comment #40 from Hans Petter Selasky  ---
Yes, I know. Because I think drivers should only have one probe success. The
approach with multiple probes returning a match, and then falling back to the
best, is not good. It will also confuse devd.

My question to you: Does my patch work or not?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


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

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345

rozhuk...@gmail.com changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|Closed  |In Progress

--- Comment #39 from rozhuk...@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.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 134299] Kernel Panic plugging in MF626 USB UMTS Stick u3g

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=134299

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Fri Jan 19 13:06:36 UTC 2018
New revision: 328163
URL: https://svnweb.freebsd.org/changeset/base/328163

Log:
  Add new USB ID to U3G driver.

  PR:   134299
  MFC after:1 week
  Sponsored by: Mellanox Technologies

Changes:
  head/sys/dev/usb/serial/u3g.c
  head/sys/dev/usb/usbdevs

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 224499] add request for 3G modem ABIT Corporation AK-020

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224499

Hans Petter Selasky  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 134299] Kernel Panic plugging in MF626 USB UMTS Stick u3g

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=134299

Hans Petter Selasky  changed:

   What|Removed |Added

 Resolution|--- |Rejected
 CC||hsela...@freebsd.org
 Status|Open|Closed

--- Comment #2 from Hans Petter Selasky  ---
It is likely that some USB bugs are present in older versions of FreeBSD < 8.x.
It is recommended to use a newer version of FreeBSD. Please re-open if you
think this is still an issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


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

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345

Hans Petter Selasky  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed

--- Comment #38 from Hans Petter Selasky  ---
Check if the submitted patch works for you.

--HPS

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


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

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345

--- Comment #37 from commit-h...@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Fri Jan 19 12:59:14 UTC 2018
New revision: 328162
URL: https://svnweb.freebsd.org/changeset/base/328162

Log:
  Improve support for USB based 3G/4G/5G dongles from Huawei.

  PR:   192345
  Sponsored by: Mellanox Technologies

Changes:
  head/sys/dev/usb/net/if_cdce.c
  head/sys/dev/usb/serial/u3g.c
  head/sys/dev/usb/serial/umodem.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"