[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [BRLTTY] brltty deb update give still a eternal still unresolved problem

Samuel Thibault <samuel.thibault@ens-lyon.org> writes:

> Aldo, le Mon 18 Dec 2006 09:40:30 +0100, a écrit :
>> Well, after having updated I heard the beep sound of a starting brltty, 
>> but it still forget to kill the older one: 
> Debian doesn't start a new brltty if it already started one.
>> - can't it be a good idea to prevent from starting a new brltty
> That's _already_ the case, and it works for me:
> Preparing to replace brltty 3.7.2-5 (using .../brltty_3.7.2-5_i386.deb) ...
> Unpacking replacement brltty ...
> Setting up brltty (3.7.2-5) ...
> Starting Braille terminal driver: process already running.
> brltty.
> If it doesn't work for you, then there's a bug on your setup and we
> can't work it out unless you give more information.

The one thing I can think of is that you probably
once started brltty not with the init.d script but
directly.  If you just run "brltty" to start brltty, it
will not create the /var/run/brltty.pid file, and 
"/etc/init.d/brltty start" will not recognize that brltty
is already running.  Aldo, could this be the problem?

If so, we should probably look at some kind of device locking
mechanism for brltty, so that it doesnt murder itself if
started twice.  I know the effect as well, what happens
is that two daemons are accessing the same device, and producing garbage...

BRLTTY should really not disable itself.

  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang@db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>

Reply to: