Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to use as audio device for pHat DAC? #123

Open
davthomaspilot opened this issue Mar 29, 2018 · 6 comments
Open

What to use as audio device for pHat DAC? #123

davthomaspilot opened this issue Mar 29, 2018 · 6 comments

Comments

@davthomaspilot
Copy link

Will the script it work with this I2S DAC?

@davthomaspilot
Copy link
Author

Found this feature request:

https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install/issues/115

So, I think this means I just choose HifiBerry DAC as the option for the audio device?

@davthomaspilot
Copy link
Author

So, I can bluetooth connect from my Ipad to Pi Zero W with PHAT DAC, but no audio plays.

Before I ran the install script here, I could hear sound using speaker-test and aplay. But now I get messages about access denied when I try to do speaker-test and connection refused when I do an aplay.

When I do pactl list sources I see

bluez_source.A4_F1_E8_B6_2E_72.a2dp_source

but it's in the suspended state. Is that expected?

@davthomaspilot
Copy link
Author

sudo systemctl status bluetooth*

  • bluetooth.service - Bluetooth service
    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
    Active: active (running) since Mon 2018-04-02 19:43:28 EDT; 1min 20s ago
    Docs: man:bluetoothd(8)
    Main PID: 356 (bluetoothd)
    Status: "Running"
    CGroup: /system.slice/bluetooth.service
    `-356 /usr/lib/bluetooth/bluetoothd

Apr 02 19:43:28 ipad2gma340 systemd[1]: Started Bluetooth service.
Apr 02 19:43:28 ipad2gma340 bluetoothd[356]: Bluetooth management interface 1.14 initialized
Apr 02 19:43:28 ipad2gma340 bluetoothd[356]: Failed to obtain handles for "Service Changed" characteristic
Apr 02 19:43:28 ipad2gma340 bluetoothd[356]: Sap driver initialization failed.
Apr 02 19:43:28 ipad2gma340 bluetoothd[356]: sap-server: Operation not permitted (1)
Apr 02 19:43:28 ipad2gma340 bluetoothd[356]: Endpoint registered: sender=:1.3 path=/MediaEndpoint/A2DPSource
Apr 02 19:43:28 ipad2gma340 bluetoothd[356]: Endpoint registered: sender=:1.3 path=/MediaEndpoint/A2DPSink
Apr 02 19:43:29 ipad2gma340 bluetoothd[356]: Endpoint registered: sender=:1.5 path=/A2DP/SBC/Source/1
Apr 02 19:43:29 ipad2gma340 bluetoothd[356]: Endpoint registered: sender=:1.5 path=/A2DP/SBC/Sink/1
Apr 02 19:43:29 ipad2gma340 bluetoothd[356]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)

@davthomaspilot
Copy link
Author

Didn't mean to close the issue. Not sure how to open. But, is anyone monitoring anyway?

@davthomaspilot davthomaspilot reopened this Apr 3, 2018
@lordfinal
Copy link

lordfinal commented Jul 14, 2018

Hi,

I want to use the phat dac too. But I just got them. Did you tried the method mentioned here?

#36

Or in short:

  • install the i2c scripts from phat dac vendor
  • choose "No sound card" during installation

@alexander480
Copy link

alexander480 commented Jan 20, 2019

Run this command before installation
curl https://get.pimoroni.com/phatdac | bash

Reboot

Start installation

Select "No sound card" when promoted to select sound card

I've installed this repo waaaayy too many times on raspberry pis with pHat DACs, including just last night, so this definitely should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants