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


Reply via email to