summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2018-07-01 18:06:24 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2018-07-01 18:06:24 +0200
commit6408a81ed705af11aeacf813118cb15e416dfaa0 (patch)
tree67b6c037d67e66bca0dd01118ee25e0f411b5aef
parent71ef5dfdec5c83bdc0e50a37801b9ca2c0a1add8 (diff)
Added ALSA files for laptop, including bluetooth support
-rw-r--r--.alsa/x1-bluetooth21
-rw-r--r--.alsa/x1-hdmi7
-rw-r--r--.alsa/x1-internal14
3 files changed, 42 insertions, 0 deletions
diff --git a/.alsa/x1-bluetooth b/.alsa/x1-bluetooth
new file mode 100644
index 0000000..51fb3f4
--- /dev/null
+++ b/.alsa/x1-bluetooth
@@ -0,0 +1,21 @@
+pcm.btspeaker {
+ type plug
+ slave {
+ pcm {
+ type bluealsa
+ interface hci0
+ device 00:11:67:01:1C:9B
+ profile "a2dp"
+ }
+ }
+ hint {
+ show on
+ description "BT Headset"
+ }
+}
+
+pcm.!default {
+ type plug
+ slave.pcm "btspeaker"
+}
+
diff --git a/.alsa/x1-hdmi b/.alsa/x1-hdmi
new file mode 100644
index 0000000..822f344
--- /dev/null
+++ b/.alsa/x1-hdmi
@@ -0,0 +1,7 @@
+# map default output to hardware card 0, device 7 (analog)
+pcm.!default {
+ type hw
+ card 0
+ device 7
+}
+
diff --git a/.alsa/x1-internal b/.alsa/x1-internal
new file mode 100644
index 0000000..abc6a85
--- /dev/null
+++ b/.alsa/x1-internal
@@ -0,0 +1,14 @@
+# map default output to hardware card 0, device 0 (analog)
+pcm.!default {
+ type hw
+ card 0
+ device 0
+}
+
+# same for the controls (alsamixer)
+ctl.!default {
+ type hw
+ card 0
+ device 0
+}
+