Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] pc speaker on headless server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 13, 2010 12:02 am    Post subject: [SOLVED] pc speaker on headless server Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Tue Apr 13, 2010 12:46 am    Post subject: Reply with quote

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
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 13, 2010 12:57 am    Post subject: Reply with quote

guess this is the option:

Code:
CONFIG_PCSPKR_PLATFORM=y

_________________
gentoo user
Back to top
View user's profile Send private message
r3tep
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2005
Posts: 108

PostPosted: Tue Apr 13, 2010 6:12 am    Post subject: Reply with quote

If you're using the module, make sure, it is not blacklisted.

/etc/modprobe.d/blacklist.conf
Code:
#blacklist usbkbd
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 13, 2010 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Tue Apr 13, 2010 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 13, 2010 2:42 pm    Post subject: Reply with quote

ups...

now I set that option, too.
recompiled kernel, rebooted (with new one installed).

now it works! thx!
_________________
gentoo user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum