Page 1 of 1

[Solved] how can i do a beep in porteus?

Posted: 28 May 2014, 14:29
by pasks
Guys i have a problem: i want issue a beep with porteus. Actually i have add a pcspkr.ko kernel module in /input/misc/ and enable it with command "modprobe pcspkr", in fact when i call lsmod, the pcspkr module appear in top of the list. When i call the beep program with command "beep -f 2000 -l 2000" the beep isn't give out. Some of you could help me please?

Re: how can i do a beep in porteus?

Posted: 28 May 2014, 14:39
by fanthom
hello pasks,

did you recompile the kernel with PC speaker support or grabbed this module from some other kernel? if latter then i would recommend full recompilation as some other kernel deps may be needed to be enabled.

btw: shouldn't this topic belong to 'hardware' section of the forum?

Re: how can i do a beep in porteus?

Posted: 28 May 2014, 14:46
by pasks
fanthom wrote:did you recompile the kernel with PC speaker support or grabbed this module from some other kernel? if latter then i would recommend full recompilation as some other kernel deps may be needed to be enabled.
I found the pcspkr source code (pcspkr.c) on-line and compile this to generate a .ko file. Then i move it in ../input/misc/ and i have modify di .config file in /usr/src/uname -r/

I try to recompile the kernel module, hoping that it works :wall:

Re: how can i do a beep in porteus?

Posted: 30 May 2014, 11:43
by pasks
I recompile kernel with pcspkr module enable and it run!
I follow this guide http://www.porteus.org/tutorials/51-dev ... ernel.html and i change the kernel version with 3.16.6 and aufs version 3.16
thanks so much :beer: