Open nunes00 opened 4 years ago
admittedly i am a complete zero in all things programming and Raspberry Pi , but venturing to comment cos had the same issue myself. Run lsusb to see ur usb devices are connected run aplay -l to find out card number and device number of playback run arecord -l to find out card number and device number of mic
sudo nano ~/.asoundrc sudo nano /etc/asound.conf
and change value of "hw :cardnumber,deviceno" for both playback and record and hopefully it will work
Was there any interruption during the installation process ? Did you stop and start ?
Which branch of GassistPi are you using ?
from Master at 08/29
Board and OS details:
$ cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 1 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 2 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 3 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
Hardware : BCM2711 Revision : c03112 Serial : 10000000db7f587b Model : Raspberry Pi 4 Model B Rev 1.2
$ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Paste your Board and OS details here.
Raspberry Pi 4 - 4GB Raspberry Pi OS (32-bit)
Describe the bug:
I followed the documentation in order to setup and install GassistPi on my Raspberry pi 4 with audio jack and usb mic previous working. After INSTALL AUDIO CONFIG FILES step (with USB-MIC-JACK from Extra/May2020) rasp audio stop work. Also, after run audio config files I noticed that Audio output has only "Analog" and "Hdmi".
After ./gassist-installer.sh the following message has been shown: "Auto modification of the service file is not feasible. Manually check your username, project id and model id..."
/home/pi/env/bin/python -u /home/pi/projects/GassistPi/src/pushbutton.py --device-model-id rasp-ghome-embedded-rasp-ghome-embedded-2hocqk --project-id rasp-ghome-embedded
/home/pi/env/lib/python3.7/site-packages/oauth2client/_helpers.py:255: UserWarning: Cannot access /home/pi/.local/share/gmusicapi/mobileclient.cred: No such file or directory warnings.warn(_MISSING_FILE_MESSAGE.format(filename)) 2020-08-29 03:11:59,717 - gmusicapi.Mobileclient1 (shared:176) [WARNING]: could not retrieve oauth credentials from ''/home/pi/.local/share/gmusicapi/mobileclient.cred'' Initializing GPIOs 5 and 6 for assistant activity indication WARNING:root:Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' ERROR (Input():snowboy-io.cc:315) Fail to open input file "/home/pi/GassistPi/src/resources/alexa.umdl" terminate called after throwing an instance of 'std::runtime_error' what(): ERROR (Input():snowboy-io.cc:315) Fail to open input file "/home/pi/GassistPi/src/resources/alexa.umdl"
[stack trace: ] Backtrace has not been implemented yet.
Aborted