BTL00
Posts: 3
Joined: Sat Jul 14, 2018 3:21 pm

Line6 UX2 / Raspberry Pi 3 / Spotify - help needed

Sat Jul 14, 2018 3:32 pm

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/

jack_on_fire
Posts: 1
Joined: Wed Jan 02, 2019 1:51 pm

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

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.


BTL00
Posts: 3
Joined: Sat Jul 14, 2018 3:21 pm

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

Mon Oct 28, 2019 8:35 pm

Thanks guys! I'll check that this weekend :D

remixmabix
Posts: 1
Joined: Mon Dec 30, 2019 3:14 am

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

Mon Dec 30, 2019 3:23 am

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.

sk8wine
Posts: 6
Joined: Tue Jun 16, 2020 8:37 am

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

Thu Jun 25, 2020 10:12 pm

Edit: I've successfully followed the instructions, see next comment :oops: :D
Last edited by sk8wine on Fri Jun 26, 2020 11:24 am, edited 1 time in total.

sk8wine
Posts: 6
Joined: Tue Jun 16, 2020 8:37 am

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

Fri Jun 26, 2020 11:16 am

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


vbarna
Posts: 1
Joined: Tue Aug 11, 2020 7:09 pm

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

Tue Aug 11, 2020 7:20 pm

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?

Mikka12
Posts: 10
Joined: Tue Mar 26, 2013 11:10 am

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

Sat Dec 05, 2020 12:32 pm

Hi, is it necessary to always compile whole kernel or is there an other way that anyone know? Today update of kernel broke my audio and I am currently recompiling whole kernel for already an hour. Thank you for help.

Return to “Media centres”