PC Speaker in Bochs and/or Qemu

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Stevo14
Member
Member
Posts: 179
Joined: Fri Mar 07, 2008 3:40 am
Location: Arad, Romania

PC Speaker in Bochs and/or Qemu

Post by Stevo14 »

So, my beep() function works on real hardware but not in Bochs or Qemu. Do I need to do anything special to enable the PC speaker in either Bochs or Qemu?

I'm running Ubuntu 7.10 x86 with an Intel sound card (if this makes any difference). Also, standard installations of Bochs and Qemu.
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

i have the same problem, it occasionally works though.

If you click reset on the bochs GUI when its meant to be beeping, see if that works. It does for me, but wont shutup :s
~ Lukem95 [ Cake ]
Release: 0.08b
Image
User avatar
Stevo14
Member
Member
Posts: 179
Joined: Fri Mar 07, 2008 3:40 am
Location: Arad, Romania

Post by Stevo14 »

lukem95 wrote:i have the same problem, it occasionally works though.

If you click reset on the bochs GUI when its meant to be beeping, see if that works. It does for me, but wont shutup :s
No luck. Silent as the grave...
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

Well i wouldn't worry, if it works on real hardware thats the main thing :)
~ Lukem95 [ Cake ]
Release: 0.08b
Image
User avatar
Stevo14
Member
Member
Posts: 179
Joined: Fri Mar 07, 2008 3:40 am
Location: Arad, Romania

Post by Stevo14 »

Yea, I'd like to be able to use it for quick debugging though. Actually, after some research it seems that it is something specific with Ubuntu and not Bochs or Qemu.
It's ironic, it seems that a lot of Ubuntu users can't get their PC speaker to turn off... and I can't get it to turn on! :roll:
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

I use Ubuntu 7.10 as a dual boot (not for dev though), and I have a similar problem with my headphone jack, not speakers. It all depends on the soundcard. You can always try updating the alsa driver.
User avatar
Stevo14
Member
Member
Posts: 179
Joined: Fri Mar 07, 2008 3:40 am
Location: Arad, Romania

Post by Stevo14 »

It's not a problem with my regular speakers or my headphones, they work fine. It's that annoying (yet helpful) "beeep" that you get sometimes during the boot process if something went wrong. The solution still alludes me. I will post back if I ever get anywhere. (as this has become an Ubuntu problem, not and os-dev problem)
Post Reply