Menu

MIC Support for Toneport UX1?

Help
kukat
2010-05-02
2013-06-13
1 2 > >> (Page 1 of 2)
  • kukat

    kukat - 2010-05-02

    Hi!!!

    First, thanks for the work, and sorry for my english!

    Today was a happy day, thanks thanks thanks!

    Since 2007, I was fighting for running my TonePort Ux1 under GNU/Linux…..(http://ubuntuforums.org/showthread.php?t=550681)
    I saw your web page  and the Poll…
    But today I see a web  page (probably posted by you ) and the instructions for running under Ubuntu…and succesfull I recorded my guitar under Audacity!!!!

    The only problem was the Mic interface…..Don't work????

    Thanks!!!

     
  • kukat

    kukat - 2010-05-24

    Hi again!!!

    When I go to Windows, and run "Gearbox", and choose "Guitar i Mic", When i reboot and go to Linux, The driver don't work!!!
    :)
    Only works if "Instrument" is turn on on mty Toneport UX1 hardware, right????

    Sorry for my english!

    I supposed that you are submitting code for change between interfaces at hardware??? :)

    Thanks!

    good work!

     
  • Markus Grabner

    Markus Grabner - 2010-05-24

    Sorry for the late reply, I was recently working on some other features of the driver. Could you please give some more information:
    *) What steps are required to reset the device such that you can use it again under Linux (at least the guitar input)? Is it sufficient to disconnect and reconnect the USB cable?
    *) Please post the output of the command "lsusb -v -d 0e41:", once *before* booting Windows, and once *after* choosing the mic input under Windows (and rebooting Linux) as described in your posting.

    Kind regards,
    Markus

     
  • Markus Grabner

    Markus Grabner - 2010-05-24

    Two more things:
    *) The most useful information would be the USB packets sent to the device under Windows to switch between line and mic input. There are several tools available for this task, e.g.:
    -) http://www.pcausa.com/Utilities/UsbSnoop (free, works for Windows XP, but not for newer versions)
    -) http://www.hhdsoftware.com/Products/home/usb-monitor.html (commercial, but free evaluation, works for all Windows versions)
    If you can provide such information, it might be possible to add support for this feature even without having the device here for experimentation.
    *) Can you use both the line and mic input of your device at the same time under Windows?

    Thanks & kind regards,
    Markus

     
  • kukat

    kukat - 2010-05-25

    Hi!!!!

    Thanks for the reply!

    Yes! The Mic aand Instrument works both under Windows!!!!

    Here: http://www.ziddu.com/download/10003936/TonePortUX1.zip.html

    There are a "zip" file with "logs" under Windows and Kubuntu Lucid Lynx.

    Sorry, but when I reboot, the Guitar always runs good!  In my other post I say you that no runs… but….Today was all correct….  :)

    The Instrument interface always works.

    Thanks!

     
  • Markus Grabner

    Markus Grabner - 2010-05-25

    Thanks for the data! As you probably noticed, the "lsusb" are all the same, which means that at least the device is not magically reconfigured, but appears on the bus always with the same set of features (which is good).

    In the log files, always the same endpoints are addressed, so there must be some other place where the proper input is selected. May I ask you to create some more logs? I would like to see the following:

    1.) Start the GearBox software
    2.) Start USB logging
    3.) Choose "Microphone" in the "Source Select" combo box (unless it is already selected, then start with a different input mode)
    4.) Stop USB logging and save the log file

    And the same for "Instrument" and "Inst & Mic" in step 3.) If GearBox can be prevented from performing any audio I/O, please do so, otherwise perform steps 2.) to 4.) in quick succession to at least keep the log files small.

    Kind regards,
    Markus

     
  • kukat

    kukat - 2010-05-26

    HI again!!!!

    Here, are my logs:
    http://www.ziddu.com/download/10020425/TonePortUX1Logs.rar.html

    I hope that the logs are good!!!

    Thanks!!

     
  • Markus Grabner

    Markus Grabner - 2010-05-26

    Ok, I found something, hopefully the famous needle in the haystack :-) I modified the driver to always send the command to the UX1 which (according to your logs) chooses mic&instrument. I'm not sure, however, if I use this command properly, so can you please try the most recent version of the driver?

    BTW, could you please explain how the mic & instrument channels are used under Windows? Do you get two separate recording channels when you choose "mic&instrument" (such that you can record "mic" in one file and "instrument" in a different file at the same time), or are "mic" and "instrument" mixed together into a single channel?

    Kind regards,
    Markus

     
  • kukat

    kukat - 2010-05-31

    Hi!!!!

    Yeah! Under Windows, I recorded with a program called "Lives".
    The channels are mixed togheter in a single channel…
    ;)

    I'm going to install the new driver.

    Jordi

     
  • kukat

    kukat - 2010-05-31

    Hurry!!!!

    Mic and Guitar works under Linux!!!!!!!

    But… Audacity only records the guitar!!!! ¿?¿?

    Is a poblem with Audacity?????

    Thank You very Much!

     
  • Markus Grabner

    Markus Grabner - 2010-05-31

    As I understand you did the following:
    1.) Power up your computer and directly boot Linux (without booting Windows before),
    2.) Confirm with some application (which one?) that mic and guitar are both recorded and mixed into a single channel,
    3.) Try the same in audacity, but you only got the guitar signal?

    You could try to reload the line6usb driver module immediately before starting audacity (and if that helps, I can try to modify the driver such that you *don't* have to do this).

    Kind regards,
    Markus

    P.S. I think there should be some ALSA controls to select the input setup (mic, guitar, or both). I will try to "blindly" implement some and ask you for testing then.

     
  • Markus Grabner

    Markus Grabner - 2010-06-03

    The current revision 632 has a "PCM Capture Source" control for the TonePort UX1. You can access the switch with ALSA mixer tools, e.g., "alsamixer" (the *console* application, "alsamixergui" does *not* work) and "kmix". Since I don't have an UX1, I need your help to get it right, so could you please test this and provide the following information:
    *) In which order (from top to bottom) do the entries "Instrument", "Microphone" and "Inst & Mic" appear in the "source select" field in the Windows GearBox software?
    *) Which of these three options is selected by default when GearBox is launched?
    *) Does the "PCM Capture Source" control correctly set the input(s) to be used in the Linux Line6 driver?
    *) If so, does changing the input source also work while recording?

    Thanks & kind regards,
    Markus

     
  • kukat

    kukat - 2010-06-03

    Hiiiii!!!!!!!!!!!!

    The Source order is
    1. Microphone
    2. Line 1
    3. Line 2
    4. Line Stereo
    5.Line 1 & 2
    6. Instrument
    7. Instrument & Mic

    The selected default option is the last used by the user!!! ;)

    The last 2 questions i answered when I arrived home, sorry!!!!

    Salut!

     
  • Markus Grabner

    Markus Grabner - 2010-06-03

    Ok, I see my first approach is incomplete :-) Could you please provide log files similar to the last ones (i.e., switching to a different "source select" while the USB logger is running)? Make sure to quickly perform the "start logging - switch source select - stop logging" cycle since audio data appears in the log file as well and creates a huge amount of data.

    Thanks & kind regards,
    Markus

     
  • Markus Grabner

    Markus Grabner - 2010-06-05

    Or even better, extract the interesting pieces from the complete log file yourself and only send the reduced data:

    grep -20 URB_FUNCTION_CONTROL_TRANSFER complete.log > reduced.log

    This reduces the size down to a few kilobytes.

    Thanks & kind regards,
    Markus

     
  • kukat

    kukat - 2010-06-06

    *) Does the "PCM Capture Source" control correctly set the input(s) to be used in the Linux Line6 driver?

    Yes!! The sources Mic, Instrument, And Mic & Instrument works correctly!!!!!

    *) If so, does changing the input source also work while recording?

    I record my guitar and mic with Audacity!!! ;) 

     
  • kukat

    kukat - 2010-06-09

    Hi!!!!
    My Reduced Logs!!!!!!!!!!!

    http://www.ziddu.com/download/10214827/reducedLogs.zip.html

    Kind regards

     
  • Markus Grabner

    Markus Grabner - 2010-06-09

    Thanks a lot! Two comments on this:
    *) The same code is sent to the device for the Line 1, Line 1+2, and Line stereo inputs. I guess that the stereo signal is transmitted to the PC for all "Line" variants, and that the appropriate signal is assembled in software according to the selected variant (1, 2, 1+2, and stereo).
    *) The log file for "Line 2" is empty. Although I don't expect to see anything new there, it would be helpful to have a look to be sure. Could you please try to create the log again when switching from "Mic" to "Line 2"?

    I updated the driver to include a "Line" option in the "source select" control (revision 638), could you please test this?

    Moreover, I can easily imagine an experiment to confirm the above assumption regarding the stereo signal. However, it requires 8 log files to be produced. So if you (or someone else owning a Toneport UX1 and interested in getting the driver right) have some time, please do the following:
    1.) connect an audio source (e.g., a CD player) to line input 1 of the Toneport UX1, leave line input 2 disconnected, and provide an audio signal (i.e., play a CD)
    2.) select "Line 1" input in Gearbox
    3.) start the USB logger
    4.) wait a second
    5.) stop the USB logger
    6.) repeat steps 2.) to 5.), but with "Line 2", "Line 1+2", and "Line stereo" selected in Gearbox
    7.) repeat steps 2.) to 6.) with the audio source connected to line input 2 (and line input 1 disconnected)
    8.) from each log file, extract the first ~1000 lines, save it under a descriptive name, and send it to me (or provide it for download as you did before)

    Kind regards,
    Markus

     
  • kukat

    kukat - 2010-06-24

    Hi!!!!!!!!!!!
    Sorry for the late reply!!!
    My logs, with the first 1000 lines…..!!!

    And with the log Mic to Line2 !!!!

    http://www.ziddu.com/download/10425295/1000Lines.zip.html

    Thanks!!!!!!!!!!!!!!

     
  • Markus Grabner

    Markus Grabner - 2010-06-25

    Thanks! The input indeed depends only on where you plugged the guitar (line input 1 or 2), and the output depends on the source select settings, so this is obviously done in software under Windows. The different routing options are therefore also out of the scope of the Linux kernel driver, but it should be possible to achieve the same with ALSA routing as explained in "http://www.alsa-project.org/main/index.php/Asoundrc#Virtual_multi_channel_devices".

    Kind regards,
    Markus

     
  • storsnik

    storsnik - 2011-11-29

    Hello!

    I have a UX2 device and like to install the linux drivers. I use xubuntu as my distro, but it should not be any different from ubunut, right? I have tried to install the drivers several times, but with no luck. Sometimes I get sound in the right side, and sometimes when I try to get Ardour working the soung gets all messed up. Can I use the same steps as described for UX1?

    I really want to get this working, so even tough my skills in linux are limited I will try to provide the information you need to (maybe) get this working! One other thing is that I dont know if my software, jack, arbour, audacity, is set up right, but i have tried with different settings.

     
  • kukat

    kukat - 2011-11-30

    Hello storsnik !!!

    First, sorry for my english ( I'm from Valencian Country, near Spain)

    You can try this command:

    alsamixer -c 1

    Changing 1 for your TonePort  Number Card!!!

    You can try "alsamixer" and view on wich one is your Toneport… 

    With "alsamixer" you can change the channel (guitar, guitar + mic, mic…) and the volumen !!

    Install "Audacity" and configure the program for use your Toneport!!!  "Edit" "Options"

    salut!!!

     
  • storsnik

    storsnik - 2011-11-30

    Thanks for fast reply!

    First, when i try to start the system with the deivce plugged in, i get som sort of error and the system wont boot. And if i plug it in when the system is up running i cant find any cature devises. Alsamixer says: "This sound device does not have any capture controls." when i press F4, and i can just see PCM and Monitor when i view all channels.

    One more thing that i find a little wierd is that the alsamixer find the card but no chip:
    Card: POD Studio UX2
    Chip: (empty field..)

    I have tried to install the drivers with same instructions as you mentioned here:
    http://www.ubuntugeek.com/how-to-install-a-line6-guitarport-or-toneport-ux1-or-gx.html
    And i have tried to "sudo ./remove_old_podxtpro_driver.sh" before reinstalling drivers, but this program says "No old version of the podxtpro driver has been found on your system, you can now install line6usb version 0.6 or later." even tough i have installed it several times.

     
  • storsnik

    storsnik - 2011-11-30

    I tried one last time installing the drivers, but now the whole computer freezes everytime i plug in the UX2.. The only thing that happens is "Going back to text mode" and then i cant do anything. And this happens everytime i plug in my UX2. Can the problem be that i run a wubi version of xubuntu? I dont think it should matter, but it is kind of a virtual machine.

    Please help, I'm getting pretty frustrated over here.. :-P

     
  • storsnik

    storsnik - 2011-11-30

    Sorry I write so much!

    Tried the instructions on Ubuntu 11.10 in vmware, and exactly the same thing happens when i connect the UX2.
    "Panic occured, switching back to text mode", freeze,  and I have to remove power source to get the computer working again.

    Here are what the screen says:
    http://dl.dropbox.com/u/22015727/screen1.jpg
    http://dl.dropbox.com/u/22015727/screen2.jpg

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.