Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System bell not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Wed Oct 29, 2014 8:14 pm    Post subject: System bell not working Reply with quote

I cannot seem to get the system bell to work, I've tried "setterm -blength 1" and "xset b on" and such, and I have the "pcspkr" module loaded. Sound works fine, but "echo -ne '\007'" doesn't work, and I installed the "beep" program, but that doesn't work either.

EDIT: This is a newish MSI gaming laptop, so it might not HAVE a system bell.


Last edited by Silent-Hunter on Fri Oct 31, 2014 3:50 am; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Oct 30, 2014 7:16 pm    Post subject: Reply with quote

is this a hardware or a software issue?

maybe it is a hardware issue ... no idea how to test though. mainboard / bios / wiring ... speaker ...
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Oct 31, 2014 3:19 am    Post subject: Reply with quote

Do you have a HDA chip in your system? Some of those emulate the system bell via the driver, it might be overriding this. (look for a "digital beep" control in alsamixer)

Few other ideas, though I'm just stabbing in the dark here: try compiling the module in, try from a VT instead of X, see if it works with a livecd (especially a non-gentoo-based one).
Back to top
View user's profile Send private message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Fri Oct 31, 2014 3:39 am    Post subject: Reply with quote

I'm not actually sure my computer HAS a bell, but I thought all computers did. It doesn't beep when I turn it on, and there's no option for it in the BIOS. It's an MSI gaming laptop, so maybe it doesn't have one?

I do have the module compiled. Or are you suggesting I should compile it into the kernel, instead of as a module?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Oct 31, 2014 4:44 am    Post subject: Reply with quote

With intel-hda, system bell usually is a software issue - check your kernel config, bell is a separate option among those for intel-hda.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Oct 31, 2014 4:36 pm    Post subject: Reply with quote

Silent-Hunter wrote:
It's an MSI gaming laptop, so maybe it doesn't have one?

It won't. The sound card is your only option.
Back to top
View user's profile Send private message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Fri Oct 31, 2014 5:59 pm    Post subject: Reply with quote

VoidMage wrote:
With intel-hda, system bell usually is a software issue - check your kernel config, bell is a separate option among those for intel-hda.


It has "Support digital beep via input layer", I enabled that. Was that it? Also, if that works, should I remove the "pcspkr" module, or do I still need that?

EDIT: Still not working. I'll try compiling all the ALSA stuff in instead of as modules.

EDIT2: Still nothing, I'll try removing the pcspkr option.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sat Nov 01, 2014 12:02 pm    Post subject: Reply with quote

I don't think your problem is caused by the pcspkr module being loaded, because it's loaded in my installation and the bell works. Here is what I have configured in the kernel (3.17.1-gentoo-r1):

Code:
$ cat /usr/src/linux/.config | grep -i spkr
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_INPUT_PCSPKR=m

And the pcspkr module is loaded:
Code:
$ lsmod | grep pcsp
pcspkr                  1747  0

It's not something daft like the bell being muted in ALSA, is it? You can open a Konsole/Terminal, enter the command alsamixer, press F6 to select your audio card, then scroll along to the channel 'Beep' and press the 'M' key to toggle mute/un-mute for that channel.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Sun Nov 02, 2014 2:26 am    Post subject: Reply with quote

AHA! CONFIG_INPUT_PCSPKR is not set! Maybe that will help! :D

Cause right now, Alsa doesn't have a beep channel.

EDIT: No, that can't be it, I had that enabled before.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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