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