From owner-freebsd-mobile Tue Apr 28 10:51:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16792 for freebsd-mobile-outgoing; Tue, 28 Apr 1998 10:51:37 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16775 for ; Tue, 28 Apr 1998 10:51:32 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id LAA10126; Tue, 28 Apr 1998 11:51:28 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA28563; Tue, 28 Apr 1998 11:51:26 -0600 Date: Tue, 28 Apr 1998 11:51:26 -0600 Message-Id: <199804281751.LAA28563@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: Nate Williams , rob@remarque.org, freebsd-mobile@FreeBSD.ORG Subject: Re: weird sound problem with tp 560 In-Reply-To: <199804281637.JAA00502@dingo.cdrom.com> References: <199804281613.KAA28059@mt.sri.com> <199804281637.JAA00502@dingo.cdrom.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > the other nit i have, is that when i went from PAO -> vanilla freebsd, > > > i noticed suspends under vanilla freebsd seem to use more battery > > > power. i have two PCCARDs shoved into the machine, pretty much at all > > > times. > > > > That's weird. It certainly shouldn't do that, and I don't know what > > would be causing that. > > Are we perhaps not powering the cards off all the way? >From /sys/pccard.c: static int slot_suspend(void *arg) { struct slot *slt = arg; /* This code stolen from pccard_event:card_removed */ if (slt->state == filled) { int s = splhigh(); ---> disable_slot(slt); slt->state = suspend; splx(s); printf("Card disabled, slot %d\n", slt->slotnum); } ----> slt->ctrl->disable(slt); return (0); } Note the lines I point to. We disable the slot, as well as the controller at suspend time. There isn't much more I could disable. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message