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

Re: Alsa Install, VIA VT8235 and ASUS A7V8X-X

On Sun, Aug 10, 2003 at 08:43:10PM -0600, Daniel Reginald Hunt wrote:
> Re-installing Stable to make this on board sound work.

You shouldn't have to re-install the whole system..

> Installed the 2.4.21 kernel from kernel.org source
> Picked up everything from this apt-get.org backport source.
> deb http://prometheus.psico.unimib.it/debian/ .
> However this source also included a kernel source deb that I did not
> use. Perhaps that was a big mistake.

Not necessarily..  It is probably preferable, but not mandatory.. a
stock kernel should work OK, it just wouldn't have the Debian

> Things did not work right out of the box, using the 
> http://alsa.opensrc.org/index.php?page=via+VT8235
> instructions so I did these instructions.
> http://www.alsa-project.org/alsa-doc/doc-php/template.php3?company=VIA&card=&chip=via8235&module=via82xx
> Still no sound this is the on screen errors from running update-modules.
> dhunt:~# update-modules
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21/kernel/sound/isa/ad1816a/s
> nd-ad1816a-lib.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21/kernel/sound/isa/cs423x/sn
> d-cs4231-lib.o

Did you do a make clean on your alsa sources and recompile them with
the new kernel?  That is, if you are using alsa sources that you had
previously compiled..

Hmm.. looking at the location of the sound modules.. they should have
been in /lib/modules/2.4.21/alsa directory.  Could these be OSS modules?
It really looks like your system is looking in the wrong place for the
modules.. If this is the first time you have ever had alsa installed,
did you run update-modules?

I don't know what procedure you used to build your kernel, but I would
recommend building it with make-kpkg (kernel-package deb).  If you want
to use the 2.4.21 kernel, get the latest kernel-patch-debian-2.4.21
package and the alsa-source package.. and install them.  You can then
either use the kernel sources you have or you can download the
kernel-source-2.4.21-2.4.21.orig.tar.gz file and install it.  I think
the only difference is that the debian source tarball has some files
removed.. but otherwise identical..  Go into the top level of this
directory and then run the command:

  $PATCH_THE_KERNEL=YES fakeroot make-kpkg --append_to_version xxx
  kernel_image modules_image

You'll also need the fakeroot package installed.. Also substitute for
the xxx above whatever you wish..  I like using "-x.<myusername>" where
the x corresponds to the patch # in the kernel-patch..

This will generate your kernel-image and your alsa-modules packages
which you can install with dpkg..  This takes care of everything.. and
even configures your alsa stuff, too.

One note.. make-kpkg will run "make clean" before exiting..  What you
have here with your source package after the above procedure is a
patched source patched to the version of the kernel-patch-debian
package..  When a newer version (of 2.4.21, that is) comes out..

  $PATCH_THE_KERNEL=YES fakeroot make-kpkg clean module_clean

This will clean your alsa sources (necessary) and also reverse patch
your kernel source back to its original state..  Then install your new
kernel-patch package and recompile..

The later kernel-patch _might_ work on the patched kernel, but I'm not
sure, and each kernel-patch package has all the patches to bring an
original source up to the current level.

This explanation may not be perfect.. read all the docs for the packages
and you should be able to get this done..  It sounds a bit complicated,
but doing it the "Debian Way" eliminates a lot of manual configuration.

Reply to: