lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:1.028 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site