From owner-freebsd-arch@FreeBSD.ORG Wed Mar 19 11:29:48 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52EED1065677 for ; Wed, 19 Mar 2008 11:29:48 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 16BD58FC34 for ; Wed, 19 Mar 2008 11:29:47 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.64.3]) by phk.freebsd.dk (Postfix) with ESMTP id 5C71917107; Wed, 19 Mar 2008 11:29:45 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.2/8.14.2) with ESMTP id m2JBThmo008727; Wed, 19 Mar 2008 11:29:44 GMT (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 19 Mar 2008 05:16:04 CST." <20080319.051604.63052713.imp@bsdimp.com> Date: Wed, 19 Mar 2008 11:29:43 +0000 Message-ID: <8726.1205926183@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: bzeeb-lists@lists.zabbadoz.net, arch@freebsd.org Subject: Re: Power-Mgt X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 11:29:48 -0000 In message <20080319.051604.63052713.imp@bsdimp.com>, "M. Warner Losh" writes: >In message: <20080318085804.I50685@maildrop.int.zabbadoz.net> > "Bjoern A. Zeeb" writes: >: what actually happens to an unrecognized card or a card with no driver >: loaded currently? How much power does an unsued card use and can we do >: anything about that? Are we perhaps already doing something about >: that? > >For PCI it is set into D3 state. Or at least was until this caused a >problem with some raid controllers that didn't follow the rules and >had extra devices that the card used, but that the OS didn't have a >driver for. > >For PC Card, the card is powered down entirely. For CardBus I think >the same. For USB, ugen takes it, and therefore it is powered up. Not to mention this comment from acpi_cpu.c: /* * Check for bus master activity. If there was activity, clear * the bit and use the lowest non-C3 state. Note that the USB * driver polling for new devices keeps this bit set all the * time if USB is loaded. */ -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.