[PD] debian, pd and alsa

Frank Barknecht barknech at ph-cip.uni-koeln.de
Sun Jun 16 22:43:04 CEST 2002


Hi,
Orm Finnendahl hat gesagt: // Orm Finnendahl wrote:

> > Maybe you didn't load the oss compatibility modules?  Could you send
> > your alsa-modules configuration and the output of "lsmod | grep snd"?
> 
> That might be it. Here's my output:
> 
> grisey:/etc/init.d# lsmod | grep snd
> snd-ali5451            11660   0 
> snd-pcm                57120   0  [snd-ali5451]
> snd-timer              11176   0  [snd-pcm]
> snd-ac97-codec         24804   0  [snd-ali5451]
> snd                    30860   0  [snd-ali5451 snd-pcm snd-timer snd-ac97-codec]
> soundcore               3556   0  [snd]
Yes, there are no OSS-compatibility module. It should have these as
well at least: snd-pcm-oss snd-mixer-oss snd-rawmidi. You could try
manually modprobing them, but better put them in your alsa-modules
configuration under /etc/modutils/ like:

  alias sound-slot-0 snd-card-0
  alias sound-service-0-0 snd-mixer-oss
  alias sound-service-0-1 snd-seq-oss
  alias sound-service-0-3 snd-pcm-oss
  alias sound-service-0-8 snd-seq-oss
  alias sound-service-0-12 snd-pcm-oss

then run "update-modutils"

> With this combination, asound plays o.k. and alsamixer works.

This is only using alsa itself. With the oss-modules loaded, OSS apps
should work as well. 

> BTW, in my first mail I didn't realize it used an old pd version
> installed by Debian (0.34).
> With the new one (after deinstalling the old one), I get the
> following error:
> 
> couldn't open MIDI output device 1
> opened 0 MIDI input device(s) and 0 MIDI output device(s).
> /dev/dsp (read/write): No such device
> (now will try write-only...)
> /dev/dsp (writeonly): No such device
> error: OSS: SNDCTL_DSP_CHANNELS failed /dev/dsp
> audio I/O stuck... closing audio

See above, you seem to miss the OSS-compatibility modules.  Are you
using ALSA 0.5 or 0.9? If 0.9 you could try my unofficial 0.35 Debian
packages on footils.org. It's still test17, I'll put up
the latest version the next days.

ciao,
-- 
 Frank Barknecht                               _ ______footils.org__



More information about the Pd-list mailing list