From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NpHrr-0004Xq-Gf for garchives@archives.gentoo.org; Wed, 10 Mar 2010 09:06:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5683E05C1; Wed, 10 Mar 2010 09:05:52 +0000 (UTC) Received: from sentinel.math.Princeton.EDU (sentinel.math.Princeton.EDU [128.112.16.31]) by pigeon.gentoo.org (Postfix) with ESMTP id 9BF2BE05C1 for ; Wed, 10 Mar 2010 09:05:52 +0000 (UTC) Received: from math.princeton.edu ([128.112.18.16]) by sentinel.math.Princeton.EDU with esmtp (Exim 4.69) (envelope-from ) id 1NpHrT-00069S-FX for gentoo-user@lists.gentoo.org; Wed, 10 Mar 2010 04:05:52 -0500 Received: from math.Princeton.EDU (localhost.localdomain [127.0.0.1]) by math.Princeton.EDU (8.13.8/8.13.8) with ESMTP id o2A95pQl016844 for ; Wed, 10 Mar 2010 04:05:51 -0500 Received: (from wwong@localhost) by math.Princeton.EDU (8.13.8/8.13.8/Submit) id o2A95pqn016841 for gentoo-user@lists.gentoo.org; Wed, 10 Mar 2010 04:05:51 -0500 Date: Wed, 10 Mar 2010 04:05:51 -0500 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] normal user do not have access to usb, and many other things Message-ID: <20100310090551.GB15610@math.princeton.edu> References: <53e35fd51003090314w250da861la064a57c73703160@mail.gmail.com> <58965d8a1003090841s1b904e58mf41841ec40d8e620@mail.gmail.com> <53e35fd51003091721q49d3343r2bcb7da20a43aed0@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53e35fd51003091721q49d3343r2bcb7da20a43aed0@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Archives-Salt: 471e8d2b-6f59-434f-87fd-0cccf19b5a53 X-Archives-Hash: 914800cb1590d77eb6328daaa045f1a2 On Wed, Mar 10, 2010 at 09:21:06AM +0800, Xi Shen wrote: > i kanda thought about that for the usb stuff. but i have not resolve > it. may be i also need the pmout package to allow me to mount the usb > disk? > > the big problem now is the battery information. i really have no idea > where to look for it. it is really dangerous to us a laptop without > knowing when the battery will die. I am rather curious what application you are using to get battery information that requires it being root. /proc/acpi/battery/BAT0/state is 0444 on my netbook/laptop since forever. I just use a bash function to parse it and display it on my ${PS1}. W -- Willie W. Wong wwong@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton