From owner-freebsd-usb@FreeBSD.ORG Sat Dec 13 10:22:03 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B688A22A for ; Sat, 13 Dec 2014 10:22:03 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7559D6F1 for ; Sat, 13 Dec 2014 10:22:02 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id BD4051FE022; Sat, 13 Dec 2014 11:21:52 +0100 (CET) Message-ID: <548C1361.6050304@selasky.org> Date: Sat, 13 Dec 2014 11:22:25 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Anish Mistry , freebsd-usb@freebsd.org Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> In-Reply-To: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 10:22:03 -0000 On 12/13/14 06:43, Anish Mistry wrote: > I have a HP Pre3 (webos) which when switched into USB tethering mode with > freetether exposes a RNDIS Ethernet Device. This should simply appear as ue0 > and off to the races. Unfortunately it attached via umodem due to the > usb.conf/devd usb_autoconf scripts and a device class overlap with if_urndis. > After commenting out those manual attach lines for umodem and kldload > if_urndis the device still didn't attach. After going into if_rndis.c and > enabling the "umodem" conflict section on line ifrndis.c:173 (I'm running > 10.1) and recompling the kernel module the device appears and > functions, I'm using it to post this. > How to I make this permenant (create a quirk?) so I don't have to hack > usb.conf and if_rndis.c each time I upgrade? > > Thanks, > Could you send the complete patch you are using? --HPS