From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 08:24:27 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C02FB1065672 for ; Thu, 17 Apr 2008 08:24:27 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id 86F3E8FC29 for ; Thu, 17 Apr 2008 08:24:27 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 906388AB8A1 for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 8992DB3526E for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) X-AuditID: 850c8ad9-ad4c4bb0000008b8-63-4807093a0b50 Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id 4C33A4DC002 for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) Received: from [127.0.0.1] (ph65011.ph.sophia.ac.jp [133.12.65.11]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 38D17B3526E for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) Message-ID: <48070939.6010701@sophia.ac.jp> Date: Thu, 17 Apr 2008 17:24:25 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4805E5A2.1070705@sophia.ac.jp> <48062360.8000106@freebsd.org> In-Reply-To: <48062360.8000106@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: Re: pciconf -w X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 08:24:27 -0000 Sam Leffler wrote: > Takashi Inoue wrote: > >> Hi friends, >> >> Does anyone know how to trun off a pci device using pciconf -w ? >> >> Becase my MiniPCI Express wireless card is realy hot, >> I want to turn off when I don't need it. >> >> >> ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c >> rev=0x01 hdr=0x00 >> vendor = 'Atheros Communications Inc.' >> device = 'AR5212 Atheros AR5212 802.11abg wireless' >> class = network >> subclass = ethernet >> cap 01[40] = powerspec 2 supports D0 D3 current D0 >> cap 05[50] = MSI supports 1 message >> cap 10[60] = PCI-Express 1 legacy endpoint >> cap 11[90] = MSI-X supports 1 message in map 0x10 >> >> > > > Did you mark the interface down? When you do that it should power off > the radio and the stop the mac's clock. Really? I don't think so. At here, ath0 is ON(D0) regardress ath0 is up or down or driver is loaded or unloded. > Device id 0x1014 is not pcie as far as I know and I've never seen an > Atheros card that supports MSI so something doesn't make sense here > (perhaps I'm just unaware of MSI support coming in). That is Lebovo option MiniPCI Express card in below(in Japanese). http://www-06.ibm.com/jp/pc/option/obi/nob11/40y7028/40y7028a.shtml T. Inoue