[Bug 230434] USB sound card fails to record
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 7 11:21:17 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434
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 at FreeBSD.org
Reporter: chris at 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 detected 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, and I
find in the dmesg output a series of the following errors:
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
uaudio0: No HID volume keys found.
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
sndbuf_remalloc(): b=0xfffffd00053cf600 0 -> 4096 [4096]
pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=21 b[0/0/0] bs[4096/128/32]
limit=170
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=21 b[0/0/0] bs[4096/128/32]
limit=170
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=21 b[0/0/0] bs[4096/128/32]
limit=170
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=21 b[0/0/0] bs[4096/128/32]
limit=2048
pcm0: chn_start(): PCMDIR_REC (virtual) threshold i=4096 j=1
pcm0: chn_start(): VCHAN PARENT starting! (PCMDIR_REC/running) (ready=0 force=1
i=1 j=0 intrtimeout=21 latency=16ms)
pcm0: chn_trigger() pcm0:record:dsp0.r0: calling go=0x00000001 ,
prev=0x00000000
pcm0: chn_trigger() pcm0:virtual:dsp0.vr0: calling go=0x00000001 ,
prev=0x00000000
pcm0: chn_read(): pcm0:virtual:dsp0.vr0: record interrupt timeout, channel dead
pcm0: chn_trigger() pcm0:record:dsp0.r0: calling go=0xffffffff ,
prev=0x00000001
pcm0: chn_trigger() pcm0:virtual:dsp0.vr0: calling go=0xffffffff ,
prev=0x00000001
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
sndbuf_remalloc(): b=0xfffffd00053cf600 4096 -> 32768 [32768]
pcm0: chn_resizebuf(): PCMDIR_REC (virtual) timeout=21 b[0/0/0]
bs[32768/1024/32] limit=2048
pcm0: chn_resizebuf(): PCMDIR_REC (hardware) timeout=21 b[3072/1536/2]
bs[4096/2048/2] limit=0
I have tried different sampling rates with the same results. The Griffin iMic
works fine on FreeBSD 11.2 on Intel.
Any support would be appreciated.
Many thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list