[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #28 from commit-h...@freebsd.org --- A commit references this bug: Author: hselasky Date: Tue Oct 16 18:47:13 UTC 2018 New revision: 339388 URL: https://svnweb.freebsd.org/changeset/base/339388 Log: Fix for reception of large

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #27 from Hans Petter Selasky --- Created attachment 198229 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198229&action=edit Updated fix for issue (v2) -- You are receiving this mail because: You are the assignee fo

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 Hans Petter Selasky changed: What|Removed |Added Attachment #198213|0 |1 is obsolete|

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #25 from ch...@crvintel.com --- Many thanks indeed Hans for your work. Glad that you could reproduce it. I'll apply your patch and give it a shot on my system here and let you know how things go. Cheers Chris -- You are rec

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #24 from Hans Petter Selasky --- The RPI3 has some limitation on the ISOCHRONOUS schedule, so you might need to set: sysctl dev.pcm.0.rec.vchanrate=32000 sysctl dev.pcm.0.play.vchanrate=32000 In order to use duplex audio! Or

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #23 from Hans Petter Selasky --- Created attachment 198213 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198213&action=edit Fix for issue -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 Hans Petter Selasky changed: What|Removed |Added Status|New |In Progress -- You are rece

[Bug 230434] USB sound card fails to record

2018-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #22 from Hans Petter Selasky --- Hi, I managed to reproduce the issue. It is a minor issue in the chipdriver DWC OTG. I'm currently testing some patches. Stay tuned. --HPS diff --git a/sys/dev/usb/controller/dwc_otg.c b/sys/

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #21 from ch...@crvintel.com --- Thanks for your patience Hans. kern.clockrate: { hz = 1000, tick = 1000, profhz = 8129, stathz = 127 } kern.hz: 1000 Looks OK. -- You are receiving this mail because: You are the assignee for

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #20 from Hans Petter Selasky --- I'll give my RPI3 a spin over the weekend and see if I can reproduce this issue. -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #19 from Hans Petter Selasky --- I'm a little surprised that you get a timeout that quickly. What is HZ set to? sysctl -a | grep hz If hz=1000, then it should be OK. --HPS -- You are receiving this mail because: You are th

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #18 from ch...@crvintel.com --- No, sorry. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #17 from Hans Petter Selasky --- Can you join #bsdusb on EF-net ? -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list h

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #16 from ch...@crvintel.com --- Yes, I did this. I could not seem to get the filter expression to work so let it capture all packets and pasted above the output from 0.7. Is this OK? -- You are receiving this mail because: You

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #15 from Hans Petter Selasky --- Did you start usbdump before doing dd and after CTRL+C usbdump after dd has exited? -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #14 from ch...@crvintel.com --- dd output as follows: [tmp]# dd if=/dev/dsp0.0 of=/dev/null bs=128 dd: /dev/dsp0.0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 5.006964 secs (0 bytes/sec) [tmp]# -- Y

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #13 from ch...@crvintel.com --- The device filter I have wrong, it is 0.7 and the output from usbdump is: 16:54:53.405462 usbus0.7 SUBM-ISOC-EP=0084,SPD=FULL,NFR=8,SLEN=0,IVAL=0 16:54:53.405472 usbus0.7 DONE-ISOC-EP=0084

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #12 from ch...@crvintel.com --- Have I got this right: The soundcard is on usbus0 and is /dev/dsp0.0, so am I right using: usbdump -i usbus0 -f 0.0 -s 65536 -- You are receiving this mail because: You are the assignee for the

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #11 from Hans Petter Selasky --- Can you also trace the USB device while trying to record: usbdump -i usbusX -f Y -s 65536 dd if=/dev/dsp0 of=/dev/null bs=128 --HPS -- You are receiving this mail because: You are the assig

[Bug 230434] USB sound card fails to record

2018-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #10 from ch...@crvintel.com --- I tried connecting the USB sound card using a powered USB hub and the problem remains. -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 230434] USB sound card fails to record

2018-08-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #9 from ch...@crvintel.com --- I've not got a powered USB hub to test it with. I have tried taking the other devices out of the USB just in case the problem is power related, but have had the same results. The iMic is a USB 2.0 d

[Bug 230434] USB sound card fails to record

2018-08-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #8 from Hans Petter Selasky --- Can you try connecting the device via an external and self-powered USB 2.0 HUB? --HPS -- You are receiving this mail because: You are the assignee for the bug. _

[Bug 230434] USB sound card fails to record

2018-08-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #7 from ch...@crvintel.com --- Hi, I tried: dd if=/dev/dsp0 of=/dev/null bs=256 But it failed with: dd: /dev/dsp0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 5.052607 secs (0 bytes/sec) I also hav

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #6 from Hans Petter Selasky --- In the debug messages pasted recording is supported: uaudio_attach: audio rev 1.00 uaudio_attach: 8 mixer controls uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Pl

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #5 from ch...@crvintel.com --- Thanks Hans for picking-up this bug for me. Please find debug attachments as requested. Cheers Chris -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #4 from ch...@crvintel.com --- Created attachment 195980 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195980&action=edit lsusb output -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #3 from ch...@crvintel.com --- Created attachment 195979 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195979&action=edit dmesg output -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 --- Comment #2 from Hans Petter Selasky --- FYI: lsusb is part of /usr/ports/sysutils/usbutils -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434 Hans Petter Selasky changed: What|Removed |Added CC||hsela...@freebsd.org --- Com

[Bug 230434] USB sound card fails to record

2018-08-07 Thread bugzilla-noreply
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 O