28 Jun, 2013
1 commit
-
This patch is adding extensive support (beside standard usb audio class)
for Audio Advantage Micro II usb sound card.
Features included:
- Access to AES bits (so now sending the IEC61937 compliant stream is
possible).
- Mixer SPDIF control added to turn on/off the optical transmitter.Signed-off-by: Przemek Rudy
Signed-off-by: Takashi Iwai
07 Apr, 2013
1 commit
-
The usb_control_msg() function expects __u16 types and performs
the endianness conversions by itself.
However, in three places, a conversion is performed before it is
handed over to usb_control_msg(), which leads to a double conversion
(= no conversion):
* snd_usb_nativeinstruments_boot_quirk()
* snd_nativeinstruments_control_get()
* snd_nativeinstruments_control_put()Caught by sparse:
sound/usb/mixer_quirks.c:512:38: warning: incorrect type in argument 6 (different base types)
sound/usb/mixer_quirks.c:512:38: expected unsigned short [unsigned] [usertype] index
sound/usb/mixer_quirks.c:512:38: got restricted __le16 [usertype]
sound/usb/mixer_quirks.c:543:35: warning: incorrect type in argument 5 (different base types)
sound/usb/mixer_quirks.c:543:35: expected unsigned short [unsigned] [usertype] value
sound/usb/mixer_quirks.c:543:35: got restricted __le16 [usertype]
sound/usb/mixer_quirks.c:543:56: warning: incorrect type in argument 6 (different base types)
sound/usb/mixer_quirks.c:543:56: expected unsigned short [unsigned] [usertype] index
sound/usb/mixer_quirks.c:543:56: got restricted __le16 [usertype]
sound/usb/quirks.c:502:35: warning: incorrect type in argument 5 (different base types)
sound/usb/quirks.c:502:35: expected unsigned short [unsigned] [usertype] value
sound/usb/quirks.c:502:35: got restricted __le16 [usertype]Signed-off-by: Eldad Zack
Acked-by: Daniel Mack
Cc:
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
10 Jan, 2013
1 commit
-
Fixes the following sparse warning:
sound/usb/mixer_quirks.c:1209:23: warning:
symbol 'ebox44_table' was not declared. Should it be static?Signed-off-by: Sachin Kamat
Signed-off-by: Takashi Iwai
12 Dec, 2012
1 commit
-
The only required change is to extend the existing Xonar U1
mixer quirks to the U3, which seems to be controlled the same
way.Signed-off-by: Denis Washington
Signed-off-by: Takashi Iwai
29 Nov, 2012
3 commits
-
Add a mixer quirks for the M-Audio Fast Track C400
and create the following:* Volume controls
* Effect Type (reusing FTU controls)
* Effect Volume
* Effect Send/Return
* Effect Program
* Effect FeedbackSigned-off-by: Eldad Zack
Signed-off-by: Takashi Iwai -
Adds the unit ID and the control as parameters to the creation of the
effect unit control for the M-Audio Fast Track Ultra. This allows the
code to be shared with other devices that use different unit ID and
control, such as the M-Audio Fast Track C400.Signed-off-by: Eldad Zack
Signed-off-by: Takashi Iwai -
Currently, channel IDs exceeding 31 (0x1f) cannot be used.
The channel ID is derived from the cmask. Extending cmask
to a 64-bit type would only allow it to go up to 63 (0x3f).
Some devices have channel IDs exceeding that as well.
To address that, add an offset to the mixer element which
is then accounted for in the UAC set/get functions.Signed-off-by: Eldad Zack
Signed-off-by: Takashi Iwai
30 Oct, 2012
1 commit
-
Similar like the previous commit, cover with chip->shutdown_rwsem
and chip->shutdown checks.Reported-by: Matthieu CASTET
Cc:
Signed-off-by: Takashi Iwai
11 Jun, 2012
2 commits
-
Signed-off-by: Mark Hills
Signed-off-by: Takashi Iwai -
Allow mixer controls to be provided clearly in a table, to avoid
quantity of error checking at each use.Signed-off-by: Mark Hills
Signed-off-by: Takashi Iwai
12 May, 2012
1 commit
-
Explained by Takashi in
> The reason is because get_min_max*() isn't called in the place you
> created these controls, and get_min_max() would be called only for
> integer volumes later even if uninitialized. A short cut for booleans.Signed-off-by: Mark Hills
Signed-off-by: Takashi Iwai
24 Apr, 2012
5 commits
-
Signed-off-by: Takashi Iwai
-
This adds controls for the effects section on the FTU devices.
Some of these controls need volume quirks. They are added to
mixer.c.[fixed missing break by tiwai]
Signed-off-by: Felix Homann
Signed-off-by: Takashi Iwai -
This is in preparation for more FTU controls to come.
Should help keeping names a bit shorter.Signed-off-by: Felix Homann
Signed-off-by: Takashi Iwai -
This adds db gain information to M-Audio Fast Track Ultra (8R) devices.
Signed-off-by: Felix Homann
Signed-off-by: Takashi Iwai -
Merge snd_maudio_ftu_create_ctl() and snd_ebox44_create_ctl() into
snd_create_std_mono_ctl().
As opposed to the ftu and ebox-44 specific functions, a TLV callback
can be specified for controls created by snd_create_std_mono_ctl().[fixed minor checkpatch.pl warnings by tiwai]
Signed-off-by: Felix Homann
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
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
25 May, 2011
1 commit
-
Make use of the freshly introduced methods to re-use standard mixer
handling and add some controls that are hidden but implemented in a
standard conform way on M-Audio's FastTrack devices.Signed-off-by: Daniel Mack
Original-code-by: Felix Homann
Signed-off-by: Takashi Iwai
18 May, 2011
2 commits
-
USB X-Fi S51 Pro volume and mute from the volume knob on the unit.
Compiled and tested with 2.6.39-rc7-git12Signed-off-by: Mathieu Bouffard
Signed-off-by: Takashi Iwai -
This was a flaw in the reading of the spec tables - Native Instrument's
"Komplete Audio 6" device has no such extra controls.This patch also fixes the device name in two comments.
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
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
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 -
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
02 Nov, 2010
1 commit
-
This patch adds support for Power/Status LED on Creative USB X-Fi S51.
There is just one LED on the device. The LED can either be On or it
can be set to Blink. There doesn't seem to be a way to switch it off.
The control message to change LED status is similar to that of
audigy2nx except that the index is to be set to 0 and value is 1 for
Blink and 0 for On.The 'Power LED' control in alsamixer when muted will cause the LED to
Blink continuously. When unmuted the LED will stay On. The Creative
driver under Windows sets the LED to blink whenever audio is muted.
This LED can be treated as the CMSS LED but I figured since there is
just one LED, it should be treated as the Power LED. Is that alright?I've also changed the comment "Usb X-Fi" to "Usb X-Fi S51" as there
are other external X-Fi devices from Creative like Usb X-Fi Go and
Xmod. The volume knob and LED support patch doesn't apply to them.Signed-off-by: Mandar Joshi
Signed-off-by: Takashi Iwai
24 Oct, 2010
1 commit
-
Adds an entry for Creative USB X-Fi to the rc_config array in
mixer_quirks.c to allow use of volume knob on the device.
The action of the volume knob is received by lirc when its using the
alsa_usb driver.Signed-off-by: Mandar Joshi
Signed-off-by: Takashi Iwai
29 Mar, 2010
1 commit
-
Signed-off-by: Stephen Rothwell
Signed-off-by: Takashi Iwai
12 Mar, 2010
2 commits
-
For clearer namespace, also rename usbmixer_maps.c -> mixer_maps.c
Signed-off-by: Daniel Mack
Cc: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Move all non-standard mixer controls and vendor-specific extensions to a
separate file. Some structs need to be exported now.Signed-off-by: Daniel Mack
Cc: Clemens Ladisch
Signed-off-by: Takashi Iwai