[kde-linux] udev doesn't create device (no sound)

Jim Philips jimmyc at speedfactory.net
Wed Jul 27 22:23:39 UTC 2005


On Wednesday 27 July 2005 09:57 pm, Jim Philips wrote:
> On Thursday 28 July 2005 01:17 am, Jessica Hall wrote:
> > On Wed, 27 Jul 2005 17:50, Jim Philips wrote:
> > > I'm running Slackware current with KDE 3.4.1. I can't start artsd,
> > > because when I try, I get this error:
> > >
> > > Error while initializing the sound driver:
> > > device /dev/dsp can't be opened (No such file or directory)
> > >
> > > The rules for udev appear to have a rule for creating the device here:
> > >
> > > KERNEL="dsp",                   NAME="sound/%k", SYMLINK="%k",
> > > GROUP="audio", MODE="0662"
> > >
> > > But nothing id getting created at all, so I have no sound devices and
> > > therefore no sound. Is there any help on dealing with this? I googled
> > > all over the place and came up with a hodgepodge of answers that don't
> > > relate to ny system at all.
> >
> > Slackware current uses ALSA and unless you're loaded the OSS emulation
> > drivers you wont get a /dev/dsp at all. It's far better to tell KDE to
> > use ALSA instead - go to Kcontrol -> Sound & Multimedia -> Sound System
> > and change the audio device on the 'Hardware' tab to read 'ALSA'
>
> That definitely makes the messages about /dev/dsp go away. Then I get this:
>
> device: default can't be opened for playback (no such file or directory)
>
> And if I run alsamixer, I get:
>
> alsamixer: function snd_ctl_open failed for default: No such file or
> directory 

Okay. I figured it out. I looked through dmesg and found messages about module 
incompaibilities. I rebuilt modules and re-installed them and everything 
works now. 





More information about the kde-linux mailing list