Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 41
  1. #11
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,189
    I merged just the soundcard driver into my kernel tree, it builds just fine. I've not seen a dtoverlay for this card anywhere, does it have a hat eeprom?

    You can see the contents of the eeprom in /proc/device-tree/hat/.....

    The dtblob would be binary content in there, but that should automatically build the driver.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #12
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32

    what is the next step

    Hi Paul

    What is the next step to getting a driver for the voice bonnet?

    I have never tried to compile any linux program/module but I'm willing to try anything. I know enough linux to be dangerous but I've never let that stop me :-)

    Thanks
    Greg

  3. #13
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32
    I am not sure about an eeprom... I will search around the internet. I seem to remember a mention somewhere, it might have been for the Atmel processor.

    I will see what I can dig up.

    Greg

  4. #14
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32
    The only reference I have found is for a eeprom for the product ID.

    The voicebonnet has 2 microphones, 2 channel amplifier, headphone jack and a alc5645 chip to handle all the switching.

    With the aiy software alsamixer has 130+ controls and switches, enough to be very confusing.

    Greg

  5. #15
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,189
    Without a device to test with, its hard for me to develop. But try the image I just posted.

    https://forums.slimdevices.com/showt...l=1#post944664
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  6. #16
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32
    tried the pcp 6.0.0 b9 image but I dont have sound. alsamixer gives the 'This sound device does not have any controls.' message when the snd_rpi_googlevoicehat_soundcard is selected.

    I put a screenshot of the output selections for squeezelite settings. https://www.dropbox.com/s/jpfa4i1s4o...52.34.png?dl=0

    I have a text copy of the diagnostics page on dropbox, also. https://www.dropbox.com/s/qz954k0db0...stics.txt?dl=0

    I don't see a choice for the voicebonnet on 6.0.0 b9.

    Hope this helps
    Greg

  7. #17
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,189
    You need to manually load the modules for now...I didn't want to write alot of code without knowing things.

    Select USB output on the squeezelite page. Reboot, go into card control and turn off the internal RPI sound

    Then open a ssh session and run.

    modprobe snd-soc-aiy-voicebonnet

    Now see what does aplay -L say.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  8. #18
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32
    tc@aiy6b9piCorePlayer:~$ aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default
    plugequal
    equal
    sysdefault:CARD=aiyvoicebonnet
    aiy-voicebonnet, Google AIY Voice Bonnet SoundCard HiFi rt5645-aif1-0
    Default Audio Device
    dmix:CARD=aiyvoicebonnet,DEV=0
    aiy-voicebonnet, Google AIY Voice Bonnet SoundCard HiFi rt5645-aif1-0
    Direct sample mixing device
    dsnoop:CARD=aiyvoicebonnet,DEV=0
    aiy-voicebonnet, Google AIY Voice Bonnet SoundCard HiFi rt5645-aif1-0
    Direct sample snooping device
    hw:CARD=aiyvoicebonnet,DEV=0
    aiy-voicebonnet, Google AIY Voice Bonnet SoundCard HiFi rt5645-aif1-0
    Direct hardware device without any conversions
    plughw:CARD=aiyvoicebonnet,DEV=0
    aiy-voicebonnet, Google AIY Voice Bonnet SoundCard HiFi rt5645-aif1-0
    Hardware device with all software conversions
    tc@aiy6b9piCorePlayer:~$

    no sound out, but alsamixer shows LOTS of settings (looks like all the voicebonnet settings)
    I tried un-muting the headphone and speaker settings and then went back to the pcp squeezelie settings page and saved the alsa settings on the card control page.

    It's looking better but no audio out.

  9. #19
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32
    went back and tried all the voicebonnet options
    sysdefault:CARD=aiyvoicebonnet
    hw:CARD=aiyvoicebonnet,DEV=0
    plughw:CARD=aiyvoicebonnet,DEV=0

  10. #20
    Member
    Join Date
    Feb 2020
    Location
    Sacramento, CA
    Posts
    32
    I went through the alsamixer on the console and turned on all the dac ountputs and WOOHOO I have sound ond the headphonejack AND the speakers!!!!!!!!!!!!!!
    I am a happy camper!!!

    Paul, you are awsome!

    I can't adjust the volume via LMS running on my NAS right now.

    I will try to find out what options I have to turn on|off to get it to find out what is the minimum settings to get it to work and see if I can find out if settings can be set so IMS can adjust volume.

    Thank you so much!

    I have the ouput set to: hw:CARD=aiyvoicebonnet,DEV=0

    I'm sure there are a lot of people out there who will be interested. Target was dumping the voice kits for $15, so I picked up 2.

    Greg

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •