How To: Install A Line6 GuitarPort or TonePort UX1 or GX

Sponsored Link
How to install a Line6 Guitar Port (and the toneport With a very big thanks to Myhrman from Source Forge for helping me get this thing working and a big thanks to Grabner for providing the drivers for something that seems to be non existant for linux! This is to get the Guitar Port to work as a basic USB sound device so you will get a dry signal in and out that will work under OSS and Jack.

Note: Myhrman says it should work with most toneports too but neither of us have one to test it out.

First open your Terminal

Applications> Accessories> Terminal

You will need to get Subversion

sudo apt-get install subversion

Then you will need to get the source

svn co

Change to the directory

cd line6linux/driver/trunk

Time to build from the source but first make sure you have the latest build and headers

sudo apt-get install build-essential
sudo apt-get install linux-headers

(Note: You will atlest have version To check your version in terminal type uname -r)

Now that is updated and you are in the trunk directory

sudo make install

Now shutdown and restart with the guitar port (or toneport) connected and you should beable to see it in your
System> Preferences> Sound

Only use the OSS drivers for native OS support and to prevent feedback while using Jack Keep the "Monitor" channel muted.

Sponsored Link

You may also like...

56 Responses

  1. lancee says:

    hey thanks dudes this works great!!!

  2. Jake says:

    I found out the hard way that the new versions of Ubuntu have the TonePort GX included. If you run the install, your sound will work until you reboot. Check your Hardware Tab in Sound Properties FIRST.

    But for older versions, yes, this guide is the trick.

  3. esphera says:

    ok i’m a completely noob on ubunto, but i really want to get my ux1 tone port working, so… i’m getting this “[sudo] password for esphera” but i cant type anything… what am i doing wrong?


  4. Denis says:

    @Jake :
    For this kind of general question you’d better ask on forums ! Or even in the documentation, you’ll find interesting things.

    Anyway, when you have to type in a password, nothing is displayed for security reasons, but what you type is still taken into account.

    Simply type your password and [Enter] !

  5. esphera says:

    Hi again,

    I would like to know how to install these drivers?


  6. esphera says:

    *how to uninstall. sorry

  7. Thomas says:

    I have ubuntu 10.10 and followed this guide. However I cannot see my UX1 in hardware. I then noticed what jake said: I found out the hard way that the new versions of Ubuntu have the TonePort GX included. If you run the install, your sound will work until you reboot. Check your Hardware Tab in Sound Properties FIRST.

    Obviously I didn’t look first, I just assumed that it wouldn’t work so I started looking for how to’s on the web. Anyway, I can’t see my UX1 as it is after I followed the guide. Anyone know how to fix it?

  8. hans schneidhofer says:

    hi, have tried the line6-driver on ubuntu 10.10, but as soon as I have made the changes in audacity –> recorddevice = line6 –> and start the record, the system crashes – no network no mouse or any other thing is running – can it be, that this driver is not running with ubuntu 10.10 ?

    best regards

  9. Jay says:

    Thank you so much for this!!! You are my new hero. Your install instructions worked great and now I can record music without resorting to windows.

  10. Joey says:

    The driver installation went well, but i’m looking for playback software to use… like gearbox, or guitar rig. How would I get those to work in linux mint?

  11. steve says:

    I also didn’t see Jake’s comment until much too late. After having installed the drivers per the instructions (which went just fine) and rebooting the toneport did not appear in my hardware devices (only my mobo, my audigy2 and the internal sound device which I guess is audio equivalent to the loopback interface for networking?). I’m not sure if the guitarport was there before I installed these drivers, but it definitely is not there now. So what to do next?

  12. Steph says:

    I installed Line6 GX on Ubuntu. It works fine for listening to the music, however as soon as I plug in the bass, it works too but the volume is not equal on each side, the right side is far more audible than the left. Also, as soon as I play along music ( such as with Youtube ), the bass starts making ‘scratchy’ noises through the headphone. I tried adjusting the sound preferences without any luck.
    Help would be appreciated !
    Thanks again !

  13. Jones says:

    if you could update this with an undo tutorial i’m sure many would appreciate it, myself included.

  14. Andrew says:

    I need to uninstall driver (Ubuntu 11.10) too.
    But sudo make uninstall doesn’t work.

  15. Kieran says:

    I know this is way out of date, but since I had the same problem as Steph and have found the solution, I thought I would post it for anyone else who got here by Googling:

    By default, the Guitarport “monitors” back the guitar import through the right channel of the headphones (and presumably the RCA out). This is firstly annoying (as you get extra clean tone over one channel of your nicely processed guitar audio), and secondly because this internal hardware “monitor” seems to be the main source of the scratchiness in the sound.

    Anyway, the good news is that ALSA supports the internal mixer on the card, which has a “monitor” setting. If you open alsamixer and turn this down to zero, you no longer get the internal monitoring back to the right headphone channel, and the scratchiness goes away.

  16. rancherr says:

    I have followed the install instructions (ubuntu 12.04) with ux2 and that went ok.
    The issue is, that ‘clocks’ on the ux2 does no move when I play, also I can hear only ‘farting’ in my speaker/headset however in audacity/adour when I rec something then play – the sound is ok.
    anybody experienced that?

  17. Mike says:


    Thank you so much for posting this information. It’s taken me forever to figure out how to change the device (instrument, mic, line in, etc.) without the Gearbox UI through AlsaMixer on the command line. I tried turning down the “monitor” setting on the Toneport UX1 soundcard but nothing happens.

    Also, would you happen to know how to set a USB device from output to input? Everything works fine and I can hear my classical guitar (very well), but Gearbox says the Toneport device is not plugged in (Toneport shows up as an output device in Ubuntu’s sound panel).

    Thanks again for your invaluable information!

  18. Mike says:

    Thank you very much for this valuable piece of information!

    Would you happen to know how one would go about making the Toneport USB device an input device by default? When I go into Ubuntu’s sound control panel, Toneport shows up as an output device and Gearbox says the device is not plugged.

  19. ksionc says:

    When i try to get source it says svn: E175011: Repository moved permanently to ‘!svn/vcc/default’; please relocate
    dunno what to do next. Can u help me?

  20. pper says:

    on my lubuntu 12.04 system crashes and freezes when I plug in my line6 toneport GX. So I even can’t try these steps you describe.
    same if I try to boot with line6 plugged already – it fails to boot and freezes at some point.
    Any idea?
    and I know there are drivers already in 14.04, but I can’t go with newer ubuntu version cause then my sis graphics won’t work 🙁
    Also with the instructions I have the same as person above:
    Repository moved permanently to ‘!svn/vcc/default’; please relocate

    dunno what to do next. Can u help me?

  21. Marlon says:

    Hi , I get this error, could someone help me?
    marlon@marlon-virtual-machine:~/trunk$ make
    ./ línea 9: test: demasiados argumentos
    make -C /lib/modules/3.19.0-25-generic/build CONFIG_LINE6_USB=m SUBDIRS=/home/marlon/trunk modules
    make[1]: se ingresa al directorio «/usr/src/linux-headers-3.19.0-25-generic»
    CC [M] /home/marlon/trunk/audio.o
    /home/marlon/trunk/audio.c:1:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
    /home/marlon/trunk/audio.c: In function ‘line6_init_audio’:
    /home/marlon/trunk/audio.c:28:2: error: implicit declaration of function ‘snd_card_create’ [-Werror=implicit-function-declaration]
    err = snd_card_create(SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1,
    cc1: some warnings being treated as errors
    make[2]: *** [/home/marlon/trunk/audio.o] Error 1
    make[1]: *** [_module_/home/marlon/trunk] Error 2
    make[1]: se sale del directorio «/usr/src/linux-headers-3.19.0-25-generic»
    make: *** [default] Error 2

    :C :C

  22. Matt says:

    I’m getting the same errors as Marlon, and can’t get my Toneport KB37 to do anything. Does anyone know what those error messages above mean and how to fix them?

  23. Panc says:

    Same here! stuck in same situation as Marlon…. please HELP!

  24. Tobias says:

    I get similar errors… I did the following:

    svn co
    mv code line6linuxcode
    cd line6linuxcode/driver/trunk

    These are the first lines of the output of make (in German):

    ./ 9: test: unexpected operator
    make -C /lib/modules/3.13.0-74-generic/build CONFIG_LINE6_USB=m SUBDIRS=/home/tobe/line6linuxcode/driver/trunk modules
    make[1]: Verzeichnis »/usr/src/linux-headers-3.13.0-74-generic« wird betreten
    CC [M] /home/tobe/line6linuxcode/driver/trunk/audio.o
    CC [M] /home/tobe/line6linuxcode/driver/trunk/capture.o
    CC [M] /home/tobe/line6linuxcode/driver/trunk/driver.o
    In file included from /home/tobe/line6linuxcode/driver/trunk/driver.c:24:0:
    /home/tobe/line6linuxcode/driver/trunk/revision.h:3:25: warning: missing terminating ” character [enabled by default]
    #define DRIVER_REVISION ” (revision

  25. Tobias says:

    I posted a solution for my problem on Maybe something similar works for the other problems mentioned above!

  26. Flávio de Melo says:

    The newest versions of the linux kernel have the options that offer support/drivers for the Line 6 devices:


    However, if you are still running on a version that does not support Line 6 devices yet and does not want to upgrade it, you should know that the system call ‘snd_card_create’ has been replaced by ‘snd_card_new’. Just correct the ‘audio.c’ file with the following substitution.

    Delete or comment

    err = snd_card_create(SNDRV_DEFAULT_IDX1,SNDRV_DEFAULT_STR1, THIS_MODULE, 0, &card);

    replacing it by

    err = snd_card_new(line6->ifcdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1, THIS_MODULE, 0, &card);

    You should be able to compile it smoothly.

Leave a Reply

Your email address will not be published. Required fields are marked *