17 Jun, 2016
1 commit
-
To allow for structure randomisation, replace the in order struct
initialisation style with explicit field style.The Coccinelle semantic patch used to make this change is as follows:
@decl@
identifier i1,fld;
type T;
field list[n] fs;
@@struct i1 {
fs
T fld;
...};@@
identifier decl.i1,i2,decl.fld;
expression e;
position bad.p, bad.fix;
@@struct i1 i2@p = { ...,
+ .fld = e
- e@fix
,...};Signed-off-by: Amitoj Kaur Chawla
Signed-off-by: Takashi Iwai
12 Apr, 2016
1 commit
-
This is Dell usb dock audio workaround.
It was fixed the master volume keep lower.[Some background: the patch essentially skips the controls of a couple
of FU volumes. Although the firmware exposes the dB and the value
information via the usb descriptor, changing the values (we set the
min volume as default) screws up the device. Although this has been
fixed in the newer firmware, the devices are shipped with the old
firmware, thus we need the workaround in the driver side. -- tiwai]Signed-off-by: Kailang Yang
Cc:
Signed-off-by: Takashi Iwai
14 Dec, 2015
1 commit
-
AudioQuest DragonFly DAC reports a volume control range of 0..50
(0x0000..0x0032) which in USB Audio means a range of 0 .. 0.2dB, which
is obviously incorrect and would cause software using the dB information
in e.g. volume sliders to have a massive volume difference in 100..102%
range.Commit 2d1cb7f658fb ("ALSA: usb-audio: add dB range mapping for some
devices") added a dB range mapping for it with range 0..50 dB.However, the actual volume mapping seems to be neither linear volume nor
linear dB scale, but instead quite close to the cubic mapping e.g.
alsamixer uses, with a range of approx. -53...0 dB.Replace the previous quirk with a custom dB mapping based on some basic
output measurements, using a 10-item range TLV (which will still fit in
alsa-lib MAX_TLV_RANGE_SIZE).Tested on AudioQuest DragonFly HW v1.2. The quirk is only applied if the
range is 0..50, so if this gets fixed/changed in later HW revisions it
will no longer be applied.v2: incorporated Takashi Iwai's suggestion for the quirk application
methodSigned-off-by: Anssi Hannula
Cc:
Signed-off-by: Takashi Iwai
29 Jul, 2015
1 commit
-
Add the correct dB ranges of Bose Companion 5 and Drangonfly DAC 1.2.
Signed-off-by: Yao-Wen Mao
Cc:
Signed-off-by: Takashi Iwai
03 Jun, 2015
1 commit
-
Add mixer control names for the ESI Maya44 USB+ (which appears to be
identical width the AudioTrak Maya44 USB).Reported-by: nightmixes
Signed-off-by: Clemens Ladisch
Cc:
Signed-off-by: Takashi Iwai
19 Dec, 2014
1 commit
-
The Arcam rPAC seems to have the same problem - whenever anything
(alsamixer, udevd, 3.9+ kernel from 60af3d037eb8c, ..) attempts to
access mixer / control interface of the card, the firmware "locks up"
the entire device, resulting in
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5): Input/output error
from alsa-lib.Other operating systems can somehow read the mixer (there seems to be
playback volume/mute), but any manipulation is ignored by the device
(which has hardware volume controls).Cc:
Signed-off-by: Jiri Jaburek
Signed-off-by: Takashi Iwai
11 Nov, 2014
1 commit
-
This patch provides the infrastructure for the Digidesign Mbox 1
to have a mixer control for selecting the clock source.
Valid options are Internal and S/PDIF external sync.
A non-documented command is sent to the device to enable this feature
found by reverse engineering and bus snooping.Signed-off-by: Damien Zammit
Signed-off-by: Takashi Iwai
17 Feb, 2014
1 commit
-
When the driver tries to access Function Unit 10, the KEF X300A
speakers' firmware apparently locks up, making even PCM streaming
impossible. Work around this by ignoring this FU.Cc:
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
20 Dec, 2013
1 commit
-
Plantronics Gamecom 780 headset has a firmware problem, and when the
FU 0x09 volume is changed, it results in either too loud or silence
except for a very narrow range. This patch provides a workaround,
ignoring the node, initialize the volume in a sane value and keep
untouched.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=65251
Signed-off-by: Takashi Iwai
11 Feb, 2013
1 commit
-
Adds quirks and mixer support for the M-Audio Fast Track C600 USB
audio interface. This device is very similar to the C400 - the C600
simply has some more inputs and outputs, so the existing C400 support
is extended to support this device as well.Signed-off-by: Matt Gruskin
Signed-off-by: Takashi Iwai
14 Jan, 2013
1 commit
-
Add names of the clock sources for the M-Audio Fast Track
C400.Signed-off-by: Eldad Zack
Signed-off-by: Takashi Iwai
20 Jun, 2012
2 commits
-
This webcam works mostly ok, exept with skype.
Skype sends lots of ctrl messages to dynamically ajust
record level. If for some reasons it pokes some error
every thing goes broken:
- first pulseaudio blocks sound for all apps
- then video is reseted
- then skype freezdmesg has lots of messages like:
cannot set freq 16000 to ep 0x86"Setting ignore_ctl_error=1 fixes this problem.
Signed-off-by: Oleksij Rempel
Signed-off-by: Takashi Iwai -
if this cam is pluged in, pulse audio can't initiate capture
device.
dmesg has lots of messages like:
"cannot set freq 16000 to ep 0x86"Setting ignore_ctl_error=1 fixes this problem.
Signed-off-by: Oleksij Rempel
Signed-off-by: Takashi Iwai
15 Apr, 2012
1 commit
-
The mixer units from the firmware are corrupt, and even where they
are valid they presents mono controls as L and R channels of
stereo.Signed-off-by: Mark Hills
Signed-off-by: Takashi Iwai
01 Jun, 2010
1 commit
-
Move more definitions from private enums to appropriate header files.
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
12 Mar, 2010
1 commit
-
For clearer namespace, also rename usbmixer_maps.c -> mixer_maps.c
Signed-off-by: Daniel Mack
Cc: Clemens Ladisch
Signed-off-by: Takashi Iwai