WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bluealsa error  (Read 1721 times)

Offline jbbum

  • Newbie
  • *
  • Posts: 39
bluealsa error
« on: February 12, 2023, 12:09:36 PM »
get the error "Unknown field interface" when trying aplay to play sound thru bluetooth"
.asoundrc
pcm.mid {
        type plug
        slave {
            pcm {
                type bluealsa
                device "B8:27:EB:65:9E:DD"
      interface "hci0"
                profile "a2dp"
            }
        }
        hint {
            show on
            description "Wuhzi Audio"
        }
     }
Have successfully paired and connected to bluetooth speaker

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: bluealsa error
« Reply #1 on: February 14, 2023, 01:26:06 PM »
The interface line does not go in .asound

Make sure you have read the info file for bluez as to how to start bluetooth on a rpi.  There is more info in this thread http://forum.tinycorelinux.net/index.php/topic,24427.0.html

Offline jbbum

  • Newbie
  • *
  • Posts: 39
Re: bluealsa error
« Reply #2 on: February 15, 2023, 11:53:34 AM »
Hi Paul.  I do connect bluetooth.  I am using your scripts from that link to connect. My problem seems to be able to have alsa recognize the interface. 

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: bluealsa error
« Reply #3 on: February 15, 2023, 12:23:50 PM »
The more I look at your asound.  Do not use the mac address of the raspberry pi bluetooth adapter, you need the mac address of your bluetooth device.

Offline jbbum

  • Newbie
  • *
  • Posts: 39
Re: bluealsa error
« Reply #4 on: February 15, 2023, 08:20:20 PM »
I am using the pi MAC address.  The asound file is a copy before any changes.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: bluealsa error
« Reply #5 on: February 16, 2023, 09:36:58 AM »
Perhaps explain what you are trying to do.  What are all of the devices involved, and what is the audio path?

Offline jbbum

  • Newbie
  • *
  • Posts: 39
Re: bluealsa error
« Reply #6 on: February 16, 2023, 12:12:12 PM »
Thank you for looking into this.  I have given up on it for now.  Think a complete restart by compiling the sources may be needed.