alexylem / jarvis

Jarvis.sh is a simple configurable multi-lang assistant.
http://openjarvis.com
MIT License
810 stars 197 forks source link

Cannot install Jarvis on Pi with Logitech C270 #948

Open simon-tannai opened 5 years ago

simon-tannai commented 5 years ago

Hello ! :)

I'm trying to install Jarvis on my Raspberry Pi 3 on Raspbian Buster with desktop (without recommended softwares) and my old Logitech C270. I'm blocking on audio input step: I'm looping on this step with this error: rec FAIL sox: Sorry, there is no default audio device configured.

All the shell:

rec FAIL sox: Sorry, there is no default audio device configured
Selection of the microphone device
**** Liste des Périphériques Matériels CAPTURE ****
carte 1: U0x46d0x825 [USB Device 0x46d:0x825], périphérique 0: USB Audio [USB Audio]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
Indicate the card # to use [0-9]: 1
Indicate the device # to use [0-9]: 0

The .asoundrc file:

pcm.!default {
  type asym
   playback.pcm {
     type plug
     slave.pcm "hw:1,0"
   }
   capture.pcm {
     type plug
     slave.pcm ""
   }
}

I tried to remove the .asoundrc file but nothing changed.

Someone have an idea to fix it ?