From owner-freebsd-stable@FreeBSD.ORG Fri Apr 8 05:56:01 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 575F616A4CE for ; Fri, 8 Apr 2005 05:56:01 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FCDD43D5A for ; Fri, 8 Apr 2005 05:56:01 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 2AD1A72DDB; Thu, 7 Apr 2005 22:56:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 2602472DD9; Thu, 7 Apr 2005 22:56:01 -0700 (PDT) Date: Thu, 7 Apr 2005 22:56:01 -0700 (PDT) From: Doug White To: Christian Laursen In-Reply-To: <86y8c1q9fh.fsf@borg.borderworlds.dk> Message-ID: <20050407223132.U57391@carver.gumbysoft.com> References: <86y8c1q9fh.fsf@borg.borderworlds.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: 5.4-PRERELEASE usb audio problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 05:56:01 -0000 On Sat, 2 Apr 2005, Christian Laursen wrote: > When I plug in my Logitech USB headset I get the following: > > uaudio0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2 > uaudio_add_selector: NOT IMPLEMENTED I think this is the problem here. > uaudio0: audio rev 1.00 > pcm1: on uaudio0 > pcm1: chn_init(pcm1:play:0) failed: err = 19 > pcm1: pcm_chn_create(ua_chan, 1, 0xc1974780) failed > uhid0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2, iclass 1/1 > > With 5.3 and earlier it used to at least work for playback but now > it seems to be completely broken. > > I saw a lot of commits to uaudio, including recording support. Does > something need to be merged from -CURRENT for it to work properly? I have a Playstation2 branded headset which appears the same as yours. Poking around in the code, there is a UAUDIO_MULTIPLE_ENDPOINTS #define that is commented out. Compiling with that defined gets a little more info -- it appears that the underlying USB layer is not providing multiple endpoints for a specific interface. I'm turning on debugging and seeing if something is getting confused in reading the hardware configuration or if its a dumb bug. The code certainly appears to try iterating over the endpoints. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org