Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182722
b: refs/heads/master
c: 4071738
h: refs/heads/master
v: v3
  • Loading branch information
Chris J Arges authored and Takashi Iwai committed Feb 22, 2010
1 parent d079e24 commit 58ba7a2
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04510a74bfbcbfd53dd48b3094aad89d5eca1d28
refs/heads/master: 40717382e0c1f572553e4fdefb489db4b95a5e7e
45 changes: 45 additions & 0 deletions trunk/sound/usb/usbquirks.h
Original file line number Diff line number Diff line change
Expand Up @@ -2215,6 +2215,51 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
},

/* Digidesign Mbox */
{
/* Thanks to Clemens Ladisch <clemens@ladisch.de> */
USB_DEVICE(0x0dba, 0x1000),
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
.vendor_name = "Digidesign",
.product_name = "MBox",
.ifnum = QUIRK_ANY_INTERFACE,
.type = QUIRK_COMPOSITE,
.data = (const struct snd_usb_audio_quirk[]){
{
.ifnum = 0,
.type = QUIRK_IGNORE_INTERFACE,
},
{
.ifnum = 1,
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
.data = &(const struct audioformat) {
.format = SNDRV_PCM_FORMAT_S24_3BE,
.channels = 2,
.iface = 1,
.altsetting = 1,
.altset_idx = 1,
.attributes = EP_CS_ATTR_SAMPLE_RATE,
.endpoint = 0x02,
.ep_attr = 0x01,
.maxpacksize = 0x130,
.rates = SNDRV_PCM_RATE_44100 |
SNDRV_PCM_RATE_48000,
.rate_min = 44100,
.rate_max = 48000,
.nr_rates = 2,
.rate_table = (unsigned int[]) {
44100, 48000
}
}
},
{
.ifnum = -1
}
}

}
},

{
/*
* Some USB MIDI devices don't have an audio control interface,
Expand Down

0 comments on commit 58ba7a2

Please sign in to comment.