mirror of
https://github.com/ben-grande/qusal.git
synced 2025-02-03 02:39:57 -05:00
feat: seamless audio integration with bluetooth
This commit is contained in:
parent
b95cc6da43
commit
4ef0d05279
@ -10,6 +10,8 @@ Audio operations in Qubes OS.
|
|||||||
* [Audio control](#audio-control)
|
* [Audio control](#audio-control)
|
||||||
* [Client started before it's AudioVM](#client-started-before-its-audiovm)
|
* [Client started before it's AudioVM](#client-started-before-its-audiovm)
|
||||||
* [Client turned off with a device attached](#client-turned-off-with-a-device-attached)
|
* [Client turned off with a device attached](#client-turned-off-with-a-device-attached)
|
||||||
|
* [How to use USB devices, Bluetooth, Camera and Microphone](#how-to-use-usb-devices-bluetooth-camera-and-microphone)
|
||||||
|
* [How to attach Bluetooth to the AudioVM persistenly](#how-to-attach-bluetooth-to-the-audiovm-persistenly)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
@ -36,7 +38,7 @@ qubesctl --skip-dom0 --targets=dvm-sys-audio state.apply sys-audio.configure-dvm
|
|||||||
```
|
```
|
||||||
<!-- pkg:end:post-install -->
|
<!-- pkg:end:post-install -->
|
||||||
|
|
||||||
If you need Bluetooth support:
|
If you need Bluetooth support, install the dependencies:
|
||||||
```sh
|
```sh
|
||||||
qubesctl --skip-dom0 --targets=tpl-sys-audio state.apply sys-audio.install-bluetooth
|
qubesctl --skip-dom0 --targets=tpl-sys-audio state.apply sys-audio.install-bluetooth
|
||||||
```
|
```
|
||||||
@ -87,3 +89,30 @@ To use these devices, you have to attach them to their respective qubes:
|
|||||||
|
|
||||||
- audio server: Bluetooth; and
|
- audio server: Bluetooth; and
|
||||||
- audio client: cameras, speakers, microphones.
|
- audio client: cameras, speakers, microphones.
|
||||||
|
|
||||||
|
### How to attach Bluetooth to the AudioVM persistenly
|
||||||
|
|
||||||
|
If using Bluetooth, you probably want to have it persistently attached to the
|
||||||
|
AudioVM. Bluetooth devices are held by the USB stack, thus you need to attach
|
||||||
|
from you `(disp-)sys-usb` to the `disp-sys-audio`.
|
||||||
|
|
||||||
|
First, start the qube holding the USB stack:
|
||||||
|
```sh
|
||||||
|
qvm-start disp-sys-usb
|
||||||
|
```
|
||||||
|
|
||||||
|
Identify you Bluetooth controller:
|
||||||
|
```
|
||||||
|
qvm-usb list disp-sys-usb
|
||||||
|
```
|
||||||
|
|
||||||
|
If you haven't identified the device, run `lsusb` in the USB stack server:
|
||||||
|
```sh
|
||||||
|
qvm-run -p disp-sys-usb -- lsusb
|
||||||
|
```
|
||||||
|
|
||||||
|
Permanently attach the Bluetooth controller to the AudioVM (change `DEVID` for
|
||||||
|
the one you identified above):
|
||||||
|
```sh
|
||||||
|
qvm-usb attach --persistent disp-sys-audio disp-sys-usb:DEVID
|
||||||
|
```
|
||||||
|
@ -60,6 +60,7 @@ features:
|
|||||||
- enable:
|
- enable:
|
||||||
- servicevm
|
- servicevm
|
||||||
- service.audiovm
|
- service.audiovm
|
||||||
|
- service.blueman
|
||||||
- disable:
|
- disable:
|
||||||
- service.cups
|
- service.cups
|
||||||
- service.cups-browsed
|
- service.cups-browsed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user