[PATCH 0/2] staging: line6: add Pod HD300 support

From: Stefan Hajnoczi
Date: Sun Oct 30 2011 - 10:41:00 EST


These patches add Pod HD300 support to the line6usb driver. The Pod HD family
is the current generation of devices from Line6. It works along the same lines
as the Pod xt but introduces new MIDI SysEx messages and is not compatible with
Pod xt messages.

These patches make Pod HD300 work out-of-the-box and provide both MIDI and pcm
interfaces. I have tested playback and capture successfully with Audacity and
native ALSA applications going through PulseAudio. I have tested MIDI using
amidi(1) to store SysEx dumps sent from the device and to adjust controller
parameters.

Patch 1 sets a saner default for MIDI masks because the default value drops
messages from the Pod HD300, which operates on Channel 1.

Patch 2 adds the Pod HD300 USB IDs and Pod HD functionality based on stripped
down Pod xt code.

If we moved the hardcoded Pod xt MIDI messages into a userspace library then it
would be possible to unify pod.c and podhd.c. I don't have a Pod xt device to
test against so it's hard for me to make this change without help.

Stefan Hajnoczi (2):
staging: line6: accept all MIDI channels by default
staging: line6: add Pod HD300 support

drivers/staging/line6/Makefile | 3 +-
drivers/staging/line6/driver.c | 24 ++++++-
drivers/staging/line6/midi.c | 4 +-
drivers/staging/line6/pcm.c | 1 +
drivers/staging/line6/podhd.c | 158 +++++++++++++++++++++++++++++++++++++++
drivers/staging/line6/podhd.h | 30 ++++++++
drivers/staging/line6/usbdefs.h | 2 +
7 files changed, 218 insertions(+), 4 deletions(-)
create mode 100644 drivers/staging/line6/podhd.c
create mode 100644 drivers/staging/line6/podhd.h

--
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/