[BRLTTY] "Can't access console"

Samuel Thibault samuel.thibault at ens-lyon.org
Thu Nov 8 05:29:30 EST 2007


Mario Lang, le Thu 08 Nov 2007 10:03:24 +0100, a écrit :
> >>I guess this is because some device did not exist in my /dev hierarchy
> >>while brltty was started first.  Is this right?
> >
> > Yes, it would be.
> >
> >>Can we perhaps fix this such that brltty does not need to be restarted?
> >
> > That depends on why brltty needs to be restarted. I don't really understand 
> > initramfs, but the problem is probably that brltty is running under a different 
> > root than later so it has a different /dev than later.
> 
> Actually, initramfs moves the /dev hierarchy over to the
> new root directory, so the /dev directory is actually not different,
> but I guess it could happen that brltty still lives in the old root.

And thus can't find /dev since it got moved.

> > The missing devices probably never get created within the root file
> > system where brltty is started.
> >
> >>And, what device could I have been missing?
> >
> > vcsa<n> and tty<n>
> 
> I just checked, tty<n> exists, but vcsa1 is the only device
> that exists (because init has not yet started and there are no gettys yet).
> 
> > Note that brltty does try to create them within the writable directory but it 
> > won't be able to if that directory either doesn't exist or isn't writable.
> 
> So I could rpbobably also just set -W /dev ?

That should probably work for the console issue, yes.

Samuel


More information about the BRLTTY mailing list