From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 26 02:26:34 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6C13106564A for ; Sun, 26 Sep 2010 02:26:34 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF078FC08 for ; Sun, 26 Sep 2010 02:26:34 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o8Q2QW89038089 for ; Sat, 25 Sep 2010 21:26:32 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Sat, 25 Sep 2010 21:26:32 -0500 (CDT) From: "Sean C. Farley" To: freebsd-emulation@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=1.0 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL, TO_NO_BRKTS_DIRECT autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: Subject: Attempting to get newer Skype to work (sound) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 02:26:34 -0000 I have been attempting to get Skype 2.1.0.81 working on FreeBSD with limited success. A patch is required for a few ioctl's to work. It fixes SOUND_MIXER_INFO and SOUND_OLD_MIXER_INFO to return success instead of defaulting to an error (ENOIOCTL). It also adds an SOUND_MIXER_READ_CAPS ioctl. No errors are seen, but I would definitely like someone else to review this (head[1] and stable[2]). The next piece required is audio/linux-f10-alsa-plugins-oss. Two PR's have a version of this port. I am using the version from ports/147549[3] with some additions for all my system's sound devices. Of course, since things should never be simple, I needed to build a patched version of the binary[4] that incorporated most of the code from ariff@[5]. Testing it with arecord from linux-f10-alsa-utils found in pr/147554[6] demonstrates a working microphone. This is necessary since it is a Linux binary accessing a FreeBSD device directly and not through the compatibility layer. Unfortunately, while sound output works in Skype and the microphone works within arecord, I cannot get Skype to use the microphone correctly. It seems to detect it, but the echo service records nothing. In fact, after the recording portion (several seconds) is over the playback portion lasts less than a second. Video does not work, but that is another adventure. I am currently trying to get Skype to work at the same level it did with the older, more-advanced (supporting OSS) version. :) Suggestions and/or sympathy welcome. Sean 1. http://people.freebsd.org/~scf/sound/linux_ioctl-head.patch 2. http://people.freebsd.org/~scf/sound/linux_ioctl-stable.patch 3. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147549 4. http://people.freebsd.org/~scf/sound/alsa-plugins-oss-1.0.21-3.fc10.i386.rpm 5. http://people.freebsd.org/~ariff/libasound/ 6. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147554 -- scf@FreeBSD.org