You are not logged in.

#1 2010-08-12 19:37:09

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Advice on adding snd-aloop to the kernel PKGBUILD

Hi,

As I have an intel HD sound card I have to enable the snd-aloop module so I can record my soundcard's output.

I found this info out from a post here - https://bbs.archlinux.org/viewtopic.php?id=97598 - this led to  http://alsa.opensrc.org/index.php/Jack_ … ack_bridge

It works really well except the fact that I have to re-install the snd-aloop modules after every kernel upgrade I use Jack(mp) and snd-aloop (i rarely ever get any underruns..)

In the arch post 'kazuo' mentioned that I could possibly add the option to the kernel PGKBUILD.

(now I have to compile the alsa-driver from source to add the missing snd-aloop module)

Can anyone advise me where to add the options

./configure --with-cards=hda-intel,loopback,hrtimer --with-card-options=hda-codec-realtek --with-oss=yes --with-sequencer=yes

in the PKGBUILD ?

I compile my own kernel anyway (using PKGBUILD) so it would be easier if I could add the options to it.

Cheers

Last edited by yossarianuk (2010-08-12 22:56:14)

Offline

#2 2010-08-22 01:54:17

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: Advice on adding snd-aloop to the kernel PKGBUILD

on last kernel26-rt-ice upgrade there was a GUI for configuring the Kernel. Can snd-aloop be added there?

Offline

#3 2010-08-22 14:26:23

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Advice on adding snd-aloop to the kernel PKGBUILD

I'm the kernel26-rt-ice maintainer. If there was a gui it was a mistake (leftover stuff in the PKGBUILD from my own compiles). Basically, if you want it compiled into the kernel you may have to apply a patch if one exists (doesn't look like that will be needed but I didn't look too deeply into it).

Next, you need to make menuconfig (or xconfig or gconfig) and then select the correct kernel compile option.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2010-08-22 14:39:28

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: Advice on adding snd-aloop to the kernel PKGBUILD

ngoonee wrote:

I'm the kernel26-rt-ice maintainer. If there was a gui it was a mistake (leftover stuff in the PKGBUILD from my own compiles).

what poped up was a window like this: http://www.shorewall.net/images/kernel-2.6.16-1.png


now, I will try to understand the rest of what you said :-)

Offline

#5 2010-08-23 21:57:54

simongmzlj
Member
From: Canada
Registered: 2008-11-06
Posts: 135

Re: Advice on adding snd-aloop to the kernel PKGBUILD

Uncomment the "make menuconfig" line in the PKGCONFIG. Thats part of the kernel source.
EDIT: just realized how old this thread is, sorry.

Last edited by simongmzlj (2010-08-23 21:58:33)

Offline

#6 2010-08-23 23:06:39

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Advice on adding snd-aloop to the kernel PKGBUILD

yossarianuk wrote:

In the arch post 'kazuo' mentioned that I could possibly add the option to the kernel PGKBUILD.

After I posted it I greped the kernel sources and looks like that a option for adding snd-aloop is not present.

And now I did a better search and this pop up:

http://mailman.alsa-project.org/piperma … 30340.html

Takashi Iwai wrote:

Jaroslav Kysela wrote:
>
>      does anyone have any objection to move the loop module (snd-aloop)
> from the alsa-driver tree to the alsa-kernel tree (Linux 2.6 tree)?
>      I worked on these things last days:
[..]
Sounds good.  But, let's merge it into 2.6.37.

So, snd-aloop is not present at the kernel tree, and looks like its gonna be merged at the 2.6.37, because new features can't be merged now at the 2.6.36

@OP As you compile you on kernel, you can backport the work of Jaroslav Kysela and patch your kernel and follow the instructions of ngoonee.

Offline

#7 2010-08-27 05:34:37

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: Advice on adding snd-aloop to the kernel PKGBUILD

someone added this to AUR: http://aur.archlinux.org/packages.php?ID=40180
you have to edit the link though for alsa package

I changed source: "ftp://ftp.alsa-project.org/pub/driver/a … 23.tar.bz2"
and md5sum: "4be102f995bd4cc68e6e8178b0d19ec2"
and changed "CD" line to "cd alsa-driver-1.0.23"

EDIT: but it seams it is the wrong version

Last edited by capoeira (2010-08-27 06:10:37)

Offline

#8 2010-08-27 07:25:30

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: Advice on adding snd-aloop to the kernel PKGBUILD

ngoonee wrote:

I'm the kernel26-rt-ice maintainer.

are there no headers for this kernel?

Offline

#9 2010-08-27 09:24:43

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Advice on adding snd-aloop to the kernel PKGBUILD

capoeira wrote:
ngoonee wrote:

I'm the kernel26-rt-ice maintainer.

are there no headers for this kernel?

They're compiled in. AUR does not support split PKGBUILDs yet.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2010-08-28 12:26:24

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: Advice on adding snd-aloop to the kernel PKGBUILD

can someone make a small manual how to use this PKGBUILD?
it says:
"Once the modules have been moved to their final destination you must run the command "/sbin/depmod -a 2.6.35-ARCH "
did that and it worked like a charm UNTIL i rebooted and al my alsa-devices where gone. I reinstalled my kernel. What is the correct way?
do I have to move the modules by hand or what does "Once the modules have been moved" mean?

Last edited by capoeira (2010-08-28 12:29:47)

Offline

#11 2010-11-19 22:10:36

Oleg-A
Member
From: Russia, Mytishchi
Registered: 2008-07-05
Posts: 6

Re: Advice on adding snd-aloop to the kernel PKGBUILD

still having problems with snd-aloop installation...

CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/drivers/aloop.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/memory_wrapper.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/memalloc.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/sgbuf.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_native.o
  LD [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/drivers/snd-aloop.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_lib.o
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_timer.o
/tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_native.c: В функции 'snd_pcm_hw_params':
/tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_native.c:489:2: ошибка: неявная декларация функции 'pm_qos_remove_requirement'
/tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_native.c:492:3: ошибка: неявная декларация функции 'pm_qos_add_requirement'
  CC [M]  /tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_misc.o
make[3]: *** [/tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore/pcm_native.o] Ошибка 1
make[3]: *** Ожидание завершения заданий...
make[2]: *** [/tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23/acore] Ошибка 2
make[1]: *** [_module_/tmp/yaourt-tmp-oleg/aur-snd-aloop/src/alsa-driver-1.0.23] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [compile] Ошибка 2

Offline

#12 2010-11-19 22:37:09

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: Advice on adding snd-aloop to the kernel PKGBUILD

Oleg-A wrote:

still having problems with snd-aloop installation...

this PKGBUILD es nt working well since the alsa-version always changes.

use this guide: http://alsa.opensrc.org/index.php/Jack_ … ack_bridge

Offline

Board footer

Powered by FluxBB