Skip to contentSkip to conversation

Sample source code to open the audio device through the kernel module

DISCUSSION Sanjiv Malik 1 participant 1 message Nov 21, 2005

lore
Share & tools
lore
#0 lore raw

Hi friends,

Iam writing a kernel module thats open the audio device (/dev/dsp) through the Kernel module?
Currently iam using the sys_open(), sys_ioclt(),sys_write() functions to open, write and ioctl on the device... through the kernel module. But iam not able to open the audio device.
So can anyone have the sample code for the same?

Thanks
Sanjiv