1
0
Fork 0
alistair23-linux/sound/usb
Manuel Reinhardt a634090a0f ALSA: usb-audio: Add quirk for MOTU MicroBook II
Add an entry to the quirks-table to for usb-audio to recognize the
Microbook II (although it only exposes vendor interfaces). A simple boot
quirk is also implemented to set up the sample rate and  make sure that
no audio urbs are sent before the device is ready.

This patch only provides audio playback and capture at 96kHz sample
rate. Notice the following shortcomings:

- The sample rate is currently hardcoded to 96k although the device also
  supports 48k and 44.1k.

- The various mixer controls of the MicroBook are not made available.

- The keep-iface control should be on by default because the device
  shuts down whenever the altsetting is reset which is usually unwanted.
  (I don't know the best way to do this)

- The communication format used by the MicroBook for sample rate setting
  and also other setup has been reverse engineered by looking at the
  usbmon output while running the windows driver through virtualbox. In
  this patch the first byte of every message is set to \0 while in the
  observed communications the first byte acts as a "message-counter"
  increasing its value with every message sent. Leaving it at \0 does
  not seem to affect the device.

Signed-off-by: Manuel Reinhardt <manuel.rhdt@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-02-28 22:23:11 +01:00
..
6fire
bcd2000
caiaq
hiface
line6 Merge branch 'topic/pcm-device-suspend' into for-next 2019-01-18 17:37:21 +01:00
misc
usx2y ALSA: usb: Drop superfluous PCM preallocation error checks 2019-02-06 10:29:42 +01:00
Kconfig
Makefile
card.c Merge branch 'topic/pcm-device-suspend' into for-next 2019-01-18 17:37:21 +01:00
card.h ALSA: usb-audio: Expose sample resolution through proc interface 2019-02-18 09:36:09 +01:00
clock.c
clock.h
debug.h
endpoint.c
endpoint.h
format.c ALSA: usb-audio: Expose sample resolution through proc interface 2019-02-18 09:36:09 +01:00
format.h
helper.c
helper.h
midi.c
midi.h
mixer.c ALSA: usb: Clean up with new procfs helpers 2019-02-06 18:11:57 +01:00
mixer.h
mixer_maps.c
mixer_quirks.c ALSA: usb: Clean up with new procfs helpers 2019-02-06 18:11:57 +01:00
mixer_quirks.h
mixer_scarlett.c
mixer_scarlett.h
mixer_us16x08.c
mixer_us16x08.h
pcm.c ALSA: usb-audio: Add quirk for MOTU MicroBook II 2019-02-28 22:23:11 +01:00
pcm.h
power.c
power.h
proc.c ALSA: usb-audio: Expose sample resolution through proc interface 2019-02-18 09:36:09 +01:00
proc.h
quirks-table.h ALSA: usb-audio: Add quirk for MOTU MicroBook II 2019-02-28 22:23:11 +01:00
quirks.c ALSA: usb-audio: Add quirk for MOTU MicroBook II 2019-02-28 22:23:11 +01:00
quirks.h
stream.c
stream.h
usbaudio.h