Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I solved this with the help of the nice folx in #debian@freenode (and of course, google ). The solution is in post #13. I hope you can learn from it. Thanks to Matir for patience, time and a good link.
Hi.
printing `\a' doesn't generate any sound.
test program:
Code:
int main(){puts("\a");}
In emacs (M-x shell), it prints "^G"; it screen w. visual bell, the screen blinks. But it screen w. audible bell / console / X, no sound is played.
I checked w. alsamixer -- the PC speaker (that's what generates the `\a beep', right?) volume is maxed out.
The sticky suggests posting $(lspci), kernel and distro. I'm running Debian GNU/Linux, stable <union> testing, main only. See uname --all output.
I tried googling and searching the forums; found nothing relevant.
What other diagnostics can I run? How can I test if it is the PC speaker (as opposed to a software problem)? If my PC speaker is indeed broken, which workarounds are possible? I've thought about replacing xkbbell with, say, a shell script calling playsound--would this, although it's an incomplete workaround, be a good idea?
Since I don't know much about hardware, especially not sound, feel free to ask *many* probing questions--or even point me to a `Linux sound for dummies'
Thanks for your consideration,
--Jonas
Last edited by jonaskoelker; 08-17-2005 at 06:31 AM.
I looked through my bios settings--nothing seemed appropriate. There was a `Sound - enabled', which I didn't touch. It was in an `onboard -' context, so I figure it wasn't related to the speaker.
I wonder if any software (i.e. GNU/Linux userspace) settings can influence this; I'm thinking stty settings or similar--don't know much about term(io|cap|.*), though.
I guess I was referring to the section on disabling the bell... What does your termcap have for 'bl'? Additionally, check out the xsets and so forth. Basically, see if its disabled in any of the ways mentioned in the howto.
Hrrm, that's all I can think of at the moment. Try booting from a LiveCD and seeing if the bell works there: that could help to rule out hardware issues.
The problem has been solved. Here's the long story:
I boot into Ubuntu, it *has* beeps. I search through debian pkgs for `termcap', find an `emulation' lib, stating that debian uses terminfo.
Hmm... your link doesn't say anything about terminfo.
So, I /join #debian (@freenode), explain about my situation.
One nice guy (beardy) exhausts his brain (man inputrc, man setterm, man readline); vaguely remembers that it was a seperate module or something for newer kernels.
And so it seems; see (google "linux 2.6 pc speaker). "Oh no, my kernel must be broken", I think.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.