2
* Line6 Linux USB driver - 0.8.0
4
* Copyright (C) 2005-2008 Markus Grabner (grabner@icg.tugraz.at)
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation, version 2.
16
#define LINE6_VENDOR_ID 0x0e41
18
#define USB_INTERVALS_PER_SECOND 1000
23
#define LINE6_DEVID_BASSPODXT 0x4250
24
#define LINE6_DEVID_BASSPODXTLIVE 0x4642
25
#define LINE6_DEVID_BASSPODXTPRO 0x4252
26
#define LINE6_DEVID_GUITARPORT 0x4750
27
#define LINE6_DEVID_POCKETPOD 0x5051
28
#define LINE6_DEVID_PODX3 0x414a
29
#define LINE6_DEVID_PODX3LIVE 0x414b
30
#define LINE6_DEVID_PODXT 0x5044
31
#define LINE6_DEVID_PODXTLIVE 0x4650
32
#define LINE6_DEVID_PODXTPRO 0x5050
33
#define LINE6_DEVID_TONEPORT_GX 0x4147
34
#define LINE6_DEVID_TONEPORT_UX1 0x4141
35
#define LINE6_DEVID_TONEPORT_UX2 0x4142
36
#define LINE6_DEVID_VARIAX 0x534d
38
#define LINE6_BIT_BASSPODXT (1 << 0)
39
#define LINE6_BIT_BASSPODXTLIVE (1 << 1)
40
#define LINE6_BIT_BASSPODXTPRO (1 << 2)
41
#define LINE6_BIT_GUITARPORT (1 << 3)
42
#define LINE6_BIT_POCKETPOD (1 << 4)
43
#define LINE6_BIT_PODX3 (1 << 5)
44
#define LINE6_BIT_PODX3LIVE (1 << 6)
45
#define LINE6_BIT_PODXT (1 << 7)
46
#define LINE6_BIT_PODXTLIVE (1 << 8)
47
#define LINE6_BIT_PODXTPRO (1 << 9)
48
#define LINE6_BIT_TONEPORT_GX (1 << 10)
49
#define LINE6_BIT_TONEPORT_UX1 (1 << 11)
50
#define LINE6_BIT_TONEPORT_UX2 (1 << 12)
51
#define LINE6_BIT_VARIAX (1 << 13)
53
#define LINE6_BITS_PRO (LINE6_BIT_BASSPODXTPRO | \
55
#define LINE6_BITS_LIVE (LINE6_BIT_BASSPODXTLIVE | \
56
LINE6_BIT_PODXTLIVE | \
58
#define LINE6_BITS_PODXTALL (LINE6_BIT_PODXT | \
59
LINE6_BIT_PODXTLIVE | \
61
#define LINE6_BITS_BASSPODXTALL (LINE6_BIT_BASSPODXT | \
62
LINE6_BIT_BASSPODXTLIVE | \
63
LINE6_BIT_BASSPODXTPRO)
65
/* device supports settings parameter via USB */
66
#define LINE6_BIT_CONTROL (1 << 0)
67
/* device supports PCM input/output via USB */
68
#define LINE6_BIT_PCM (1 << 1)
69
#define LINE6_BIT_CONTROL_PCM (LINE6_BIT_CONTROL | LINE6_BIT_PCM)
71
#define LINE6_FALLBACK_INTERVAL 10
72
#define LINE6_FALLBACK_MAXPACKETSIZE 16