Date: Thu, 17 Apr 2008 08:47:57 -0700 From: Sam Leffler <sam@freebsd.org> To: Takashi Inoue <takash-i@sophia.ac.jp> Cc: freebsd-mobile@freebsd.org Subject: Re: pciconf -w Message-ID: <4807712D.20502@freebsd.org> In-Reply-To: <48070939.6010701@sophia.ac.jp> References: <4805E5A2.1070705@sophia.ac.jp> <48062360.8000106@freebsd.org> <48070939.6010701@sophia.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Takashi Inoue wrote: > 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. I didn't say marking the interface down powered down the socket; I said it powered off the radio and stopped the MAC. This means the chip should be doing nothing to draw power so if it is then either something is not being stopped or there's an issue elsewhere. I'm aware of several PCIE power-related errata and can investigate but must have the mac+phy revs from the chip which you haven't provided. > > >> 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 > Sorry, all I can get out of that is a picture :) Provide the mac+phy revs from dmesg | grep ath0 and tell me the hal version. Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4807712D.20502>