From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 2 03:50:18 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C637716A4D2 for ; Wed, 2 Feb 2005 03:50:18 +0000 (GMT) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id F171943D2D for ; Wed, 2 Feb 2005 03:50:15 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 14B2B4D809F; Wed, 2 Feb 2005 12:50:14 +0900 (JST) Date: Wed, 02 Feb 2005 12:50:13 +0900 (JST) Message-Id: <20050202.125013.343181897.kazuhito@ph.noda.tus.ac.jp> To: freebsd-misuser@NOSPAM.dyndns.dk, freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk From: Kazuhito HONDA In-Reply-To: <200502011815.j11IFWkB004113@Mail.NOSPAM.DynDNS.dK> References: <20050201.025634.343191193.kazuhito@ph.noda.tus.ac.jp> <20050202.002449.343190992.kazuhito@ph.noda.tus.ac.jp> <200502011815.j11IFWkB004113@Mail.NOSPAM.DynDNS.dK> X-Mailer: Mew version 3.3 on XEmacs 21.5-b18 (chestnut) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org Subject: Re: Which USB-Soundcards work? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 03:50:18 -0000 From: Barry Bouwsma Subject: Re: Which USB-Soundcards work? Date: Tue, 1 Feb 2005 19:15:32 +0100 (CET) > On Wed, 02 Feb 2005 00:24:49 +0900 (JST), Kazuhito HONDA wrote: > > I might plug my headphone in a microphone hole yesterday. > > I'm ashamed for making a big mistake. > > Do not be ashamed, we all make mistakes like this :-) Thank you for your kind words. > I just obtained the Creative Audigy 2 NX USB today, and while it > looks promising when I connected it (uaudio finds it, and recognizes > what it can do), it doesn't quite seem to be able to play back yet. > I haven't tried -- I just saw the errors below, and `mixer' reports > it's only mixer-aware. > play channel supported format list invalid > pcm1: chn_init(pcm1:play:0) failed: err = 19 > pcm1: pcm_chn_create(ua_chan, 1, 0xc19f4a80) failed > record channel supported format list invalid > pcm1: chn_init(pcm1:record:0) failed: err = 19 > pcm1: pcm_chn_create(ua_chan, -1, 0xc19f4a80) failed These look like the same problem as below: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=246398+0+archive/2004/freebsd-usb/20041231.freebsd-usb If they are just same problems, It will be resolved by changing UAUDIO_PCM_BUFF_SIZE definition to (16*1024)-4 in uaudio_pcm.c. (if it is (18*1024)-1, sound right-left will be counterchanged.) This problem must come from maxsegz size in the function bus_dma_tag_create() in uaudio_pcm.c which is smaller than UAUDIO_PCM_BUFF_SIZE and one digit smaller than maxsegzs of other audio devices. Actually, this problem can be fixed by changing maxsegz from 0x3fff to 0x3ffff. But I don't know it has some reasons, or it is a mere copy mistake. Kazuhito HONDA