08 May, 2016

1 commit


07 Oct, 2013

1 commit


22 Apr, 2013

1 commit

  • Set the timeout for USB control set messages according to the USB 2
    spec, using the macros from include/linux/usb.h.
    The get timout becomes 5000 ms even though it is 500 ms in the
    spec. This patch is required to run the Hercules RMX2 which needs a
    timeout of 1240 ms.

    More notes from author:
    I still distinguish between set and get but as long both are 5000 ms
    GCC will remove it anyway. IMHO this is more easy read and there is no
    need to explain why we use a get timeout for set messages.

    Signed-off-by: Daniel Schürmann
    Acked-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Schürmann
     

04 Sep, 2012

1 commit

  • Playback Designs' USB devices have some hardware limitations on their
    USB interface. In particular:

    - They need a 20ms delay after each class compliant request as the
    hardware ACKs the USB packets before the device is actually ready
    for the next command. Sending data immediately will result in buffer
    overflows in the hardware.
    - The devices send bogus feedback data at the start of each stream
    which confuse the feedback format auto-detection.

    This patch introduces a new quirks hook that is called after each
    control packet and which adds a delay for all devices that match
    Playback Designs' USB VID for now.

    In addition, it adds a counter to snd_usb_endpoint to drop received
    packets on the floor. Another new quirks function that is called once
    an endpoint is started initializes that counter for these devices on
    their sync endpoint.

    Signed-off-by: Daniel Mack
    Reported-and-tested-by: Andreas Koch
    Supported-by: Demian Martin
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

27 Sep, 2011

1 commit

  • There are certain devices that are reportedly so slow that they need
    more than 100 ms to handle control transfers. Therefore, increase the
    timeout in mixer(_quirks).c to 1000 ms.

    The timeout parameter of snd_usb_ctl_msg() is now constant, so we can
    drop it.

    Reported-by: Felipe Balbi
    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     

14 Aug, 2010

1 commit

  • This is V2 of the patch, after feedback from Clemens and Daniel.

    This patch adds SuperSpeed support to the USB drivers under sound/. It adds
    tests for USB_SPEED_SUPER to the appropriate places that check for the USB
    speed.

    This patch has been tested with our SS USB3 device emulating a set of Yamaha
    speakers and a Logitech microphone, but with the descriptors modified to add
    USB3 support. It has also been tested with the real speakers and microphone,
    to make sure that USB2 devices still work.

    Signed-off-by: Paul Zimmerman
    Cc: Clemens Ladisch
    Cc: Daniel Mack
    Cc: Greg Kroah-Hartman
    Signed-off-by: Takashi Iwai

    Paul Zimmerman
     

29 Mar, 2010

1 commit


05 Mar, 2010

1 commit

  • Clean up the usb audio driver by factoring out a lot of functions to
    separate files. Code for procfs, quirks, urbs, format parsers etc all
    got a new home now.

    Moved almost all special quirk handling to quirks.c and introduced new
    generic functions to handle them, so the exceptions do not pollute the
    whole driver.

    Renamed usbaudio.c to card.c because this is what it actually does now.
    Renamed usbmidi.c to midi.c for namespace clarity.
    Removed more things from usbaudio.h.

    The non-standard drivers were adopted accordingly.

    Signed-off-by: Daniel Mack
    Cc: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Daniel Mack