Messages in this thread | | | Date | Fri, 18 Feb 2000 11:32:12 +0100 | From | Thomas Sailer <> | Subject | Re: Using the sound mixer from within the kernel. |
| |
"Gordon, Brian (NM75)" wrote:
> THE QUESTION: > I don't believe the mixer is initialized, I can't do an open("/dev/mixer") > from within the kernel. How do I program the mixer from kernel space? > (Using ioctls?) Any direction would be greatly appreciated.
You should be able to use open and ioctl if you first do set_ds(KERNEL_DS). See for example drivers/sound/sound_firmware.c for an example on how to use open and friends from kernel space.
Tom
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |