[raspberry-vi] Re: Install Speakup and Orca on Raspberry OS

  • From: "Blind Tango" <blindtango@xxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Wed, 27 Jan 2021 21:36:52 +0200

Hi,

That will be great if you had audio on first boot.  My approach allows you
to install over ssh and when you boot up the PI it comes up speaking.

Thanks.
BT

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of Glenn K0LNY
Sent: Wednesday, 27 January 2021 18:20
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: Install Speakup and Orca on Raspberry OS

I wonder, if we contacted the creator of Raspi-config if they would put in
an accessibility option to the menu so these things could be installed
there.
Glenn
----- Original Message -----
From: "Blind Tango" <blindtango@xxxxxxxxx>
To: <raspberry-vi@xxxxxxxxxxxxx>
Sent: Wednesday, January 27, 2021 9:59 AM
Subject: [raspberry-vi] Re: Install Speakup and Orca on Raspberry OS


Hi Fanus,

The image on the Raspberry website allows you to press <ctrl+alt+space>
which then downloads Orca.  While the Image is supposed to speak it has been
hit and miss to get speech coming out of the audio jack.  Also, at the
command line, there's no speech.  What my steps does is install all the
necessary stuff and when it reboots, you will have speech in both the
command line as well on the desktop.

Also, by going in to Raspi-config, you are ensuring that your sound will
come out of the audio jack.

If you have access to a USB soundcard, this will also work.  Part of these
steps installs the dummy display driver so that you don't need a monitor
connected.  I did this without any monitor.


I will still investigate if I can automate the raspi-config part as well.

Thanks
-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of Fanus Buys
Sent: Wednesday, 27 January 2021 15:36
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: Install Speakup and Orca on Raspberry OS

Hello Blind Tango & list
Forgive my ignorance but I am a bit confused now. I do not know where I got
this from but I was under the impression that the latest version of the
software on the official raspberry foundation web site includes espeak so
that it is not necessary to install more software as described in your
email. Am I misinformed?
Regards
Fanus


-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx
[mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Blind Tango
Sent: Tuesday, January 26, 2021 11:57 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Install Speakup and Orca on Raspberry OS

Hi all,


Yesterday I wrote the first approach to get speech going on the Raspberry
PI.  This is the second method and is the one I prefer.



At the outset, I must thank both Mike and Pranav for all their advice on
this mailing list as this would not have been possible. Also, thanks to Mike
who had a bash script on the previous website to install Mate and Orca.  I
used that script and changed it to suite my needs.  Also, as a novice to
Linux, I learnt a little about bash scripting.  I am sure that this approach
could be made better.



To start, I uploaded Mike's ilctts-1.0.0.tar.gz, piespeakup-1.1.0.tar.gz and
the modified script to Opendrive as the Website was being relaunched.  So,
download these three files from:

1. ilctts-1.0.0.tar.gz:

https://od.lk/d/NzNfMjgyNzE0NDRf/ilctts-1.0.0.tar.gz



2. piespeakup-1.1.0.tar.gz

https://od.lk/d/NzNfMjgyNzE0NTdf/piespeakup-1.1.0.tar.gz



3. install.sh

https://od.lk/d/NzNfMjgyNzE0NTZf/install.sh



Steps to get speech going:

1. Download the latest image from http://www.raspberrypi.org in this case I
chose Raspberry OS with Desktop.
2. I attached a card reader to my Raspberry PI and inserted a card I wish to
use.
3. I booted up the Raspberry PI. I already have a previous PI with speech
hence this approach.
4. I then used the following command to verify to which device I am writing
the image to:



Sudo fdisk -l



5. I used the "dd" utility to write the image on to a Micro SD card.
The command I used is:

Warning:

Please ensure you have the right card as the following step will wipe all
data from your card.

Sudo dd if=./2021-01-11-raspios-buster-armhf.img of=/dev/sda bs=250M
conv=sync,noerror status=progress



6. I then had to mount the boot partition to add the "ssh" file to get
headless access. To do this, I first had to create a mountpoint using the
following command:



Sudo mkdir /media/mydisk



7. Now I had to give the mountpoint the necessary permissions to be able to
read, write and execute by:



Sudo chmod 777 /media/mydisk



8. Now let's mount the boot partition by doing:



Sudo mount /dev/sda1 /media/mydisk



9. Let's create the "ssh" file which allows us to be able to gain headless
access to configure our operating system. The command to do so is:



sudo touch /media/mydisk/ssh



10. Let's unmount the boot partition by doing:



Sudo umount /media/mydisk



11. Now shutdown the PI by issuing the following command:



Sudo shutdown -h now



12. Remove the card from the card reader and insert it into your PI and
reboot.



13. I used a Windows 10 machine using Putty to access the Raspberry PI but,
before we get there, we need to get the ip address of your newly booted up
PI.



14. I used a utility from https://www.nirsoft.net/ called wnetwatcher.exe
which scans your local network and provides you with all the ip addresses
connected to your network. If you wish to refresh the list of ip addresses,
press <f5>.



15. Using Putty, connect to your PI by providing the ip address, username
which is "pi" and the password which is "raspberry"



16. Let's now download the three files we need to get speech going:



ilctts-1.0.0.tar.gz:

sudo wget https://od.lk/d/NzNfMjgyNzE0NDRf/ilctts-1.0.0.tar.gz



piespeakup-1.1.0.tar.gz

sudo wget https://od.lk/d/NzNfMjgyNzE0NTdf/piespeakup-1.1.0.tar.gz



install.sh

sudo wget https://od.lk/d/NzNfMjgyNzE0NTZf/install.sh



17. Now give the install.sh script executive permissions by doing:



Sudo chmod +x ./install.sh



18. Let's run the script which will update, upgrade, remove any files not in
use and also clean the cash. It will then install the dummy display driver,
create the xorg.conf file, install Orca, install espeak and Piespeakup. So
sit back as this will take a little while. It then delete the extra files
and only leave the install.sh script. To run the script:



Sudo ./install.sh



19. Once this is done, let's ensure that we have the internal sound card
selected and that we are booting into the text console.

Sudo raspi-config



# Let's now ensure we are using the internal sound card.

# select the first item called system options and press <enter>

# Now select the second option call "audio" and press <enter>

# Use your up or down arrows to select "1 Headphones" and press <enter>

# This places you back on the main menu of the "raspi-config utility".

# select the first option called "system options" and press <enter>

# Arrow down to the fifth option called "5 Boot / Auto Login Select boot
into desktop or to command line" and press <enter>

# Once the submenu opens, press <enter> on the first option 1 Console Text
console, requiring user to login

# This will bring you back to the mainmenu.

# press the right arrow twice to land on the "finish" button and press
<enter>

# You should get a prompt to reboot. Press <y> and <enter> If not, simply
type

Sudo Reboot





Note:

Have headphones or a set of speakers connected to the PI as you will get
speech once the pi reboots.

20. When the PI restarts, you will have speech and you will get the prompt
to enter your username "pi" and press <enter> 21. You will be asked for the
password which is "raspberry" and press <enter> 22. You will get to the
prompt so to setup Orca, type "startx" but before you press <enter> first
turn off speakup by pressing <insert+enter> on the number pad. Then press
<enter> this will stop speakup from chatting over the Orca installation.
23. Orca will come up and you will have speech to complete all of the rest
of the steps.
24. When you exit to the command line, simply press <insert+enter> on the
numeric pad to turn speakup on and all is well in speech land once more.



I hope this will help some one to get a talking installation going.



Thanks.

BT



===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: