Skip to content

staging: line6: add Pod HD300 support

Stefan Hajnoczi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: line6: accept all MIDI channels by defaultdrivers/staging/line6/midi.c+2 -20 replies
2/2staging: line6: add Pod HD300 supportdrivers/staging/line6/Makefile drivers/staging/line6/driver.c drivers/staging/line6/pcm.c +3 more+216 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
1.7.7