Hi Aaron: The problem is that it is desirable to have the beep emitted at the character-cell-based keyboard and language screens of the live CD for all machines and all environments (e.g., VirtualBox) when an accessibility option is chosen from the GRUB screen. So, editing /kernel/drv/audiohd.conf in these cases is impossible. :-(
I did experiment with editing /kernel/drv/audiohd.conf on an installed Toshiba R500, though. If I set audiohd_beep=0, I don't hear anything audible with: printf "\\a" But, I can manage to get it to sound like a very quiet sick kitten purring on life support with the following: while true; do printf "\\a"; done Note that the above only seems to work when the X server is running. If I 'svcadm disable gdm' and stay in character-cell mode, I cannot coax a beep out of the machine. :-( Will Aaron Zang wrote: > Hi Will, > > As far as I can recollect, it seemed that Toshiba R500 does not have a > beep widget in its audio hardware. > So you can try to modify /kernel/drv/audiohd.conf to set audiohd_beep=0, > and then power cycle your > machine (do no use fast reboot). > > If that does not get your beep back, please let us know. > > Hope it helps. > > Regards, > Aaron > > On 08/19/09 21:39, Willie Walker wrote: >> Hi All: >> >> Just to follow up on this. I'm not hearing the beep on my Toshiba >> Portege R500 as of b118. :-( Sang - do you have a pointer to the bug >> you filed? >> >> Will >> >> lipeng sang wrote: >>> Hi, Garrett/Minskey/Aaron >>> >>> Thank you for your earnest help! You are absolutely right! >>> >>> I just know that removing audio driver will maybe disable the beep. >>> But I don't consider that removing audio driver can enable the beep ;) >>> >>> The beep works well after I removed the audiohd driver under >>> opensolaris! >>> >>> So as Minskey said, >>> "You can rem_drv audiohd and see if beep can work or not for >>> opensolaris. If beep is connected to audio device and as an >>> input (recording source), the audio driver could disable/mute >>> some widget which is on the path of beep." >>> >>> I will file a bug and fix it. :) >>> >>> --Sang Lipeng >>> >>> >>> >>> Garrett D'Amore ??: >>>> Aaron Zang wrote: >>>>> >>>>>> >>>>>> So I think it has no related to audiohd driver. >>>>> >>>>> Our audio framework seems lack of a interface to enable/disable the >>>>> beeper which is wired to audio devices. >>>>> The beeper should be enabled by the driver by default, and can be >>>>> disabled via the interface. >>>> >>>> Boomer introduces support for this for some AC'97 devices. We don't >>>> have it for audiohd though. (This could be added in the audiohd >>>> driver ... the framework needs no change to support it.) >>>> >>>> -- Garrett >>>>> >>>>>> >>>>>> But to detail reason why it's different between Solaris and >>>>>> Opensolaris, >>>>>> I don't know yet. >>>>>> I'm not clear the difference between them, is Opensolaris short of >>>>>> some package ? >>>>>> >>>>>> >>>>>> --Sang Lipeng >>>>>> >>>>>> >>>>>> >>>>>> Willie Walker ??: >>>>>>> Thanks Minksey! >>>>>>> >>>>>>> I booted the live CD of Ubuntu and didn't notice a beep anywhere >>>>>>> under the /proc/asound hierarchy. Ubuntu has the same missing >>>>>>> beep problem as OpenSolaris, though, so perhaps this is why. >>>>>>> >>>>>>> In any case, I'm psyched to see some progress being made here and >>>>>>> hope this can be resolved for 2009.06. Many thanks everyone. >>>>>>> >>>>>>> Will >>>>>>> >>>>>>> minskey guo wrote: >>>>>>>> Many HD codec has both analog beep and digital beep. IHVs >>>>>>>> may provide a method to enable one of them. I remember that >>>>>>>> R500 uses Realtek's Codec. If yes, the codec has a beep widget >>>>>>>> which is logically on the same wire as external analog beep(If >>>>>>>> the pin >>>>>>>> of codec is connected to an external beep). >>>>>>>> >>>>>>>> there is a HD verb to disable internal digital beep, so that analog >>>>>>>> beep works, or vice versa. But for you case, seems that there is no >>>>>>>> extral analog beep. (BTW, You menioned ubuntu, you can check if >>>>>>>> there is a beep under like this: /proc/asound/cardx/codecx/beep) >>>>>>>> >>>>>>>> If the audiohd driver is required to enable digital beep. Then, >>>>>>>> there >>>>>>>> is an problem to be solved here: Probably, the routine beep_on() >>>>>>>> and beep_off() need to check if audio driver exports a beep >>>>>>>> interface, >>>>>>>> and use it to make a sound. >>>>>>>> >>>>>>>> -minskey >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Willie Walker ??: >>>>>>>>> Hi Alan: >>>>>>>>> >>>>>>>>> Unfortunately, at the point at where I want the system to beep, >>>>>>>>> the X Server has not yet been started. It's at the >>>>>>>>> character-cell console language and keyboard layout prompts you >>>>>>>>> get when you first boot the live CD. >>>>>>>>> >>>>>>>>> In any case, it sounds like Yangrong Zhou might on the trail >>>>>>>>> for this problem. If that's the case, it would be really >>>>>>>>> awesome and also help me avoid any regret for the $$$'s spent >>>>>>>>> on the R500. >>>>>>>>> >>>>>>>>> I might also try to spin up a new custom live CD to see if the >>>>>>>>> /usr/bin/audioplay and /usr/share/sounds/generic.wav files are >>>>>>>>> available and working (and /usr/bin/espeak for that matter). If >>>>>>>>> that's the case, then I might be able to come up with a richer >>>>>>>>> solution than the beep-based one I put in place for 2008.11. >>>>>>>>> >>>>>>>>> Will >>>>>>>>> >>>>>>>>> Alan Coopersmith wrote: >>>>>>>>>> What build are you trying on? One of the new "features" in >>>>>>>>>> Xorg 1.5 >>>>>>>>>> (b107 and later) is that when X beeps, it now uses both >>>>>>>>>> /dev/audio & >>>>>>>>>> /dev/kbd, to make sure you really hear it. (We probably need >>>>>>>>>> to add >>>>>>>>>> some configuration options to allow you to disable one or the >>>>>>>>>> other >>>>>>>>>> before the remaining Ferrari 4000 users form a lynch mob at my >>>>>>>>>> door, >>>>>>>>>> but I haven't gotten to that yet.) >>>>>>>>>> >>>>>>>>>> -Alan Coopersmith- alan.coopersmith at sun.com >>>>>>>>>> Sun Microsystems, Inc. - X Window System Engineering >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Willie Walker wrote: >>>>>>>>>>> Hi All: >>>>>>>>>>> >>>>>>>>>>> As part of the OpenSolaris accessible live CD and install >>>>>>>>>>> work, we play audible prompts (beeps) at the keyboard layout >>>>>>>>>>> and language selection screens presented during the boot of >>>>>>>>>>> the live CD. These prompts allow blind people to determine >>>>>>>>>>> that they are being asked for input. When coupled with >>>>>>>>>>> separate written documentation, the user can then work their >>>>>>>>>>> way through the boot and install the system without sighted >>>>>>>>>>> assistance. >>>>>>>>>>> >>>>>>>>>>> On *some* machines, notably this nice little Toshiba Portege >>>>>>>>>>> R500 laptop in my lap, the console beep doesn't seem to work. >>>>>>>>>>> As a means for testing this, I do an "svcadm disable gdm", >>>>>>>>>>> login, and then type "/usr/bin/printf '\a'". I know the beep >>>>>>>>>>> *can* work -- if I press/hold the Escape key while powering >>>>>>>>>>> the machine on, I get a nice loud beep. >>>>>>>>>>> >>>>>>>>>>> Aside from being able to set the volume level of the beep >>>>>>>>>>> (which I have set to the loudest setting), I cannot see >>>>>>>>>>> anything in the BIOS that lets me enable/disable the system >>>>>>>>>>> bell. I've also tried mucking with /etc/kbd/default to no avail. >>>>>>>>>>> >>>>>>>>>>> I'm not sure if this is a hardware issue or a driver issue, >>>>>>>>>>> and I'm wondering if anyone has any ideas. >>>>>>>>>>> >>>>>>>>>>> Will >>>>>>>>>>> >>>>>>>>>>> PS - my next step is to boot a live CD from a different >>>>>>>>>>> distribution (e.g., Ubuntu) to see if it exhibits the same >>>>>>>>>>> problem. >>>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> laptop-discuss mailing list >>>>>>>>> laptop-discuss at opensolaris.org >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> laptop-discuss mailing list >>>>>>>> laptop-discuss at opensolaris.org >>>>>>> >>>>>>> _______________________________________________ >>>>>>> laptop-discuss mailing list >>>>>>> laptop-discuss at opensolaris.org >>>>>> >>>>>> _______________________________________________ >>>>>> laptop-discuss mailing list >>>>>> laptop-discuss at opensolaris.org >>>>> >>>>> _______________________________________________ >>>>> laptop-discuss mailing list >>>>> laptop-discuss at opensolaris.org >>>> >>> >>> _______________________________________________ >>> laptop-discuss mailing list >>> laptop-discuss at opensolaris.org >> >
