From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J9gIF-0006dj-7n for garchives@archives.gentoo.org; Tue, 01 Jan 2008 12:32:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id m01CV1RI015925; Tue, 1 Jan 2008 12:31:01 GMT Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id m01CRiFJ010813 for ; Tue, 1 Jan 2008 12:27:44 GMT Received: from [10.73.1.30] (uberpc.marples.name [10.73.1.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id D6C351900DE for ; Tue, 1 Jan 2008 12:27:43 +0000 (GMT) Subject: Re: [gentoo-dev] RFC: brltty not starting early enough From: Roy Marples To: gentoo-dev@lists.gentoo.org In-Reply-To: <20071231205023.GA29744@linux1> References: <20071231205023.GA29744@linux1> Content-Type: text/plain Date: Tue, 01 Jan 2008 12:27:24 +0000 Message-Id: <1199190444.2786.2.camel@uberpc.marples.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: 03d67d79-adbe-4e74-b4e3-4c89d8369c2d X-Archives-Hash: 64b03a760c86a03f8b6e66d051264e5f On Mon, 2007-12-31 at 14:50 -0600, William Hubbs wrote: > brltty is one of our accessibility packages. It is a program that > drives a braille display which is one way a blind person can access the > computer. > > The project's guidelines for linux distributions at http://www.mielke.cc/brltty/guidelines.html suggest starting the program very early in the boot sequence. Ideally, I would like to be able to start brltty as soon as /dev is set up either with udev, devfs, or static. > > There is a new version of brltty which hasn't been put into portage yet, > so I thought now would be a good time to ask about it. How should we > set this up on gentoo? Any suggestions would be appreciated. Just make a standard init script for it with this dependency block depend() { before checkfs } That way it will be run immediately after /dev, /proc and /sys have been brought up and the root fs checked. After that, brltty should launch. However, that doesn't work for baselayout-1 as it forces more services to start before hand, but should work as expected in newer versions. Thanks Roy -- gentoo-dev@gentoo.org mailing list