25 May, 2018
1 commit
-
[ Upstream commit 71426535f49fe6034d0e0db77608b91a0c1a022d ]
Add native DSD support quirk for Luxman DA-06 DAC, by adding the
PID/VID 1852:5065.Rename "is_marantz_denon_dac()" function to "is_itf_usb_dsd_2alts_dac()"
to cover broader device family sharing the same USB audio
implementation(*).
For the same reason, rename "is_teac_dsd_dac()" function to
"is_itf_usb_dsd_3alts_dac()".(*)
These devices have the same USB controller "ITF-USB DSD", supplied by
INTERFACE Co., Ltd.
"ITF-USB DSD" USB controller has two patterns,Pattern 1. (2 altsets version)
- Altset 0: for control
- Altset 1: for stream (S32)
- Altset 2: for stream (S32, DSD_U32)Pattern 2. (3 altsets version)
- Altset 0: for control
- Altset 1: for stream (S16)
- Altset 2: for stream (S32)
- Altset 3: for stream (S32, DSD_U32)"is_itf_usb_dsd_2alts_dac()" returns true, if the DAC has "Pattern 1"
USB controller, and "is_itf_usb_dsd_3alts_dac()" returns true, if
"Pattern2".Signed-off-by: Nobutaka Okabe
Signed-off-by: Takashi Iwai
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
08 Apr, 2018
1 commit
-
commit b00214865d65100163574ba250008f182cf90869 upstream.
Add native DSD support quirk for TEAC UD-301 DAC,
by adding the PID/VID 0644:804a.Signed-off-by: Nobutaka Okabe
Cc:
Signed-off-by: Takashi Iwai
Signed-off-by: Greg Kroah-Hartman
22 Feb, 2018
1 commit
-
commit 7c74866baef1827e18f8269aec85030063520bd4 upstream.
Add some more devices that need quirks to handle DSD modes correctly.
Signed-off-by: Daniel Mack
Reported-and-tested-by: Thomas Gresens
Cc:
Signed-off-by: Takashi Iwai
Signed-off-by: Greg Kroah-Hartman
30 Dec, 2017
1 commit
-
commit 866f7ed7d67936dcdbcddc111c8af878c918fe7c upstream.
Adds VID:PID of Esoteric D-05X to the TEAC device id's.
Renames the is_teac_50X_dac() function to is_teac_dsd_dac() to cover
broader device family from the same corporation sharing the same USB
audio implementation.Signed-off-by: Jussi Laako
Signed-off-by: Takashi Iwai
Signed-off-by: Greg Kroah-Hartman
02 Nov, 2017
1 commit
-
Support DSD_U32_BE sample format on new Amanero Combo384 firmware
version on older VID/PID.Fixes: 3eff682d765b ("ALSA: usb-audio: Support both DSD LE/BE Amanero firmware versions")
Signed-off-by: Jussi Laako
Cc:
Signed-off-by: Takashi Iwai
16 Oct, 2017
1 commit
-
Add native DSD support quirk for Pro-Ject Pre Box S2 Digital USB id
2772:0230.Signed-off-by: Jussi Laako
Cc:
Signed-off-by: Takashi Iwai
09 Oct, 2017
1 commit
-
Like other Plantronics devices, P610 does not support sample
rate reading. Apply sample rate quirk to it.BugLink: https://bugs.launchpad.net/bugs/1719853
Signed-off-by: Kai-Heng Feng
Signed-off-by: Takashi Iwai
21 Sep, 2017
1 commit
-
Like other Plantronics devices, C310 and C520-M do not support sample
rate reading. Add them to the sample rate quirk accordingly.BugLink: https://bugs.launchpad.net/bugs/1708499
BugLink: https://bugs.launchpad.net/bugs/1709282
Signed-off-by: Kai-Heng Feng
Signed-off-by: Takashi Iwai
22 Aug, 2017
2 commits
-
Conflicts:
sound/core/control.c -
These headsets reports a lot of: cannot set freq 44100 to ep 0x81
and need a small delay between sample rate settings, just like
Zoom R16/24. Add both headsets to the Zoom R16/24 quirk for
a 1 ms delay between control msgs.Signed-off-by: Joakim Tjernlund
Cc:
Signed-off-by: Takashi Iwai
18 Aug, 2017
1 commit
-
Add DSD support for new Amanero Combo384 firmware version with a new
PID. This firmware uses DSD_U32_BE.Fixes: 3eff682d765b ("ALSA: usb-audio: Support both DSD LE/BE Amanero firmware versions")
Signed-off-by: Jussi Laako
Cc:
Signed-off-by: Takashi Iwai
15 Aug, 2017
1 commit
-
A Senheisser headset requires the typical sample-rate quirk for
avoiding spurious errors from inquiring the current sample rate like:
usb 1-1: 2:1: cannot get freq at ep 0x4
usb 1-1: 3:1: cannot get freq at ep 0x83The USB ID 1395:740a has to be added to the entries in
snd_usb_get_sample_rate_quirk().Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1052580
Cc:
Signed-off-by: Takashi Iwai
13 Aug, 2017
1 commit
-
Omit an extra message for a memory allocation failure in these functions.
This issue was detected by using the Coccinelle software.
Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring
Signed-off-by: Takashi Iwai
15 May, 2017
1 commit
-
Add missing endianness conversion when using the USB device-descriptor
bcdDevice field when applying the Amanero Combo384 (endianness!) quirk.Fixes: 3eff682d765b ("ALSA: usb-audio: Support both DSD LE/BE Amanero firmware versions")
Cc: Jussi Laako
Signed-off-by: Johan Hovold
Signed-off-by: Takashi Iwai
26 Jan, 2017
1 commit
10 Jan, 2017
1 commit
-
Plantronics BT600 does not support reading the sample rate which leads
to many lines of "cannot get freq at ep 0x1" and "cannot get freq at
ep 0x82". This patch adds the USB ID of the BT600 to quirks.c and
avoids those error messages.Signed-off-by: Dennis Kadioglu
Cc:
Signed-off-by: Takashi Iwai
28 Dec, 2016
1 commit
-
Add DSD support for both little endian (DSD_U32_LE) and big endian
(DSD_U32_BE) version of the Amanero firmware.Signed-off-by: Jussi Laako
Signed-off-by: Takashi Iwai
13 Dec, 2016
1 commit
-
This patch adds native DSD support for the following devices.
- TEAC NT-503
- TEAC UD-503
- TEAC UD-501(1) Add quirks for native DSD support for TEAC devices.
(2) A specific vendor command is needed to switch between PCM/DOP and
DSD mode, same as Denon/Marantz devices.Signed-off-by: Nobutaka Okabe
Signed-off-by: Takashi Iwai
11 Sep, 2016
1 commit
-
Back-merge from for-linus just to make the further development easier.
29 Aug, 2016
1 commit
-
Avoid getting sample rate on B850V3 CP2114 as it is unsupported and
causes noisy "current rate is different from the runtime rate" messages
when playback starts.Signed-off-by: Ken Lin
Signed-off-by: Akshay Bhat
Cc:
Signed-off-by: Takashi Iwai
22 Aug, 2016
2 commits
-
The quirk seems to be necessary not only for TEAC UD-H01 devices, but to
more that are based on the Tenor 8802TL chipset. Devices built by T+A
are affected too, and they apparently all use the same USB PID:PID.Extend the quirky handling for that device as well, and rename the
quirks flag.Reported-and-tested-by: Thomas Gresens
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
That's a quirk, after all, so move it where to all the other quirks
live.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
09 Aug, 2016
2 commits
-
The ELP HD USB Camera (05a3:9420) needs this quirk for suppressing
the unsupported sample rate inquiry.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=98481
Cc:
Signed-off-by: Vittorio Gambaletta
Signed-off-by: Takashi Iwai -
VF0610 does not support reading the sample rate which leads to many
lines of "cannot get freq at ep 0x82". This patch adds the USB ID
(0x041E:4080) to snd_usb_get_sample_rate_quirk() list.Signed-off-by: Piotr Karasinski
Cc:
Signed-off-by: Takashi Iwai
12 May, 2016
1 commit
-
Phoenix Audio has yet another device with another id (even a different
vendor id, 0556:0014) that requires the same quirk for the sample
rate.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=110221
Cc:
Signed-off-by: Takashi Iwai
29 Apr, 2016
1 commit
-
Phoenix Audio MT202pcs (1de7:0114) and MT202exe (1de7:0013) need the
same workaround as TMX320 for avoiding the firmware bug. It fixes the
frequent error about the sample rate inquiries and the slow device
probe as consequence.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=117321
Cc:
Signed-off-by: Takashi Iwai
06 Apr, 2016
1 commit
-
Plantronics BT300 does not support reading the sample rate which leads
to many lines of "cannot get freq at ep 0x1". This patch adds the USB
ID of the BT300 to quirks.c and avoids those error messages.Signed-off-by: Dennis Kadioglu
Cc:
Signed-off-by: Takashi Iwai
04 Apr, 2016
1 commit
-
Phoenix Audio TMX320 gives the similar error when the sample rate is
asked:
usb 2-1.3: 2:1: cannot get freq at ep 0x85
usb 2-1.3: 1:1: cannot get freq at ep 0x2
....Add the corresponding USB-device ID (1de7:0014) to
snd_usb_get_sample_rate_quirk() list.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=110221
Cc:
Signed-off-by: Takashi Iwai
01 Apr, 2016
1 commit
-
create_fixed_stream_quirk(), snd_usb_parse_audio_interface() and
create_uaxx_quirk() functions allocate the audioformat object by themselves
and free it upon error before returning. However, once the object is linked
to a stream, it's freed again in snd_usb_audio_pcm_free(), thus it'll be
double-freed, eventually resulting in a memory corruption.This patch fixes these failures in the error paths by unlinking the audioformat
object before freeing it.Based on a patch by Takashi Iwai
[Note for stable backports:
this patch requires the commit 902eb7fd1e4a ('ALSA: usb-audio: Minor
code cleanup in create_fixed_stream_quirk()')]Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1283358
Reported-by: Ralf Spenneberg
Cc: # see the note above
Signed-off-by: Vladis Dronov
Signed-off-by: Takashi Iwai
20 Mar, 2016
1 commit
-
The Microsoft HD-5001 webcam microphone does not support sample rate
reading as the HD-5000 one.
This results in dmesg errors and sound hanging with pulseaudio.Signed-off-by: Victor Clément
Cc:
Signed-off-by: Takashi Iwai
16 Mar, 2016
2 commits
-
Just a minor code cleanup: unify the error paths.
Signed-off-by: Takashi Iwai
-
create_fixed_stream_quirk() may cause a NULL-pointer dereference by
accessing the non-existing endpoint when a USB device with a malformed
USB descriptor is used.This patch avoids it simply by adding a sanity check of bNumEndpoints
before the accesses.Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=971125
Cc:
Signed-off-by: Takashi Iwai
04 Mar, 2016
1 commit
-
Resolved the conflicts with the latest HDA HDMI fixes.
Signed-off-by: Takashi Iwai
01 Mar, 2016
1 commit
-
Plantronics DA45 does not support reading the sample rate which leads
to many lines of "cannot get freq at ep 0x4" and "cannot get freq at
ep 0x84". This patch adds the USB ID of the DA45 to quirks.c and
avoids those error messages.Signed-off-by: Dennis Kadioglu
Cc:
Signed-off-by: Takashi Iwai
08 Feb, 2016
1 commit
30 Jan, 2016
1 commit
-
Microsoft LifeCam HD-6000 (045e:076f) requires the similar quirk for
avoiding the stall due to the invalid sample rate reads.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=111491
Signed-off-by: Lev Lybin
Cc:
Signed-off-by: Takashi Iwai
29 Jan, 2016
3 commits
-
This patch adds native DSD support for the PS Audio NuWave DAC.
Signed-off-by: Jurgen Kramer
Cc:
Signed-off-by: Takashi Iwai -
In my patch adding native DSD support for the Oppo HA-1, the wrong vendor ID got
through. This patch fixes the vendor ID and aligns the comment.Fixes: a4eae3a506ea ('ALSA: usb: Add native DSD support for Oppo HA-1')
Signed-off-by: Jurgen Kramer
Cc:
Signed-off-by: Takashi Iwai -
This is a preliminary patch for the later change to allow a better
quirk ID management. In the current USB-audio code, there are a few
places looking at usb_device idVendor and idProduct fields directly
even though we have already a static member in snd_usb_audio.usb_id.
This patch modifies such codes to refer to the latter field.For achieving this, two slightly intensive changes have been done:
- The snd_usb_audio object is set/reset via dev_getdrv() for the given
USB device; it's needed for minimizing the changes for some existing
quirks that take only usb_device object.- __snd_usbmidi_create() is introduced to receive the pre-given usb_id
argument. The exported snd_usbmidi_create() is unchanged by calling
this new function internally.Signed-off-by: Takashi Iwai
26 Jan, 2016
1 commit
-
TEAC UD-501/UD-503/NT-503 fail to switch properly between different
rate/format. Similar to 'Playback Design', this patch corrects the
invalid clock source error for TEAC products and avoids complete
freeze of the usb interface of 503 series.Signed-off-by: Guillaume Fougnies
Cc:
Signed-off-by: Takashi Iwai