Maybe the problem of bandwidht is the same as the one describe in
with the comment of Alan Stern of 11/10
sudo cat /sys/kernel/debug/usb/devices
T: Bus=04 Lev=02 Prnt=02 Port=06 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=23e5 ProdID=a090 Rev= 1.00
S: Manufacturer=Antelope Audio
S: Product=Orion TB
S: SerialNumber=1604515010211
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=100mA
A: FirstIf#= 0 IfCount= 3 Cls=01(audio) Sub=00 Prot=20
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=20 Driver=snd-usb-audio
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
E: Ad=05(O) Atr=05(Isoc) MxPS=2592 Ivl=125us
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
E: Ad=84(I) Atr=25(Isoc) MxPS=2592 Ivl=125us
I:* If#= 3 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=82(I) Atr=03(Int.) MxPS= 320 Ivl=4ms
E: Ad=01(O) Atr=03(Int.) MxPS= 320 Ivl=4ms
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=23e5 ProdID=a090 Rev= 1.00
S: Manufacturer=Antelope Audio
S: Product=Orion TB
S: SerialNumber=1604515010211
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=100mA
A: FirstIf#= 0 IfCount= 3 Cls=01(audio) Sub=00 Prot=20
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=20 Driver=snd-usb-audio
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
E: Ad=05(O) Atr=05(Isoc) MxPS=2592 Ivl=125us
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
E: Ad=84(I) Atr=25(Isoc) MxPS=2592 Ivl=125us
I:* If#= 3 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=82(I) Atr=03(Int.) MxPS= 320 Ivl=4ms
E: Ad=01(O) Atr=03(Int.) MxPS= 320 Ivl=4ms
So it is maybe required unbind the HID interfaces?
But i am no at all an expert in USB
Julien
Le Vendredi 4 mars 2016 14h14, julien de ROSNY <m8hpw@xxxxxxxx> a écrit :
Ok now on USB 2, the Antelop Orion 32 Channels.
I succeed in playing back and recording some sounds but it is very unstable (sometimes it works, sometime not).
So to check I use latency.c test alsa tool.
sudo ./a.out -P hw:2,0 -C hw:2,0 -m 512 -M 512 -p -s 10 -f S24_3LE -c 32 -r 44100
It return
Scheduler set to Round Robin with priority 99...
Playback device is hw:2,0
Capture device is hw:2,0
Parameters are 44100Hz, S24_3LE, 32 channels, non-blocking mode
Poll mode: yes
Loop limit is 441000 frames, minimum latency = 512, maximum latency = 512
Hardware PCM card 2 'Orion TB' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 32
rate : 44100
exact rate : 44100 (44100/1)
msbits : 24
buffer_size : 512
period_size : 256
period_time : 5804
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 256
period_event : 0
start_threshold : 2147483647
stop_threshold : 512
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
Hardware PCM card 2 'Orion TB' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 32
rate : 44100
exact rate : 44100 (44100/1)
msbits : 24
buffer_size : 512
period_size : 256
period_time : 5804
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 256
period_event : 0
start_threshold : 2147483647
stop_threshold : 512
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
Trying latency 512 frames, 11609.977us, 11.609977ms (86.1328Hz)
Go error: Broken pipe
Playback device is hw:2,0
Capture device is hw:2,0
Parameters are 44100Hz, S24_3LE, 32 channels, non-blocking mode
Poll mode: yes
Loop limit is 441000 frames, minimum latency = 512, maximum latency = 512
Hardware PCM card 2 'Orion TB' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 32
rate : 44100
exact rate : 44100 (44100/1)
msbits : 24
buffer_size : 512
period_size : 256
period_time : 5804
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 256
period_event : 0
start_threshold : 2147483647
stop_threshold : 512
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
Hardware PCM card 2 'Orion TB' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 32
rate : 44100
exact rate : 44100 (44100/1)
msbits : 24
buffer_size : 512
period_size : 256
period_time : 5804
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 256
period_event : 0
start_threshold : 2147483647
stop_threshold : 512
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
Trying latency 512 frames, 11609.977us, 11.609977ms (86.1328Hz)
Go error: Broken pipe
the system error log gives
[185958.425936] usb 4-1.7: cannot submit urb 0, error -28: not enough bandwidth
and I monitor the usb port with sudo cat /sys/kernel/debug/usb/usbmon/4u
that gives
ffff880108e67140 981603361 S Co:4:019:0 s 01 0b 0001 0001 0000 0
ffff880108e67140 981603558 C Co:4:019:0 0 0
ffff880108e672c0 981603707 S Ci:4:019:0 s a1 01 0100 0100 0004 4 <
ffff880108e672c0 981603927 C Ci:4:019:0 0 4 = 44ac0000
ffff88040bd37c00 981603983 S Zo:4:019:5 -115:1:0 26 -18:0:480 -18:480:576 -18:1056:480 -18:1536:576 -18:2112:480 13728 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff88040bd35400 981603997 S Zo:4:019:5 -115:1:0 26 -18:0:480 -18:480:576 -18:1056:480 -18:1536:576 -18:2112:480 13728 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff88040bd36400 981604004 S Zo:4:019:5 -115:1:0 26 -18:0:576 -18:576:480 -18:1056:576 -18:1632:480 -18:2112:576 13728 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff88040bd31400 981604011 S Zo:4:019:5 -115:1:0 26 -18:0:576 -18:576:480 -18:1056:576 -18:1632:576 -18:2208:480 13824 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff880108e672c0 981604057 S Co:4:019:0 s 01 0b 0001 0002 0000 0
ffff880108e672c0 981604126 C Co:4:019:0 0 0
ffff880108e66480 981604178 S Ci:4:019:0 s a1 01 0100 0100 0004 4 <
ffff880108e66480 981604301 C Ci:4:019:0 0 4 = 44ac0000
ffff880108e66480 981604371 S Ci:4:019:0 s a1 01 0100 0100 0004 4 <
ffff880108e66480 981604547 C Ci:4:019:0 0 4 = 44ac0000
ffff8800d3010c00 981604830 S Zi:4:019:4 -115:1:0 8 -18:0:757 -18:757:757 -18:1514:757 -18:2271:757 -18:3028:757 6056 <
ffff8800d3010c00 981604940 E Zi:4:019:4 -28 0
ffff880108e660c0 981605361 S Co:4:019:0 s 01 0b 0000 0002 0000 0
ffff880108e660c0 981605545 C Co:4:019:0 0 0
ffff88040bd37c00 981607674 C Zo:4:019:5 -104:1:7936:0 26 0:0:480 0:480:576 0:1056:480 0:1536:576 0:2112:480 13728 >
ffff88040bd35400 981610919 C Zo:4:019:5 -104:1:7962:0 26 0:0:480 0:480:576 0:1056:480 0:1536:576 0:2112:480 13728 >
ffff88040bd36400 981614169 C Zo:4:019:5 -104:1:7988:0 26 0:0:576 0:576:480 0:1056:576 0:1632:480 0:2112:576 13728 >
ffff88040bd31400 981617428 C Zo:4:019:5 -104:1:8014:0 26 0:0:576 0:576:480 0:1056:576 0:1632:576 0:2208:480 13824 >
ffff880108e672c0 981620356 S Co:4:019:0 s 01 0b 0000 0001 0000 0
ffff880108e672c0 981620573 C Co:4:019:0 0 0
ffff880108e67140 981603558 C Co:4:019:0 0 0
ffff880108e672c0 981603707 S Ci:4:019:0 s a1 01 0100 0100 0004 4 <
ffff880108e672c0 981603927 C Ci:4:019:0 0 4 = 44ac0000
ffff88040bd37c00 981603983 S Zo:4:019:5 -115:1:0 26 -18:0:480 -18:480:576 -18:1056:480 -18:1536:576 -18:2112:480 13728 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff88040bd35400 981603997 S Zo:4:019:5 -115:1:0 26 -18:0:480 -18:480:576 -18:1056:480 -18:1536:576 -18:2112:480 13728 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff88040bd36400 981604004 S Zo:4:019:5 -115:1:0 26 -18:0:576 -18:576:480 -18:1056:576 -18:1632:480 -18:2112:576 13728 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff88040bd31400 981604011 S Zo:4:019:5 -115:1:0 26 -18:0:576 -18:576:480 -18:1056:576 -18:1632:576 -18:2208:480 13824 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff880108e672c0 981604057 S Co:4:019:0 s 01 0b 0001 0002 0000 0
ffff880108e672c0 981604126 C Co:4:019:0 0 0
ffff880108e66480 981604178 S Ci:4:019:0 s a1 01 0100 0100 0004 4 <
ffff880108e66480 981604301 C Ci:4:019:0 0 4 = 44ac0000
ffff880108e66480 981604371 S Ci:4:019:0 s a1 01 0100 0100 0004 4 <
ffff880108e66480 981604547 C Ci:4:019:0 0 4 = 44ac0000
ffff8800d3010c00 981604830 S Zi:4:019:4 -115:1:0 8 -18:0:757 -18:757:757 -18:1514:757 -18:2271:757 -18:3028:757 6056 <
ffff8800d3010c00 981604940 E Zi:4:019:4 -28 0
ffff880108e660c0 981605361 S Co:4:019:0 s 01 0b 0000 0002 0000 0
ffff880108e660c0 981605545 C Co:4:019:0 0 0
ffff88040bd37c00 981607674 C Zo:4:019:5 -104:1:7936:0 26 0:0:480 0:480:576 0:1056:480 0:1536:576 0:2112:480 13728 >
ffff88040bd35400 981610919 C Zo:4:019:5 -104:1:7962:0 26 0:0:480 0:480:576 0:1056:480 0:1536:576 0:2112:480 13728 >
ffff88040bd36400 981614169 C Zo:4:019:5 -104:1:7988:0 26 0:0:576 0:576:480 0:1056:576 0:1632:480 0:2112:576 13728 >
ffff88040bd31400 981617428 C Zo:4:019:5 -104:1:8014:0 26 0:0:576 0:576:480 0:1056:576 0:1632:576 0:2208:480 13824 >
ffff880108e672c0 981620356 S Co:4:019:0 s 01 0b 0000 0001 0000 0
ffff880108e672c0 981620573 C Co:4:019:0 0 0
So I think that usb sound driver asks for a too high bandwidth that is not compatible with USB2 protocol. But because it works on windows on USB2, it should not be the case.
How can I know that the value of bandwidth that is asked?
Thanks,
M8hpw
Le Mercredi 2 mars 2016 17h42, julien de ROSNY <m8hpw@xxxxxxxx> a écrit :
Clement you are right, I try on a usb 2 port instead of a usb 3 one, an this error is removed.
But the usb 32 channel sound card is not really recognized.
But now I have a new error :
usb 4.1.1: cannot submit urb0 : error -28 : not enought bandwidth.
But the device works under Windows 7 with the same USB 2.0 port.
Regards.
Julien
Le Mardi 1 mars 2016 13h59, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> a écrit :
julien de ROSNY wrote:
> [ 1201.257672] INFO: task pulseaudio:1992 blocked for more than 120 seconds.
> [ 1201.257727] Call Trace:
> [ 1201.257746] [<ffffffff817c9059>] schedule+0x29/0x70
> [ 1201.257758] [<ffffffff815c0955>] usb_kill_urb+0x65/0xa0
> [ 1201.257777] [<ffffffff815bf568>] usb_hcd_flush_endpoint+0x1b8/0x220
> [ 1201.257794] [<ffffffff815c27fb>] usb_disable_endpoint+0x5b/0xd0
> [ 1201.257800] [<ffffffff815c28b9>] usb_disable_interface+0x49/0x60
> [ 1201.257806] [<ffffffff815c2e07>] usb_set_interface+0x1b7/0x3b0
This looks like a bug in the host controller driver.
Can you change to a different port (USB2/USB3)?
Regards,
Clemens
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
> [ 1201.257672] INFO: task pulseaudio:1992 blocked for more than 120 seconds.
> [ 1201.257727] Call Trace:
> [ 1201.257746] [<ffffffff817c9059>] schedule+0x29/0x70
> [ 1201.257758] [<ffffffff815c0955>] usb_kill_urb+0x65/0xa0
> [ 1201.257777] [<ffffffff815bf568>] usb_hcd_flush_endpoint+0x1b8/0x220
> [ 1201.257794] [<ffffffff815c27fb>] usb_disable_endpoint+0x5b/0xd0
> [ 1201.257800] [<ffffffff815c28b9>] usb_disable_interface+0x49/0x60
> [ 1201.257806] [<ffffffff815c2e07>] usb_set_interface+0x1b7/0x3b0
This looks like a bug in the host controller driver.
Can you change to a different port (USB2/USB3)?
Regards,
Clemens
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user