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.
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.
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!
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.
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)