« Return to Thread: Patches

Re: Re: Patches

by Miark-3 :: Rate this Message:

Reply to Author | View in Thread

On Sat, 13 Jun 2009 15:48:26 +0300, Thomas wrote:

> Miark skrev:
> > Does anybody here know I might implement an ALSA patch in
> > 2009.1 that was already created for me?
> >
>
> Install kernel source, apply the patch, build the kernel,
> install it & reboot...
>
> What kind of patch is it ? from where ?
> Isn't alsa working for you in 2009.1 ?
>
> If so, open a bugreport, attach the patch, and add me in cc of
> the bug...

Hi Thomas,

It's an ALSA patch that I got from Clemens Ladisch, an ALSA
developer.

There's nothing wrong with my ALSA--the problem is with a XLR-
to-USB adapter that allows you to record with a phantom-powered
studio microphone. It has a screwy USB descriptor that causes
recording apps to record stereo data during a mono recording.
Windows seems to disregard the descriptor so the device works
there, but ALSA obeys it strictly so recordings in Audacity,
etc. don't turn out correctly.

So anyway, after applying the patch, I run into trouble. I was
told to go into the linux directory, then...

  # make mrproper
  # make
  # make modules_install

But I get different errors, depending on where I cd. If I cd
into "linux", then make spits out this error:

  *** You have not yet configured your kernel!
  *** (missing kernel .config file)
  ***
  *** Please run some configurator (e.g. "make oldconfig" or
  *** "make menuconfig" or "make xconfig").
  ***
  make[2]: *** [silentoldconfig] Error 1
  make[1]: *** [silentoldconfig] Error 2
  make: *** No rule to make target `include/config/auto.conf',
             needed by `include/config/kernel.release'.  Stop.

But I'm running linux-2.6.29.3-desktop, so if cd into
/usr/scr/linux-2.6.29.3-desktop-1mnb instead, then make gives me
different errors:

  make[2]: Nothing to be done for `silentoldconfig'.
  make[1]: *** No rule to make target `init/main.o', needed by
     `init/built-in.o'.  Stop.
  make: *** [init] Error 2

So, first, I'm not sure which directory I should be in when I do
the make stuff; and second, I'm not sure how to deal with their
respective errors.

Miark

 « Return to Thread: Patches