[PATCH RFC 0/3] Add USB-audio quirk alias option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this is an experimental patchset to add a new option, quirk_alias, to
snd-usb-audio driver.  It allows to use the existing quirk for the
given vendor:product id pair matching with the new device.  Passing
like:
  quirk_alias=1234abcd:5678beef
will make the driver applying the quirk for 5678:beef against to the
new device 1234:abcd.

Obviously, this is for helping to find a workaround for a new device
that may need the same / similar quirk for the previous models.  Then
you can apply the quirk without recompiling the kernel driver with a
manual patch.


Takashi

===

Takashi Iwai (3):
  ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation
  ALSA: usb-audio: Add quirk_alias option
  ALSA: doc: Update option descriptions for snd-usb-audio

 Documentation/sound/alsa/ALSA-Configuration.txt |  9 ++++
 sound/usb/card.c                                | 56 +++++++++++++++++++++++--
 sound/usb/midi.c                                | 15 ++++---
 sound/usb/midi.h                                | 14 ++++++-
 sound/usb/quirks.c                              | 34 ++++++++-------
 sound/usb/quirks.h                              |  3 +-
 6 files changed, 105 insertions(+), 26 deletions(-)

-- 
2.7.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux