Jeff Abrahamson on 23 Aug 2006 23:06:14 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] when /dev/dsp goes away


On Wed, Aug 23, 2006 at 11:46:55PM +0100, Stephen Gran wrote:
>   [31 lines, 220 words, 1743 characters]  Top characters: -e0dsnot
> 
> On Wed, Aug 23, 2006 at 06:17:36PM -0400, Jeff Abrahamson said:
> > A machine on which sound used to work now has no /dev/dsp.  (Needless
> > to say, I can't play sound.)  The machine still has the same sound
> > card.
> > And a slew of sound-related stuff has loaded:
> > 
> >     kypton:~ $ grep snd /proc/modules 
> >     snd_emu10k1 97156 1 - Live 0xe09f0000
> >     snd_rawmidi 22240 1 snd_emu10k1, Live 0xe09cc000
> >     snd_seq_device 7916 2 snd_emu10k1,snd_rawmidi, Live 0xe0964000
> >     snd_ac97_codec 82464 1 snd_emu10k1, Live 0xe09a1000
> >     snd_pcm 77576 2 snd_emu10k1,snd_ac97_codec, Live 0xe09b8000
> >     snd_timer 21316 2 snd_emu10k1,snd_pcm, Live 0xe096c000
> >     snd_ac97_bus 2048 1 snd_ac97_codec, Live 0xe08c9000
> >     snd_page_alloc 9928 2 snd_emu10k1,snd_pcm, Live 0xe08cd000
> >     snd_util_mem 4256 1 snd_emu10k1, Live 0xe0951000
> >     snd_hwdep 8384 1 snd_emu10k1, Live 0xe08d5000
> >     snd 48420 9 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep, Live 0xe0937000
> >     soundcore 8928 2 sound,snd, Live 0xe08d1000
> >     jeff@krypton:~ $ 
> 
> I don't see snd_pcm_oss or snd_mixer_oss on that list.  I think that the
> way all this works in recent kernels is that the module loading creates
> the potential for the device to exist, and then udev scurries off and
> creates the device node.  No module, not potential, no node.

Reasonable sounding of the kernel.  Now they're inserted:

    jeff@krypton:~ $ grep snd /proc/modules 
    snd_pcm_oss 45536 0 - Live 0xe0cba000
    snd_mixer_oss 16448 1 snd_pcm_oss, Live 0xe0bc3000
    snd_emu10k1 97156 1 - Live 0xe09f0000
    snd_rawmidi 22240 1 snd_emu10k1, Live 0xe09cc000
    snd_seq_device 7916 2 snd_emu10k1,snd_rawmidi, Live 0xe0964000
    snd_ac97_codec 82464 1 snd_emu10k1, Live 0xe09a1000
    snd_pcm 77576 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec, Live 0xe09b8000
    snd_timer 21316 2 snd_emu10k1,snd_pcm, Live 0xe096c000
    snd_ac97_bus 2048 1 snd_ac97_codec, Live 0xe08c9000
    snd_page_alloc 9928 2 snd_emu10k1,snd_pcm, Live 0xe08cd000
    snd_util_mem 4256 1 snd_emu10k1, Live 0xe0951000
    snd_hwdep 8384 1 snd_emu10k1, Live 0xe08d5000
    snd 48420 11 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep, Live 0xe0937000
    soundcore 8928 2 sound,snd, Live 0xe08d1000
    jeff@krypton:~ $ 

I manually started esd, since no sound daemon seemed to be running,
and sound still didn't work.  Before modprobing, starting esd would
have resulted in a "/dev/dsp does not exist" error, but now it seems
fine.  But I still don't get sound playing, say from mpg123.

Hmm, this is odd....

-- 
 Jeff

 Jeff Abrahamson  <http://jeff.purple.com/>          +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug