Jasper on RaspberryPi 3

8,019 views
Skip to first unread message

Akshit Sharma

unread,
Feb 29, 2016, 5:48:43 PM2/29/16
to Jasper Support Forum
I've ordered Raspberry Pi 3 today and wanted to try the Jasper project on it. I'm new to RaspberryPi but have knowledge about linux environment and Python.
I've gone through the documentation page of Jasper project. I want to know that will I be able to try the Jasper project easily on Raspberry Pi 3, and will there be any major problem while setting up the whole thing. ?
TIA

Colin McGregor

unread,
Feb 29, 2016, 11:27:50 PM2/29/16
to Jasper Support Forum

Like you I have also put in an order today for some Raspberry Pi 3s. I will not know with absolute certainty if there are any issues until I have had a chance to test things on a Pi 3, but I doubt there will be any issues. The notes I made doing an install on a Raspberry Pi 2 should apply to the Raspberry Pi 3. For doing an install on the Raspberry Pi 2 I did the following:

---------------------------------------------------------------------

This is what worked for me:

Grabbed a copy of "Raspbian Jessie Lite" from:

https://www.raspberrypi.org/downloads/raspbian/

Installed it on a Micro-SD card (you want one that is at least 8GB in size) as per the instructions:

https://www.raspberrypi.org/documentation/installation/installing-images/README.md

Booted the image on a Raspberry Pi 2 model B, logged in, did

sudo su
raspi-config

in "raspi-config" I expanded the file system to take up the entire card, configured time zone, keyboard, etc.. Then I rebooted the Raspberry Pi 2 model B, did

sudo su
apt-get update
apt-get upgrade

Next I grabbed and ran the "jasper-installer.sh" script referred to here :

 https://github.com/unixabg/raspi-helpers

This script does take several hours to run, but handles the downloading / installing of Jasper + all dependencies. Once the above is done you will need to create/tweak the ~/.jasper/profile.yml the details of which are described here:

http://jasperproject.github.io/documentation/configuration/

Then you can just run Jasper.

Hope the above helps.

Akshit Sharma

unread,
Mar 3, 2016, 8:03:19 AM3/3/16
to Jasper Support Forum
Hey Colin, my Pi will still take some more days to get delivered to me. Did you received your Raspberry Pi3 ? Did you tried installing Jasper on it?

Colin McGregor

unread,
Mar 3, 2016, 9:32:16 AM3/3/16
to Jasper Support Forum
On Thursday, 3 March 2016 08:03:19 UTC-5, Akshit Sharma wrote:
Hey Colin, my Pi will still take some more days to get delivered to me. Did you received your Raspberry Pi3 ? Did you tried installing Jasper on it?

I received an e-mail this morning telling my my Pi 3s have (finally) been shipped, so I am still a few days away from being able to test Jasper on a Pi 3, sorry. I will post once I know more about Jasper on the Pi 3.

All the best.


Colin McGregor
Message has been deleted

Marcusm1

unread,
Mar 7, 2016, 7:14:19 AM3/7/16
to Jasper Support Forum
Have somebody somthing new with Jasper on the Raspberry PI 

Matthew Curry

unread,
Mar 7, 2016, 1:48:16 PM3/7/16
to Jasper Support Forum
Here this should help...

http://bfy.tw/4d2b

Ryan Brown

unread,
Mar 14, 2016, 5:19:31 AM3/14/16
to Jasper Support Forum
>>Links to LMGTFY
>>First results are this thread and the Jasper doc linked to from this thread.

Maybe try this?

twiggy garcia

unread,
Mar 14, 2016, 7:15:29 AM3/14/16
to Jasper Support Forum
i'm trying to get Jasper to work with the PI 3, i keep running into this error, i have googled and been on stack-overflow and i was up very late last night trying to figure it out, but i seem to be making no progress. 

Any ideas?


*******************************************************

*             JASPER - THE TALKING COMPUTER           *

* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

*******************************************************

WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'

ERROR:client.vocabcompiler:Fatal compilation Error occured, cleaning up...

Traceback (most recent call last):

  File "/home/pi/jasper/client/vocabcompiler.py", line 163, in compile

    self._compile_vocabulary(phrases)

  File "/home/pi/jasper/client/vocabcompiler.py", line 271, in _compile_vocabulary

    self._compile_dictionary(vocabulary, self.dictionary_file)

  File "/home/pi/jasper/client/vocabcompiler.py", line 320, in _compile_dictionary

    g2pconverter = PhonetisaurusG2P(**PhonetisaurusG2P.get_config())

  File "/home/pi/jasper/client/g2p.py", line 93, in __new__

    "instance.") % fst_model)

OSError: FST model ''/home/pi/jasper/../phonetisaurus/g014b2b.fst'' does not exist! Can't create instance.

ERROR:root:Error occured!

Traceback (most recent call last):

  File "/home/pi/jasper/jasper.py", line 143, in <module>

    app = Jasper()

  File "/home/pi/jasper/jasper.py", line 106, in __init__

    stt_passive_engine_class.get_passive_instance(),

  File "/home/pi/jasper/client/stt.py", line 48, in get_passive_instance

    return cls.get_instance('keyword', phrases)

  File "/home/pi/jasper/client/stt.py", line 40, in get_instance

    vocabulary.compile(phrases)

  File "/home/pi/jasper/client/vocabcompiler.py", line 171, in compile

    raise e

OSError: FST model ''/home/pi/jasper/../phonetisaurus/g014b2b.fst'' does not exist! Can't create instance.

Matthew Curry

unread,
Mar 14, 2016, 1:09:00 PM3/14/16
to twiggy garcia, Jasper Support Forum
What STT and TTS are you using? Do you have a config to share?  Just looks like a configuration issue.


Matthew Curry
Linux Evangelist
-- http://www.MattCurry.com
-- https://keybase.io/changosmuertos
Making the world safer one less Microsoft product at a time.


--
You received this message because you are subscribed to the Google Groups "Jasper Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasper-support-f...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jasper-support-forum/b63265df-a92e-4284-99d2-13766f617d8d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

twiggy garcia

unread,
Mar 14, 2016, 3:06:35 PM3/14/16
to Jasper Support Forum, twiggyga...@gmail.com
when i ran the setup i hit enter to use the default STT and TTS which is Pocketsphinx

Matthew Curry

unread,
Mar 15, 2016, 4:35:17 PM3/15/16
to Jasper Support Forum, twiggyga...@gmail.com
twiggy you might want to update your setup info now that I helped.

twiggy garcia

unread,
Mar 16, 2016, 1:54:49 PM3/16/16
to Jasper Support Forum, twiggyga...@gmail.com
I'm now running mary-tts and using wit.ai, not running into that problem any more, thanks to Matt for helping me out.  I'm still running into problems regarding IOError: [Errno Invalid sample rate] -9997. I have had a look at a few different posts and there seems to be a varying methods people have suggested to correct this. All i'm getting currently is...

*******************************************************

*             JASPER - THE TALKING COMPUTER           *

* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

*******************************************************

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048

Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719

Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843

Traceback (most recent call last):

  File "./jasper.py", line 148, in <module>

    app.run()

  File "./jasper.py", line 118, in run

    conversation.handleForever()

  File "/home/pi/jasper/client/conversation.py", line 31, in handleForever

    threshold, transcribed = self.mic.passiveListen(self.persona)

  File "/home/pi/jasper/client/mic.py", line 110, in passiveListen

    frames_per_buffer=CHUNK)

  File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 747, in open

    stream = Stream(self, *args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 442, in __init__

    self._stream = pa.open(**arguments)

IOError: [Errno Invalid sample rate] -9997 


twiggy garcia

unread,
Mar 16, 2016, 5:14:35 PM3/16/16
to Jasper Support Forum, twiggyga...@gmail.com
So i’ve spent some time digging in forums and i’m struggling to pin down where i am going wrong. Some people have suggested that editing the ALSA file to make the usb sound card 0, i tried this and threw up a new error. Others have suggested it is to do with the chunk rate which i also tried changing, no success.

The search continues 

twiggy garcia

unread,
Mar 16, 2016, 7:55:48 PM3/16/16
to Jasper Support Forum, twiggyga...@gmail.com
DEBUG

*******************************************************

*             JASPER - THE TALKING COMPUTER           *

* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

*******************************************************

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...

DEBUG:client.diagnose:Network connection working

DEBUG:__main__:Trying to read config file: '/home/pi/.jasper/profile.yml'

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...

DEBUG:client.diagnose:Network connection working

DEBUG:client.diagnose:Checking executable 'aplay'...

DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay'

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...

DEBUG:client.diagnose:Network connection working

DEBUG:client.brain:Looking for modules in: '/home/pi/jasper/client/modules'

DEBUG:client.brain:Found module 'Birthday' with words: ['BIRTHDAY']

DEBUG:client.brain:Found module 'Gmail' with words: ['EMAIL', 'INBOX']

DEBUG:client.brain:Found module 'HN' with words: ['HACKER', 'NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']

DEBUG:client.brain:Found module 'Joke' with words: ['JOKE', 'KNOCK KNOCK']

DEBUG:client.brain:Found module 'Life' with words: ['MEANING', 'OF', 'LIFE']

DEBUG:client.brain:Found module 'MPDControl' with words: ['MUSIC', 'SPOTIFY']

DEBUG:client.brain:Found module 'News' with words: ['NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']

DEBUG:client.brain:Found module 'Notifications' with words: ['FACEBOOK', 'NOTIFICATION']

DEBUG:client.brain:Found module 'Time' with words: ['TIME']

DEBUG:client.brain:Found module 'Unclear' with words: []

DEBUG:client.brain:Found module 'Weather' with words: ['WEATHER', 'TODAY', 'TOMORROW']

INFO:client.mic:Initializing PyAudio. ALSA/Jack error messages that pop up during this process are normal and can usually be safely ignored.

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

INFO:client.mic:Initialization of PyAudio completed.

DEBUG:client.tts:Saying 'How can I be of service, Twiggy?' with 'mary-tts'

INFO:urllib3.connectionpool:Starting new HTTP connection (1): localhost

DEBUG:urllib3.connectionpool:"GET /locales HTTP/1.1" 200 33

DEBUG:urllib3.connectionpool:"GET /voices HTTP/1.1" 200 30

DEBUG:urllib3.connectionpool:"GET /process?VOICE=cmu-slt-hsmm&LOCALE=en_US&INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&AUDIO=WAVE_FILE&INPUT_TEXT=How+can+I+be+of+service%2C+Twiggy%3F HTTP/1.1" 200 200204

DEBUG:client.tts:Executing aplay -D plughw:0,0 /tmp/tmp7Ijod2.wav

DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmp7Ijod2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

'

DEBUG:client.brain:Looking for modules in: '/home/pi/jasper/client/modules'

DEBUG:client.brain:Found module 'Birthday' with words: ['BIRTHDAY']

DEBUG:client.brain:Found module 'Gmail' with words: ['EMAIL', 'INBOX']

DEBUG:client.brain:Found module 'HN' with words: ['HACKER', 'NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']

DEBUG:client.brain:Found module 'Joke' with words: ['JOKE', 'KNOCK KNOCK']

DEBUG:client.brain:Found module 'Life' with words: ['MEANING', 'OF', 'LIFE']

DEBUG:client.brain:Found module 'MPDControl' with words: ['MUSIC', 'SPOTIFY']

DEBUG:client.brain:Found module 'News' with words: ['NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']

DEBUG:client.brain:Found module 'Notifications' with words: ['FACEBOOK', 'NOTIFICATION']

DEBUG:client.brain:Found module 'Time' with words: ['TIME']

DEBUG:client.brain:Found module 'Unclear' with words: []

DEBUG:client.brain:Found module 'Weather' with words: ['WEATHER', 'TODAY', 'TOMORROW']

INFO:apscheduler.scheduler:Scheduler started

DEBUG:apscheduler.scheduler:Looking for jobs to run

DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added

INFO:apscheduler.scheduler:Added job "Notifier.gather" to job store "default"

INFO:client.conversation:Starting to handle conversation with keyword 'JASPER'.

DEBUG:client.conversation:Started listening for keyword 'JASPER'

Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048

Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719

Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843

Traceback (most recent call last):

  File "./jasper.py", line 148, in <module>

    app.run()

  File "./jasper.py", line 118, in run

    conversation.handleForever()

  File "/home/pi/jasper/client/conversation.py", line 31, in handleForever

    threshold, transcribed = self.mic.passiveListen(self.persona)

  File "/home/pi/jasper/client/mic.py", line 110, in passiveListen

    frames_per_buffer=CHUNK)

  File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 747, in open

    stream = Stream(self, *args, **kwargs)

DEBUG:apscheduler.scheduler:Looking for jobs to run

  File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 442, in __init__

DEBUG:apscheduler.scheduler:Next wakeup is due at 2016-03-16 23:52:04.588689+00:00 (in 29.994760 seconds)

    self._stream = pa.open(**arguments)

IOError: [Errno Invalid sample rate] -9997

INFO:apscheduler.scheduler:Scheduler has been shut down

Matthew Curry

unread,
Mar 17, 2016, 6:17:42 PM3/17/16
to Jasper Support Forum, twiggyga...@gmail.com
Try running my usb-audio-v2.sh script again and skip everything but testing the audio.  Does that work?

twiggy garcia

unread,
Mar 18, 2016, 8:32:18 AM3/18/16
to Jasper Support Forum, twiggyga...@gmail.com
no i didn't hear anything played back, i'm going to run some more tests on this microphone and usb sound card and see if i can get them working independently of jasper. 

twiggy garcia

unread,
Mar 18, 2016, 9:53:39 AM3/18/16
to Jasper Support Forum, twiggyga...@gmail.com
I've tested the mic and sound card with another computer to confirm they work. It's definitely something i'm missing in the configuration. I get audio played back from youtube so my sound output on the sound card is working fine, just the input that is the pain. 

here is what i can see..

arecord -l


**** List of CAPTURE Hardware Devices ****

card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]

  Subdevices: 1/1

  Subdevice #0: subdevice #0 



aplay -l


**** List of PLAYBACK Hardware Devices ****

card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]

  Subdevices: 8/8

  Subdevice #0: subdevice #0

  Subdevice #1: subdevice #1

  Subdevice #2: subdevice #2

  Subdevice #3: subdevice #3

  Subdevice #4: subdevice #4

  Subdevice #5: subdevice #5

  Subdevice #6: subdevice #6

  Subdevice #7: subdevice #7

card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]

  Subdevices: 1/1

  Subdevice #0: subdevice #0




lsusb


Bus 001 Device 006: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller

Bus 001 Device 005: ID 062a:4101 Creative Labs 

Bus 001 Device 004: ID 045e:0797 Microsoft Corp. 

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

twiggy garcia

unread,
Mar 18, 2016, 10:53:35 AM3/18/16
to Jasper Support Forum, twiggyga...@gmail.com
i can hear the output of my mic through my speakers, but still getting the same errors when i run jasper. 

twiggy garcia

unread,
Mar 18, 2016, 10:59:20 AM3/18/16
to Jasper Support Forum, twiggyga...@gmail.com
when i run the script i get 


Test your audio equipment by speaking into the microphone for 3 seconds

Press ENTER to begin



Recording WAVE '/tmp/3secondtest.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

arecord: set_params:1239: Channels count non available

playing back audio test

/tmp/3secondtest.wav: No such file or directory

If you didn't hear anything, you might want to try adjusting your volume levels for your speaker and microphone by running

alsamixer





i can hear the mic through the speakers, it just doesn't seem to be playing nice with the software

nathan morrison

unread,
Mar 18, 2016, 12:55:07 PM3/18/16
to Jasper Support Forum
Colin thanks for this!

Such a well written simple install guide, it actually inadvertently answered my unrelated question - just because it was so thorough.

Totally excited to get Jasper going on my Pi3.  I just got Rasbian on it last night, and will try the Jasper install this evening.

- Nathan

nathan morrison

unread,
Mar 18, 2016, 1:16:28 PM3/18/16
to Jasper Support Forum, twiggyga...@gmail.com
Hey this might not be relevant but also might be relevant...

I don't have my A/V hooked up yet on my Raspberry Pi3, but I do get audio out through the HDMI display port.  Just FYI.  Might want to double check that the sound you are hearing is really coming from the A/V and not from the HDMI. 

twiggy garcia

unread,
Mar 20, 2016, 10:17:33 AM3/20/16
to Jasper Support Forum, twiggyga...@gmail.com
I'm starting from scratch again with a new image of Raspbian Jessie. 

Matthew Curry

unread,
Mar 20, 2016, 3:52:59 PM3/20/16
to Jasper Support Forum, twiggyga...@gmail.com
I know its an older version, but try the image I am hosting. Just to set a "Known-Good Configuration"

https://groups.google.com/d/msg/jasper-support-forum/zuyC7bu7094/LYo2x7cFEAAJ

Matthew Curry

unread,
Mar 20, 2016, 3:54:37 PM3/20/16
to Jasper Support Forum, twiggyga...@gmail.com
I wouldn't try to be on the latest anything. I would go for stable first, and keep that version updated.

Then image your configuration in a known-good state (very easy) for backing it up. (or use another card if you have one)

then start a 'dev' version on the new OS release.  Thats how it is done professionally.  No one just rushes into a new OS version with an application that hasn't been tested on it.

Dominique Garcia

unread,
Mar 23, 2016, 3:55:40 PM3/23/16
to Jasper Support Forum
Has anyone gotten the 1st gen MS Kinect to use as a microphone?  The Kinect has a microphone array and is excellent for speech recognition.

cdirz...@gmail.com

unread,
Apr 20, 2016, 6:02:14 PM4/20/16
to Jasper Support Forum
Yeah runs great

Geoff

unread,
Apr 22, 2016, 1:56:38 AM4/22/16
to Jasper Support Forum
Twiggy & RPI3 owners :-),

Twiggy: I see you chose to make a fresh start.

You originally had a problem with g014b2b, which is fixed here:

https://jasperproject.github.io/documentation/installation/
ie. "Building the Phonetisaurus FST model"


RPI3 owners: You might like this:

https://github.com/GeoBeBee/mySystem/blob/master/Jasper-dev_onPocketPhinx_5preAlpha.txt





Matthew Curry

unread,
May 9, 2016, 7:07:10 PM5/9/16
to Jasper Support Forum
Read the recent announcement please. It addresses this issue.

Billy Colt

unread,
May 27, 2016, 11:03:26 AM5/27/16
to Jasper Support Forum
quick question, i changed the keyword_phrases script to put my own keyword list and jasper cant hear anything i say. i changed the dictionary and language as well to all match. any ideas?

Matthew Curry

unread,
May 27, 2016, 12:54:39 PM5/27/16
to Jasper Support Forum
If its not hearing anything, its not your phrases, its a mic issues.  If it hears stuff, but it isn't coming in correctly try increasing your mic volume with alsamixer.

Matthew Curry

unread,
May 30, 2016, 2:14:30 AM5/30/16
to Jasper Support Forum
I have just posted a new RPI3 image alpha. If you would like to test it.

Eswaran Kadavan

unread,
May 30, 2016, 10:16:33 PM5/30/16
to Jasper Support Forum
Hey Matthew,

I was searching for your image for RPI3, but I am not able to find it. Can you point me towards the image?

Thanks a ton!

Matthew Curry

unread,
May 31, 2016, 11:52:37 AM5/31/16
to Jasper Support Forum
Its pinned at the top of the forum, not hard to find.

https://groups.google.com/d/msg/jasper-support-forum/z056q_8euaM/iVvSKLI6AQAJ

Eswaran Kadavan

unread,
May 31, 2016, 12:24:44 PM5/31/16
to Jasper Support Forum
Thank you Matthew! I will run this update you!

Matthew Curry

unread,
May 31, 2016, 12:58:21 PM5/31/16
to Jasper Support Forum
No problem, let me know how it goes.

Eswaran Kadavan

unread,
Jun 1, 2016, 10:08:50 PM6/1/16
to Jasper Support Forum
Hi Mathew,

I tried burning the image into SD card from both Windows and Linux. The thing is, though the burn is successful, Raspberry Pi is not booting from the SD card. I analyzed SD card and found that the image creates two partitions. One with boot logic and other with OS files. Is this how it is supposed to be? Any idea why it is not booting up?
I have also attached screenshots.
OS.png
boot.png

Matthew Curry

unread,
Jun 3, 2016, 10:46:02 AM6/3/16
to Jasper Support Forum
I am sorry to hear that, its the method you are using. I have burned the image to many cards, and so have others.


try 'sudo dd if=/path/to/img.img of=/dev/device (not device1) bs=4m'

that should work fine.

Eswaran Kadavan

unread,
Jun 4, 2016, 7:33:35 AM6/4/16
to Jasper Support Forum
Hey Mathew,

I tried again with the same command which you have given, but the result is same. Raspberry doesn't boot up after 5 green led blinks. Is the double partition expected?

Matthew Curry

unread,
Jun 4, 2016, 10:40:22 PM6/4/16
to Jasper Support Forum
try formatting it in windows/mac or with gparted. Fat32, one partition.  Then trying it again. 

Matthew Curry

unread,
Jun 5, 2016, 6:24:46 PM6/5/16
to Jasper Support Forum
Just a heads up to everyone using an RPI3 image.

ifconfig is deprecated.... use 'ip a' to see your IP.

Ale Ale

unread,
Jun 6, 2016, 3:58:34 AM6/6/16
to Jasper Support Forum
ty Matthew

I follow your indications:      no ifconfig.

with
sudo ip link set wlan1 up
sudo ip link set eth1 up
sudo dhclient eth1

i have got a working eth0 showed by

sudo ip addr show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:1f:84:db brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.26/24 brd 192.168.0.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::ba27:ebff:fe1f:84db/64 scope link
       valid_lft forever preferred_lft forever
3: wlan1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether b8:27:eb:4a:d1:8e brd ff:ff:ff:ff:ff:ff
    inet6 fe80::ba27:ebff:fe4a:d18e/64 scope link
       valid_lft forever preferred_lft forever

I follow this for for wifi
http://linuxcommando.blogspot.it/2013/10/how-to-connect-to-wpawpa2-wifi-network.html?m=1

 but without success,i have got this error:

>sudo wpa_supplicant -B -D wext -i wlan1 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument

Matthew Curry

unread,
Jun 6, 2016, 10:07:16 AM6/6/16
to Jasper Support Forum
Yeah sorry ifconfig is deprecated. Just habit.  It is odd, that you have 1 on everything.

However, don't worry I am still updating the images.  So I will  have this fixed shortly.

Thanks for the help.

BTW:  Here is our slack channel.

https://jasper-project.slack.com/signup

Ryan Freeman

unread,
Jun 11, 2016, 12:52:20 PM6/11/16
to Jasper Support Forum
Hi Matthew, I can't join your slack channel it doens't have direct signups enabled.

Could you invite me please.

Ryan

Matthew Curry

unread,
Jun 11, 2016, 4:36:23 PM6/11/16
to Jasper Support Forum
invite was went.
Message has been deleted
Message has been deleted

Matthew Curry

unread,
Jun 13, 2016, 2:26:11 PM6/13/16
to Jasper Support Forum
See the recent post on the images, it will answer your questions.

Matthew Curry

unread,
Jun 13, 2016, 2:26:59 PM6/13/16
to Jasper Support Forum
Also, that is not a good setup in my opinion.

sphynx performs poorly
ivona is limited/paid

I would recommend maryTTS / Wit.ai


Message has been deleted

Matthew Curry

unread,
Jun 15, 2016, 6:26:41 PM6/15/16
to Jasper Support Forum
Nothing is deleted or crazy... Just breathe and read...

The image is ready for maryTTS by default, just uncomment it from profile.yml

Then install maryTTS locally, I am writing an installer but you just download it and start it....
takes 30sec to start
then start jasper.
use "localhost" as server IP in profile.yml

However, none of this will matter if you don't understand how your audio works.  There is a room in slack specifically for this; and resources made available that explain asoundrc in full.

I have also taken the time to purchase and test hardware that is cheap and both works out of the box.   This is all posted in the forum.  If you follow the suggestions I mentioned your setup will be working in 10min after install. Granted your mic/spkr work.


Message has been deleted

Matthew Curry

unread,
Jun 16, 2016, 2:34:20 PM6/16/16
to Jasper Support Forum


That would not be practical, as there are 100x if not 1000s of them I have changed.  Also, keep in mind this is still in alpha. In development.  Expect issues.  

sania mutreja

unread,
Jun 28, 2016, 8:58:02 AM6/28/16
to Jasper Support Forum
Hi is jasper working perfectly on jessie ??
I tried running jasper on jessie but voice recognition was so poor with pocketsphinx so i downgraded jessie to wheezy.

sania mutreja

unread,
Jun 28, 2016, 9:05:58 AM6/28/16
to Jasper Support Forum
Hi, How is the voice recognition on pi3 ??
is jasper working fine in pi3?

Matthew Curry

unread,
Jun 28, 2016, 10:47:33 AM6/28/16
to Jasper Support Forum
Jasper doesn't do the recognition; it will depend on what STT and TTS you pick.

With wit.ai and maryTTS I get great performance.

Gaurav Thorat

unread,
Jul 15, 2016, 12:32:57 PM7/15/16
to Jasper Support Forum
did you find anything now with pi 3 model

Matthew Curry

unread,
Jul 15, 2016, 1:38:54 PM7/15/16
to Jasper Support Forum
nothing to find out works fine.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages