Re: accessing files, devices, in kernel modules
- From: Joe Beanfish <joe@xxxxxxxxxx>
- Date: Tue, 29 Aug 2006 13:19:38 -0400
Yellow wrote:
but what I'd like to know is: can I use the sound card the same way I
use it in user space programs? like reading and opening a file? my
final goal is record some sound from the microphone for 3 seconds, and
then play it.
> thank you. now I understand that I shouldn't read/write files from a
> module.
Why do that in the kernel? That sounds like an user level operation.
.
- Follow-Ups:
- Re: accessing files, devices, in kernel modules
- From: Yellow
- Re: accessing files, devices, in kernel modules
- References:
- accessing files, devices, in kernel modules
- From: Yellow
- Re: accessing files, devices, in kernel modules
- From: miline
- Re: accessing files, devices, in kernel modules
- From: Yellow
- Re: accessing files, devices, in kernel modules
- From: Yellow
- Re: accessing files, devices, in kernel modules
- From: ask
- Re: accessing files, devices, in kernel modules
- From: Yellow
- accessing files, devices, in kernel modules
- Prev by Date: Re: POSIX thread question
- Next by Date: Re: accessing files, devices, in kernel modules
- Previous by thread: Re: accessing files, devices, in kernel modules
- Next by thread: Re: accessing files, devices, in kernel modules
- Index(es):