git: DragonFly_RELEASE_4_0 usb4bsd: Fix if_urndis/umodem probing conflict.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Nov 6 10:49:00 PST 2014


commit 21ab2798bb7f75e5e1bae7270dc5b154316797ce
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>
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2725>

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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21ab2798bb7f75e5e1bae7270dc5b154316797ce


-- 
DragonFly BSD source repository



More information about the Commits mailing list