Giter VIP home page Giter VIP logo

a2dp_bluetooth's People

Contributors

bareinhard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

a2dp_bluetooth's Issues

I cannot hear any sound from my bluetooth speaker.

I have downloaded Raspbian Jessie and I am able to connect to my bluetooth speaker, thanks for your efforts. I tried all 3 OS of raspberry pi and none of it worked before.

But I am not able to hear any audio when I play wav files using omxplayer. Am I missing some of the settings?

[pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie

Hi,

Was struggling for a long time to get a BT speaker (Heos) working on my RPi3 Jessie Loaded.
Until i found your script, thx a lot.
Sound is working but the auto reconnect isn't.
In my /var/log/message i found some error regarding Pulseaudio.

Dec 13 20:42:32 domoticz pulseaudio[548]: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set! Dec 13 20:42:32 domoticz pulseaudio[548]: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode! Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that. Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected. Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] main.c: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an explanation why system mode is usually a bad idea. Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect! Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie': No such file or directory Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.config/pulse/cookie': No such file or directory Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.pulse-cookie': No such file or directory Dec 13 20:42:32 domoticz pulseaudio[811]: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.pulse-cookie': No such file or directory

although /run/pulse.config/pulse/cookie exists it tells it can't find it.
As for .pulse-cookie it doesn't exits at all.
Also i have a /home/pi/.config/pulse/cookie, so two cookies
What can i do to recover this.

Problem on Raspberry Pi 2B

Hello,
let me know if I should ask somewhere else... I run the script and all completed successfully. I have the following device connected:

[Rockbox Cube]# info C9:50:76:0E:32:DC
Device C9:50:76:0E:32:DC (public)
	Name: Rockbox Cube
	Alias: Rockbox Cube
	Class: 0x00240404
	Icon: audio-card
	Paired: yes
	Trusted: yes
	Blocked: no
	Connected: yes
	LegacyPairing: yes
	UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)

However, I am not sure everything went well (and I can not hear the sound from the speaker).

pactl list sinks
Sink #1
	State: RUNNING
	Name: auto_null
	Description: Dummy Output
	Driver: module-null-sink.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 24
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 7189 usec, configured 20000 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
	Formats:
		pcm

pactl list sink-inputs
Sink Input #429
	Driver: protocol-native.c
	Owner Module: 10
	Client: 20
	Sink: 1
	Sample Specification: s32le 2ch 44100Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"s32le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Buffer Latency: 0 usec
	Sink Latency: 2811 usec
	Resample method: copy
	Properties:
		media.name = "ALSA Playback"
		application.name = "ALSA plug-in [java]"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "3267"
		application.process.user = "pi"
		application.process.host = "0x0002"
		application.process.binary = "java"
		application.language = "en_US.UTF-8"
		application.process.machine_id = "fec0adb372c843ff8ab71292bde8a6c0"
		application.process.session_id = "c3"
		module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [java]"

pactl list cards
(no card?)

In case anybody can help, I am available for any test/troubleshooting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.