I'm using the OSS support.

I dumped the HD output widgets by adding the following to hdaudio.c
char tmp_debug[256];
/* dump the HDA widget for debugging */
  
    sprintf(tmp_debug,"name: %s is output: %d,ix: %d, cad: %d, base_wid: 
%d, recsrc_wid: %d,volume_wid: %d,borrow_count: %d, binding: 
%d,afg:%d,min_rate: %d,max_rate: %d,channels: %d,fmt_mask: %d,busy: 
%d,stream_number: %d,default_stream_number: %d,iddl_stream: 
%d,is_digital: %d, auto_muted: %d, skip: %d,already_used: 
%d\n",endpoints[i].name,endpoints[i].is_output,endpoints[i].ix,endpoints[i].cad,endpoints[i].base_wid,
        
endpoints[i].recsrc_wid,endpoints[i].volume_wid,endpoints[i].borrow_count,endpoints[i].binding,endpoints[i].afg,
        
endpoints[i].min_rate,endpoints[i].max_rate,endpoints[i].channels,endpoints[i].fmt_mask,endpoints[i].busy,endpoints[i].stream_number,
        
endpoints[i].default_stream_number,endpoints[i].iddle_stream,endpoints[i].is_digital,endpoints[i].auto_muted,endpoints[i].skip,
        endpoints[i].already_used);

    cmn_err(CE_NOTE,tmp_debug);

and the output was:

Jul  4 10:42:59 jadzia hdaudio: [ID 445954 kern.notice] NOTICE: name: 
front is output: 0,ix: 0, cad: 0, base_wid: 3, recsrc_wid: 3,volume_wid: 
3,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
2,fmt_mask: 4112,busy: 0,stream_number: 1,default_stream_number: 
1,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 707976 kern.notice] NOTICE: name: 
center/LFE is output: 0,ix: 2, cad: 0, base_wid: 5, recsrc_wid: 
5,volume_wid: 5,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 
0,channels: 2,fmt_mask: 4112,busy: 0,stream_number: 
3,default_stream_number: 3,iddl_stream: 0,is_digital: 0, auto_muted: 0, 
skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 768149 kern.notice] NOTICE: name: 
rear is output: 0,ix: 3, cad: 0, base_wid: 6, recsrc_wid: 6,volume_wid: 
6,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
2,fmt_mask: 4112,busy: 0,stream_number: 4,default_stream_number: 
4,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 201198 kern.notice] NOTICE: name: 
pcm is output: 0,ix: 0, cad: 1, base_wid: 2, recsrc_wid: 2,volume_wid: 
2,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
1,fmt_mask: 0,busy: 0,stream_number: 1,default_stream_number: 
1,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 989969 kern.notice] NOTICE: name: 
pcm is output: 0,ix: 1, cad: 1, base_wid: 3, recsrc_wid: 3,volume_wid: 
3,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
1,fmt_mask: 0,busy: 0,stream_number: 2,default_stream_number: 
2,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 878759 kern.notice] NOTICE: name: 
pcm is output: 0,ix: 2, cad: 1, base_wid: 4, recsrc_wid: 4,volume_wid: 
4,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
1,fmt_mask: 0,busy: 0,stream_number: 3,default_stream_number: 
3,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 767549 kern.notice] NOTICE: name: 
pcm is output: 0,ix: 3, cad: 1, base_wid: 5, recsrc_wid: 5,volume_wid: 
5,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
1,fmt_mask: 0,busy: 0,stream_number: 4,default_stream_number: 
4,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0
Jul  4 10:42:59 jadzia hdaudio: [ID 656339 kern.notice] NOTICE: name: 
pcm is output: 0,ix: 4, cad: 1, base_wid: 6, recsrc_wid: 6,volume_wid: 
6,borrow_count: 0, binding: 0,afg:0,min_rate: 0,max_rate: 0,channels: 
1,fmt_mask: 0,busy: 0,stream_number: 5,default_stream_number: 
5,iddl_stream: 0,is_digital: 0, auto_muted: 0, skip: 0,already_used: 0


Garrett D'Amore wrote:
> Maria Welborn wrote:
>> It's a Toshiba Satellite L30 (PSL30A) laptop, so I assume it'll be 
>> some sort of mobile board customized by toshiba. I could take the 
>> machine apart and have a look for any possible identifying markings.
>>
>> I think this particular chip has some sort of identity crisis, it's 
>> listed as an ATI SB450 in the devices tool but appears to behave 
>> exactly like a realtek ALC861 from a software perspective. I've been 
>> able to get audio output on linux and freebsd by hard coding pin 
>> configuration by try and error, so i'm thinking my next step will be 
>> to dump the HDA Widget table and see if that gives me hints on how 
>> it's meant to be configured or how this BIOS breaks the parser.
>>   
>
> If you do that, send us the output.  We may have new binaries for you 
> to test soon.  Are you using OSS, or stock Solaris audio?
>
>    -- Garrett
>> Garrett D'Amore wrote:
>>  
>>> We are working on this already, although I'm not sure that 
>>> particular chipset is one we are working with.  Can you provide more 
>>> information about what model motherboard you have?
>>>
>>>    -- Garrett
>>>
>>> Maria Welborn wrote:
>>>    
>>>> Hello everyone,
>>>>
>>>> I'm interested in working on more complete support for Intel HD 
>>>> Audio compatible chips, in particular, the ATI SB450 doesn't seem 
>>>> to be supported at all and I have one of these chips so i'll be 
>>>> working on getting that working - the problem seems to relate to 
>>>> the widget parser required by the HDA spec and the widget table in 
>>>> my machine's bios seems to be buggy (it doesn't work with linux 
>>>> eaither)
>>>>
>>>> I am wondering if there is anyone else working on this already?
>>>>
>>>> _______________________________________________
>>>> driver-discuss mailing list
>>>> [email protected]
>>>> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>>>>         
>>
>> _______________________________________________
>> driver-discuss mailing list
>> [email protected]
>> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>>   
>

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to