From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 2 12:49:34 2008 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 302E6106568F; Thu, 2 Oct 2008 12:49:34 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE1A8FC14; Thu, 2 Oct 2008 12:49:33 +0000 (UTC) (envelope-from tijl@ulyssis.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEABpg5EhR92d+/2dsb2JhbACBZrsSgWo Received: from 126.103-247-81.adsl-dyn.isp.belgacom.be (HELO kalimero.kotnet.org) ([81.247.103.126]) by relay.skynet.be with ESMTP; 02 Oct 2008 14:49:31 +0200 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id m92CkvvT081473; Thu, 2 Oct 2008 14:46:57 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: Vladimir Grebenschikov , freebsd-emulation@freebsd.org, Chagin Dmitry Date: Thu, 2 Oct 2008 14:46:55 +0200 User-Agent: KMail/1.9.10 References: <200810011852.45247.tijl@ulyssis.org> <1222927463.1798.11.camel@localhost> In-Reply-To: <1222927463.1798.11.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810021446.57051.tijl@ulyssis.org> Cc: Subject: Re: firefox & flash9 patches 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: Thu, 02 Oct 2008 12:49:34 -0000 On Thursday 02 October 2008 08:04:23 Vladimir Grebenschikov wrote: > On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote: > > Do you have working sound with your flashsupport patch and flash9 ? > > I've tried both - your pre-build library and to build library myself > with your patch - same effect, I have a lot of "ALSA" complains on > output and no actual sound: > (I am trying on 8-CURRENT) > > ... > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device > ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device > ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default > ALSA lib pcm_hw.c:1305:(_snd_pcm_hw_open) Invalid value for card > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device > ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device > ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default > ALSA lib pcm_hw.c:1305:(_snd_pcm_hw_open) Invalid value for card > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' > ... > > Any hints will be very appreciated. I have sound in both linux-firefox and native firefox 2. The libflashsupport installed by the linux-flashplugin9 port already makes sound work for me. I have the following linux packages installed: linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-firefox-2.0.0.17 Web browser based on the browser portion of Mozilla linux-flashplugin-9.0r124_1 Adobe Flash Player NPAPI Plugin linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34 RPM of the JPEG lib linux-openssl-0.9.7f SSL and crypto library (Linux Version) linux-pango-1.10.2 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-tiff-3.7.1 TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64) Kernel with Dmitry's linprocfs patch and linprocfs mounted on /compat/linux/proc sysctl compat.linux compat.linux.oss_version: 198144 compat.linux.osrelease: 2.4.2 compat.linux.osname: Linux That's it for linux-firefox. For native firefox, you need to install nspluginwrapper and run "nspluginwrapper -v -a -i" as root. My patch for libflashsupport improves handling of the sound buffer, but sound should already work without it.