Comments (10)
Is this /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_bluealsa.so
file present? Because it is rather strange location for alsa modules. You might try to copy the libasound_module_pcm_bluealsa.so
file (from the ./build/src/asound/.libs/
directory) manually to this location.
from bluez-alsa.
Ok I found out that I had an alsa-lib directory in /usr/lib where it was stored and just had to move it from there. Now he finds the file but gets a further error:
aplay -D bluealsa:HCI=hci0,DEV=50:C9:71:B9:96:53,PROFILE=a2dp voice.wav ../../../src/asound/../shared/ctl-client.c:102: Connecting to socket: /var/run/bluealsa/hci0 ../../../src/asound/../shared/ctl-client.c:213: Getting transport for 50:C9:71:B9:96:53 type 1 ALSA lib ../../../src/asound/bluealsa-pcm.c:660:(_snd_pcm_bluealsa_open) Couldn't get BlueALSA transport: No such device aplay: main:722: audio open error: No such device
Does this mean that he doesnt find my bluetooth headset or is there something wrong with my Alsa?
(But I dont think that it is because of the headset since it is connected through bluetoothctl)
Edit: However I found out that my headset is still somehow in the pactl list and not showing up under aplay -L
from bluez-alsa.
BlueALSA and PulseAudio does not work together. See troubleshooting section in the readme.
from bluez-alsa.
Yeah i know that but why isnt the headset showing up under my alsa devices
from bluez-alsa.
BlueALSA does not expose BT devices via the kernel ALSA interface. It provides only a PCM software plugin. If you want your PCM to be displayed alongside aplay -L
PCMs, you have to add hint description in the configuration file.
See:
http://alsa.opensrc.org/Asoundrc
http://alsa.opensrc.org/Plugin_Documentation
from bluez-alsa.
But still what does this error mean
ALSA lib ../../../src/asound/bluealsa-pcm.c:660:(_snd_pcm_bluealsa_open) Couldn't get BlueALSA transport: No such device aplay: main:788: audio open error: No such device
from bluez-alsa.
from bluez-alsa.
amixer -D bluealsa ../../../src/asound/../shared/ctl-client.c:102: Connecting to socket: /var/run/bluealsa/hci0 ../../../src/asound/../shared/ctl-client.c:125: Subscribing for notifications: true
Simple mixer control 'Jabra STEALTH a1.2 | Battery',0 Capabilities: pvolume pvolume-joined Playback channels: Mono Limits: Playback 0 - 9 Mono: Playback 0 [0%]
Simple mixer control 'Jabra STEALTH a1.20.0 - SCO',0 Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Limits: Playback 0 - 15 Capture 0 - 15 Mono: Playback 15 [100%] [on] Capture 15 [100%] [on]
Ok now I see my BT device but still cant play any sound
from bluez-alsa.
Ok I got the headset working now, only problem is that the headset always disconnects after I played a sound or recorded something. Also the recordings have a really disturbing sough.
from bluez-alsa.
/ # aplay 0.pcm
aplay: symbol 'eventfd_read': can't resolve symbol
aplay: symbol 'eventfd_write': can't resolve symbol
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /lib/alsa-lib/libasound_module_pcm_bluealsa.so
aplay: main:786: audio open error: No such device or address
/ # ls /lib/alsa-lib/libasound_module_pcm_bluealsa.so
/lib/alsa-lib/libasound_module_pcm_bluealsa.so
alsa-lib 1.1.1 and alsa-util1.1.1
from bluez-alsa.
Related Issues (20)
- airpods3 failed to connect back HOT 3
- Fail to use google home mini as bluetooth speaker HOT 5
- Illegal Instruction on PiZero HOT 9
- No such device (Bluetooth, IPhone) HOT 2
- Couldn't acquire D-Bus name. HOT 12
- connected airpods pro2, the music is played without sound HOT 5
- [RTL8822CE] SCO with msbc codec enabled requires source code patching to deliver audio to headset HOT 4
- ofono not working anymore HOT 11
- API doc out of date HOT 1
- changing a2dp codec broken HOT 4
- Build error undefined references HOT 3
- Cannot decode mSBC with Realtek USB adapter HOT 1
- LDAC problem after update from 4.0 to 4.1.1 HOT 8
- v4.1.1 fails to build on on Debian buster i386 HOT 8
- No sound from Onkyo receiver HOT 90
- Potential server lockup in PCM drain HOT 2
- Sink producing no audio with aptX codec HOT 2
- allow build with different dbus name HOT 2
- Bluealsa with Google Pixel 8 Android Version 14 (Call sounds like a robot) HOT 9
- Fedora includes a fork of libopenaptx, libfreeaptx HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez-alsa.