Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219711
b: refs/heads/master
c: 1027f47
h: refs/heads/master
i:
  219709: 7853152
  219707: 0f9a379
  219703: 979ab3c
  219695: a9f59a5
  219679: 98a1931
  219647: 991ee1a
v: v3
  • Loading branch information
Markus Grabner authored and Greg Kroah-Hartman committed Aug 31, 2010
1 parent 731fd4d commit eccc417
Show file tree
Hide file tree
Showing 28 changed files with 2,136 additions and 1,176 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4498dbcd2d85b67e9f46790bcfee5860d2dd1762
refs/heads/master: 1027f476f507ef7ed9919cd3e3d32310f3985da1
67 changes: 65 additions & 2 deletions trunk/drivers/staging/line6/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
config LINE6_USB
menuconfig LINE6_USB
tristate "Line6 USB support"
depends on USB && SND
select SND_RAWMIDI
Expand All @@ -18,5 +18,68 @@ config LINE6_USB
* Signal routing (record clean/processed guitar signal,
re-amping)

Preliminary support for the Variax Workbench is included.
Preliminary support for the Variax Workbench and TonePort
devices is included.

if LINE6_USB

config LINE6_USB_DEBUG
bool "print debug messages"
default n
help
Say Y here to write debug messages to the syslog.

If unsure, say N.

config LINE6_USB_DUMP_CTRL
bool "dump control messages"
default n
help
Say Y here to write control messages sent to and received from
Line6 devices to the syslog.

If unsure, say N.

config LINE6_USB_DUMP_MIDI
bool "dump MIDI messages"
default n
help
Say Y here to write MIDI messages sent to and received from
Line6 devices to the syslog.

If unsure, say N.

config LINE6_USB_DUMP_PCM
bool "dump PCM data"
default n
help
Say Y here to write PCM data sent to and received from Line6
devices to the syslog. This will produce a huge amount of
syslog data during playback and capture.

If unsure, say N.

config LINE6_USB_RAW
bool "raw data communication"
default n
help
Say Y here to create special files which allow to send raw data
to the device. This bypasses any sanity checks, so if you discover
the code to erase the firmware, feel free to render your device
useless, but only after reading the GPL section "NO WARRANTY".

If unsure, say N.

config LINE6_USB_IMPULSE_RESPONSE
bool "measure impulse response"
default n
help
Say Y here to add code to measure the impulse response of a Line6
device. This is more accurate than user-space methods since it
bypasses any PCM data buffering (e.g., by ALSA or jack). This is
useful for assessing the performance of new devices, but is not
required for normal operation.

If unsure, say N.

endif # LINE6_USB
13 changes: 7 additions & 6 deletions trunk/drivers/staging/line6/audio.c
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/*
* Line6 Linux USB driver - 0.8.0
* Line6 Linux USB driver - 0.9.0
*
* Copyright (C) 2004-2009 Markus Grabner (grabner@icg.tugraz.at)
* Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, version 2.
*
*/

#include "driver.h"
#include "audio.h"

#include <sound/core.h>
#include <sound/initval.h>

#include "driver.h"
#include "audio.h"


static int line6_index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
static char *line6_id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
Expand All @@ -36,8 +36,9 @@ int line6_init_audio(struct usb_line6 *line6)

line6->card = card;

strcpy(card->id, line6->properties->id);
strcpy(card->driver, DRIVER_NAME);
strcpy(card->shortname, "Line6-USB");
strcpy(card->shortname, line6->properties->name);
sprintf(card->longname, "Line6 %s at USB %s", line6->properties->name,
dev_name(line6->ifcdev)); /* 80 chars - see asound.h */
return 0;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/line6/audio.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Line6 Linux USB driver - 0.8.0
* Line6 Linux USB driver - 0.9.0
*
* Copyright (C) 2004-2009 Markus Grabner (grabner@icg.tugraz.at)
* Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand Down
Loading

0 comments on commit eccc417

Please sign in to comment.