LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   pcskpr (https://www.linuxquestions.org/questions/slackware-14/pcskpr-570971/)

yakoub 07-20-2007 12:48 PM

pcskpr
 
i compiled custom kernel , but i get error message
at boot that module pcspkr cannot be found

i didn't find it in kernel config menus

meanwhile system notification sound is not working

also there is modules : psmouse , capability
which is the same story

erklaerbaer 07-20-2007 01:04 PM

remove /etc/rc.d/rc.modules.
you have to make sure though, that the modules you needed are loaded.

randomsel 07-20-2007 01:14 PM

or edit rc.modules and commend out modprobe pcspkr.

rhussey 07-20-2007 01:43 PM

randomsel is right, all you need to do is comment out the part with pcspkr. Another option would be to compile it as a module. You should be able to find it under "Device Drivers->Input Device Support->Miscellaneous Devices->PC Speaker Support" in menuconfig for the kernel. This would probably solve the system notification sound problem.

If you have problems finding certain config options, you can cd into the kernel source directory and type:
find . -name "whatever*"

where whatever is what you're searching for. For example, a search for psmouse:
find . -name "psmouse*"

which gives:
./.tmp_versions/psmouse.mod
./drivers/input/mouse/psmouse.ko
./drivers/input/mouse/psmouse.o
./drivers/input/mouse/psmouse.mod.c
./drivers/input/mouse/psmouse.mod.o
./drivers/input/mouse/psmouse-base.o
./drivers/input/mouse/psmouse.h
./drivers/input/mouse/psmouse-base.c

Based on this, I can figure out that psmouse will be under "Device Drivers->Input Device Support->Mouse" It may be called something different in the menuconfig (I think PS/2 Mouse), but it should help in figuring out where to find it.

yakoub 07-20-2007 03:33 PM

not good
 
Quote:

Originally Posted by rhussey
randomsel is right, all you need to do is comment out the part with pcspkr. Another option would be to compile it as a module. You should be able to find it under "Device Drivers->Input Device Support->Miscellaneous Devices->PC Speaker Support" in menuconfig for the kernel. This would probably solve the system notification sound problem.

If you have problems finding certain config options, you can cd into the kernel source directory and type:
find . -name "whatever*"

where whatever is what you're searching for. For example, a search for psmouse:
find . -name "psmouse*"

which gives:
./.tmp_versions/psmouse.mod
./drivers/input/mouse/psmouse.ko
./drivers/input/mouse/psmouse.o
./drivers/input/mouse/psmouse.mod.c
./drivers/input/mouse/psmouse.mod.o
./drivers/input/mouse/psmouse-base.o
./drivers/input/mouse/psmouse.h
./drivers/input/mouse/psmouse-base.c

Based on this, I can figure out that psmouse will be under "Device Drivers->Input Device Support->Mouse" It may be called something different in the menuconfig (I think PS/2 Mouse), but it should help in figuring out where to find it.

thanks a lot , i used
find . -name pcspkr and not "pcspkr*" so that is why
i couldn't find it

randomsel 07-20-2007 07:03 PM

Quote:

Originally Posted by rhussey
Another option would be to compile it as a module.

Which is true, but it's one of the more annoying modules in the kernel, as it is responsible for those beeps when you hit tab in bash.

I couldn't find where to deactivate them and just 'rmmod pcspkr' in my rc.local :(

yakoub 07-21-2007 12:08 AM

that is good
 
Quote:

Originally Posted by randomsel
Which is true, but it's one of the more annoying modules in the kernel, as it is responsible for those beeps when you hit tab in bash.

I couldn't find where to deactivate them and just 'rmmod pcspkr' in my rc.local :(

i actually got used to those beeps and are the reason why i do want to load pcspkr


All times are GMT -5. The time now is 04:23 AM.