Page 1 of 1

Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Sat Jul 14, 2018 3:32 pm
by BTL00
Hey Gals and Guys!
I'm trying to make myself a Spotify streaming device using Raspotify (https://github.com/dtcooper/raspotify). Unfortunately, I don't have any good USB DAC / soundcard and I wanted to use my UX2 guitar interface. It doesn't have any support for Raspberry Pi, but Ubuntu has some packages that can make the device running: https://launchpad.net/ubuntu/+source/line6-usb

Is there any way to install them?

Also, I found some code repo that unfortunately I cannot compile (errors during 'sudo make install')
http://sourceforge.net/p/line6linux/

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Wed Jan 02, 2019 3:30 pm
by jack_on_fire
Driver modules for the UX2 and a number of other Line 6 devices are actually included in the current Raspberry Pi kernel sources, but not in the default Raspbian kernel builds. You can build and install the modules from the kernel sources, or build your own kernel with a modified configuration.

For me, enabling playback from my UX1 on the Raspberry Pi 3 B+, was this easy:

- Follow the guide on https://www.raspberrypi.org/documentati ... uilding.md on how to build your own kernel, with one extra step:
- after creating the default build configuration and before building and installing the kernel, modules, and Device Tree blobs, modify the .config file to set the configuration parameters for the necessary modules to "m":

Code: Select all

$ sed -ri "/CONFIG_SND_USB_TONEPORT/ { s/# (\w+).*/\1=m/; i CONFIG_SND_USB_LINE6=m
}" .config
The CONFIG_SND_USB_TONEPORT module should work for the TonePort GX, UX1 and UX2, for other Line 6 hardware you may want to do analogous changes to the lines with CONFIG_SND_USB_POD and CONFIG_SND_USB_PODHD.

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Fri Oct 18, 2019 11:58 am
by Flourdeau
Thx, work fine for me ! https://youtu.be/4KAxoCQ_0mE

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Mon Oct 28, 2019 8:35 pm
by BTL00
Thanks guys! I'll check that this weekend :D

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Mon Dec 30, 2019 3:23 am
by remixmabix
Hello people, maybe you can help me, everything is working with my raspberry pi 3 model b+ and shairport.

It seems that when Pod UX1 and Ethernet cable are plugged in, raspberry pi won't boot.

After some IOCTL DELAY I turned on dwc_otg.speed=1 and smsc95xx.turbo_mode=N in cmdline.txt according to https://wiki.linuxaudio.org/wiki/raspberrypi

Do you need to extra power the Pod UX1 or the PI ?
Have you noticed some laggy behaviour ?

Thanks.

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Thu Jun 25, 2020 10:12 pm
by sk8wine
Edit: I've successfully followed the instructions, see next comment :oops: :D

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Fri Jun 26, 2020 11:16 am
by sk8wine
jack_on_fire wrote:
Wed Jan 02, 2019 3:30 pm
Driver modules for the UX2 and a number of other Line 6 devices are actually included in the current Raspberry Pi kernel sources, but not in the default Raspbian kernel builds. You can build and install the modules from the kernel sources, or build your own kernel with a modified configuration.

For me, enabling playback from my UX1 on the Raspberry Pi 3 B+, was this easy:

- Follow the guide on https://www.raspberrypi.org/documentati ... uilding.md on how to build your own kernel, with one extra step:
- after creating the default build configuration and before building and installing the kernel, modules, and Device Tree blobs, modify the .config file to set the configuration parameters for the necessary modules to "m":

Code: Select all

$ sed -ri "/CONFIG_SND_USB_TONEPORT/ { s/# (\w+).*/\1=m/; i CONFIG_SND_USB_LINE6=m
}" .config
The CONFIG_SND_USB_TONEPORT module should work for the TonePort GX, UX1 and UX2, for other Line 6 hardware you may want to do analogous changes to the lines with CONFIG_SND_USB_POD and CONFIG_SND_USB_PODHD.
:D :D :D :D That worked for my UX1 studio too (Newer version from toneport), on Raspberry Pi 4 – I missed part two, most important bit...:

Code: Select all

$ sed -ri "/CONFIG_SND_USB_TONEPORT/ { s/# (\w+).*/\1=m/; i CONFIG_SND_USB_LINE6=m
}" .config
Can confirm after going back to pre build, putting this code in, and rebuilding it has now successfully worked! Line 6 UX1 studio is a go

THANK YOU @jack_on_fire

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Sun Jun 28, 2020 5:46 pm
by sk8wine
Made a guide for anyone as stupid as I am.

https://www.youtube.com/watch?v=yCSW-Lt ... e=youtu.be

Re: Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Posted: Tue Aug 11, 2020 7:20 pm
by vbarna
Hello guys,
when I'm trying to modify the config file, I get this: "sed: couldn't edit (.config): not a regular file". I'm using the Blokas Patchbox OS. Is my problem with the os, or am I overlooking something?