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

Ensoniq AudioPCI (es1371) emulation doesn't work with Linux guest #595

Closed
FreeFull opened this issue Feb 16, 2020 · 6 comments · Fixed by #1580
Closed

Ensoniq AudioPCI (es1371) emulation doesn't work with Linux guest #595

FreeFull opened this issue Feb 16, 2020 · 6 comments · Fixed by #1580
Labels
Milestone

Comments

@FreeFull
Copy link

When trying to use the Ensoniq AudioPCI (es1371) sound card with a Linux guest, the following error appears in dmesg:

snd_ens1371 0000:00:12.0: AC'97 0 access is not valid [0x0], removing mixer.
snd_ens1371: probe of 0000:00:12.0 failed with error -5

Looking it up on google, it seems like similar problems have been hit with PCem's es1371 emulation, so it's probably a shared inaccuracy/incompleteness.

@FreeFull FreeFull added the bug label Feb 16, 2020
@OBattler
Copy link
Collaborator

OBattler commented Jun 6, 2020

This appears to be the AC'97 part of the ES1371 being poorly emulated, something which is indeed shared with PCem.

@OBattler OBattler added this to the 86Box v2.20 milestone Jun 17, 2020
@vadosnaprimer
Copy link

vadosnaprimer commented Sep 17, 2020

If this is resolved, it will be possible to run Java 8 (probably higher too) apps in a Linux guest. They already run, just without sound.

@FreeFull
Copy link
Author

FreeFull commented Sep 26, 2020

@vadosnaprimer As an aside, it's already possible to have sound in Linux guests using a sound blaster 16. The trick is, you have to put options snd_sb16 isapnp=0 inside /etc/modprobe.conf or /etc/modprobe.d/99-somefilename.conf

@vadosnaprimer
Copy link

Thanks!

@OBattler OBattler modified the milestones: 86Box v4.0, 86Box v3.0 Jul 16, 2021
@OBattler
Copy link
Collaborator

Changed the milestone since RichardG is currently in the process of fixing this.

@vadosnaprimer
Copy link

vadosnaprimer commented Jul 23, 2023

@vadosnaprimer As an aside, it's already possible to have sound in Linux guests using a sound blaster 16. The trick is, you have to put options snd_sb16 isapnp=0 inside /etc/modprobe.conf or /etc/modprobe.d/99-somefilename.conf

For the record, this let me find the solution that made sound work on linux guest (lubuntu 10).

  1. Add following line to the /etc/modules file. This will make the driver to load at boot time.
snd-sb16
  1. Add following line to the /etc/modprobe.d/alsa_local and /etc/modutils/alsa_local files.
options snd-sb16 isapnp=0 port=0x220 irq=5 dma8=1 dma16=5 mpu_port=0x330

(I added this to /etc/modprobe.d/alsa-base.conf instead, /etc/modutils doesn't exist)
alsamixer started displaying the sliders, aplay -l lists the card now. mplayer can play mp3 just fine.

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

Successfully merging a pull request may close this issue.

3 participants