Skip to contentSkip to conversation

How to compile kernel with adding new alsa driver?

DISCUSSION boku 2 participants 3 messages Feb 14, 2006 – Feb 17, 2006

lore
Share & tools
lore

boku

author
#0 lore raw

Dear all,
How to compile linux kernel with adding my driver into alsa? If my
platform is ARM's Integrator, do I need to set any configs before compiling for my new alsa driver? Or where I can find such information? Thank you very much~

Best Regards,
Boku

#1 lore raw
Quoted 2 lines · boku

Dear all,
How to compile linux kernel with adding my driver into alsa?

Do you build alsa inside or outside the kernel structure? If it's a part of the normal kernel build, you only need entries in Kconfig and Makefile in the 'arm' subdirectory.
If you're building alsa outside the kernel, more may be needed. See below.

Quoted 4 lines

If my
platform is ARM's Integrator, do I need to set any configs before compiling for my new alsa driver? Or where I can find such information? Thank you very much~

Sorry, I am not familiar with the ARM Integrator platform. What cpu does it use?
If is's not supported yet the configure script would need some changes. No problem if you know you're autoconf stuff. I didn't, so the experts did this part for me.

I do not recall any documentation on alsa's platform support, but then I would not expect anything. It's standard autoconf stuff. There is the excellent "Writing an alsa driver" and more at
http://www.alsa-project.org/documentation.php
See chapter 15 especially.

Signature · 8 lines
Martin


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
author
#2 lore raw

Thanks, Martin,
Could I ask you another Q? I studied pcm's functions and found
xxx_pcm_trigger()?
What kind of fuction it provides in general? Thanks a lot!~

Best Regards,

Quoted 45 lines · Martin Habets
Quoted 2 lines · boku

Dear all,
How to compile linux kernel with adding my driver into alsa?

Do you build alsa inside or outside the kernel structure? If it's a part of the normal kernel build, you only need entries in Kconfig and Makefile in the 'arm' subdirectory.
If you're building alsa outside the kernel, more may be needed. See below.

Quoted 2 lines

If my
platform is ARM's Integrator, do I need to set any configs before

compiling

Quoted 1 line

for my new alsa driver? Or where I can find such information? Thank you

very

Quoted 1 line

much~

Sorry, I am not familiar with the ARM Integrator platform. What cpu does it use?
If is's not supported yet the configure script would need some changes. No problem if you know you're autoconf stuff. I didn't, so the experts did this part for me.

I do not recall any documentation on alsa's platform support, but then I would not expect anything. It's standard autoconf stuff. There is the excellent "Writing an alsa driver" and more at
http://www.alsa-project.org/documentation.php
See chapter 15 especially.

--
Martin

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel