Skip to content

Instantly share code, notes, and snippets.

View vipul-sharma20's full-sized avatar
💭
doin werrk

Vipul vipul-sharma20

💭
doin werrk
View GitHub Profile
@vipul-sharma20
vipul-sharma20 / bluetooth-a2dp
Last active September 17, 2017 14:15 — forked from ragusa87/bluetooth-a2dp
Enable bluetooth A2DP on Raspberry-PI via pulseaudio.To install, edit /etc/udev/rules.d/99-input.rules and add the line:SUBSYSTEM=="bluetooth", RUN+="/usr/lib/udev/bluetooth"Then save this script as /usr/lib/udev/bluetooth and set it executable.Bluetooth devices must be linked first.
#!/bin/bash
# This script is called by udev when you link a bluetooth device with your computer
# It's called to add or remove the device from pulseaudio
#
#
# Output to this file
LOGFILE="/var/log/bluetooth_dev"
# Name of the local sink in this computer