pciconf -w

Sam Leffler sam at freebsd.org
Wed Apr 16 16:03:45 UTC 2008


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 at 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.

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).

    Sam




More information about the freebsd-mobile mailing list