Hi Chandra, Please keep the mailing list in CC. This way more people can help you out.
According to google: http://www.google.com/codesearch/p?hl=nl#kC71B_OekFc/sound/oss/davinci-audio.c&q=audio_register_codec&exact_package=git://github.com/neuros/linux-davinci-2.6.git&l=401 Code: /* We dont handle multiple codecs now */ if (audio_state.hw_init) { DPRINTK(" Codec Already registered\n"); return -EPERM; } /* Grab the dma Callback */ audio_dma_callback = audio_get_dma_callback(); if (!audio_dma_callback) { DPRINTK("Unable to get call back function\n"); return -EPERM; } /* Sanity checks */ if (!codec_state) { DPRINTK("NULL ARGUMENT!\n"); return -EPERM; } if (!codec_state->hw_probe || !codec_state->hw_init || !codec_state->hw_shutdown || !codec_state->client_ioctl) { DPRINTK ("Required Fn Entry point Missing probe=%p init=%p,down=%p,ioctl=%p!\n", codec_state->hw_probe, codec_state->hw_init, codec_state->hw_shutdown, codec_state->client_ioctl); return -EPERM; } .. you should see more debug messages than the one you showed me. Apart from that I would say that the -EPERM is not the correct return code here. -EINVAL would probably be better suited. You'll need to enable debugging for this module and look at what the problem is exactly. Regards, Stijn ----- Original Message ----- From: chandrashekar reddy To: Stijn Devriendt Sent: Wednesday, March 04, 2009 1:17 PM Subject: Re: Requesting for help: Hi Stijn, I have given dmesg after doing insmod i am getting error like, audio_aic33_init>: Failed to register AIC33 driver with Audio OSS Driver Thanks for your help. regards, chandra On Sat, Feb 28, 2009 at 2:38 PM, Stijn Devriendt <[email protected]> wrote: Hi Chandra, Please read out your kernel messages to see whether an error is printed using following command: > dmesg Secondly, are you trying to insmod as a normal user? Try doing this is root. Regards, Stijn 2009/2/28 chandrashekar reddy <[email protected]>: > Hi All, > I am trying to insert the audio driver in linux filesytem.I am getting error > like.... > > r...@stax:/# insmod > /lib/modules/2.6.10_mvl401-davinci_evm/kernel/sound/oss/davinci-audio-aic33.ko > > insmod: error inserting > '/lib/modules/2.6.10_mvl401-davinci_evm/kernel/sound/oss/davinci-audio-aic33.ko': > -1 Operation n > ot permitted > > If any suggetion for me. > > Thanks for your help. > > regadrs, > chandra > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
