Skip to contentSkip to conversation

Using /dev/dsp from a kernel driver

DISCUSSION Jim Deas 1 participant 1 message Mar 8, 2003 Sound

lore
Share & tools
lore

Jim Deas

author
#0 lore raw

I have a good tone generator running in user space. This device uses /dev/dsp write and ioctl to do what I want.
I would now like to move this to the driver that creates
the audio data.
Right now I have to open both devices and transfer the data via user space between the two devices.

How do I open and use ioctl from another driver? I know about the ksyms but have not been able to understand the move from opening a file pointer and using ioctls in user space to directly connecting two drives using the kernels symbol table (ksyms).

Thanks,
J. Deas