Page 1 of 1

PC Beep!

Posted: 17. Sep 2008, 22:34
by poco153
Hi there!

I am working with a Xubuntu Guest system on a Vista (Business x64) host system, and I can't seem to get the PC beep to work.

Normally this would not be an issue, but I've just been handed a project for a C++ class that wants me to use the PC speaker. I enabled sound, trying both the soundblaster and the AC97, but neither seems to pass anything through for the PC speaker.

Any ideas are appreciated!

Thanks,

Posted: 17. Sep 2008, 22:42
by Sasquatch
Silly suggestion, but is the PC Speaker not muted on the Guest? My laptop doesn't have a pc speaker either and running Xubuntu native. I can mute the PC Speaker in Alsa mixer. Is the module also loaded?

There is a small chance that the issue is in the Windows Host, but I will leave it here for the time being. When it is certain that it's not the Host, I will move it to Linux Guests.
You do have normal audio in the Guest, right?

Posted: 18. Sep 2008, 17:04
by poco153
I checked in ALSA, and the "PC Speaker, 0" has a checkmark next to it.

I also tried playing music in the guest system, and it plays perfectly.

I suppose I should note that the PC speaker beep I am trying to grab comes from the "beep" shell command.

Thanks!

EDIT:

Er... I decided to take another look around, and I went into the "Services" window, where I discovered that ALSA was unchecked. I checked it since, after all, I would like it to run. I rebooted the VM, and now I have lost all sound.

When I looked in the services pane again after rebooting, ALSA was still unchecked, but I had no sound.

Posted: 19. Sep 2008, 21:10
by Sasquatch
For the beep, if you have a normal PC, I found out that current casings don't always have a PC speaker build in. Even though mainboards still have that connection. It won't be passed to the systems audio controller.

The ALSA service can be started when you issue the /etc/init.d/alsa-utils start command as root.