From owner-freebsd-current@FreeBSD.ORG Fri Jan 10 07:06:15 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6AA483D for ; Fri, 10 Jan 2014 07:06:15 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7FD1DCB for ; Fri, 10 Jan 2014 07:06:15 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 3EB8717FD20; Fri, 10 Jan 2014 08:06:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 123FC8F7783; Fri, 10 Jan 2014 08:07:01 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NFmtx5hMOdZV; Fri, 10 Jan 2014 08:07:00 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 233B38F64CA; Fri, 10 Jan 2014 08:07:00 +0100 (CET) Message-ID: <52CF9C29.7080306@bitfrost.no> Date: Fri, 10 Jan 2014 08:07:21 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Lundberg, Johannes" , FreeBSD Current Subject: Re: Move 3G modem from u3g to uhso? References: In-Reply-To: Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jan 2014 07:06:15 -0000 On 01/10/14 06:06, Lundberg, Johannes wrote: > Hi > > I have been using "Globetrotter HSUPA Modem Option N.V." usb modem for a > while with the uhso driver and now I installed 11-CURRENT and see that it > has been added to devd and u3g is loaded automatically. Since this device > has support for it wouldn't it be better to use uhso driver so we get the > uhso0 network interface? > > The device in question is > > nomatch 32 { > match "bus" "uhub[0-9]+"; > match "mode" "host"; > match "vendor" "0x0af0"; > match "product" "0x9000"; > action "kldload -n u3g"; > }; > > which I changed to > > nomatch 32 { > match "bus" "uhub[0-9]+"; > match "mode" "host"; > match "vendor" "0x0af0"; > match "product" "0x9000"; > action "kldload -n uhso"; > }; > > But this also requires adding the device in sys/dev/usb/net/uhso.c > > /* Option GTM661W */ > UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE), Hi, When you remove the device entry from the u3g.c driver, the usb.conf file will be updated later. Can you submit a complete patch for this? --HPS