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

Re: BRLTTY doesn't work with USB to serial cable.



Hoppa Samuel and all readers,

on Saturday, December 16, 2006 at 9:08:27 AM means Samuel Thibault:
> Sebastian Dellit, le Fri 15 Dec 2006 20:57:51 +0100, a écrit :
>> I try it again with
>> 
>> braille-device /dev/ttyUSB0
>> 
>> in the /etc/brltty.conf.
>> 
>> But, when I restart the computer or when I start brltty
>> /etc/init.d/brltty restart the braille don't work.
>> 
>> I type brltty -v and the message means, that the brltty look on
>> braille-device /dev/ttyS0. The settings in the /etc/brltty.conf are
>> not in use?

> They should be.  Could you send your brltty.conf again with the ttyUSB0
> modification?

*** begin ***
# 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:0   # Specific USB device by serial number.  braille-device usb:0   # Specific USB device by serial number.
braille-device /dev/ttyUSB0 # serial emulating provided by kernel
#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]



*** end ***

And the output from brltty -v:

*** begin ***
brltty: BRLTTY 3.7.2
brltty: Copyright (C) 1995-2005 by The BRLTTY Team - all rights reserved.
brltty: Working Directory: /etc/brltty
brltty: Configuration File: /etc/brltty.conf
brltty: Data Directory: /etc/brltty
brltty: Library Directory: /lib/brltty
brltty: Tables Directory: /etc/brltty
brltty: Text Table: text.de.tbl
brltty: Attributes Table: attributes.tbl
brltty: Contractions Directory: /etc/brltty
brltty: Contraction Table: none
brltty: Linux Screen Driver
brltty: Screen Parameter: acm=
brltty: Screen Parameter: debugacm=
brltty: Screen Parameter: debugsfm=
brltty: Screen Parameter: debugctt=
brltty: Braille Driver: bm [Baum] (compiled on Dec 14 2006 at 18:32:10)
brltty: Baum Driver
brltty:    Copyright (C) 2005 by Dave Mielke <dave@mielke.cc>
brltty: Braille Device: ttyS0
brltty: Help File: brltty-bm.hlp
brltty: Help Page: /etc/brltty/brltty-bm.hlp[0]
brltty: Preferences File: /etc/brltty-bm.prefs
brltty: BRLTTY API Library: release 0.4.1
brltty:    Copyright Sebastien HINDERER <Sebastien.Hinderer@ens-lyon.org>, Samue
l THIBAULT <samuel.thibault@ens-lyon.org>
brltty: API Parameter: host=
brltty: API Parameter: keyfile=
brltty: API Parameter: stacksize=
brltty: Speech Driver: no [NoSpeech] (compiled on Dec 14 2006 at 18:32:06)
brltty: No speech support.
brltty: Speech FIFO: none
*** end ***

Thanks and
-- 
Best regards Sebastian 
ICQ: 264706583 / MSM: sebo@blinzeln.de / Skype: sebo_de
E-Mail: sebo@blinzeln.de / Web: www.blindzeln.de



Reply to: