Go to the documentation of this file.
4 #include "../usbaudio.h"
6 #define USB_VID_NATIVEINSTRUMENTS 0x17cc
8 #define USB_PID_RIGKONTROL2 0x1969
9 #define USB_PID_RIGKONTROL3 0x1940
10 #define USB_PID_KORECONTROLLER 0x4711
11 #define USB_PID_KORECONTROLLER2 0x4712
12 #define USB_PID_AK1 0x0815
13 #define USB_PID_AUDIO2DJ 0x041c
14 #define USB_PID_AUDIO4DJ 0x0839
15 #define USB_PID_AUDIO8DJ 0x1978
16 #define USB_PID_SESSIONIO 0x1915
17 #define USB_PID_GUITARRIGMOBILE 0x0d8d
18 #define USB_PID_TRAKTORKONTROLX1 0x2305
19 #define USB_PID_TRAKTORKONTROLS4 0xbaff
20 #define USB_PID_TRAKTORAUDIO2 0x041d
21 #define USB_PID_MASCHINECONTROLLER 0x0808
23 #define EP1_BUFSIZE 64
24 #define EP4_BUFSIZE 512
25 #define CAIAQ_USB_STR_LEN 0xff
26 #define MAX_STREAMS 32
30 #define MODNAME "snd-usb-caiaq"
31 #define log(x...) snd_printk(KERN_WARNING MODNAME" log: " x)
33 #ifdef SND_USB_CAIAQ_DEBUG
34 #define debug(x...) snd_printk(KERN_WARNING MODNAME " debug: " x)
36 #define debug(x...) do { } while(0)
39 #define EP1_CMD_GET_DEVICE_INFO 0x1
40 #define EP1_CMD_READ_ERP 0x2
41 #define EP1_CMD_READ_ANALOG 0x3
42 #define EP1_CMD_READ_IO 0x4
43 #define EP1_CMD_WRITE_IO 0x5
44 #define EP1_CMD_MIDI_READ 0x6
45 #define EP1_CMD_MIDI_WRITE 0x7
46 #define EP1_CMD_AUDIO_PARAMS 0x9
47 #define EP1_CMD_AUTO_MSG 0xb
48 #define EP1_CMD_DIMM_LEDS 0xc
110 #ifdef CONFIG_SND_USB_CAIAQ_INPUT
111 struct input_dev *input_dev;
114 struct urb *ep4_in_urb;
131 #define caiaqdev(c) ((struct snd_usb_caiaqdev*)(c)->private_data)
137 const unsigned char *
buffer,