git: usb4bsd: Fix if_urndis/umodem probing conflict.
swildner at crater.dragonflybsd.org
Thu Nov 6 10:46:31 PST 2014
Author: Sascha Wildner <saw at online.de>
Date: Thu Nov 6 19:45:41 2014 +0100
usb4bsd: Fix if_urndis/umodem probing conflict.
Previously, if_urndis would not detect certain devices (among them
the HTC One) due to a conflict with certain USB modems from Huawei.
Fix this by making umodem check explicitly for Huawei as the vendor.
As far as I can see, devd(8) would now load both umodem.ko and
if_urndis.ko for these modems but only umodem.ko would attach, so
we should be fine.
However, so far only the urndis(4) part was actually tested.
Submitted-by: Yellow Rabbit <yrabbit at sdf.lonestar.org>
Tested-by: Robin Hahling <robin.hahling at gw-computing.net>
Summary of changes:
etc/devd/usb.conf | 14 ++++++++++++--
sys/bus/u4b/net/if_urndis.c | 21 +++++++++++++++------
sys/bus/u4b/serial/umodem.c | 3 ++-
3 files changed, 29 insertions(+), 9 deletions(-)
DragonFly BSD source repository
More information about the Commits