From owner-freebsd-net@FreeBSD.ORG Thu Dec 24 22:09:48 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BD56106566B for ; Thu, 24 Dec 2009 22:09:48 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0E38FC08 for ; Thu, 24 Dec 2009 22:09:48 +0000 (UTC) Received: by qyk6 with SMTP id 6so3622101qyk.3 for ; Thu, 24 Dec 2009 14:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=2AXW8zcX6246uBIWqZ80XNqUYXPxp1w2s4qAZPO7tgQ=; b=sI7k2ZVJL21JqivaFdg63JaFkGd1hYBMqTmUbovjgy1hsZzK0mswJfa/+4mTElCQH2 7pqMjg9uG645fYfE2/ePADN2G4lHQGza0zFIePG+KY+wpz9Ib6klDnkwy2JYsEpsD9MF qkhvNjOI63fU+ROOhC3uLfdQpA7sFq1q1M4pg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=ixWg7PKItwhEsomnY7/Q49bsgRzXzlCdK2/TunhuFGBML1unU6kzBywtcV/omJFttb inlqpcI+ZQSXjrGQuwWtM/FlqQ/vdgJX/oOx4BsMJgo26U0hw27UJIO6Yf/lvIovtO3m ST+DnwYE1UirXdYyfqSVRV7QbYMPk4rS8ppVA= Received: by 10.224.106.4 with SMTP id v4mr3566603qao.78.1261692587535; Thu, 24 Dec 2009 14:09:47 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 8sm24118671qwj.13.2009.12.24.14.09.45 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Dec 2009 14:09:46 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Thu, 24 Dec 2009 14:09:42 -0800 From: Weongyo Jeong Date: Thu, 24 Dec 2009 14:09:42 -0800 To: Steven Friedrich Message-ID: <20091224220942.GC1491@weongyo> Mail-Followup-To: Steven Friedrich , freebsd-net@freebsd.org References: <200912151603.32111.freebsd@insightbb.com> <20091222193104.GH1479@weongyo> <200912221754.25692.freebsd@insightbb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912221754.25692.freebsd@insightbb.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: uath under FreeBSD 8.0-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 22:09:48 -0000 On Tue, Dec 22, 2009 at 05:54:25PM -0500, Steven Friedrich wrote: > On Tuesday 22 December 2009 02:31:04 pm Weongyo Jeong wrote: > > On Tue, Dec 15, 2009 at 04:03:31PM -0500, Steven Friedrich wrote: > > > Ok, I am able to load firmware with: > > > uathload -d /dev/ugen4.3 > > > but it also appears to do so when I plug it in... > > > > > > Now what? It doesn't show up in ifconfig... > > > > Could you please show me dmesg output and the output of > > > > # usbconfig dump_device_desc > This message appears on the console when the device is plugged in: > ugen4.3: < Atheros Communications Inc > at usbus4 > > usbconfig -u 4 -a 3 dump_info > ugen4.3: at usbus4, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON > > The device doesn't show up in ifconfig, so the example from the man page: > ifconfig wlan create wlandev uath0 > > doesn't work because uath0 isn't found by ifconfig. > ifconfig wlan0 create wlandev uath0 > ifconfig: SIOCIFCREATE2: Device not configured > > I filed a PR against usb, probably should have made it net. Sorry. OK. It looks weird idProduct didn't be decreased 1 after loading the firmware. And what I'd like to see is the *full* result of the following steps: 1. plugs in your USB device. 2. run commands as follows: # kldload if_uath # dmesg | tail # uathload -v -d /dev/ugen4.3 # dmesg | tail In a theory, after loading the firmware normally the device which at the moment idProduct is 0x4251 is detached and reseted then it should be reattached with idProduct(0x4250). regards, Weongyo Jeong