From owner-freebsd-usb@freebsd.org Tue Aug 7 11:21:17 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01611105972C for ; Tue, 7 Aug 2018 11:21:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9328A8AA9F for ; Tue, 7 Aug 2018 11:21:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 56B2D105972A; Tue, 7 Aug 2018 11:21:16 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34AA11059728 for ; Tue, 7 Aug 2018 11:21:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB3F68AA9C for ; Tue, 7 Aug 2018 11:21:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 245B31E936 for ; Tue, 7 Aug 2018 11:21:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w77BLF9J030935 for ; Tue, 7 Aug 2018 11:21:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w77BLFJ7030934 for usb@FreeBSD.org; Tue, 7 Aug 2018 11:21:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 230434] USB sound card fails to record Date: Tue, 07 Aug 2018 11:21:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chris@crvintel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 11:21:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230434 Bug ID: 230434 Summary: USB sound card fails to record Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: chris@crvintel.com I have a Griffin iMic USB audio sound card connected to a Raspberry Pi 3 B+= and am running FreeBSD-CURRENT r335760. After loading the snd_uaudio kernel module the device is correctly detecte= d as per the following dmesg log: ugen0.7: at usbus0 uaudio0 on uhub1 uaudio0: on usbus0 uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 40000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 24000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm0: on uaudio0 On trying to record from the device the user application concerned fails, a= nd I find in the dmesg output a series of the following errors: pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 uaudio0: No HID volume keys found. pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 sndbuf_remalloc(): b=3D0xfffffd00053cf600 0 -> 4096 [4096] pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=3D21 b[0/0/0] bs[4096/1= 28/32] limit=3D170 pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=3D21 b[0/0/0] bs[4096/1= 28/32] limit=3D170 pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=3D21 b[0/0/0] bs[4096/1= 28/32] limit=3D170 pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=3D21 b[0/0/0] bs[4096/1= 28/32] limit=3D2048 pcm0: chn_start(): PCMDIR_REC (virtual) threshold i=3D4096 j=3D1 pcm0: chn_start(): VCHAN PARENT starting! (PCMDIR_REC/running) (ready=3D0 f= orce=3D1 i=3D1 j=3D0 intrtimeout=3D21 latency=3D16ms) pcm0: chn_trigger() pcm0:record:dsp0.r0: calling go=3D0x00000001 , prev=3D0x00000000 pcm0: chn_trigger() pcm0:virtual:dsp0.vr0: calling go=3D0x00000001 , prev=3D0x00000000 pcm0: chn_read(): pcm0:virtual:dsp0.vr0: record interrupt timeout, channel = dead pcm0: chn_trigger() pcm0:record:dsp0.r0: calling go=3D0xffffffff , prev=3D0x00000001 pcm0: chn_trigger() pcm0:virtual:dsp0.vr0: calling go=3D0xffffffff , prev=3D0x00000001 pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 sndbuf_remalloc(): b=3D0xfffffd00053cf600 4096 -> 32768 [32768] pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=3D21 b[0/0/0] bs[32768/1024/32] limit=3D2048 pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=3D21 b[3072/1536/2] bs[4096/2048/2] limit=3D0 I have tried different sampling rates with the same results. The Griffin iM= ic works fine on FreeBSD 11.2 on Intel. Any support would be appreciated. Many thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=