Skip to contentSkip to conversation

Problems with Hercules DJ Console and the usb-audio driver

Alsa-devel Horms 3 participants 4 messages Sep 15, 2005 – Sep 16, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Horms

author
#1 lore raw
Quoted 6 lines · Daniel Svensson

Hi

CONFIG_USB_BANDWIDTH is enabled by default in the debian kernel. Could this be changed? According to the alsa developer who helped me debug the problem with my usb soundcard CONFIG_USB_BANDWIDTH should be disabled. The original email is forwarded here:

That sounds fair enough to me, as long there are no objections from the rest of the kernel-team.

Clemens, could you provide a little more information on the problems that CONFIG_USB_BANDWIDTH causes?

Thanks

Signature · 1 line
Horms
Quoted 49 lines

----- Forwarded message from Clemens Ladisch <[email protected]> -----

From: Clemens Ladisch <[email protected]>
To: Daniel Svensson <[email protected]>
Subject: Re: [Alsa-devel] Problems with Hercules DJ Console and the usb-audio
driver

Quoted 3 lines · Daniel Svensson

Here is the output of "amixer scontents":
...
Which doesn't match alsamixer controls very well (in count and names).

What is the output of "amixer contents"?

Quoted 4 lines

Ok, so some progress. The device accepts S16, 6 channels, 48kHz. Still no output, fails with kernel message:

ALSA /hom.../usbaudio.c:807: cannot submit datapipe for urb 5, err = -28

28 = ENOSPC. Please disable bandwidth checking in the kernel configuration. (This is a bug of your distribution unless you compiled the kernel yourself.)

HTH
Clemens

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

----- End forwarded message -----

Signature · 6 lines
Daniel Svensson <[email protected]>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
#2 lore raw
Quoted 11 lines · Horms
Quoted 4 lines · Daniel Svensson

CONFIG_USB_BANDWIDTH is enabled by default in the debian kernel. Could this be changed? According to the alsa developer who helped me debug the problem with my usb soundcard CONFIG_USB_BANDWIDTH should be disabled. The original email is forwarded here:

That sounds fair enough to me, as long there are no objections from the rest of the kernel-team.

Clemens, could you provide a little more information on the problems that CONFIG_USB_BANDWIDTH causes?

The code that implements it computes wrong values for the bandwidth utilization. This doesn't seem to matter much for full speed stereo devices, but we have several bug reports for multichannel and/or high speed devices where usb_submit_urb() incorrectly returns -ENOSPC errors.

The comment above the usb_check_bandwidth() function in hcd.c lists several of the known bugs.

Perhaps CONFIG_USB_BANDWIDTH should have been marked BROKEN instead of just EXPERIMENTAL.

Regards,
Clemens

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

#3 lore raw
Quoted 19 lines · Clemens Ladisch
Quoted 11 lines · Horms
Quoted 4 lines · Daniel Svensson

CONFIG_USB_BANDWIDTH is enabled by default in the debian kernel. Could this be changed? According to the alsa developer who helped me debug the problem with my usb soundcard CONFIG_USB_BANDWIDTH should be disabled. The original email is forwarded here:

That sounds fair enough to me, as long there are no objections from the rest of the kernel-team.

Clemens, could you provide a little more information on the problems that CONFIG_USB_BANDWIDTH causes?

The code that implements it computes wrong values for the bandwidth utilization. This doesn't seem to matter much for full speed stereo devices, but we have several bug reports for multichannel and/or high speed devices where usb_submit_urb() incorrectly returns -ENOSPC errors.

Quoted 5 lines

The comment above the usb_check_bandwidth() function in hcd.c lists several of the known bugs.

Perhaps CONFIG_USB_BANDWIDTH should have been marked BROKEN instead of just EXPERIMENTAL.

Has this been reported upstream? Possibly the USB maintainers don't know that this is causing real problems for users.

Lee

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

author
#4 lore raw
Quoted 20 lines · Lee Revell
Quoted 19 lines · Clemens Ladisch
Quoted 11 lines · Horms
Quoted 4 lines · Daniel Svensson

CONFIG_USB_BANDWIDTH is enabled by default in the debian kernel. Could this be changed? According to the alsa developer who helped me debug the problem with my usb soundcard CONFIG_USB_BANDWIDTH should be disabled. The original email is forwarded here:

That sounds fair enough to me, as long there are no objections from the rest of the kernel-team.

Clemens, could you provide a little more information on the problems that CONFIG_USB_BANDWIDTH causes?

The code that implements it computes wrong values for the bandwidth utilization. This doesn't seem to matter much for full speed stereo devices, but we have several bug reports for multichannel and/or high speed devices where usb_submit_urb() incorrectly returns -ENOSPC errors.

Quoted 5 lines
Quoted 5 lines

The comment above the usb_check_bandwidth() function in hcd.c lists several of the known bugs.

Perhaps CONFIG_USB_BANDWIDTH should have been marked BROKEN instead of just EXPERIMENTAL.

Thanks for the clarification.

Quoted 2 lines

Has this been reported upstream? Possibly the USB maintainers don't know that this is causing real problems for users.

That would be a good idea if it hasn't been done,
but I know nought about this sistuation, so my
comments are close to worthless.

Signature · 1 line
Horms