lipeng sang - Sun Microsystems - Beijing China wrote:
> 
> I tested this problem with Dell D630 and TOSHIBA M9 these days,
> and found that it works well in Solaris and it doesn't work in Opensolaris.
> Also, .wav file can be played in both Solaris and Opensolaris.
> 
> If audio driver has problem, why it works well in solaris and not
> Opensolaris under the same machine ?
> 

The beeper might be disabled somewhere other than audiohd driver
in Opensolaris if it truly is the case.


> Furthermore, I removed the audiohd driver from the Solaris,
> the .wav file can't be played, but beep works well.


The beeper does not rely on the driver to beep, the driver may
have it muted/unmuted though.


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

> 
> 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


Reply via email to