From owner-freebsd-current@FreeBSD.ORG Thu Jun 23 19:35:51 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50F7916A41F for ; Thu, 23 Jun 2005 19:35:51 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82C3843D49 for ; Thu, 23 Jun 2005 19:35:50 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 93454 invoked by uid 89); 23 Jun 2005 19:34:28 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 23 Jun 2005 19:34:28 -0000 Date: Thu, 23 Jun 2005 21:35:42 +0200 From: Oliver Lehmann To: "Ryan R." Message-Id: <20050623213542.001e162d.lehmann@ans-netz.de> In-Reply-To: <2707.127.0.0.1.1119554458.squirrel@www.epicoftimewasted.com> References: <2707.127.0.0.1.1119554458.squirrel@www.epicoftimewasted.com> X-Mailer: Sylpheed version 2.0.0beta3 (GTK+ 2.6.8; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Sound/volume control problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 19:35:51 -0000 Ryan R. wrote: > Is this a FreeBSD error, or a user error? Is there anything that I could > try to fix the problem? Thanks. That is a xmms error. In Output/esd/mixer.c and Output/OSS/mixer.c, ioctl is called with a int declared request argument. Regarding to the ioctl manpage it has to be long instead of int. On 32bit platforms that doesn't matter since int has the same size than long has. On 64bit platforms int and long differs. I made two patches to multimedia/beep-media-player which are fixing those problems in bmp. They should be easily adoptable for xmms since bmp is a xmms fork. for reference: multimedia/beep-media-player/files/patch-Output-esd-mixer.c multimedia/beep-media-player/files/patch-Output-OSS-mixer.c -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/