From owner-freebsd-usb@FreeBSD.ORG Mon Oct 28 16:20:00 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 92E72B93 for ; Mon, 28 Oct 2013 16:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6FC062A71 for ; Mon, 28 Oct 2013 16:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9SGK04U026763 for ; Mon, 28 Oct 2013 16:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9SGK0Ea026762; Mon, 28 Oct 2013 16:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 28 Oct 2013 16:20:00 GMT Resent-Message-Id: <201310281620.r9SGK0Ea026762@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Taner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1BF0CB68 for ; Mon, 28 Oct 2013 16:17:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09FD02A58 for ; Mon, 28 Oct 2013 16:17:32 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9SGHVBi071608 for ; Mon, 28 Oct 2013 16:17:31 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9SGHV0t071607; Mon, 28 Oct 2013 16:17:31 GMT (envelope-from nobody) Message-Id: <201310281617.r9SGHV0t071607@oldred.freebsd.org> Date: Mon, 28 Oct 2013 16:17:31 GMT From: Taner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/183409: USB Class 2 audio device playback issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 16:20:00 -0000 >Number: 183409 >Category: usb >Synopsis: USB Class 2 audio device playback issue >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 28 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Taner >Release: 10.0-BETA1 >Organization: >Environment: FreeBSD bsd 10.0-BETA1 FreeBSD 10.0-BETA1 #2 r256773M: Sun Oct 20 20:52:31 EEST 2013 root@bsd:/usr/obj/usr/src/sys/GENERIC amd64 >Description: My asyncronous USB to I2S interface (http://amanero.com/) has detected on a amd64 FreeBSD-10.0-BETA1 system. But playback is crackling like old vinyl records. I haven't similar issues with other operating systems. With enabling debug, lots of these error messages appear on dmesg output: uaudio_chan_play_sync_callback: Value = 0x0005fff8 uaudio_chan_play_sync_callback: Comparing 47998 < 48000 uaudio_chan_play_sync_callback: Value = 0x0005fff6 uaudio_chan_play_sync_callback: Comparing 47998 < 48000 or uaudio_chan_play_sync_callback: Value = 0x000bfff0 uaudio_chan_play_sync_callback: Comparing 95997 < 96000 uaudio_chan_play_sync_callback: Value = 0x000bfff0 uaudio_chan_play_sync_callback: Comparing 95997 < 96000 ---> dmesg output while device attached uaudio0: at uhub1, port 3, addr 1 (disconnected) pcm0: detached uaudio0: on usbus0 uaudio0: Play: 96000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 88200 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 48000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 32000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: No recording. uaudio0: No MIDI sequencer. pcm0: on uaudio0 uaudio0: No HID volume keys found. >How-To-Repeat: Playback any audio file/stream. >Fix: >Release-Note: >Audit-Trail: >Unformatted: