Thank you very much Dev. I am using Linux 2.6.35 (in Android Gingerbread). I understand it is OSS V3. From your answer I understand I do need to include soundcore.c and oss/soundcard.c both in the build. Is that right?
I have problem with the later one. I do not have any macro in menuconfig that would include oss/soundcard.c in the kernel build. Can you help me with that? Also why do I need the soundcard.c. What does it do that is not in soundcore.c? -sathiya -----Original Message----- From: Dev Mazumdar [mailto:devmazum...@gmail.com] On Behalf Of Dev Mazumdar Sent: Wednesday, October 26, 2011 11:19 AM To: Discussion mailing list for developers of OSS Cc: Sathiya Krithikaivasan Subject: Re: [oss-devel] OSS driver for OMAP4 Panda Hi Sathya, If you are developing an OSSv4 driver you should start from the OSSv4 tree. The kernel/sound/oss tree is the kernel OSSv3 driver and for that yes, you do need souncard.c and sound_core.c to be compiled and linked with your driver.....it's best you try to link all the .o files statically. regards Dev Mazumdar Sathiya Krithikaivasan wrote: > > Hi > > I am trying to create a OSS audio driver for a codec interfaced to > OMAP4 on Pandaboard. My driver module is never initialized though I > have made sure it is compiled in the kernel. > > Can anyone help me answer the following questions? > > 1.Do I need to have soundcard.c compiled in under sound/oss for any > OSS driver to work? > > 2.If the answer is yes for 1, The Makefile under the sound/oss lists > the soundcard.o under sound-objs. How can I enabled in menuconfig to > include these object files? > > I am really stuck that I only see sound_core.c init call. But not the > actual oss_init in the soundcard.c. Please help. > > - Sathiya > > || Sathiya Krithikaivasan || Senior Systems Application Engineer || > Audience Inc. || > > > > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel -- ---------------------------------------- 4Front Technologies, Inc. 9826 Beverlywood Street Los Angeles, CA 90064 Tel: (310) 202 8530 Fax: (310) 202 0496 ---------------------------------------- _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel