> > How can I generate a sound (f.e. a "beep") using a LKM ?
> > I checked console.c , but kd_mksound does not work properly
> Well, it *must* work. Otherwise, the console wouldn't beep, right? ;)
> You didn't say what problem you ran into. When I tried to write a
> beeping module, I found that "kd_mksound" was only exported in a few
> architectures ("arm" and "ppc" for some reason), so I had to make a
> copy of the code in my own module before my module would beep.
> Is this the problem you had, or was it something else?
arg, i defined kd_mksound as void _kd_mksound (like in vt.c), but in
my lkm later I called kd_mksound, therefore he generated a
Segmentation fault, replacing this by a _kd_mksound was enough to
solve the problem.
sometimes , the small things create a great chaos ;)
nevertheless, thank you