Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154843

Summary: line6usb-0.6.4: source kernel driver for Line6 music recording hardware
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
URL: http://www.tanzband-scream.at/line6/
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Kowalczyk 2006-11-11 14:35:52 UTC
This is an excellent software project enabling Linux users to avail themselves of sophisticated consumer/semipro guitar recording equipment, including an all-digital signal path with Line6's modeling guitars.

I've never written an ebuild for a kernel driver before, but will look into mapping a existing ebuild to this trivial installation procedure to keep track of the supporting scripts that are copied during make installed. Suggestions for similar ebuilds to imitate would be welcome.

"This is an experimental Linux driver for the guitar amp, cab, and effects modeler PODxt Pro by Line6 (and similar devices), supporting the following features:

* Reading/writing individual parameters
* Reading/writing complete channel, effects setup, and amp setup data
* Channel switching
* Virtual MIDI interface
* Tuner access
* Playback/capture/mixer device for any ALSA-compatible PCM audio application
* Signal routing (record clean/processed guitar signal, re-amping)

Moreover, preliminary support for the Variax Workbench is included."

http://www.tanzband-scream.at/line6/INSTALL

My manual installation notes:

#  $ tar xjf line6usb-0.6.4.tar.bz2 

#  $ cd line6usb-0.6.4
line6usb-0.6.4 $ ls
INSTALL     capture.c        downsample_interpolate.patch  line6usb.spec  playback.h                     store_all_data.sh
Makefile    capture.h        driver.c                      midi.c         pod.c                          tuner.sh
aplay.sh    config.h         driver.h                      midi.h         pod.h                          usbdefs.h
arecord.sh  control.c        dumprequest.c                 pcm.c          podxtpro_resample.sh           variax.c
audio.c     control.h        dumprequest.h                 pcm.h          remove_old_podxtpro_driver.sh  variax.h
audio.h     create_links.pl  line6_find_device.pl          playback.c     retrieve_all_data.sh

# line6usb-0.6.4 $ make
make -C /lib/modules/2.6.18-gentoo-r2/build SUBDIRS=/line6usb-0.6.4 modules
make[1]: Entering directory `/usr/src/linux-2.6.18-gentoo-r2'
  CC [M]  /line6usb-0.6.4/audio.o
  CC [M]  /line6usb-0.6.4/capture.o
  CC [M]  /line6usb-0.6.4/control.o
  CC [M]  /line6usb-0.6.4/driver.o
  CC [M]  /line6usb-0.6.4/dumprequest.o
  CC [M]  /line6usb-0.6.4/midi.o
  CC [M]  /line6usb-0.6.4/pcm.o
  CC [M]  /line6usb-0.6.4/playback.o
  CC [M]  /line6usb-0.6.4/pod.o
  CC [M]  /line6usb-0.6.4/variax.o
  LD [M]  /line6usb-0.6.4/line6usb.o
  Building modules, stage 2.
  MODPOST
  CC      /line6usb-0.6.4/line6usb.mod.o
  LD [M]  /line6usb-0.6.4/line6usb.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo-r2'
mkdir -p /lib/modules/2.6.18-gentoo-r2/kernel/sound/usb
cp line6usb.ko /lib/modules/2.6.18-gentoo-r2/kernel/sound/usb
mkdir -p /usr/bin/bin
cp *.sh *.pl /usr/bin
depmod -a
modprobe line6usb

# ls *.sh *.pl 
aplay.sh    create_links.pl       podxtpro_resample.sh           retrieve_all_data.sh  tuner.sh
arecord.sh  line6_find_device.pl  remove_old_podxtpro_driver.sh  store_all_data.sh
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 14:43:46 UTC

*** This bug has been marked as a duplicate of 154844 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 14:44:04 UTC
Dupe.