On Mon, Dec 18, 2006 at 10:30:18AM +0100, Samuel Thibault wrote: > 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.
Why then does the cursor of my Alva swings or no longer follows the command I entered? And why after I rebooted the system it was(/is) Ok? > > - can't it be a good idea to prevent from starting a new brltty > > That's _already_ the case, and it works for me: Sorry I have rebooted because the response of my Alva was no longer correct: delays, a jumping cursor, etc, as if it tries to hang but didn't that fully... > 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. > For a start, could you check that /var/run/brltty.pid properly contains > the pid of the currently running brltty? I can't see any /var/run/brltty.pid but I see someone when doing ps ax |grep brltty; what output or so did you exactly want to see? (just have attached my brltty.conf, but no brltty.pid under /var/run) > Mmm, just to make sure: do you start brltty very early? For instance, > before / is even mounted read and write, so that brltty may not be able > to write /var/run/brltty.pid? I didn't moved any link in /etc/rcS.d, so it uses what the deb pkg maintainer decided to provide: it's now /etc/rcS.d/S25brltty >(and hence the upgrade script not be able > to find out that there is a brltty daemon running) I don't understand this. Aldo.
# This is a configuration file for the BRLTTY application. # Uncomment those entries which apply to your personal needs and system # requirements. # BRLTTY expects to find its configuration file in "/etc/brltty.conf" # (can be overridden with the -f [--configuration-file=] option). # If it doesn't exist, then BRLTTY silently continues but may require # that certain command line options be explicitly supplied. # Blank lines are ignored. The character '#', anywhere on a line, # initiates a comment; all characters from it to the end of that line # are ignored. # Each configuration entry consists of a keyword followed by its operand. # An arbitrary amount of white space, (blanks and/or tabs), may occur # before the keyword, as well as before and after the operand. Keyword # processing is not case sensitive. Examples of valid entries are: # # Braille-Driver pm # Papenmeier braille displays. # braille-device ttyS0 # The first Linux serial device. # SPEECH-DRIVER fv # The Festival Text to Speech System. # The default settings given within the following descriptions assume no # special build options (see "./configure --help" in the top-level # directory of the source tree. ############################ # Generic Braille Settings # ############################ # The braille-driver directive specifies the two-letter driver # identification code of the driver for the braille display. # (can be overridden with the -b [--braille-driver=] option) #braille-driver auto # Iterate over appropriate drivers braille-driver al # Alva #braille-driver at # Albatross #braille-driver ba # BrlAPI #braille-driver bd # Braudi #braille-driver bl # BrailleLite #braille-driver bm # Baum #braille-driver bn # BrailleNote #braille-driver cb # CombiBraille #braille-driver ec # EcoBraille #braille-driver eu # EuroBraille #braille-driver fs # FreedomScientific #braille-driver ht # HandyTech #braille-driver lb # Libbraille #braille-driver lt # LogText #braille-driver mb # MultiBraille #braille-driver md # MDV (protocol 5) #braille-driver mn # MiniBraille #braille-driver pm # Papenmeier #braille-driver tn # TechniBraille #braille-driver ts # TSI #braille-driver tt # TTY #braille-driver vd # VideoBraille #braille-driver vo # Voyager #braille-driver vr # Virtual #braille-driver vs # VisioBraille #braille-driver xw # XWindow # The braille-device directive specifies the device to which the braille # display is connected. Relative paths are anchored at "/dev". If not # specified, "ttyS0" will be used. # (can be overridden with the -d [--braille-device=] option) braille-device serial:ttyS0 # First serial device. #braille-device usb: # First USB device matching braille driver. #braille-device usb:nnnnn # Specific USB device by serial number. #braille-device bluetooth:xx:xx:xx:xx:xx:xx # Specific bluetooth device by address. # The text-table directive specifies which text translation table to # use. Relative paths are anchored at "/etc/brltty". If not specified, # "$(SRC_TOP)$(TBL_DIR)/text.nabcc.tbl" will be used. # (can be overridden with the -t [--text-table=] option) #text-table cz # Czech (iso-8859-2) #text-table da # Danish text-table de # German #text-table es # Spanish #text-table fr # French #text-table fr-cbifs # French (Code Braille Informatique Français Standard) #text-table it # Italian #text-table nabcc # North American Braille Computer Code #text-table no-h # Norwegian and German #text-table no-p # Norwegian #text-table pl # Polish (iso-8859-2) #text-table ru # Russian (koi8-r) #text-table se1 # Swedish #text-table se2 # Swedish #text-table uk # United Kingdom English #text-table us # American English #text-table vni # Vietnamese # The attributes-table directive specifies which attributes translation # table to use. Relative paths are anchored at "/etc/brltty". If not # specified, "$(SRC_TOP)$(TBL_DIR)/attributes.tbl" will be used. # (can be overridden with the -a [--attributes-table=] option) #attributes-table attributes.tbl # #attributes-table attrib.tbl # # The contraction-table directive specifies which braille contraction # table to use. Relative paths are anchored at "/etc/brltty". If not # specified, no contraction table will be available. # (can be overridden with the -c [--contraction-table=] option) #contraction-table big5 # Chinese #contraction-table compress # Remove excess white space. #contraction-table en-us-g2 # Grade 2 American English #contraction-table fr-abrege # Contracted French #contraction-table fr-integral # Uncontracted French ############################# # Braille Driver Parameters # ############################# # The braille-parameters directive passes non-generic parameters through # to the braille driver. # (can be overridden with the -B [--braille-parameters=] option) #braille-parameters driver:parameter=setting,... # BrailleLite Braille Driver Parameters #braille-parameters bl:BaudRate=9600 # [300,600,1200,2400,4800,9600,19200,38400] #braille-parameters bl:KbEmu=yes # [yes,no] # BrailleNote Braille Driver Parameters #braille-parameters bn:StatusCells=0 # FreedomScientific Braille Driver Parameters #braille-parameters fs:DebugPackets=no # [no,yes] #braille-parameters fs:StatusCells= # [0,n,-n] # HandyTech Braille Driver Parameters #braille-parameters ht:InputMode=no # [no,yes] # Libbraille Braille Driver Parameters #braille-parameters lb:Device=/dev/ttyS0 # #braille-parameters lb:Driver=auto # #braille-parameters lb:Table=us.tbl # # Papenmeier Braille Driver Parameters #braille-parameters pm:ConfigFile=/etc/brltty/brltty-pm.conf #braille-parameters pm:DebugKeys=no # [no,yes] #braille-parameters pm:DebugReads=no # [no,yes] #braille-parameters pm:DebugWrites=no # [no,yes] # TTY Braille Driver Parameters #braille-parameters tt:Baud=9600 # #braille-parameters tt:CharSet=ISO8859-1 # #braille-parameters tt:Height=1 # [1-3] #braille-parameters tt:Locale= # #braille-parameters tt:Term=vt100 # [terminfo] #braille-parameters tt:Width=40 # [1-80] # VisioBraille Braille Driver Parameters #braille-parameters vs:DisplaySize=40 # [20-40] # Voyager Braille Driver Parameters #braille-parameters vo:InputMode=no # [no,yes] #braille-parameters vo:StatusCells=3 # [0,n,-n] # XWindow Braille Driver Parameters #braille-parameters xw:Cols=40 # [1-80] #braille-parameters xw:Input=off # [off,on] #braille-parameters xw:Lines=1 # [1-3] #braille-parameters xw:Model=bare # [bare] #braille-parameters xw:TkParms= # ########################### # Generic Speech Settings # ########################### # The speech-driver directive specifies the two-letter driver # identification code of the driver for the speech synthesizer. # (can be overridden with the -s [--speech-driver=] option) #speech-driver al # Alva #speech-driver bl # BrailleLite #speech-driver cb # CombiBraille #speech-driver es # ExternalSpeech (executes /usr/local/bin/externalspeech) #speech-driver fl # FestivalLite (text to speech engine) #speech-driver fv # Festival (text to speech engine) #speech-driver gs # GenericSay (pipes to /usr/local/bin/say) #speech-driver mp # Mikropuhe (text to speech engine) #speech-driver sw # Swift (text to speech engine) #speech-driver th # Theta (text to speech engine) #speech-driver vv # ViaVoice (text to speech engine) # The speech-fifo directive specifies the path to the FIFO used by the speech # pass-through facility. Relative paths are anchored at "/etc/brltty". # If not specified, the speech pass-through facility isn't enabled. # (can be overridden with the -F [--speech-fifo=] option) #speech-fifo spk ############################ # Speech Driver Parameters # ############################ # The speech-parameters directive passes non-generic parameters through # to the speech driver. # (can be overridden with the -S [--speech-parameters=] option) #speech-parameters driver:parameter=setting,... # ExternalSpeech Speech Driver Parameters #speech-parameters es:Program=/usr/local/bin/externalspeech #speech-parameters es:Uid=65534 #speech-parameters es:Gid=65534 # Festival Speech Driver Parameters #speech-parameters fv:Command=festival # [/path/to/command] #speech-parameters fv:Name= # [kevin,kal] # FestivalLite Speech Driver Parameters #speech-parameters fl:Pitch=100 # [50-200] # GenericSay Speech Driver Parameters #speech-parameters gs:Command=/usr/local/bin/say # Mikropuhe Speech Driver Parameters #speech-parameters mp:Name= # [/path/to/mikropuhe/name.pu5] #speech-parameters mp:Pitch=0 # [-10-10] # Swift Speech Driver Parameters #speech-parameters sw:Name= # [voice,/path/to/voice] # Theta Speech Driver Parameters #speech-parameters th:Age= # [1-99,-1--99] #speech-parameters th:Gender= # [male,female,neuter] #speech-parameters th:Language= # [two-letter language code] #speech-parameters th:Name= # [voice,/path/to/voice] #speech-parameters th:Pitch=0.0 # [-2.0-2.0] # ViaVoice Speech Driver Parameters #speech-parameters vv:IniFile=/usr/lib/ViaVoiceTTS/eci.ini #speech-parameters vv:SampleRate= # [8000,11025,22050] #speech-parameters vv:AbbreviationMode= # [on,off] #speech-parameters vv:NumberMode= # [word,year] #speech-parameters vv:SynthMode= # [sentence,none] #speech-parameters vv:TextMode= # [talk,spell,literal,phonetic] #speech-parameters vv:Language= # [AmericanEnglish,BritishEnglish,CastilianSpanish,MexicanSpanish,StandardFrench,CanadianFrench,StandardGerman,StandardItalian,SimplifiedChinese,BrazilianPortuguese] #speech-parameters vv:Voice= # [AdultMale,AdultFemale,Child,ElderlyFemale,ElderlyMale] #speech-parameters vv:VocalTract= # [male,female] #speech-parameters vv:Breathiness= # [0-100] #speech-parameters vv:HeadSize= # [0-100] #speech-parameters vv:PitchBaseline= # [0-100] #speech-parameters vv:PitchFluctuation= # [0-100] #speech-parameters vv:Roughness= # [0-100] ################## # Sound Settings # ################## # The pcm-device directive specifies the device to use for soundcard # digital audio. If not specified, a method- and system-dependent # default will be used. # (can be overridden with the -p [--pcm-device=] option) #pcm-device /path/to/device # most methods #pcm-device pcm-handle-id # ALSA (see second parameter of snd_pcm_open) # The pcm-device directive specifies the device to use for the Musical # Instrument Digital Interface. If not specified, a method- and # system-dependent default will be used. # (can be overridden with the -m [--midi-device=] option) #midi-device /path/to/device # most methods #midi-device client:port # ALSA (may use number or case-sensitive substring of name) ########################## # Miscellaneous Settings # ########################## # The library-directory directive specifies the absolute path to the # directory which contains the dynamically loadable drivers. If not # specified, /lib/brltty will be used. # (can be overridden with the -L [--library-directory=] option) #library-directory /lib/brltty # The data-directory directive specifies the absolute path to the directory # which contains driver data files (help files, configuration files, etc.). If # not specified, "/etc/brltty" will be used. # (can be overridden with the -D [--data-directory=] option) #data-directory /etc/brltty # The tables-directory directive specifies the absolute path to the directory # which contains the text and attributes tables. If not specified, # "/etc/brltty" will be used. # (can be overridden with the -T [--tables-directory=] option) #tables-directory /etc/brltty # The contractions-directory directive specifies the absolute path to the # directory which contains the contraction tables. If not specified, # "/etc/brltty" will be used. # (can be overridden with the -C [--contractions-directory=] option) #contractions-directory /etc/brltty ################################################ # Application Programming Interface Parameters # ################################################ # The api-parameters directive passes parameters to the Application # Programming Interface. # (can be overridden with the -A [--api-parameters=] option) #api-parameters parameter=setting,... #api-parameters Host= #api-parameters KeyFile=/etc/@api_keyfile@ #api-parameters StackSize=65536 ########################### # Generic Screen Settings # ########################### # The screen-driver directive specifies the two-letter driver # identification code of the driver for the console screen. # (can be overridden with the -x [--screen-driver=] option) #screen-driver as # AtSpi #screen-driver hd # Hurd #screen-driver lx # Linux #screen-driver sc # Screen #screen-driver wn # Windows ############################ # Screen Driver Parameters # ############################ # The screen-parameters directive passes non-generic parameters through # to the screen driver. # (can be overridden with the -X [--screen-parameters=] option) #screen-parameters driver:parameter=setting,... # AtSpi Screen Driver Parameters #screen-parameters as:Type=text+terminal # [text,terminal,all] # Linux Screen Driver Parameters #screen-parameters lx:Acm=auto # [auto,iso01,vt100,cp437,user] #screen-parameters lx:DebugAcm=no # [no,yes] #screen-parameters lx:DebugSfm=no # [no,yes] #screen-parameters lx:DebugCtt=no # [no,yes] # Windows Screen Driver Parameters #screen-parameters wn:Root=no # [no,yes]