Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

disable beep for wall command

95 views
Skip to first unread message

afuentes

unread,
Dec 5, 2011, 7:40:02 AM12/5/11
to
when i manually use the wall command (or when i shutdown or halt
command) i hear a annoying very loud beep. Is there a way to shut it up?

the pcspkr mop is not loaded. the gnome consoles opened have the beeping
disabled as well in preferences...

Does anybody knows what is wall calling bypassing these restrictions?




--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323087356....@qindelbox.int.qindel.com

Iuri Guilherme dos Santos Martins

unread,
Dec 5, 2011, 8:10:03 AM12/5/11
to

afuentes

unread,
Dec 5, 2011, 9:00:02 AM12/5/11
to
Thanks for your response!
my response inline:

On Mon, 2011-12-05 at 10:03 -0300, Iuri Guilherme dos Santos Martins
wrote:
> http://www.smartpixie.com/wiki/Tech/DebianTips.twiki.html

this suggest me to blacklist pcspkr. As i said, i already tried this

> http://www.debian-administration.org/articles/110

I had already tried all the tricks on that page with no luck. Its one of
the first ones that comes up when you google for it :). I have even
tried some stuff that does not comes in that page, like setting it off
in the gnome-terminal preferences.. with no luck

I read in some post that wall sends this char ^G to the terminal, and
this is the one that triggers the beep.

Any kind soul has any idea how to fix this? my drilled head and spirit
would thank them forever

for more details, im on last testing under gnome

greets!
aL


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323092334.3...@qindelbox.int.qindel.com

Lorenzo Sutton

unread,
Dec 5, 2011, 9:30:03 AM12/5/11
to
Hi,

On 05/12/2011 13:15, afuentes wrote:
> when i manually use the wall command (or when i shutdown or halt
> command) i hear a annoying very loud beep. Is there a way to shut it up?
>
> the pcspkr mop is not loaded. the gnome consoles opened have the beeping
> disabled as well in preferences...
>
> Does anybody knows what is wall calling bypassing these restrictions?

Not sure if this helps, but simply muting the "Beep" entry with
aslamixer solved all beeping annoyances on my laptop.

Lorenzo.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EDCD37D...@gmail.com

afuentes

unread,
Dec 5, 2011, 9:30:03 AM12/5/11
to
Im still not very good at reading straces, but this is the output of the
command that triggers the beep in case it can helps to locate what it
is :)

greets!
aL

$ echo hola|sudo strace -f wall
[sudo] password for afuentes:
execve("/usr/bin/wall", ["wall"], [/* 17 vars */]) = 0
brk(0) = 0x1a83000
fcntl(0, F_GETFD) = 0
fcntl(1, F_GETFD) = 0
fcntl(2, F_GETFD) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or
directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda69b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=110090, ...}) = 0
mmap(NULL, 110090, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcfda680000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\357\1\0\0\0
\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1570832, ...}) = 0
mmap(NULL, 3684440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fcfda0fa000
mprotect(0x7fcfda274000, 2097152, PROT_NONE) = 0
mmap(0x7fcfda474000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x17a000) = 0x7fcfda474000
mmap(0x7fcfda479000, 18520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x7fcfda479000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda67f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda67e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda67d000
arch_prctl(ARCH_SET_FS, 0x7fcfda67e700) = 0
mprotect(0x7fcfda474000, 16384, PROT_READ) = 0
mprotect(0x7fcfda69d000, 4096, PROT_READ) = 0
munmap(0x7fcfda680000, 110090) = 0
brk(0) = 0x1a83000
brk(0x1aa4000) = 0x1aa4000
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1534672, ...}) = 0
mmap(NULL, 1534672, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcfda506000
close(3) = 0
getpid() = 2041
open("/tmp//wall.kTjqPH", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|
O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda69a000
lseek(3, 0, SEEK_CUR) = 0
unlink("/tmp//wall.kTjqPH") = 0
open("/proc/self/loginuid", O_RDONLY) = 4
read(4, "4294967295", 12) = 10
close(4) = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda699000
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7fcfda699000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=110090, ...}) = 0
mmap(NULL, 110090, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fcfda4eb000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/x86_64-linux-gnu/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\22\0\0\0\0\0
\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=31584, ...}) = 0
mmap(NULL, 2127048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4,
0) = 0x7fcfd9ef2000
mprotect(0x7fcfd9ef9000, 2093056, PROT_NONE) = 0
mmap(0x7fcfda0f8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 4, 0x6000) = 0x7fcfda0f8000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 @\0\0\0\0\0
\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=89056, ...}) = 0
mmap(NULL, 2194128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4,
0) = 0x7fcfd9cda000
mprotect(0x7fcfd9cef000, 2093056, PROT_NONE) = 0
mmap(0x7fcfd9eee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 4, 0x14000) = 0x7fcfd9eee000
mmap(0x7fcfd9ef0000, 6864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x7fcfd9ef0000
close(4) = 0
mprotect(0x7fcfd9eee000, 4096, PROT_READ) = 0
mprotect(0x7fcfda0f8000, 4096, PROT_READ) = 0
munmap(0x7fcfda4eb000, 110090) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=110090, ...}) = 0
mmap(NULL, 110090, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fcfda4eb000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \0\0\0\0\0
\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=43552, ...}) = 0
mmap(NULL, 2139320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4,
0) = 0x7fcfd9acf000
mprotect(0x7fcfd9ad9000, 2093056, PROT_NONE) = 0
mmap(0x7fcfd9cd8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 4, 0x9000) = 0x7fcfd9cd8000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200!\0\0\0\0\0
\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47616, ...}) = 0
mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4,
0) = 0x7fcfd98c3000
mprotect(0x7fcfd98ce000, 2093056, PROT_NONE) = 0
mmap(0x7fcfd9acd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 4, 0xa000) = 0x7fcfd9acd000
close(4) = 0
mprotect(0x7fcfd9acd000, 4096, PROT_READ) = 0
mprotect(0x7fcfd9cd8000, 4096, PROT_READ) = 0
munmap(0x7fcfda4eb000, 110090) = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
lseek(4, 0, SEEK_CUR) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=1859, ...}) = 0
mmap(NULL, 1859, PROT_READ, MAP_SHARED, 4, 0) = 0x7fcfda699000
lseek(4, 1859, SEEK_SET) = 1859
fstat(4, {st_mode=S_IFREG|0644, st_size=1859, ...}) = 0
munmap(0x7fcfda699000, 1859) = 0
close(4) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff977a43a0) = -1 EINVAL
(Invalid argument)
getuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
lseek(4, 0, SEEK_CUR) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=1859, ...}) = 0
mmap(NULL, 1859, PROT_READ, MAP_SHARED, 4, 0) = 0x7fcfda699000
lseek(4, 1859, SEEK_SET) = 1859
munmap(0x7fcfda699000, 1859) = 0
close(4) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon
echo ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
readlink("/proc/self/fd/2", "/dev/pts/3", 4095) = 10
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...})
= 0
uname({sys="Linux", node="qindelbox", ...}) = 0
open("/etc/localtime", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2593, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=2593, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda699000
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0
\0"..., 4096) = 2593
lseek(4, -1647, SEEK_CUR) = 946
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0
\0"..., 4096) = 1647
close(4) = 0
munmap(0x7fcfda699000, 4096) = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda699000
read(4, "# Locale name alias data base.\n#"..., 4096) = 2570
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7fcfda699000, 4096) = 0
open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) =
4
fstat(4, {st_mode=S_IFREG|0644, st_size=26066, ...}) = 0
mmap(NULL, 26066, PROT_READ, MAP_SHARED, 4, 0) = 0x7fcfda693000
close(4) = 0
fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fcfda692000
read(0, "hola\n", 4096) = 5
read(0, "", 4096) = 0
write(3, "\r "..., 489) = 489
lseek(3, 0, SEEK_SET) = 0
fstat(3, {st_mode=S_IFREG|0600, st_size=489, ...}) = 0
read(3, "\r "..., 4096) = 489
close(3) = 0
access("/var/run/utmpx", F_OK) = -1 ENOENT (No such file or
directory)
open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_SET) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], 0}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0C\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\2\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\1\0\0\0002N\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0\37\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0J\v\0\0tty1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0K\v\0\0tty2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0L\v\0\0tty3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0N\v\0\0tty5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0M\v\0\0tty4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0O\v\0\0tty6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\7\0\0\0\252\v\0\0tty7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
open("/dev/tty7", O_WRONLY|O_NONBLOCK) = 4
writev(4, [{"\r "..., 489}], 1) = 489
close(4) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0\0\0\0\0pts/6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0\0\0\0\0pts/7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0x7fcfda203e10, [], SA_RESTORER, 0x7fcfda12c480},
{SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, 8) = 0
alarm(10) = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "", 384) = 0
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fcfda12c480}, NULL,
8) = 0
close(3) = 0
exit_group(0) = ?
Archive: http://lists.debian.org/1323093858.3...@qindelbox.int.qindel.com

afuentes

unread,
Dec 5, 2011, 10:00:02 AM12/5/11
to
On Mon, 2011-12-05 at 15:21 +0100, Lorenzo Sutton wrote:

> Not sure if this helps, but simply muting the "Beep" entry with
> aslamixer solved all beeping annoyances on my laptop.
>
> Lorenzo.


Thank you for your response.

I dont seem to have such option in alsamixer, nor in gnome3 sound
settings. Actually i have everything muted, and still the freaking sound
is coming out.

I swear to god that I feel like I'll start killing soon. The voices in
my head are starting to take control. (I am also getting deathly gazes
from my coworkers, maybe i wont make it alive to the killing phase)

Greets!
aL



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323095640.3...@qindelbox.int.qindel.com

Iuri Guilherme dos Santos Martins

unread,
Dec 6, 2011, 8:40:01 AM12/6/11
to
Those links i sent you are old links i had here, I thought that they
were teaching how to disable the beep, but looking at them now make me
feel like I sent you the wrong link.

What I thought these links would show you is how to disable the beep
using the ALSA mixer, as you were already told here. The
gnome-volume-control maybe does not have that option enabled by default
(so you have to check preferences and enable pc beep). If it doesn't
help, check if you have packages alsamixer or optionally alsamixergui
(by doing # apt-get install alsamixer alsamixergui) and then run them in
the terminal emulator (for example, $ alsamixergui).

Alsamixer should have the pc beep as an option. If it doesn't, then your
beep is not coming from the beep itself, maybe it is playing from other
source. I will check the code you sent.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EDE1ABA...@gmail.com

Iuri Guilherme dos Santos Martins

unread,
Dec 6, 2011, 9:00:02 AM12/6/11
to
What's making that horrible beep is the calling of the funtion
sigaction() with the first parameter being SIGALRM, and then it being
called the function alarm().

As we said, disabling your pc beep disables this, as disabling only the
wall will not solve your problem (other programs will also beep the
whole time).

If your ALSA mixer does not have this (are you sure?), then maybe your
sound card is controlled by other system that's not ALSA. In that case
the gnome-volume-control may or may not have the pc beep option, but
check the preferences again.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EDE1E9A...@gmail.com

Lorenzo Sutton

unread,
Dec 6, 2011, 9:20:02 AM12/6/11
to
On 06/12/2011 14:54, Iuri Guilherme dos Santos Martins wrote:
> What's making that horrible beep is the calling of the funtion
> sigaction() with the first parameter being SIGALRM, and then it being
> called the function alarm().
>
> As we said, disabling your pc beep disables this, as disabling only the
> wall will not solve your problem (other programs will also beep the
> whole time).
>
> If your ALSA mixer does not have this (are you sure?),

Sometimes the name is also something like "Pc speaker", "Pc beep" or
similar...

I *think* I remember on a non-laptop PC there was a setting for this in
the BIOS but I'm not 100% sure.

Lorenzo.

then maybe your
> sound card is controlled by other system that's not ALSA. In that case
> the gnome-volume-control may or may not have the pc beep option, but
> check the preferences again.
>
>


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EDE2286...@gmail.com

Iuri Guilherme dos Santos Martins

unread,
Dec 6, 2011, 9:30:02 AM12/6/11
to
Yes, it is important to remember that ALSA is not the only sound system
for Linux, where either his ALSA is not configured to handle the pc beep
or maybe another sound system is taking care of that.

I'm not sure how gnome-volume-control handles sound sytems.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EDE26D0...@gmail.com

Bob Proulx

unread,
Dec 6, 2011, 12:40:02 PM12/6/11
to
Iuri Guilherme dos Santos Martins wrote:
> What's making that horrible beep is the calling of the funtion
> sigaction() with the first parameter being SIGALRM, and then it
> being called the function alarm().

Sorry but actually SIGALRM relates to the program event signals and
has nothing to do with the speaker. I know it is called an "alarm"
but it isn't related to any type of alarm sound. The sigaction() call
is the new standard replacement for the classic signal() system call
which was different on different systems. SIGALRM is the signal
number designated for alarm events such as timeouts. If your program
needs to wake up at a certain time, say one minute in the future, then
it can set an alarm for this and be woken up by the system at that
time and it can sleep until them not taking up resources.

> As we said, disabling your pc beep disables this, as disabling only
> the wall will not solve your problem (other programs will also beep
> the whole time).
>
> If your ALSA mixer does not have this (are you sure?), then maybe
> your sound card is controlled by other system that's not ALSA. In
> that case the gnome-volume-control may or may not have the pc beep
> option, but check the preferences again.

On my laptop machine I disable the speaker by blacklisting the
'snd_pcsp' module. I believe that is the alsa module. The module
name will be different in each sound system and in the old OSS days I
remember it being 'pcspkr'. If you are using yet a newer different
sound system (pulse audio?) then it will probably be yet a different
name.

Try looking for and removing snd_pcsp as first pass.

$ lsmod | grep pcsp
# rmmod snd_pcsp

Bob
signature.asc

afuentes

unread,
Dec 7, 2011, 10:40:01 AM12/7/11
to
On Tue, 2011-12-06 at 10:54 -0300, Iuri Guilherme dos Santos Martins
wrote:
> What's making that horrible beep is the calling of the funtion
> sigaction() with the first parameter being SIGALRM, and then it being
> called the function alarm().
>
> As we said, disabling your pc beep disables this, as disabling only the
> wall will not solve your problem (other programs will also beep the
> whole time).
>
> If your ALSA mixer does not have this (are you sure?), then maybe your
> sound card is controlled by other system that's not ALSA. In that case
> the gnome-volume-control may or may not have the pc beep option, but
> check the preferences again.
>
>

afaik, only the wall beeps (and everytime i reboot the machine because it calls this wall

I have checked gnome-volume-control, alsamixer and alsamixergui, i only have a master control there controled by pulseaudio. Terminal bell is disabled in all terminals i use (gnome-terminal and tilda)

if it helps, when i connect headphones, it sounds via the headphones (so i assume is not the pc spkr, even when the kernel module was blacklisted :))

This is the info of my system gathered via alsa-info.sh as well, in case it can help to pin down the culprit
http://www.alsa-project.org/db/?f=4c405a088ffaaeec7155fdce639adf3e86b4c28d

Thanks for the answers :)
Al




--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323271137....@qindelbox.int.qindel.com

afuentes

unread,
Dec 7, 2011, 11:20:02 AM12/7/11
to
$ sudo lsmod | grep -i snd
snd_hda_codec_hdmi 26548 1
snd_hda_codec_idt 53794 1
snd_hda_intel 26182 4
snd_hda_codec 72799 3
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep 13186 1 snd_hda_codec
snd_pcm 63744 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq 45093 0
snd_timer 22917 2 snd_pcm,snd_seq
snd_seq_device 13176 1 snd_seq
snd 52798 16
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 13065 1 snd
snd_page_alloc 13003 2 snd_hda_intel,snd_pcm

you dont happen to know witch one of this modules is causing it? :) none
is culprit at first sight by name


greets!
aL



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323273322....@qindelbox.int.qindel.com

Bob Proulx

unread,
Dec 7, 2011, 12:40:03 PM12/7/11
to
afuentes wrote:
> afaik, only the wall beeps (and everytime i reboot the machine
> because it calls this wall
> ...
> if it helps, when i connect headphones, it sounds via the headphones
> (so i assume is not the pc spkr, even when the kernel module was
> blacklisted :))

If it is coming through the headphones then it won't be pcspkr or
snd_pcsp modules since those operate the system board speaker.

How are you shutting down the system? There are many paths to that
operation. You could use the root superuser command line. You could
be using ctrl-alt-del on the text console. You could be using the
menu selection from xdm/gdm/kdm. You could be using the menu
selection from one of the desktop session managers. All are going to
eventually reboot the machine but prior to doing that they may be
calling 'wall' or may be sending the beep themselves.

Try shutting down the system using a different method from whatever
you have been using. For example if you have been using a desktop
menu then try using the root command line shell. Instead of using
'shutdown' try using 'reboot -f' instead.

# reboot -f

The -f option will prevent reboot from calling shutdown which should
prevent it from running all fo the shutdown processes such as wall,
changing init levels and running the /etc/rc6.d/K* scripts. This is
often a reboot that works when shutdown hangs on an nfs client
problem. Using reboot -f isn't as tidy since it doesn't call the kill
scripts. But everything should still be okay regardless.

If reboot -f works okay for you then you could customize the inittab
to call it instead of shutdown on ctrl-alt-del and still easily use it
to reboot a system from the text console.

Bob
signature.asc

Lorenzo Sutton

unread,
Dec 7, 2011, 2:00:02 PM12/7/11
to
On 07/12/2011 16:18, afuentes wrote:
> On Tue, 2011-12-06 at 10:54 -0300, Iuri Guilherme dos Santos Martins
> wrote:
>> What's making that horrible beep is the calling of the funtion
>> sigaction() with the first parameter being SIGALRM, and then it being
>> called the function alarm().
>>
>> As we said, disabling your pc beep disables this, as disabling only the
>> wall will not solve your problem (other programs will also beep the
>> whole time).
>>
>> If your ALSA mixer does not have this (are you sure?), then maybe your
>> sound card is controlled by other system that's not ALSA. In that case
>> the gnome-volume-control may or may not have the pc beep option, but
>> check the preferences again.
>>
>>
>
> afaik, only the wall beeps (and everytime i reboot the machine because it calls this wall
>
> I have checked gnome-volume-control, alsamixer and alsamixergui, i only have a master control there controled by pulseaudio. Terminal bell is disabled in all terminals i use (gnome-terminal and tilda)
>
> if it helps, when i connect headphones, it sounds via the headphones (so i assume is not the pc spkr, even when the kernel module was blacklisted :))
>
> This is the info of my system gathered via alsa-info.sh as well, in case it can help to pin down the culprit
> http://www.alsa-project.org/db/?f=4c405a088ffaaeec7155fdce639adf3e86b4c28d

Sorry... but is this *your* system? It seems there is a 'Beep' in the mixer:

Simple mixer control 'Beep',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 3

In this case you could simply try:
amixer set Beep mute


Lorenzo.


>
> Thanks for the answers :)
> Al
>
>
>
>


--
** NOTE **: This gmail address is my new email.
I will still be reading my libero.it email, but please use this new one
for any further email.
Thanks you for understanding.
** NOTA **: Questo indirizzo gmail è la mia nuova email.
Continuerò a leggere la posta libero.it ancora per un po' ma vi prego di
usare questa nuova da ora in poi.
Grazie per la comprensione.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EDFB6AA...@gmail.com

Camaleón

unread,
Dec 8, 2011, 12:30:01 PM12/8/11
to
On Mon, 05 Dec 2011 13:15:56 +0100, afuentes wrote:

> when i manually use the wall command (or when i shutdown or halt
> command) i hear a annoying very loud beep. Is there a way to shut it up?

I wish there is a way :-)

> the pcspkr mop is not loaded. the gnome consoles opened have the beeping
> disabled as well in preferences...
>
> Does anybody knows what is wall calling bypassing these restrictions?

I really don't know.

The beep started months ago¹ in testing (in that time there was GNOME3
but no "gnome-shell") and came back again but still have not found a way
to silence it.

The only thing I've found is that when you stop gdm3 ("service gdm3
stop") and go to a tty, a "shutdown -r now" won't produce any sound so
I'm starting to think this loud beep is coming from the GNOME side...

¹http://lists.debian.org/debian-user/2011/07/msg00698.html

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.12...@gmail.com

Go Linux

unread,
Dec 8, 2011, 2:40:02 PM12/8/11
to
--- On Thu, 12/8/11, Camaleón <noel...@gmail.com> wrote:
>
> The only thing I've found is that when you stop gdm3
> ("service gdm3
> stop") and go to a tty, a "shutdown -r now" won't produce
> any sound so
> I'm starting to think this loud beep is coming from the
> GNOME side...
>
>

Perhaps /etc/gdm3/greeter.gconf-defaults has the solution?

# Play system beeps - especially the one when the greeter is ready
/desktop/gnome/sound/event_sounds false

I have it set to false and NEVER hear a system beep EVER. But then I'm on Suueeze not Gnome 3.




--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/1323373110.48981...@web162216.mail.bf1.yahoo.com

afuentes

unread,
Dec 9, 2011, 4:30:02 AM12/9/11
to
On Wed, 2011-12-07 at 19:55 +0100, Lorenzo Sutton wrote:
> Sorry... but is this *your* system? It seems there is a 'Beep' in the mixer:
>
> Simple mixer control 'Beep',0
> Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
> Playback channels: Mono
> Limits: Playback 0 - 3

Finally! yup, I indeed have this Beep in alsamixer. I had to select the
card with f6 to HDA Intel PCH to find it tho. (as lazy as i am, I had f6
binded to other program and i had not tried to select another card to
avoid changing the bind :/)

Finally i got a soundless computer!
Thank you very much to all the answers!;D

Greets!
aL


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323421794....@qindelbox.int.qindel.com

afuentes

unread,
Dec 9, 2011, 4:40:02 AM12/9/11
to
On Thu, 2011-12-08 at 17:26 +0000, Camaleón wrote:
> The beep started months ago¹ in testing (in that time there was GNOME3
> but no "gnome-shell") and came back again but still have not found a way
> to silence it.

Well, for me it started 4 months ago when i bought this computer and
installed testing on it :)

> The only thing I've found is that when you stop gdm3 ("service gdm3
> stop") and go to a tty, a "shutdown -r now" won't produce any sound so
> I'm starting to think this loud beep is coming from the GNOME side...

Well, i dont think i suffering from this issue, on a tty i get the same
result. Actually just calling the wall command produces the beep :)

Greets!
aL


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1323421275....@qindelbox.int.qindel.com

Camaleón

unread,
Dec 11, 2011, 7:50:02 AM12/11/11
to
On Thu, 08 Dec 2011 11:38:30 -0800, Go Linux wrote:

> --- On Thu, 12/8/11, Camaleón <noel...@gmail.com> wrote:
>>
>> The only thing I've found is that when you stop gdm3 ("service gdm3
>> stop") and go to a tty, a "shutdown -r now" won't produce any sound so
>> I'm starting to think this loud beep is coming from the GNOME side...
>>
>>
>>
> Perhaps /etc/gdm3/greeter.gconf-defaults has the solution?
>
> # Play system beeps - especially the one when the greeter is ready
> /desktop/gnome/sound/event_sounds false

(...)

I already tested that but didn't work :-(

http://lists.debian.org/debian-user/2011/07/msg00815.html

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.12...@gmail.com
0 new messages