[desktop-discuss] Eklga OSS Solaris read fails with EAGAIN

Elaine Xiong Elaine.Xiong at Sun.COM
Fri Nov 2 07:22:44 PDT 2007


Mark,

I did a quick test on OSS driver(build1008 x86) using my raw patch. The 
read failure did go away. Thanks for your reminder!
Tweaking the setting of ossxmix is also true so Ekiga and ossrecord can 
record correctly since the default mic volume is zero. Anyway I attached 
my unpolished patch for your reference. It seems some diff between our 
patch except the O_NONBLOCK thing :-D . Maybe we can have a discuss next 
week . I must go now :-)


Best Regards,
Elaine

Mark Wright wrote:
> Hello Elaine,
>
> Thanks very much for your hard work on maintaining Ekiga.
>
> Elaine wrote:
>   
>> Mark,
>>
>> I think the read problem is located in OSS driver. You can try
>> ossrecord to prove it.
>>     
>
> ossrecord works fine.  I'm kind of new to OSS.  I find that
> tweaking the settings in ossxmix helps with getting things
> to work and sound well.
>
> I think the problem with read failing with EAGAIN is in the
> pwlib code, it should not try to do the open() in non-blocking
> mode as described in the documention reference in my
> code comment for the proposed fix.  And of course I provided
> the truss outputs, references to the open sound documentation,
> and my proposed fix support my point of view that the bug is
> in pwlib and not the OSS driver.  Happy to be proved wrong
> though :-).
>
>   
>> It's not appropriate to enable OSS plugin in Ekiga since the record
>> part fails to work.
>>     
>
> It works for me with my fix :-).
>
> Of course I can understand that you don't believe me
> until you've had a chance to test it yourself.
>
>   
>> Actually I made a patch to enable OSS plugin before but interrupted
>> by the read problem.
>>
>> Just FYI,
>>
>> Best Regards,
>> Elaine
>>     
>
> Hopefully my proposed fix will work for you.
>
> Thanks very much.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: oss_patch.diff
Type: text/x-patch
Size: 3084 bytes
Desc: not available
Url : http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20071102/1e883f0d/attachment.bin 


More information about the desktop-discuss mailing list