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

Re: Capture with SoundBlaster Live Usb External and snd_usb_audio alsa module



On Thu, 2006-12-07 at 18:24 +0000, Martin Guy wrote:
> 2006/12/6, david <slugplayer@free.fr>:
> > Hi
> > I use this sound card, SoundBlaster Live Usb External, on an ARM
> > architecture based system (Linksys NSLU2).
> > The playback works fine.
> > But the capture does not work (Microphone input).
> 
> There is/was a gcc ARM optimisation bug that stopped ALSA working in
> ARM kernels with gcc-4.1. Here are two workarounds:
> http://gcc.gnu.org/ml/gcc-bugs/2006-06/msg01179.html
> I didn't see a patch for gcc yet...
> 
> > My english is so bad...
> Your English is fine
> 
>     M
> 
> 

Hi
I tried the two workarounds :

1 - Compile kernels sound system as modules and compile these modules
with -O1 instead of default -Os or -O2 (e.g. by changing main Makefile).
I modified the makefile :
   ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
   CFLAGS          += -O1
   else
   CFLAGS          += -O1
   endif

2 - patch from Fengwei Yin
adding the line
mb();
before
snd_mask_intersect(mask, v);
in the file pcm_params.h

But I still have the same problem.
I think i did a mistake....

Otherwise, I will wait the next release of gcc or/and the kernel...

Sorry for the previous incomplete mail to the mailinglist
(a problem with my keyboard ;-) )

Thanks

David.

-- 
http://slugplayer.free.fr





Reply to: