View previous topic :: View next topic |
Author |
Message |
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Wed Oct 29, 2014 8:14 pm Post subject: System bell not working |
|
|
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 |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Thu Oct 30, 2014 7:16 pm Post subject: |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Oct 31, 2014 3:19 am Post subject: |
|
|
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 |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Fri Oct 31, 2014 3:39 am Post subject: |
|
|
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 |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Oct 31, 2014 4:44 am Post subject: |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Oct 31, 2014 4:36 pm Post subject: |
|
|
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 |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Fri Oct 31, 2014 5:59 pm Post subject: |
|
|
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 |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Sat Nov 01, 2014 12:02 pm Post subject: |
|
|
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 |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Sun Nov 02, 2014 2:26 am Post subject: |
|
|
AHA! CONFIG_INPUT_PCSPKR is not set! Maybe that will help!
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 |
|
|
|