From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 30 22:23:31 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6084716A4CE for ; Tue, 30 Mar 2004 22:23:31 -0800 (PST) Received: from mailhub01.unibe.ch (mailhub01.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB71A43D58 for ; Tue, 30 Mar 2004 22:23:30 -0800 (PST) (envelope-from roth@speedy.unibe.ch) Received: from localhost (scanhub01-eth0.unibe.ch [130.92.254.65]) by mailhub01.unibe.ch (Postfix) with ESMTP id E435725BAD5; Wed, 31 Mar 2004 08:23:29 +0200 (MEST) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub01 [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 23609-10-54; Wed, 31 Mar 2004 08:23:29 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 389B525BAE5; Wed, 31 Mar 2004 08:23:27 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id i2V6NQb25743; Wed, 31 Mar 2004 08:23:26 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id i2V6NQ3o009119; Wed, 31 Mar 2004 08:23:26 +0200 (MEST) Date: Wed, 31 Mar 2004 08:23:26 +0200 From: Tobias Roth To: Toxa Message-ID: <20040331062325.GA9093@speedy.unibe.ch> References: <406835B5.2020301@nikiforov.ru> <20040329150230.GA20492@speedy.unibe.ch> <43528078.20040329215140@sendmail.ru> <20040330055323.GA24456@speedy.unibe.ch> <1075987519.20040331001652@sendmail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1075987519.20040331001652@sendmail.ru> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: mobile@freebsd.org Subject: Re: AP Scanning X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 06:23:31 -0000 On Wed, Mar 31, 2004 at 12:16:52AM +0400, Toxa wrote: > > Ok, thanks, I have already configured it, ofcource original patch does not > suite to current defaults/rc.conf, rc.suspend, rc.resume files but this is > not problem, sure, it's trivial to correct it according to current > changes (i'm using -current branch on my laptop). Profiles ("home" and > "work" :-) are configured by me and I'll drop you a line in day or > two to describe my impressions :-) sweet, i am looking forward to your answer. i am planning to improve the patch a bit when i get some time (in a month or two), namely: 1) acpi support 2) better behaviour after a crash 3) a really working suspend in location a and resume in location b 1) will depend on how acpi will work on my thinkpad, i read that it works pretty good these days with -current 2) this will be quite simple, make the script execute after fsck in the rc.d chain, but it needs testing 3) this i'll plan to do by adding specific SUSPEND tags to all rc.d scripts that will tell whether or not the stop/start action should be taken. plus i have to figure out how to keep X working after a resume and a possible hostname/ip change. maybe i also have to change the hostname through sysctl, but this is not related. all in all, there is still some work to do and i am happy for any feedback. two things to note: do not rely on suspend/resume + profile patch to work flawlessly. it does work quite well if you don't use X, but it is not clean yet. if you want to use suspend/resume a lot, undo the changes to rc.suspend and rc.resume and use the profile patch without that funtionality. and do watch out when your machine should crash! after a crash, boot to single user mode and fsck manually. crash plus starting up with a profile is not working correctly yet. i hope i will find some time soon to enhance this patch. greets, t. btw, nice email address :)