Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alsamixer not found, no soundcards found #237

Open
Fleker opened this issue Apr 21, 2016 · 9 comments
Open

Alsamixer not found, no soundcards found #237

Fleker opened this issue Apr 21, 2016 · 9 comments
Labels

Comments

@Fleker
Copy link

Fleker commented Apr 21, 2016

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?

@Fleker
Copy link
Author

Fleker commented Apr 21, 2016

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.

@benhillis
Copy link
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!

@russalex
Copy link
Contributor

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

@mobluse
Copy link

mobluse commented May 2, 2016

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

@EricGT
Copy link

EricGT commented Jan 27, 2017

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

@endolith
Copy link

endolith commented Dec 1, 2020

@benhillis

This UserVoice instance is no longer available.

@mhelin
Copy link

mhelin commented Dec 9, 2020

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

@olawalejuwonm
Copy link

Please is there any plan for supporting this?

@7heMech
Copy link

7heMech commented Sep 12, 2023

It would be great to have MIDI support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants