You are not logged in.

#1 2008-06-22 03:53:06

dsr
Member
Registered: 2008-05-31
Posts: 187

Bell character (^G or "\a") not producing audible beep

The subject says it all. Well, almost all. I wanted irssi (I'm using it in conjunction with bitlbee) to beep audibly, but all I was getting was a visual bell. That was in GNU screen, but I tried 'echo ^G' in screen, a plain xterm, and vc/1 directly but to no avail. Needless to say, setting 'vbell off' for screen didn't solve the problem. I loaded pcspkr, and I tried 'xset b on', but neither solved the problem. Do I have to edit terminfo or something like that (and if so, how)? Has anyone else had this problem? Thanks in advance.

Last edited by dsr (2008-06-22 03:53:32)

Offline

#2 2008-09-24 12:31:08

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: Bell character (^G or "\a") not producing audible beep

I'm pretty much in your situation. I'd like to use an the beep for irc notification, but I can't get it to produce any sound in urxvt. I could use irssi scripts to play a sound instead, but it's annoying. The fact that the system bell is usually so annoying, it's doubly annoying that I can't get it to work when I want it mad

Offline

#3 2008-09-28 17:25:04

xintron
Member
From: Sweden
Registered: 2008-09-25
Posts: 32
Website

Re: Bell character (^G or "\a") not producing audible beep

I've got this problem as well and would very much get a solution to this (imo) problem. Sure, it's annoying some times but as the previous poster stated, it's more annoying when you can't get it to work when you want it. Does anyone have a good solution for this?

Offline

#4 2008-09-28 17:35:06

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Bell character (^G or "\a") not producing audible beep

In my alsamixer there's a control named 'PC Speak'. Have you tried unmuting it?


(lambda ())

Offline

#5 2008-09-28 17:40:20

xintron
Member
From: Sweden
Registered: 2008-09-25
Posts: 32
Website

Re: Bell character (^G or "\a") not producing audible beep

OMG. Now I feel very stupid. I (ofc) tried everything in alsamixer and unmuted everything to try it. Now I noticed that the volume for PC Speak was set to 0. I just had to change that and then get it to work. Easy mistake but thanks a million!

Offline

#6 2008-09-28 22:08:21

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Bell character (^G or "\a") not producing audible beep

That's strange. When I run alsamixer, there's no item PC Speak even with pcspkr loaded.

Offline

#7 2008-09-29 06:10:48

jazz.arch
Member
From: Austria
Registered: 2008-09-20
Posts: 29

Re: Bell character (^G or "\a") not producing audible beep

Just for clarification - if you want to let echo beep with \a, you need to call it with the parameter -e to enable the interpretation of backslash escapes.

e.g

echo -e "\aBeep!"

Offline

#8 2008-09-29 08:58:53

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: Bell character (^G or "\a") not producing audible beep

Turns out I had completly missed the volume meter in alsamixer.  Thanks, it's working as it should now.

Offline

#9 2008-09-30 04:06:22

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Bell character (^G or "\a") not producing audible beep

I've got the same issue as dsr.  No sound levels for pcspkr.  I've got the snd-hda-intel driver, how about you dsr?


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#10 2008-09-30 15:54:15

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Bell character (^G or "\a") not producing audible beep

I also have snd_hda_intel.

I think I found the culprit: http://www.mail-archive.com/debian-bugs … 40828.html

Last edited by dsr (2008-09-30 16:15:35)

Offline

#11 2008-09-30 17:20:22

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Bell character (^G or "\a") not producing audible beep

That does sound like the issue.  I will do some testing to confirm once work slows down and I can break out my laptop.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#12 2008-10-03 20:14:08

essence-of-foo
Member
Registered: 2008-07-12
Posts: 84

Re: Bell character (^G or "\a") not producing audible beep

Just for the note: Same issue here. I'm using snd_hda_intel.
Available Interfaces in alsamixer -V all:
Master, PCM, Mic Jack, Capture, Internal

Bell works fine in Grub

Offline

Board footer

Powered by FluxBB