View previous topic :: View next topic |
Author |
Message |
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 13, 2010 12:02 am Post subject: [SOLVED] pc speaker on headless server |
|
|
how to make it work?
no alsa, no sound card.
server beeps normaly during the boot/reboot. (so, pcspeaker works)
beep doesn't make any sound.
echo -e "\a" doesn't make any sound.
echo -e "\007" doesn't make any sound.
any suggestions? _________________ gentoo user
Last edited by tnt on Tue Apr 13, 2010 2:45 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Tue Apr 13, 2010 12:46 am Post subject: |
|
|
I think there's a PCSPKR option in the INPUT section of the kernel config that needs to be enabled to allow beeps. Not sure if it was moved from there or not... See if it's enabled? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 13, 2010 12:57 am Post subject: |
|
|
guess this is the option:
Code: | CONFIG_PCSPKR_PLATFORM=y |
_________________ gentoo user |
|
Back to top |
|
|
r3tep Tux's lil' helper
Joined: 10 Sep 2005 Posts: 108
|
Posted: Tue Apr 13, 2010 6:12 am Post subject: |
|
|
If you're using the module, make sure, it is not blacklisted.
/etc/modprobe.d/blacklist.conf
|
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 13, 2010 11:56 am Post subject: |
|
|
kernel conf says that it should be compiled into the kernel itself (CONFIG_PCSPKR_PLATFORM=y, not CONFIG_PCSPKR_PLATFORM=m)
but anyways, my /etc/modeprobe.d/blacklist.conf blacklists just
Code: | blacklist evbug
blacklist eth1394 |
and pcspkr is commented
Code: |
# You probably want this to not get the console beep loud on every tab :)
#blacklist pcspkr |
_________________ gentoo user |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Tue Apr 13, 2010 2:13 pm Post subject: |
|
|
INPUT_PCSPKR ?
Pulling up 'make menuconfig' it looks like it's under device drivers/input/miscellaneous devices/pc speaker support
The other pcspkr_platform is a dependency that probably is defined for x86. input_pcspkr is what you need. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 13, 2010 2:42 pm Post subject: |
|
|
ups...
now I set that option, too.
recompiled kernel, rebooted (with new one installed).
now it works! thx! _________________ gentoo user |
|
Back to top |
|
|
|