Use sound card instead of pcspeaker for user notification. This is splited in two pairs kernel module & user space daemon that actually beeps. kernel 2.6 & udev|devfs are required.
download here
Vitja Makarov (c) 2004,
no1sm [at] narod [dot] ru