Date: Tue, 07 Aug 2018 11:21:15 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 230434] USB sound card fails to record Message-ID: <bug-230434-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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: <Griffin Technology, Inc iMic USB audio system> at usbus0 uaudio0 on uhub1 uaudio0: <Griffin Technology, Inc iMic USB audio system, class 0/0, rev 1.10/0.0 6, addr 7> 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: <USB audio> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230434-19105>