26 Sep, 2011

1 commit


23 Sep, 2011

1 commit

  • The Terratec Aureon 5.1 USB sound card support is broken since kernel
    2.6.39.
    2.6.39 introduced power management support for USB sound cards that added
    a probing flag in struct snd_usb_audio.

    During the probe of the card it gives following error message :

    usb 7-2: new full speed USB device number 2 using uhci_hcd
    cannot find UAC_HEADER
    snd-usb-audio: probe of 7-2:1.3 failed with error -5
    input: USB Audio as
    /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.3/input/input6
    generic-usb 0003:0CCD:0028.0001: input: USB HID v1.00 Device [USB Audio]
    on usb-0000:00:1d.1-2/input3

    I can not comment about that "cannot find UAC_HEADER" error, but until
    2.6.38 the card worked anyway.
    With 2.6.39 chip->probing remains 1 on error exit, and any later ioctl
    stops in snd_usb_autoresume with -ENODEV.

    Signed-off-by: Thomas Pfaff
    Cc: [2.6.39+]
    Signed-off-by: Takashi Iwai

    Thomas Pfaff
     

19 Aug, 2011

1 commit

  • The recent fix for testing dB range at the mixer creation time seems
    to cause regressions in some devices. In such devices, reading the dB
    info at probing time gives an error, thus both dBmin and dBmax are still
    zero, and TLV flag isn't set although the later read of dB info succeeds.

    This patch adds a workaround for such a case by assuming that the later
    read will succeed. In future, a similar test should be performed in a
    case where a wrong dB range is seen even in the later read.

    Signed-off-by: Takashi Iwai
    Cc:

    Takashi Iwai
     

15 Aug, 2011

1 commit

  • The snd_usb_caiaq driver currently assumes that output urbs are serviced
    in time and doesn't track when and whether they are given back by the
    USB core. That usually works fine, but due to temporary limitations of
    the XHCI stack, we faced that urbs were submitted more than once with
    this approach.

    As it's no good practice to fire and forget urbs anyway, this patch
    introduces a proper bit mask to track which requests have been submitted
    and given back.

    That alone however doesn't make the driver work in case the host
    controller is broken and doesn't give back urbs at all, and the output
    stream will stop once all pre-allocated output urbs are consumed. But
    it does prevent crashes of the controller stack in such cases.

    See http://bugzilla.kernel.org/show_bug.cgi?id=40702 for more details.

    Signed-off-by: Daniel Mack
    Reported-and-tested-by: Matej Laitl
    Cc: Sarah Sharp
    Cc: stable@kernel.org
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

11 Aug, 2011

1 commit

  • This fixes faulty outbount packets in case the inbound packets
    received from the hardware are fragmented and contain bogus input
    iso frames. The bug has been there for ages, but for some strange
    reasons, it was only triggered by newer machines in 64bit mode.

    Signed-off-by: Daniel Mack
    Reported-and-tested-by: William Light
    Reported-by: Pedro Ribeiro
    Cc: stable@kernel.org
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

10 Aug, 2011

1 commit


06 Aug, 2011

2 commits


05 Aug, 2011

1 commit


04 Aug, 2011

3 commits


22 Jul, 2011

1 commit

  • Add support for Roland/BOSS BR-800 (0582:011e) to snd-usb-audio driver.

    This allows playback and recording, which has been tested and found to
    work. The third interface should be MIDI (MTC/SMPTE?) for DAW interface
    and is set as per ME-25, but this has not been tested. SDHC card access
    is already supported by usb-storage for Backup/Rhythm Editor/Wave
    Convertor mode which should not conflict with this.

    Signed-off-by: David G Turner
    Signed-off-by: Takashi Iwai

    David G Turner
     

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
     

08 Jul, 2011

1 commit


17 Jun, 2011

3 commits


14 Jun, 2011

1 commit


04 Jun, 2011

1 commit


03 Jun, 2011

1 commit


25 May, 2011

5 commits


22 May, 2011

1 commit


18 May, 2011

8 commits


29 Apr, 2011

1 commit


28 Apr, 2011

1 commit

  • Some crappy USB-audio devices give broken dB ranges, e.g. both min and max
    are 0dB. This confuses the volume control that prefers dB expression such
    as alsactl or PulseAudio. In such a case, it's much better not to expose
    the broken dB information.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

26 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
     

11 Apr, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Don't query connections for widgets have no connections
    ALSA: HDA: Fix single internal mic on ALC275 (Sony Vaio VPCSB1C5E)
    ALSA: hda - HDMI: Fix MCP7x audio infoframe checksums
    ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable
    ALSA: HDA: Fix dock mic for Lenovo X220-tablet
    ASoC: format_register_str: Don't clip register values
    ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare
    ASoC: zylonite: set .codec_dai_name in initializer

    Linus Torvalds