Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 2009 18:17:45 +0100
From:      Jamie Landeg Jones <jamie@bishopston.net>
To:        freebsd-emulation@freebsd.org
Subject:   Re: wine, mixer pcm volume reset to 0:0
Message-ID:  <200905091717.n49HHj5C000398@catflap.bishopston.net>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905091717.n49HHj5C000398>