From owner-freebsd-net@FreeBSD.ORG Fri Dec 25 06:09:18 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 D660D106566B for ; Fri, 25 Dec 2009 06:09:18 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf04.insightbb.com (mxsf04.insightbb.com [74.128.0.74]) by mx1.freebsd.org (Postfix) with ESMTP id 92CE38FC12 for ; Fri, 25 Dec 2009 06:09:18 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,453,1257138000"; d="scan'208";a="776436010" Received: from unknown (HELO asav03.insightbb.com) ([172.31.249.123]) by mxsf04.insightbb.com with ESMTP; 25 Dec 2009 01:09:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgFAFjlM0vQLicL/2dsb2JhbACBS9U7hDMEgWU X-IronPort-AV: E=Sophos;i="4.47,453,1257138000"; d="scan'208";a="118461210" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout03.insightbb.com with ESMTP; 25 Dec 2009 01:09:17 -0500 From: Steven Friedrich To: freebsd-net@freebsd.org Date: Fri, 25 Dec 2009 01:09:14 -0500 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; i386; ; ) References: <200912151603.32111.freebsd@insightbb.com> <200912221754.25692.freebsd@insightbb.com> <20091224220942.GC1491@weongyo> In-Reply-To: <20091224220942.GC1491@weongyo> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912250109.14305.freebsd@insightbb.com> Subject: Re: uath under FreeBSD 8.0-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 06:09:18 -0000 On Thursday 24 December 2009 05:09:42 pm Weongyo Jeong wrote: > 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). > root@laptop2(/dev/pts/1)/root/bugs 101% kldload if_uath root@laptop2(/dev/pts/1)/root/bugs 102% dmesg|tail info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 ugen4.3: at usbus4 info: [drm] Num pipes: 1 ugen4.3: at usbus4 (disconnected) ugen4.3: at usbus4 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] Num pipes: 1 root@laptop2(/dev/pts/1)/root/bugs 103% uathload -v -d /dev/ugen4.3 Load firmware ar5523.bin (builtin) to /dev/ugen4.3 send block 0: 147368 bytes remaining : data... : wait for ack... uathload: error reading msg (/dev/usb/4.3.1): No such file or directory root@laptop2(/dev/pts/1)/root/bugs 104% dmesg|tail info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 ugen4.3: at usbus4 info: [drm] Num pipes: 1 ugen4.3: at usbus4 (disconnected) ugen4.3: at usbus4 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] Num pipes: 1