From owner-freebsd-emulation@FreeBSD.ORG Sat May 9 17:39:49 2009 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 1FA10106564A for ; Sat, 9 May 2009 17:39:49 +0000 (UTC) (envelope-from jamie@bishopston.net) Received: from pacha.mail.bishopston.net (pacha.mail.bishopston.net [66.148.74.41]) by mx1.freebsd.org (Postfix) with ESMTP id D082D8FC0C for ; Sat, 9 May 2009 17:39:48 +0000 (UTC) (envelope-from jamie@bishopston.net) X-Catflap-Envelope-From: X-Catflap-Envelope-To: Received: from catflap.bishopston.net (jamie@localhost [127.0.0.1]) by catflap.bishopston.net (8.14.3/8.14.3) with ESMTP id n49HHjpC000399 for ; Sat, 9 May 2009 18:17:45 +0100 (BST) (envelope-from jamie@catflap.bishopston.net) Received: (from jamie@localhost) by catflap.bishopston.net (8.14.3/8.12.9/Submit) id n49HHj5C000398 for freebsd-emulation@freebsd.org; Sat, 9 May 2009 18:17:45 +0100 (BST) From: Jamie Landeg Jones Message-Id: <200905091717.n49HHj5C000398@catflap.bishopston.net> Date: Sat, 09 May 2009 18:17:45 +0100 Organization: http://www.bishopston.com/jamie/ To: freebsd-emulation@freebsd.org User-Agent: Heirloom mailx 12.3 7/15/07 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-4.0.1 (catflap.bishopston.net [127.0.0.1]); Sat, 09 May 2009 18:17:45 +0100 (BST) X-Virus-Scanned: clamav-milter 0.95 at catflap.bishopston.net X-Virus-Status: Clean Subject: Re: wine, mixer pcm volume reset to 0:0 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: Sat, 09 May 2009 17:39:49 -0000 Not a fix, but a workaround on FreeBSD, that doesn't require you to switch to emulated sound 1) Create a new group "nomixer" by editting /etc/group e.g. nomixer:*:2000: 2) Add the following 2 lines to /etc/devfs.conf: own mixer root:nomixer perm mixer 0606 3) Modify the wine binary as such: chgrp nomixer /usr/local/bin/wine chmod g+s /usr/local/bin/wine This basically means that wine doesn't have access to /dev/mixer so can't alter anything. You as a user still retain access, and also, any wine apps that have a volume control STILL work, because that volume is not changed using /dev/mixer