jamespaul
Posts: 2
Joined: Thu Jul 24, 2014 2:51 pm

jasper installation , vim

Thu Jul 24, 2014 3:05 pm

hi guys
super rpi noob here that knows nothing about programming but i was trying to install jasper but i kept getting errors like :ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
aplay: main:682: audio open error: No such file or directory when i boot jasper up.
i tried to add add my username to the audio group in VIM . but when i edited that text in VIM i tried to save and exit it using ctrl+X but i cant so i need help guys thanks in advance

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: jasper installation , vim

Thu Jul 24, 2014 3:56 pm

You basically have two problems: if you want to use ctrl+x to exit, use nano. I personally like nano better. The other problem is that your microphone is not being recognized by jasper. Try to run cat /proc/asound/cards and paste the output. Don't have my raspberry pi with me so can't remember the details, but there should be an option with a -D when you run jasper after which you can put plughw: and then the number of your sound card followed by a comma and a zero.
There are 10 types of people: those who understand binary and those who don't.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: jasper installation , vim

Fri Jul 25, 2014 10:08 am

vim isn't as plug ugly as nano and it certainly isn't as weird as emacs.
It does suffer from some arcane incantations for commands.

[esc]:wq # write and quit
[esc]:q! # quit without update
get you started.

http://www.fprintf.net/vimCheatSheet.html
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: jasper installation , vim

Fri Jul 25, 2014 5:52 pm

DougieLawson wrote:vim isn't as plug ugly as nano and it certainly isn't as weird as emacs.
It does suffer from some arcane incantations for commands.

[esc]:wq # write and quit
[esc]:q! # quit without update
get you started.

http://www.fprintf.net/vimCheatSheet.html
Everybody has their own favorite.
There are 10 types of people: those who understand binary and those who don't.

jamespaul
Posts: 2
Joined: Thu Jul 24, 2014 2:51 pm

Re: jasper installation , vim

Mon Jul 28, 2014 12:08 pm

Thanks for the reply guys ! Really appreciate it for helping me out I'll go have a try and update y'all

Cheers

crazy george
Posts: 8
Joined: Fri Sep 27, 2013 3:33 pm

Re: jasper installation , vim

Mon Jul 28, 2014 9:08 pm

Hi

I have just set both jasper and voicecommander up. after ages of troubleshooting.

i think, you need to edit a file /etc/modprobe.d/alsa-base.conf put a # in front of ......options snd-usb-audio index=-2 ie change to # options snd-usb-audio index=-2

then

sudo alsa force-reload

that will put your usb sound card as the default. ( 0,0 ).

If it is a usb ( CMEDIA ) card, there are a few other settings you want to tweek as well. also, check alsamixer has the volume up on the mic to 50%

idris3396
Posts: 2
Joined: Tue Aug 12, 2014 1:57 pm

Jasper's Disk Image Not Booting On Model B+

Tue Aug 12, 2014 2:00 pm

Hello! Has anyone tried booting Jasper's pre-compiled disk image on the Raspberry Pi Model B+? Well I cannot boot it on my model B+.

Any suggestions?

Thanks!

Idris

crazy george
Posts: 8
Joined: Fri Sep 27, 2013 3:33 pm

Re: jasper installation , vim

Tue Aug 12, 2014 4:44 pm

Yes did it the other week.

There is some further set up after you load it the first time.

http://jasperproject.github.io/document ... ure-jasper

you can copy and paste that lot once your PI has boot4ed

voicommander is worth a look as well

idris3396
Posts: 2
Joined: Tue Aug 12, 2014 1:57 pm

Jasper's Disk Image Not Booting On Model B+

Sat Aug 16, 2014 12:57 pm

Well, I am not talking about post booting stuff! Nothing shows up on my monitor when I am using Model B+ and Jasper's pre-compiled disk image.

It just doesn't start!

Thanks!

Idris

crazy george
Posts: 8
Joined: Fri Sep 27, 2013 3:33 pm

Re: jasper installation , vim

Sun Aug 17, 2014 5:49 pm

maybe you just got a bad image or sd card, try download again

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Jasper's Disk Image Not Booting On Model B+

Sun Aug 17, 2014 5:59 pm

idris3396 wrote:Well, I am not talking about post booting stuff! Nothing shows up on my monitor when I am using Model B+ and Jasper's pre-compiled disk image.

It just doesn't start
Your image probably does not yet have the firmware for the B+.
You can try to replace the firmware files on the card with current ones. Get bootcode.bin and start.elf from https://github.com/raspberrypi/firmware ... aster/boot , put the SD card in your PC and copy the 2 files to the card.

Gr.
Dirk

vinchenzi
Posts: 1
Joined: Sun Jan 04, 2015 5:33 am

Re: jasper installation , vim

Sun Jan 04, 2015 5:40 am

Hi i have tried a few times to install jasper onto my raspberry pi b model. im using a windows 8 pc so i write the disk image on using win32disk imager then put it in my pi.

then first thing before any gui appears.

when loading, the pi asks for login and password details before it finishes loading.

could someone help me with this login and password, or if im doing any part wrong causing this please help.

all the best!

mike10
Posts: 2
Joined: Thu Apr 02, 2015 10:49 pm

Re: jasper installation , vim

Thu Apr 02, 2015 11:22 pm

hi,
i wanna use a mic/webcame for recording, but it seems that my mic is not recognized , please can you help me ?
~# cat /proc/asound/cards
0 [ALSA ]: bcm2835 - bcm2835 ALSA
bcm2835 ALSA

~# arecord -D plughw:0,0 test.wav
arecord: main:682: erreur à l'ouverture audio: Aucun fichier ou dossier de ce type

Return to “Troubleshooting”