Bits & Bytes

Audio Streaming per Bluetooth (A2DP)

Anschließend sollte man gewöhnlichen Nutzern (ohne Root-Berechtigungen) die Verwendung von Bluetooth gestattet:

Me@myHost:~$ cat /etc/group | grep blue
Me@myHost:~$ usermod -aG blueooth Me
Me@myHost:~$ cat /etc/group | grep blue

Damit der Bluetooth Daemon bei jedem Neustart zur Verfügung steht kann man sich mit einer udev-Rule behelfen, man legt eine neue Datei an z.B. /etc/udev/rules.d/10-bluetooth.rules und fügt folgende Zeilen ein:

# Set bluetooth power up
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", RUN+="/bin/hciconfig %k up

Bei Copy & Paste prüfen ob hciconfig von diesem Pfad auch tatsächlich ausführbar ist insbesondere bei anderen Distributionen.

Einige Bluetooth Profiles sind notwendig um z.B. Audio-Streaming verwenden zu können diese aktiviert man in der /etc/bluetooth/main.conf Datei durch einfügen folgender Zeile:

root@magni:~# cat /etc/bluetooth/main.conf 

# Default adaper name
# %h - substituted for hostname
# %d - substituted for adapter id
# Defaults to 'BlueZ'
#Name = %h-%d

By вяоӣсо

I'm a computer kid of the 80', not born but raised in good old' germany, playin' games, makin' music & lovin' the blues. My career started at an age of 10 in a shopping mall where they sold computers too. It was the first time ever i've seen such an electronic monster and was fascinated instantly.
Later on i've learned my first programming skills (Basic) with a friend's Sinclair ZX 81. Yes, that one with the strange plastics keyboard. After that i got some experience with a Schneider CPC464 and the Commodore C64 until i fell in love with the Commodore Amiga, a machine with 4096 different colors which sounds nowadays to most like black'n'white tv's sounded to me at that time.
We played a lot of games like Decathlon, The Last V8, Impossible Mission, Elite, Mega'lo'Mania, Xenon, Speedball or Chaos Engine and ruined a lot of those Competition Pro Joysticks. My favourites were mostly games by Sensible Software, Bitmap Brothers or Rainbow Arts.
What i liked the most about that machine was it's AmigaOS, it's operating system was ahead of it's time. On this machine i learned my first assembler language (m68k) and the hardware internas.
I watched the decline of Commodore with a tear in my eye and at some point i went over to usual business and my first PC and learned it's beastly manners.

Leave a Reply