From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gx0-f170.google.com (mail-gx0-f170.google.com [209.85.161.170]) by speech.braille.uwo.ca (Postfix) with ESMTP id 4D211C1A0FC for ; Sat, 4 Feb 2012 01:03:15 -0500 (EST) Received: by ggki2 with SMTP id i2so2388182ggk.29 for ; Fri, 03 Feb 2012 22:03:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=KJryMJzLDfxJ2OlbxtkZY8XVyGAjhPjlvzhpUEq2MmE=; b=CdcY84RjO3JeXP54gkrVksiDrAQna2tMYwOkpjy1ifJ0YzLUW1TLnlNy+d7G8/xaji 39JimukgXsFqXw68HOvrcxoTAn66vPjce/Ucc9H3TVCUk5PehMeLsbzIqYfkjQTQm1np IODs65AX5goAmqzRTc7oRgwARpUUJbjngcBhc= Received: by 10.236.124.2 with SMTP id w2mr15220381yhh.83.1328335394354; Fri, 03 Feb 2012 22:03:14 -0800 (PST) Received: from localhost (99-95-52-33.lightspeed.dybhfl.sbcglobal.net. [99.95.52.33]) by mx.google.com with ESMTPS id s7sm18597756anc.4.2012.02.03.22.03.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 22:03:13 -0800 (PST) Date: Sat, 4 Feb 2012 01:03:12 -0500 From: bigd To: "Speakup is a screen review system for Linux." Subject: Re: Installing orca and making it play nice with Speakup Message-ID: <20120204060312.GA4854@craptacular.gateway.2wire.net> References: <4F21CACF.3070900@tysdomain.com> <20120201021838.GA4664@sonata.rednote.net> <20120201165411.GB4664@sonata.rednote.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120201165411.GB4664@sonata.rednote.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 06:03:15 -0000 Hi, As far as errors on the desktop, try logging in as your regular user from a console, and doing: export DISPLAY=:0 orca If there are any errors, you should be able to see them. HTH, KJ4UFX {.i doi .tcikoritys. mi cuxna ba'e do} On Wed, Feb 01, 2012 at 11:54:11AM -0500, Janina Sajka wrote: > Hi, Marcel: > > Marcel Oats writes: > > Speakup is working fine so far, but even with a USB soundcard also > > connected, when gnome starts, I am unable to even start Orca ( for > > some reason) so how can I tell it to use a different soundcard? > > > > You actually can do quite a bit, though you still might need sighted > assistance if there's some issue on your graphical desktop. > > First, you want to make sure alsa sees both sound cards: > aplay -l > > Both should be listed. Next, make sure you can play audio to the second > card (assuming it's ID is 1): > aplay -D plughw:1 [some-audio.wav] > > I actually keep a wav file in my home directory exactly for testing like > this. It's the only file in my home directory that starts with a > capital G in order to make it possible for me to use tab completion on > the command. > > The next step, imho, or should I say in my experience, is to insure your > audio devices are consistently identified, i.e. which is hw:0, which is > hw:1, which is hw:2, etc. So far I've not needed to learn to write UID > rules, though that's the surest way. Rather, on my Fedora, I open > /etc/modprobe.d/local.conf and put: > > alias snd-card-0 snd-hda-intel > options snd-card-0 index=0 > options snd-hda-intel index=0 > alias snd-card-1 snd-usb-audio > options snd-card-1 index=1 > options snd-usb-audio index=1 > alias snd-card-2 snd-usb-audio > options snd-card-2 index=2 > options snd-usb-audio index=2 > alias snd-card-3 snd-indigo > options snd-card-3 index=3 > options snd-indigo index=3 > alias snd-card-4 snd-pcsp > options snd-card-4 index=4 > options snd-pcsp index=4 > > My 0 device, my Intel 810 is the built in audio device on my Thinkpad. I > have two USB devices. I don't distinguish between them further, because > they reliably load the same each time. If they didn't, I'd have to put > more directives in. My third device is a PCM card. Lastly, I find it > useful to assign the speaker device to a particular ID. Believe it or > not, I've found the speaker loaded as my default audio device on some > boots. Go figure! > > So, this helps keep things consistent, and that's important for reliable > performance. > > For more on what you can put here look at: > http://www.alsa-project.org/main/index.php/Matrix:Module-usb-audio > > BTW: To insure beeps from the speaker you might need to do, as I do on > Fedora, open /etc/modprobe.d/blacklist.conf and comment out the black > listing of the speaker. Here's what's in my file: > > # sound drivers > # #Who cares to do things Fedora's cheap way > #blacklist snd-pcsp > > Now, you start preparing for speech-dispatcher, without pulseaudio, for > Orca. So, you need to get rid of pulseaudio. Best not to uninstall it, > as something will just install it again. It may be overkill, but I do > two things: > > 1.) In /etc/asound.conf I comment out the call to pulse: > #"/etc/alsa/pulse-default.conf" > > > 2.) Next, I trash the pulseaudio binary as follows after becoming > root on my system: > > rm -f /usr/bin/pulseaudio > touch /usr/bin/pulseaudio > chmod 400 /usr/bin/pulseaudio > > Next, you tell Speech Dispatcher to use alsa, and to use the particular > sound device you want Orca speaking through. In your > /etc/speech-dispatcher/speechd.conf, you have two edits to make: > > 1.) Find the part that reads something like: > > # ----- AUDIO CONFIGURATION ----------- > > # -- AUDIO OUTPUT -- > > # Chooses between the possible sound output systems: > # "pulse" - PulseAudio > # "alsa" - Advanced Linux Sound System > # "oss" - Open Sound System > # "nas" - Network Audio System > # "libao" - A cross platform audio library > # Pulse audio is the default and recommended sound server. OSS and ALSA > # are only provided for compatibility with architectures that do not > # include Pulse Audio. NAS provides network transparency, but is not > # very well tested. libao is a cross platform library with plugins for > # different sound systems and provides alternative output for Pulse > # Audio > # and ALSA as well as for other backends. > > AudioOutputMethod "alsa" > > Note that I changed "pulseaudio" to "alsa" in the directive above. > > 2.) Tell which device to use. Find: > > # Audio device for ALSA output > AudioALSADevice "plughw:1,0" > > Note the 1 in hw:1,0 is something I put there. Put the correct ID for > your device at that location. > > Finally, finally, you're ready to configure orca. With your desktop > started, and yourself logged in, do Alt-F2 and type: > > orca -s > > hth > > Janina > > > > > Marcel > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > -- > > Janina Sajka, Phone: +1.443.300.2200 > sip:janina@asterisk.rednote.net > > Chair, Open Accessibility janina@a11y.org > Linux Foundation http://a11y.org > > Chair, Protocols & Formats > Web Accessibility Initiative http://www.w3.org/wai/pf > World Wide Web Consortium (W3C) > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup