TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Mandriva Linux

Notices

2008 pcspkr apparently not working

Mandriva Linux


Reply
 
Thread Tools Display Modes
Old 09-01-2008, 04:19 AM   #11
Allodoxaphobia
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Mon, 31 Dec 2007 21:40:36 GMT, Robert M. Riches Jr. wrote:
> On 2007-12-31, Allodoxaphobia <> wrote:
>> On Mon, 31 Dec 2007 14:04:14 -0500, David W. Hodgins wrote:
>>> On Mon, 31 Dec 2007 13:36:43 -0500, Robert M. Riches Jr. <> wrote:
>>>
>>>> Hmmm... Any idea what that setting in kcontrol does
>>>> internally to the system? I don't use KDE or Gnome.
>>>
>>> It updates ~/.kde/share/config/kdeglobals, setting UseSystemBell=true, so kde
>>> applications will use the pcspkr, instead of the visual notification.
>>>
>>> Have you checked aumix, to ensure the speaker is on, and the volume is set?
>>>
>>> Which window manager (if any), are you using?

>>
>> Here I find _no_ PC Spkr listed in alsamixer, aumix, nor kmix.
>> Running KDE here.
>> As I stated in another followup here, I _can_ get "System Bell" to work.
>> I cannot get any other program (e.g., `beep`) to toot the speaker.

>
> What 'beep' program are you meaning? What does it actually call?


beep-1.2.2-7mdv2007.1

Useful in a bash script to get the attention of the otherwise
distracted....

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http://jonz.net/ng.htm>
  Reply With Quote
Old 09-01-2008, 04:20 AM   #12
David W. Hodgins
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Mon, 31 Dec 2007 13:36:43 -0500, Robert M. Riches Jr. <> wrote:

> Hmmm... Any idea what that setting in kcontrol does
> internally to the system? I don't use KDE or Gnome.


It updates ~/.kde/share/config/kdeglobals, setting UseSystemBell=true,so kde
applications will use the pcspkr, instead of the visual notification.

Have you checked aumix, to ensure the speaker is on, and the volume is set?

Which window manager (if any), are you using?

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 04:21 AM   #13
Allodoxaphobia
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Sun, 30 Dec 2007 04:31:41 GMT, Robert M. Riches Jr. wrote:
> Has anyone else found 2008.0's pcspkr module to not work?


Yes.

> I modprobed pcspkr, then booted with pcspkr in
> modprobe.preload, and it doesn't seem to be working. Either
> that or someone has made X default to visible flashing
> rather than audible beeping. There is mention on a Fedora
> list that the kernel is broken in handling pcspkr:
>
>
>
> However, I don't see a bug report at qa.mandriva.com about
> this problem.
>
> Any suggestions to troubleshoot it before I file a bug
> report?


Can you get the "System Bell" to work in "System Notifications"?
I _can_. Open a konsole window -- attempt backspace at the prompt --
BEEP!

But, with `beep` installed and chmod'ed 4755, I get no toots from the
speaker. I also have no "PC Spkr" listed in 'aumix` or 'alsamixer` --
whereas there _is_ such an entry over on the MDK 10.2 box.

And, it all JFW on the MDK 10.2 box.

I've got one or two other "issues" with the 2008 install that are taking
precedence over this buglet. Like 1440x900 video not filling the screen.
I was going to get around to this, eventually. :-)

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http://jonz.net/ng.htm>
  Reply With Quote
Old 09-01-2008, 04:22 AM   #14
David W. Hodgins
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Sat, 29 Dec 2007 23:31:41 -0500, Robert M. Riches Jr. <> wrote:

> Has anyone else found 2008.0's pcspkr module to not work?
> I modprobed pcspkr, then booted with pcspkr in


I have it working now. Loaded the module, used kcontrol to set the system bell
to use the pc speaker, turned on the speaker in kmix, and set the volume to max.
Had to restart kde, to get it to work, but it is working now.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 04:22 AM   #15
Allodoxaphobia
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Mon, 31 Dec 2007 14:04:14 -0500, David W. Hodgins wrote:
> On Mon, 31 Dec 2007 13:36:43 -0500, Robert M. Riches Jr. <> wrote:
>
>> Hmmm... Any idea what that setting in kcontrol does
>> internally to the system? I don't use KDE or Gnome.

>
> It updates ~/.kde/share/config/kdeglobals, setting UseSystemBell=true, so kde
> applications will use the pcspkr, instead of the visual notification.
>
> Have you checked aumix, to ensure the speaker is on, and the volume is set?
>
> Which window manager (if any), are you using?


Here I find _no_ PC Spkr listed in alsamixer, aumix, nor kmix.
Running KDE here.
As I stated in another followup here, I _can_ get "System Bell" to work.
I cannot get any other program (e.g., `beep`) to toot the speaker.

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http://jonz.net/ng.htm>
  Reply With Quote
Old 09-01-2008, 04:23 AM   #16
Robert M. Riches Jr.
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On 2007-12-31, David W. Hodgins <> wrote:
> On Mon, 31 Dec 2007 13:36:43 -0500, Robert M. Riches Jr. <> wrote:
>
>> Hmmm... Any idea what that setting in kcontrol does
>> internally to the system? I don't use KDE or Gnome.

>
> It updates ~/.kde/share/config/kdeglobals, setting UseSystemBell=true, so kde
> applications will use the pcspkr, instead of the visual notification.
>
> Have you checked aumix, to ensure the speaker is on, and the volume is set?
>
> Which window manager (if any), are you using?


I'm using twm as my window manager.

Mention of aumix possibly being connected with the PC
speaker is interesting. I wonder since when is there
supposed to be any connection. On my 2007.0 system,
pressing Control-G at an xterm's csh prompt produces an
audible beep from the PC speaker independent of "aumix -p 0"
and "aumix -q" returning "speaker 0, 0".

On my 2008.0 system, pressing Control-G at an xterm's csh
prompt produces a visual flash on the xterm, kernel module
pcspkr is loaded at boot (by /etc/modprobe.preload), and
"aumix -q" returns the following:

vol 81, 81, P
pcm 100, 100
speaker 100, 100
line 100, 100, R
mic 100, 100, P
cd 100, 100, P
igain 40, 40
line1 100, 100, P
dig1 0, 0
phin 100, 100, P
phout 100, 100, P
video 100, 100, P

Thanks for the info and suggestions. It's looking more like
it's almost time to file a bug report.

--
Robert Riches

(Yes, that is one of my email addresses.)
  Reply With Quote
Old 09-01-2008, 04:23 AM   #17
Robert M. Riches Jr.
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On 2007-12-31, Allodoxaphobia <> wrote:
> On Mon, 31 Dec 2007 14:04:14 -0500, David W. Hodgins wrote:
>> On Mon, 31 Dec 2007 13:36:43 -0500, Robert M. Riches Jr. <> wrote:
>>
>>> Hmmm... Any idea what that setting in kcontrol does
>>> internally to the system? I don't use KDE or Gnome.

>>
>> It updates ~/.kde/share/config/kdeglobals, setting UseSystemBell=true, so kde
>> applications will use the pcspkr, instead of the visual notification.
>>
>> Have you checked aumix, to ensure the speaker is on, and the volume is set?
>>
>> Which window manager (if any), are you using?

>
> Here I find _no_ PC Spkr listed in alsamixer, aumix, nor kmix.
> Running KDE here.
> As I stated in another followup here, I _can_ get "System Bell" to work.
> I cannot get any other program (e.g., `beep`) to toot the speaker.


What 'beep' program are you meaning? What does it actually
call?

--
Robert Riches

(Yes, that is one of my email addresses.)
  Reply With Quote
Old 09-01-2008, 04:24 AM   #18
David W. Hodgins
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Mon, 31 Dec 2007 16:39:00 -0500, Robert M. Riches Jr. <> wrote:

> On my 2008.0 system, pressing Control-G at an xterm's csh
> prompt produces a visual flash on the xterm, kernel module


Try running "xterm +vb", or editing ~/.screenrc to turn the visual bell off.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 04:24 AM   #19
David W. Hodgins
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Mon, 31 Dec 2007 16:26:50 -0500, Allodoxaphobia <> wrote:

> Here I find _no_ PC Spkr listed in alsamixer, aumix, nor kmix.


In aumix, it's just called speaker.
$ aumix -q
speaker 100, 100

> Running KDE here.


Strange that kmix would not show the PC Speaker, on the output tab.

> As I stated in another followup here, I _can_ get "System Bell" to work.
> I cannot get any other program (e.g., `beep`) to toot the speaker.


Just installed the beep package from contrib. Running beep, as root,
does nothing here. Running it as a regular user gets
[dave@hodgins ~]$ beep
ioctl: Operation not permitted
ioctl: Operation not permitted
but, it does beep. This is running it in a kde konsole.

Logging into a tty using alt+ctrl+f2, as root, beep does nothing. As
a regular user, it works.

Looks like a problem with the beep program, not the pc speaker module. See
the man page for beep, which suggests running it with setuid root.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 04:25 AM   #20
David W. Hodgins
Guest
 
Posts: n/a
Re: 2008 pcspkr apparently not working

On Mon, 31 Dec 2007 16:39:00 -0500, Robert M. Riches Jr. <> wrote:

> On my 2008.0 system, pressing Control-G at an xterm's csh
> prompt produces a visual flash on the xterm, kernel module


Just tested it. xterm does not use ~/.screenrc. Add the folllowing to
~/.Xdefaults
xterm*visualBell: false

Then logout/in.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 01:09 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional