From owner-freebsd-mobile@FreeBSD.ORG Wed Jun 2 08:41:21 2010 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 B6C79106567E for ; Wed, 2 Jun 2010 08:41:21 +0000 (UTC) (envelope-from scholarship@studentscholarships.org) Received: from mail04.studentscholarships.org (mail04.studentscholarships.org [99.198.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFF98FC0C for ; Wed, 2 Jun 2010 08:41:21 +0000 (UTC) Received: by mail04.studentscholarships.org (Postfix, from userid 48) id 45A055564C1; Tue, 1 Jun 2010 22:07:13 -0500 (CDT) To: freebsd-mobile@freebsd.org From: "District Update" Content-type: text/plain; charset=UTF-8 Message-Id: <20100602030713.45A055564C1@mail04.studentscholarships.org> Date: Tue, 1 Jun 2010 22:07:13 -0500 (CDT) Subject: District Scholarship update for June 2010 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: Wed, 02 Jun 2010 08:41:21 -0000 StudentScholarships.org update for June 2010. All of the scholarships below are available to students in the school district. 1. Pfizer’s Scholarship Award (Deadline: June 15, 2010) This $2000 scholarship is available to high school senior who has applied to college or a freshman, sophomore, or junior in college. Website: www.epilepsy-scholarship.com 2. Help Johnny Scholarship (Deadline: Varies) This $5000 scholarship is available to any student that is 19 years or under, as of October 25, 2010 and is renewable. Website: http://www.studentscholarships.org/helpjohnny.php 3. 2010 Independence Day Scholarship (Deadline: July 2, 2010) This $5000 scholarship is open to students of all national backgrounds that are currently studying in the United States or in an American military school out of the country. Website: www.joefoss.com/programs/scholarship-program 4. Castle Ink's Green Scholarship (Deadline: July 31, 2010) This $2500 scholarships is for students who are United States citizen or permanent resident with a minimum 2.5 Grade Point Average. Website: www.castleink.com/_ink-scholarship.html 5. Society of American Travel Writers Scholarship (Deadline: August 1, 2010) Applicants must be ages 13-18 and attending grades 8-12 as of May 15, 2010. The travel experience you write about must have occurred within the last three years. Website: www.travelbigo.com/scholarships/SATW Note: If you would like to be removed from future mailings, please send an email to scholarship@studentscholarships.org and we will remove your email immediately. From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 3 13:04:29 2010 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 89295106564A for ; Thu, 3 Jun 2010 13:04:29 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6E98FC18 for ; Thu, 3 Jun 2010 13:04:25 +0000 (UTC) Received: by fxm5 with SMTP id 5so93572fxm.13 for ; Thu, 03 Jun 2010 06:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=EyUvw4EhwPsREP8kMfzT0bFFRbRvWAYcwv1RD5K5yS0=; b=H1VUbYs5it4U1bn8Ga6j8kQ/k8mpV7XfTvIO2+DuZbZuw5ps2DrIXDtUIX/0rUWUjR AQ0OU7s6S9yzk1otqyMtDTLR06FTrtQ8bdSvsa6Uxkd47OTS2FDHtHOnJ4/0fKD1fX3B DrTR6jLIV1PKt0BbZMVT49UMwBkD79V6V+I48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=u8H+GJDgXXl4GfwyKjtz6Pp+bcO5px9bb/WWkrMWvbgFNAG9KgznTLmg0fXX8Biduo yaoifXWAO49L0cIug43m/rrsMh5R3D99NFpngTCR1tvdhtLid8Nto+v163anXHlYLEBF zrImXv9P/zFTXerweZw/meqpgX/V+BqtDYjRA= MIME-Version: 1.0 Received: by 10.204.162.136 with SMTP id v8mr2848330bkx.7.1275568754041; Thu, 03 Jun 2010 05:39:14 -0700 (PDT) Received: by 10.204.123.202 with HTTP; Thu, 3 Jun 2010 05:39:13 -0700 (PDT) In-Reply-To: <20100603141648.E27982@sola.nimnet.asn.au> References: <20100601120131.A070C10657ED@hub.freebsd.org> <20100602001405.T27982@sola.nimnet.asn.au> <20100603141648.E27982@sola.nimnet.asn.au> Date: Thu, 3 Jun 2010 14:39:13 +0200 Message-ID: From: David DEMELIER To: Ian Smith Content-Type: multipart/mixed; boundary=000325553f0678b7ab04881f7eeb X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mobile@freebsd.org Subject: Re: Automatic shutdown with devd. 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, 03 Jun 2010 13:04:29 -0000 --000325553f0678b7ab04881f7eeb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2010/6/3 Ian Smith : > On Tue, 1 Jun 2010, David DEMELIER wrote: > =C2=A0> 2010/6/1 Ian Smith : > =C2=A0> > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > =C2=A0> > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER wrote: > [..] > =C2=A0> > =C2=A0> Is there a way to make this conditional to do only if t= he laptop is > =C2=A0> > =C2=A0> not charging, AC plugged in ? > =C2=A0> > > =C2=A0> > Your script can check whether the AC power is on with: > =C2=A0> > > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0AC=3D`sysctl -n hw.acpi.acline` > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0if [ $AC =3D 1 ]; then > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exit 0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# or whatever, when on AC power > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0elif [ $AC =3D 0 ]; then > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # do whatever when on battery > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0else > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # AC/Battery state unknown .. > =C2=A0> > =C2=A0 =C2=A0 =C2=A0 =C2=A0fi > =C2=A0> > > =C2=A0> > You could try just logging all state changes for a while; from = critical > =C2=A0> > charging to charging to high to discharging to critical dischar= ging, I > =C2=A0> > think that's the lot .. you can also check hw.acpi.battery.life= etc. > =C2=A0> > > =C2=A0> > =C2=A0> Okay I will try a script like this one. > > Let us know how it goes; it's clearer now from below why you need this. > > =C2=A0> > However, your system should do an 'emergency suspend' on critic= al low > =C2=A0> > battery anyway .. usually set at 1% capacity but some BIOS will= let you > =C2=A0> > adjust that (see acpiconf -i0). =C2=A0Only if suspend/resume wo= rks of course. > =C2=A0> > > =C2=A0> > =C2=A0> It would be great if suspend/resume would works yes ! For the mom= ent > =C2=A0> it's not the case : > =C2=A0> > =C2=A0> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Di386/146715 > > Ah yes. =C2=A0I guess you might have to try the freebsd-acpi list about t= hat, > after reading the ACPI debugging section of the Handbook, providing your > dmesg and probably an acpidump of your ASL as shown there. > > I don't know the current status of suspend/resume on amd64, nor anything > about your HP Probook 4510s. =C2=A0The freebsd-mobile list might be a bet= ter > place to start, at least to ask whether anyone else shares your problem? > > cheers, Ian Okay, the HP Probook has some problems with ACPI suspend/resume now. I attached the acpidump -dt. As described in the PR, the resume works but seems to freeze (cannot shutdown by pressing the power button) and the screen stays off. Cheers --=20 Demelier David --000325553f0678b7ab04881f7eeb-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 3 14:16:31 2010 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 F28B1106568E for ; Thu, 3 Jun 2010 14:16:30 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 541878FC1D for ; Thu, 3 Jun 2010 14:16:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o53EGFDj058623; Fri, 4 Jun 2010 00:16:15 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 4 Jun 2010 00:16:14 +1000 (EST) From: Ian Smith To: David DEMELIER In-Reply-To: Message-ID: <20100604000347.J27982@sola.nimnet.asn.au> References: <20100601120131.A070C10657ED@hub.freebsd.org> <20100602001405.T27982@sola.nimnet.asn.au> <20100603141648.E27982@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-144974044-1275574574=:27982" Cc: freebsd-mobile@freebsd.org Subject: Re: Automatic shutdown with devd. 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, 03 Jun 2010 14:16:31 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-144974044-1275574574=:27982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT [ moved here from freebsd-questions ] On Thu, 3 Jun 2010, David DEMELIER wrote: > 2010/6/3 Ian Smith : > > On Tue, 1 Jun 2010, David DEMELIER wrote: > >  > 2010/6/1 Ian Smith : > >  > > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > >  > > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER wrote: > > [..] > >  > >  > Is there a way to make this conditional to do only if the laptop is > >  > >  > not charging, AC plugged in ? > >  > > > >  > > Your script can check whether the AC power is on with: > >  > > > >  > >        AC=`sysctl -n hw.acpi.acline` > >  > >        if [ $AC = 1 ]; then > >  > >                exit 0          # or whatever, when on AC power > >  > >        elif [ $AC = 0 ]; then > >  > >                :               # do whatever when on battery > >  > >        else > >  > >                :               # AC/Battery state unknown .. > >  > >        fi > >  > > > >  > > You could try just logging all state changes for a while; from critical > >  > > charging to charging to high to discharging to critical discharging, I > >  > > think that's the lot .. you can also check hw.acpi.battery.life etc. > >  > > > >  > > >  > Okay I will try a script like this one. > > > > Let us know how it goes; it's clearer now from below why you need this. > > > >  > > However, your system should do an 'emergency suspend' on critical low > >  > > battery anyway .. usually set at 1% capacity but some BIOS will let you > >  > > adjust that (see acpiconf -i0).  Only if suspend/resume works of course. > >  > > > >  > > >  > It would be great if suspend/resume would works yes ! For the moment > >  > it's not the case : > >  > > >  > http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/146715 > > > > Ah yes.  I guess you might have to try the freebsd-acpi list about that, > > after reading the ACPI debugging section of the Handbook, providing your > > dmesg and probably an acpidump of your ASL as shown there. > > > > I don't know the current status of suspend/resume on amd64, nor anything > > about your HP Probook 4510s.  The freebsd-mobile list might be a better > > place to start, at least to ask whether anyone else shares your problem? > > > > cheers, Ian > > Okay, the HP Probook has some problems with ACPI suspend/resume now. I > attached the acpidump -dt. > > As described in the PR, the resume works but seems to freeze (cannot > shutdown by pressing the power button) and the screen stays off. These lists don't accept non-text attachments, so I've put it up here: http://smithi.id.au/hp4510s/acpi.asl.gz plus your dmesg posted to -stable last week; post it again if changed: http://smithi.id.au/hp4510s/dmesg.txt As I said, I don't know anything about these, hopefully someone does .. cheers, Ian --0-144974044-1275574574=:27982--