Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315697 - media-sound/k4guitune 1.1.0 Unable to open audio device /dev/dsp and crashes
Summary: media-sound/k4guitune 1.1.0 Unable to open audio device /dev/dsp and crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 08:36 UTC by Stephan Litterst
Modified: 2010-04-17 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Litterst 2010-04-17 08:36:28 UTC
starting k4guitune gives me following:

Unable to open audio device /dev/dsp: Datei oder Verzeichnis nicht gefunden
KCrash: Application 'k4guitune' crashing...
sock_file=/root/.kde4/socket-gen2/kdeinit4__0
Warning: connect() failed: : Datei oder Verzeichnis nicht gefunden
KCrash cannot reach kdeinit, launching directly.

[1]+  Angehalten              k4guitune


Reproducible: Always

Steps to Reproduce:
1. start k4guitune
2.
3.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-17 08:52:19 UTC
Please set this in your kernel:

CONFIG_SND_PCM_OSS:
To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
Many programs still use the OSS API, so say Y.

Location: -> Device Drivers -> Sound card support (SOUND [=y]) -> Advanced Linux Sound Architecture (SND [=y])  
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-17 11:18:41 UTC
Yes, k4guitune is using OSS instead of ALSA.   And I'm reclutant in adding linux-info.eclass based config check for CONFIG_SND_PCM_OSS because far as I know you might as well be compiling alsa-drivers outside of kernel itself which would just return false positive.

So... Feel free to close this as WORKSFORME after enabling OSS in kernel and testing it works.
Comment 3 Stephan Litterst 2010-04-17 16:48:37 UTC
Yes, it works!
Enabling OSS-emulation in the ALSA-section of the kernel did the job.
(Enabling the old depreceated oss in the kernel was the wrong way I did before...)