I was having trouble getting my RE20 mic to work on Ubuntu using the Line 6 UX2 audio interface. I could get the playback to work, but could not record any input. Luckily I found this solution came from wolfegothmog: / possible_to_get_line6_ux2_to_work_on_linux
1. Open terminal
2. Type "alsamixer"
3. Press F6
4. Down arrow to choose "POD Studio UX2" and press enter
5. Right arrow to "PCM Capture Sound"
6. Up arrow to "Microphone"
7. Esc key to quit