View previous topic :: View next topic |
Author |
Message |
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Tue Mar 08, 2005 5:01 am Post subject: KDE init, or perhaps permissions, beep problem [SOLVED] |
|
|
On a Dell laptop computer I have been unable to get the
PC-speaker (normally beeped via
or typing Control-G in a shell) to beep, in my Gentoo set-up.
[edit]I've edited the title, since I now think that
the problem is either a mal-formed KDE init (7th post) or an
obscure permissions problem.[/edit]
So that I can test to see if the pc-speaker is broken, is there
a way to beep it either from the BIOS or from MS Windows 2000?
(Note: I don't mean the speakers, often controlled by ALSA, that
you'd use to play a music-CD. The pc-speaker is, I believe, on
the motherboard.) _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Last edited by gentsquash on Tue Aug 30, 2005 9:57 pm; edited 4 times in total |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Tue Mar 08, 2005 5:17 am Post subject: |
|
|
Usually you can get the PC speaker to beep during boot-up (before it starts loading the OS) by holding down a key for a long time during boot-up. The computer beeps at you because it thinks the key is stuck. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Tue Mar 08, 2005 11:54 am Post subject: |
|
|
Thank you donjuan. Certainly something beeped thrice (upon reboot)
when I "muscled a bunch of keys to the mat".
1: Since it is a laptop box, I can't unplug the music-speakers.
Is there a simple way that I can be sure it was the pc-speaker,
and not the music-speakers which beeped?
2: Does anyone have some hints as to how I can get my pc-speaker
to work under Linux? I do have this module
Code: | % lsmod
Module Size Used by
...
pcspkr 4300 0 |
installed and running. I also installed `emerge app-misc/beep'.
Executing
Code: | beep -f 2000 -l 1000 |
causes no beep. Can something else be muting the pc-speaker? _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Fri Apr 08, 2005 2:13 am Post subject: |
|
|
Ta. I already knew about `xset b' and `setterm'; neither
has resolved The Case of the Missing Bell ... _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
gkmac Guru
Joined: 19 Jan 2003 Posts: 336 Location: West Sussex, UK
|
Posted: Fri Apr 08, 2005 10:10 pm Post subject: |
|
|
gentsquash wrote: | Since it is a laptop box, I can't unplug the music-speakers.
Is there a simple way that I can be sure it was the pc-speaker, and not the music-speakers which beeped?
Can something else be muting the pc-speaker? |
On all laptops I've come across, there is no separate "pc-speaker". Instead it is another input to what would be the soundcard which would eventually come out through what you called the "music-speakers".
In alsamixer along with the usual PCM, CD, Line & Mic inputs there is another input named something like "PC Speaker", so check to see if there is a slider like "PC Speaker" in alsamixer. If there is, unmute it and raise the slider a bit, and then try to beep the speaker again.
gentsquash wrote: | Certainly something beeped thrice (upon reboot) when I "muscled a bunch of keys to the mat". |
Your BIOS or laptop "soundcard" will set the pc-speaker to a default so it can be heard in case of early startup problems. My guess is when Linux boots and ALSA initialises, it sets the pc-speaker level to the default ALSA settings, which is volume zero and muted. |
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Tue Apr 12, 2005 3:21 am Post subject: |
|
|
gkmac wrote: | On all laptops I've come across, there is no
separate "pc-speaker". |
Thank you gkmac! On the LC (laptop computer) the pc-speaker was
alsa-muted. I was fooled because, on my DC (desktop computer),
the internal speaker beeps regardless of how ALSA is set --ALSA
just controls whether the beep is also send to the speaker-output
port.
Perhaps you (or other intuitive readers) can help with the remaining
conundrum. I didn't correctly diagnose the problem because, on both
LC and DC, I can only get a "beep" by running the `beep' program;
C-g (control G) produces nothing [which is a problem for me, since
Emacs signals errors by emitting a C-g].
For a while I thought it was a permissions problem but my current
guess is KDE, rather, a particular users init files in ~/.kde/ --but
I can't find where in ~/.kde/ the beep is controlled. Ideas?
(KDE is detecting the C-g, since it momentarily flashes a little bell
icon on the bottom of konsole.) _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Tue Aug 30, 2005 9:57 pm Post subject: |
|
|
The bell in KDE can be set via
Code: | kcontrol -> Reg&Acc -> Accessibility -> Bell |
I eventually did get the bell working in Emacs on the laptop;
--but I don't know quite how. Nonetheless, I'll mark this as [SOLVED]. _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
|
|
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
|
|