Skip to content

Alsamixer not found, no soundcards found #237

Open

Description

@Fleker

I'm trying to run Alsamixer in Bash on Windows but it seems like I'm running into an interesting problem with it and soundcards that I can't find the answer to.

First, I installed Alsa Utils
apt-get install -y alsa-utils
gpasswd -a root audio

Then I try to open it
root@localhost:/mnt/c/Users/guest1# alsamixer
cannot open mixer: No such file or directory
root@localhost:/mnt/c/Users/guest1# aplay -l
aplay: device_list:268: no soundcards found...

I can't seem to query the soundcard on my laptop. Has anyone ever run into this problem and could offer some advice?

Activity

  1. Fleker commented on Apr 21, 2016

    @Fleker
    Author

    I should note that one of the results I was investigating, http://askubuntu.com/questions/294807/ubuntu-12-04-alsamixer-not-found, referred to .asoundrc in my home directory and /etc/asound.conf. I understand the answer is for a slightly older version of Ubuntu, but neither of those files existed before or after reinstalling.

  2. benhillis commented on Apr 22, 2016

    @benhillis
    Member

    Currently we do not expose hardware to the Linux subsystem. I would suggest filing a request on our user voice page so we can prioritize this work.

    Thanks for trying out WSL!

  3. russalex commented on Apr 25, 2016

    @russalex
    Contributor

    Marking with the Feature tag to show this as a feature request.

  4. mobluse commented on May 2, 2016

    @mobluse

    I was trying to output MIDI-sound over the network from Bash on Ubuntu on Windows to a Raspberry Pi, but it fails:
    pi@LENOVO5:~$ aseqnet -v aeblapi3.lan
    ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
    snd_seq_open: No such file or directory
    [This still doesn't work in Build 14342 and Build 14352.]

    If this worked then that would be a way to produce sounds for games. One could also have the sound server in Windows.

    From one Pi with Lubuntu to another Pi with Raspbian Jessie this works:
    pi@aeblapi6:~$ aseqnet -v aeblapi3.lan &
    [1] 29002
    sequencer opened: 130:0
    ok.. connected

    pi@aeblapi6:$ aseqdump -l
    Port Client name Port name
    0:0 System Timer
    0:1 System Announce
    14:0 Midi Through Midi Through Port-0
    128:0 Net Client Network
    129:0 Net Client Network
    130:0 Net Client Network
    pi@aeblapi6:
    $ aplaymidi -p130:0 Words_FR_David.mid

  5. EricGT commented on Jan 27, 2017

    @EricGT

    FYI

    Also needed for MAME

    MAME installs, sudo apt-get install mame, but when starting it errors out with:

    ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory

  6. endolith commented on Dec 1, 2020

    @endolith

    Ben Hillis (@benhillis)

    This UserVoice instance is no longer available.

  7. mhelin commented on Dec 9, 2020

    @mhelin

    Please implement the /dev/snd/seq for WSL2 kernel, it also enables the use of RTP-Midi and related MIDI network protocols.

    https://fossies.org/linux/alsa-lib/src/seq/seq.c

  8. olawalejuwonm commented on Aug 8, 2023

    @olawalejuwonm

    Please is there any plan for supporting this?

  9. 7heMech commented on Sep 12, 2023

    @7heMech

    It would be great to have MIDI support.

  10. etxaleku commented on Feb 28, 2025

    @etxaleku

    Adding my voice for MIDI support in WSL. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions