You are not logged in.
Hi
On my hda-intel soundcard I have no mixing option to record my soundcard's output.
I got round this by using the snd-aloop module as advised - https://bbs.archlinux.org/viewtopic.php?id=97598
To install the snd-aloop module you have to get the alsa-driver source file and compile with
./configure --with-cards=loopback
make
This worked fine on kernel 2.6.32/33/34
But on the latest kernel (.35) I get an error:-
--------------
make -C /lib/modules/2.6.35-ARCH/build SUBDIRS=/usr/src/alsa-driver-1.0.23 CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH'
CC [M] /usr/src/alsa-driver-1.0.23/acore/memory_wrapper.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/memalloc.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/sgbuf.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/pcm.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/pcm_native.o
/usr/src/alsa-driver-1.0.23/acore/pcm_native.c: In function 'snd_pcm_hw_params':
/usr/src/alsa-driver-1.0.23/acore/pcm_native.c:489:2: error: implicit declaration of function 'pm_qos_remove_requirement'
/usr/src/alsa-driver-1.0.23/acore/pcm_native.c:492:3: error: implicit declaration of function 'pm_qos_add_requirement'
make[3]: *** [/usr/src/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/usr/src/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [compile] Error 2
--------------
I am using alsa-driiver 1.0.23 - does anyone have any hints ?
Thanks
Last edited by yossarianuk (2010-08-20 23:14:01)
Offline
Hi,
you could add
static inline void remove_acceptable_latency(char *name)
{
}
static inline void set_acceptable_latency(char *name, s32 value)
{
}
to the beginning of include/pm_qos_params_compat.h
#include <pm_qos_params_compat.h>
to the includes of acore/pcm_native.c
and touch /include/linux/latency.h
It compiles, but I can't say if it works, seems to be broken;)
Real fixes have been commited to git (git clone git://git.alsa-project.org/alsa-driver.git alsa-driver)
Last edited by DIDI2002 (2010-08-20 16:46:55)
Offline
Hi.
Thank you for the response.
I posted in the alsa-user mailing list also, the updated alsa-driver works fine.
For more info see :-
http://www.mail-archive.com/alsa-user@l … 26832.html
Cheers
Offline
you could add
static inline void remove_acceptable_latency(char *name)
{
}
static inline void set_acceptable_latency(char *name, s32 value)
{
}
to the beginning of include/pm_qos_params_compat.h
#include <pm_qos_params_compat.h>
to the includes of acore/pcm_native.c
and touch /include/linux/latency.h
This was solve my alsa compile with linuxant alsa patch which needed for hsf modem driver. Patch does not apply the git driver. Works for 3 hours. I think my problem is solved. only problem is linuxant patch's own high cpu usage bug. now its too little too. No more use of 2.6.34 for faxing. Thanks.
Offline