All of lore.kernel.org
 help / color / mirror / Atom feed
* Thinkpad 600E + alsa 0.9.0rc3/CVS, NULL pointer dereference
@ 2002-09-20 20:45 Zinx Verituse
  2002-09-25 15:51 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Zinx Verituse @ 2002-09-20 20:45 UTC (permalink / raw)
  To: alsa-devel

I was getting NULL pointer derefs with ALSA 0.9.0rc3 and CVS, and my
Thinkpad 600E..

After much trying of different versions, and a bit of poking in to
the source, I figured out it was because ALSA is not including
linux/autoconf.h at all, so it's not getting the CONFIG_PM define,
and thus not filling in some _much needed_ function pointers.

Simple [verified] solution is to #include "linux/autoconf.h"

I should note that I'm using Linux 2.4.x, and compiling ALSA
separately (is there any way to patch 2.4.x with ALSA?)

 -and now for something completely different-

I also noticed that ALSA requires the kernel's soundcore.o in
this setup, which does not create proper devfs devices (on my
desktop, with two sound cards, it tries to create lots and lots
of devices with the same name -- bad mojo.)

Editing alsa-kernel/core/oss/Makefile,
alsa-kernel/core/oss/sound_oss.c, and soft linking a few files
provides a workaround by using ALSA's soundcore.o, but it's
far from elegant..

Is there a reason I shouldn't be using ALSA's soundcore.o with
2.4.x?  and are there patches for Linux 2.4.x's soundcore.o to
make it create proper devfs names with ALSA?


-- 
Zinx Verituse


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-25 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 20:45 Thinkpad 600E + alsa 0.9.0rc3/CVS, NULL pointer dereference Zinx Verituse
2002-09-25 15:51 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.