11 Nov, 2011

1 commit


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 Sep, 2011

1 commit

  • Move code from endpoint.c into a new file called stream.c and rename
    functions so that their names actually reflect what they're doing.

    This way, endpoint.c will be available to functions that hold all the
    endpoint logic.

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

    Daniel Mack
     

26 Aug, 2011

1 commit


06 Aug, 2011

1 commit

  • Purely cosmetic, but fixes the following build warning.

    CC [M] sound/usb/quirks.o
    sound/usb/quirks.c: In function ‘snd_usb_apply_boot_quirk’:
    sound/usb/quirks.c:429:6: warning: ‘err’ may be used uninitialized in this function [-Wuninitialized]

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

13 Jul, 2011

1 commit

  • This patch gives M-Audio Fast Track Pro and M-Audio Quattro quirks and
    endpoints to boot and setup those devices with special options (digital
    inputs and outputs, 24 bits mode, etc...). M-Audio Audiophile quirks are
    just adapted to match the new global M-Audio parameters.

    Special configurations can be then loaded through a modprobe conf file.
    For example, to set the 24 bits mode on the Fast Track Pro add
    /etc/modprobe.d/fast_track_pro.conf :

    options snd_usb_audio vid=0x763 pid=0x2012 device_setup=0x08

    Here is a list of the possibilities in this example :
    http://files.parisson.com/debian/fast-track-pro.conf

    Signed-off-by: Guillaume Pellerin
    Signed-off-by: Takashi Iwai

    Guillaume Pellerin
     

04 Jun, 2011

1 commit


25 May, 2011

2 commits


22 May, 2011

1 commit


18 May, 2011

1 commit


29 Apr, 2011

1 commit


14 Apr, 2011

1 commit

  • This new device by Native Instruments is also compliant to the USB
    standard v2.0, but hides this detail at when connected.

    It needs the same boot quirks than other models, and also has two
    non-class-compliant mixer controls.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

31 Mar, 2011

1 commit


11 Mar, 2011

1 commit


15 Feb, 2011

2 commits

  • The number of cases has increased so use switch-case rather than
    if-statements.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • The MK2 generation of Native Instruments' sound cards are in fact
    compliant to the USB audio standard of version 2 and other approved USB
    standards. However, they come up as vendor-specific device when first
    connected but can be told to come up with a new set of descriptors
    upon their next enumeration. The interfaces announced by the new
    descriptors will be handled by the kernel's class drivers. This is done
    by issuing a vendor specific device request and sending the device to
    reset.

    There are also some vendor-specific USB requests for some mixer elements
    that can't be exported in a standard compliant way. The driver now
    supports them with quirks handling mechanisms.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

08 Feb, 2011

1 commit


23 Oct, 2010

1 commit


23 Jun, 2010

1 commit


21 May, 2010

1 commit


29 Mar, 2010

1 commit


12 Mar, 2010

2 commits


05 Mar, 2010

3 commits

  • Sample rate setting is done with a 4-byte long class request that
    addresses the interface.

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

    Daniel Mack
     
  • In preparation for USB audio 2.0 support, change the audioformat
    structure so that it uses a bitmask to specify possible formats.

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     
  • 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