ubuntuusers.de

A2DP Bluetooth

Status: Ungelöst | Ubuntu-Version: Xubuntu 16.10 (Yakkety Yak)
Antworten |

Blindfuchs1966

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

Hallo zusammen, also nach vielen Lesen, ausprobieren, System aufsetzten und fluchen scheint es also so zu sein das Linux mit Bt echt ein Problem zu haben. Eine dauerhafte Einstellung des Kopfhörers, bei Aktivierung auf BT, scheint nicht möglich. Nur durch viel einstellen und löschen des Kopfhöres und wieder installieren scheint es dann zu laufen. Bis zum Neustart des Systems. Damit scheint man Leben zu müssen. Es soll ja eine neue Version von Pulseaudio erscheinen. Vielleicht gehts dann Reibungsloser. Ich bin mit meinem Latein am ende. Sollte von euch noch jemand eine Idee haben, für eine stabile Lösung, wäre ich Dankbar. Ansonsten ist es halt so. Leider Der frustierte Blindfuchs

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Hi.Zeige mal bitte deine pulseconfig

cat /etc/pulse/default.pa

sowie

cat /etc/bluetooth/audio.conf

mal sehen was wir machen können 😉

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

OK, auf ein neues:

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input
cat: /etc/bluetooth/audio.conf: Datei oder Verzeichnis nicht gefunden

so sieht es direkt nach dem hoch fahren des PCś aus

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Auf ein neues ☺ Ändere zuerst

kdesudo kate /etc/bluetooth/audio.conf

in diese neu erstellte Datei dann folgendes eintragen

[General]
Enable=Source,Sink,Media,Socket

Speichern nicht vergessen. Dann noch eine kleine Änderung hier vornehmen

kdesudo kate /etc/pulse/default.pa

ändere bitte den Eintrag von

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

in

### Should be after module-*-restore but before module-*-detect
#load-module module-switch-on-port-available
load-module module-switch-on-connect

Speichern und Neustart

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

Servus, ich scheitere schon beim ersten Befehl. Da erscheint das die Datei nicht gefunden wird. Oder läuft das nicht übers Terminal?

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Du hast doch jetzt KDE -richtig?

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

ähhh, ich glaube es heißt xfce. ich finde nix mit kde. kann man da kde drüber installieren?

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Man weiß doch was man Installiert hat 😀 Zeige mal

inxi -Fz

falls noch nicht Installiert

sudo apt install inxi

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

naja soviele Möglichkeiten gabs bei windoof nicht. druff und fertig.

System:    Host: stephan-Lenovo-Yoga-500-15ISK Kernel: 4.8.0-41-generic x86_64 (64 bit)
           Desktop: Xfce 4.12.3 Distro: Ubuntu 16.10
Machine:   System: LENOVO (portable) product: 80R6 v: Lenovo Yoga 500-15ISK
           Mobo: LENOVO model: Lenovo Yoga 500-15ISK v: SDK0J40700 WIN
           UEFI: LENOVO v: D3CN28WW date: 05/09/2016
Battery    BAT0: charge: 27.5 Wh 100.0% condition: 27.5/30.0 Wh (92%)
CPU:       Dual core Intel Core i5-6200U (-HT-MCP-) cache: 3072 KB 
           clock speeds: max: 2800 MHz 1: 499 MHz 2: 749 MHz 3: 499 MHz
           4: 615 MHz
Graphics:  Card: Intel HD Graphics 520
           Display Server: X.Org 1.18.4 drivers: (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
           GLX Version: 3.0 Mesa 12.0.6
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.8.0-41-generic
Network:   Card-1: Intel Intel Dual Band Wireless-AC 3165 Plus Bluetooth
           driver: iwlwifi
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 1000.2GB (1.7% used)
           ID-1: /dev/sda model: WDC_WD10SPCX size: 1000.2GB
Partition: ID-1: / size: 400G used: 8.1G (3%) fs: ext4 dev: /dev/sda9
           ID-2: swap-1 size: 8.37GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.0C mobo: 38.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 217 Uptime: 1:50 Memory: 2546.3/7776.8MB
           Client: Shell (bash) inxi: 2.3.1 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Blindfuchs1966 schrieb:

naja soviele Möglichkeiten gabs bei windoof nicht. druff und fertig.

Naja das möchte ich jetzt nicht kommentieren 😉 Jetzt sieht die Welt anders aus

sudo apt install gksudo

dann

gksudo mousepad /etc/bluetooth/audio.conf

dort dann folgendes Eintragen

[General]
Enable=Source,Sink,Media,Socket

Speichern nicht vergessen. Dann noch eine kleine Änderung hier vornehmen

gksudo mousepad /etc/pulse/default.pa

ändere bitte den Eintrag von

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

in

### Should be after module-*-restore but before module-*-detect
#load-module module-switch-on-port-available
load-module module-switch-on-connect

Speichern und Neustart

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

So hab alles so gemacht. Dann habe ich das Headset neu installiert. Das hat auch funktioniert. Es läuft die A2DP Einstellung. Bis ich den Pc wieder neu starte. Dann ist es wieder die schlechte Qualität. Und es geht nur wenn ich das Headset lösche und neu installiere. Dann gehts wieder von vorne los. 😢 😢

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Ach man oohhh 😬 Weiter geht's

sudo adduser $USER bluetooth

und

sudo adduser $USER pulse

Danach ein Neustart und testen 😉

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

OK hab ich gemacht. ich will dich ja nicht frustieren. Aber das Ergebnis ist das selbe.

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Bis ich Frustriert bin kann es dauern 😈 Nächster Versuch

gksudo mousepad /etc/pulse/daemon.conf

dort den eintrag ändern von

; default-sample-format = s16le
; default-sample-rate = 44100

in

default-sample-format = s16ne
default-sample-rate = 44100

danach einmal

pulseaudio -k

Wieder testen.

Blindfuchs1966

(Themenstarter)

Anmeldungsdatum:
18. Februar 2017

Beiträge: 68

Kopf schüttel. leider keine Änderung.

Antworten |