git: usb4bsd: Fix if_urndis/umodem probing conflict.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Nov 6 10:46:31 PST 2014


commit 520cf605f1f4c5f91b7147b8aac8cbdfba41af98
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/520cf605f1f4c5f91b7147b8aac8cbdfba41af98


-- 
DragonFly BSD source repository



More information about the Commits mailing list