# Camera added, sound lost

**URL:** <https://discourse.mopidy.com/t/camera-added-sound-lost/5927>\
**Category:** Help and support\
**Created:** [April 13, 2024, 3:22pm UTC](https://discourse.mopidy.com/t/camera-added-sound-lost/5927 "2024-04-13T15:22:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![viktak](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@viktak](https://discourse.mopidy.com/u/viktak)\
**Post date:** [April 13, 2024, 3:22pm UTC](https://discourse.mopidy.com/t/camera-added-sound-lost/5927/1 "2024-04-13T15:22:35Z")

</div>

Dear all,  
I have been using Mopidy successfully for several months now after a I got it working in Docker, see this post:

> [@Can't get sound and no streams working in a docker container](https://discourse.mopidy.com/t/cant-get-sound-and-no-streams-working-in-a-docker-container/5778):
>
> Dear all, I am trying to convert my mopidy installation to a containerized one on the same hardware (where it was working just fine). The mopidy.conf file was brought over from the working instance, and adjusted for the current setup, so mopidy picks up my library and playlists correctly. Everything seems to work as expected except for 2 things: I cannot get sound at all. When I try to play any track, I get this in the logs: mopidy | AL lib: (EE) ALCplaybackAlsa\_open: Could not open playb…

Now, I added a webcam to the physical box and now I don’t have sound again. Mopidy config and everything else is the same as in this previous post. The only change is the addition of a webcam (which is working perfectly).  
Here is the current audio hardware:

```bash
mc@mcoffice:~/mopidy$ aplay -l
****List of PLAYBACK Hardware Devices****
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC671 Analog [ALC671 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

```

```bash
mc@mcoffice:~/mopidy$ cat /proc/asound/cards
 0 [C920]: USB-Audio - HD Pro Webcam C920
                      HD Pro Webcam C920 at usb-0000:00:12.0-1.1, high speed
 1 [HDMI]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb64000 irq 35
 2 [Generic]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb60000 irq 16

```

```bash
mc@mcoffice:~/mopidy$ ll /dev/snd/
total 0
drwxr-xr-x 4 root root 340 Apr 13 14:28 .
drwxr-xr-x 19 root root 3360 Apr 13 14:28 ..
drwxr-xr-x 2 root root 60 Apr 13 16:56 by-id
drwxr-xr-x 2 root root 100 Apr 13 16:56 by-path
crw-rw---- 1 root audio 116, 7 Apr 13 16:56 controlC0
crw-rw---- 1 root audio 116, 5 Apr 13 16:56 controlC1
crw-rw---- 1 root audio 116, 12 Apr 13 16:56 controlC2
crw-rw---- 1 root audio 116, 4 Apr 13 16:56 hwC1D0
crw-rw---- 1 root audio 116, 11 Apr 13 16:56 hwC2D2
crw-rw---- 1 root audio 116, 6 Apr 13 16:56 pcmC0D0c
crw-rw---- 1 root audio 116, 2 Apr 13 16:56 pcmC1D3p
crw-rw---- 1 root audio 116, 3 Apr 13 16:56 pcmC1D7p
crw-rw---- 1 root audio 116, 9 Apr 13 16:56 pcmC2D0c
crw-rw---- 1 root audio 116, 8 Apr 13 17:15 pcmC2D0p
crw-rw---- 1 root audio 116, 10 Apr 13 16:56 pcmC2D2c
crw-rw---- 1 root audio 116, 1 Apr 13 14:28 seq
crw-rw---- 1 root audio 116, 33 Apr 13 16:56 timer

```

In the docker-compose.yaml I have ` devices: - /dev/snd:/dev/snd`.

`/etc/modprobe.d/default.conf`:

```auto
options snd-hda-intel index=1

```

I am not a linux expert…  
Any idea what/how to modify to get it working?

Thanks in advance for any pointers!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [October 13, 2024, 3:22am UTC](https://discourse.mopidy.com/t/camera-added-sound-lost/5927/2 "2024-10-13T03:22:53Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
