From owner-freebsd-amd64@FreeBSD.ORG Thu Jun 23 20:44:11 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3321C16A41C for ; Thu, 23 Jun 2005 20:44:11 +0000 (GMT) (envelope-from freebsd@epicoftimewasted.com) Received: from anya.eboundary.com (anya.eboundary.com [69.90.127.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id F378343D58 for ; Thu, 23 Jun 2005 20:44:10 +0000 (GMT) (envelope-from freebsd@epicoftimewasted.com) Received: from epicofti by anya.eboundary.com with local (Exim 4.51 (FreeBSD)) id 1DlYds-000BlD-0k; Thu, 23 Jun 2005 16:49:44 -0400 Received: from 127.0.0.1 ([127.0.0.1]) (SquirrelMail authenticated user freebsd@epicoftimewasted.com) by www.epicoftimewasted.com with HTTP; Thu, 23 Jun 2005 16:49:44 -0400 (EDT) Message-ID: <3239.127.0.0.1.1119559784.squirrel@www.epicoftimewasted.com> In-Reply-To: <20050623213542.001e162d.lehmann@ans-netz.de> References: <2707.127.0.0.1.1119554458.squirrel@www.epicoftimewasted.com> <20050623213542.001e162d.lehmann@ans-netz.de> Date: Thu, 23 Jun 2005 16:49:44 -0400 (EDT) From: "Ryan R." To: "Oliver Lehmann" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anya.eboundary.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [1018 1019] / [26 6] X-AntiAbuse: Sender Address Domain - epicoftimewasted.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-amd64@freebsd.org Subject: [FIXED] Sound/volume control problem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 20:44:11 -0000 Ok, it's time to open mouth and insert foot I believe. I've long since lost the manual for this sound card, and have ripped the computer apart so many times since the manual was last seen. To make a long, rather embarrassing story short, I had my speakers hooked up incorrectly. I hate when the solution is so simple that you think it could never be that easy. I believe a wise man once said... "Doh!" Thanks though, I had never heard of bmp, and at first glance it looks pretty nice. I'll have to see if I like it more than xmms. Ryan > 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/ >