89 |
{ 0 } /* terminator */ |
{ 0 } /* terminator */ |
90 |
}; |
}; |
91 |
|
|
92 |
|
/* Section "justlink_map" below added by James Courtier-Dutton <James@superbug.demon.co.uk> |
93 |
|
* sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK |
94 |
|
* Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.) |
95 |
|
* The USB Mixer publishes a Microphone and extra Volume controls for it, but none exist on the device, |
96 |
|
* so this map removes all unwanted sliders from alsamixer |
97 |
|
*/ |
98 |
|
|
99 |
|
static struct usbmix_name_map justlink_map[] = { |
100 |
|
/* 1: IT pcm playback */ |
101 |
|
/* 2: Not present */ |
102 |
|
{ 3, NULL}, /* IT mic (No mic input on device) */ |
103 |
|
/* 4: Not present */ |
104 |
|
/* 5: OT speacker */ |
105 |
|
/* 6: OT pcm capture */ |
106 |
|
{ 7, "Master Playback" }, /* Mute/volume for speaker */ |
107 |
|
{ 8, NULL }, /* Capture Switch (No capture inputs on device) */ |
108 |
|
{ 9, NULL }, /* Capture Mute/volume (No capture inputs on device */ |
109 |
|
/* 0xa: Not present */ |
110 |
|
/* 0xb: MU (w/o controls) */ |
111 |
|
{ 0xc, NULL }, /* Mic feedback Mute/volume (No capture inputs on device) */ |
112 |
|
{ 0 } /* terminator */ |
113 |
|
}; |
114 |
|
|
115 |
/* |
/* |
116 |
* Control map entries |
* Control map entries |
118 |
|
|
119 |
static struct usbmix_ctl_map usbmix_ctl_maps[] = { |
static struct usbmix_ctl_map usbmix_ctl_maps[] = { |
120 |
{ 0x41e, 0x3000, extigy_map }, |
{ 0x41e, 0x3000, extigy_map }, |
121 |
|
{ 0xc45, 0x1158, justlink_map }, |
122 |
{ 0 } /* terminator */ |
{ 0 } /* terminator */ |
123 |
}; |
}; |
124 |
|
|