Usb-audio interface input problem with jack

Bug #998060 reported by Illu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Studio
Invalid
Undecided
Unassigned

Bug Description

____
System info:

Motherboard: Intel corporation Mobile 4 chipset integrated graphics controller, Intel corporation 828011(ICH 9 Family) HD Audio controller, Celeron(R) Dual-Core CPU T3100 @ 1.90GHz

Audio interface: Yamaha audiogram 3, usb input

Kernel: 3.2.0-23-lowlatency
Ubuntu-studio 12.04 x86_64 x86_64 x86_64 GNU/Linux
____

Problem:

My audio-interfere works as an input only every now and then.
My audio interface appears on jack as an input as well as an output device. The problem is that still if I choose it, it has no effect on input-route. Jack will still use my laptops iternal microphone, not the usb-input what it should to.
 I have restored settings and reinstalled qjackqtl. Still, by no reason sometimes the interfere works and sometimes it wont. Generally it wont.
 11.10 had no problems with this.

Revision history for this message
Pablo_F (pablo-fbus) wrote :

I suspect audio cards are changing their numbers between reboots, confusing jack.

Please, try again and report:

In a normal user terminal, what is the output of the following commands?
   cat /proc/asound/cards /proc/asound/modules
   arecord -l && aplay -l
   cat ~/.jackdrch
Does it work as expected now?

On the other hand, you make it clear that you want to use the audiogram for capturing audio, but it is not clear to me which one you want to use for playback. The audiogram? the onboard? Both?

Revision history for this message
Illu (illu) wrote :

ilari@ilari-HP-620:~$ cat /proc/asound/cards /proc/asound/modules
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd8a00000 irq 48
 1 [CODEC ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.2-2, full speed
 0 snd_hda_intel
 1 snd_usb_audio

ilari@ilari-HP-620:~$ arecord -l && aplay -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ilari@ilari-HP-620:~$ cat ~/.jackdrch
cat: /home/ilari/.jackdrch: No such file or directory

It didnt get working.
Im using audiogram just as an input, so as an output I use the laptops default route.

Revision history for this message
Pablo_F (pablo-fbus) wrote : Re: [Ubuntustudio-testers] [Bug 998060] Re: Usb-audio interface input problem with jack

>ilari@ilari-HP-620:~$ cat ~/.jackdrch
>cat: /home/ilari/.jackdrch: No such file or directory

Sorry, that should have read:

cat ~/.jackdrc

which shows the complete jackd command that was configured from
qjackctl's setup window.

Anyway, you can invoke cards by name instead of by number. So, in the
setup window of qjackctl you may select:

hw:CODEC

for the input device and:

hw:Intel

for the output device

See these names between square brackets in the output of "cat
/proc/asound/cards". You have to write them down as they won't appear
as an option in the drop-down menus.

You could also select the usb card in "only capture" mode, then run
"alsa_out -dhw:Intel" to use the onboard card for playback.

(In any case, I don't think it is a good idea to use two different
audio cards for capture and playback).

Revision history for this message
Illu (illu) wrote :

Ok, here's my current configurions:
ilari@ilari-HP-620:~$ cat ~/.jackdrc
/usr/bin/jackd -dalsa -dhw:1 -r44100 -p256 -n2 -C

Using the cards name didn't work any better, than using the numbers from list. I use now the ''capture only'' mode with running alsa_out, so im able to use laptops playback.

I use intels card as output because I dont want to here the acoustic like amplified raw sound which hears when using audiogram as an output. Im currently using audiogram with guitar.

Thank you for sorting this out, at least somehow. ;)

Revision history for this message
Slavisa Milojkovic (s-milojkovic) wrote :

i have the same problem...
Also looks like i have the same USB device (Zoom G9.2tt guitar processor) as Ilari, only different internal audio card on my PC.

I also used the 2 card settings, USB for input, and internal PC card for output. In PCLinuxOS work perfectly everytime.
Now i tried UbuntuStudio, and it wont work. First it used the mic (which is pluged in PC card) insted of USB device, and when i muted it now i have nothing... I belive it's pulse audio related
Here;s the output

slax@Svarog:~$ cat /proc/asound/cards /proc/asound/modules
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf9ff8000 irq 44
 1 [CODEC ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:1a.1-2, full speed
 0 snd_hda_intel
 1 snd_usb_audio
slax@Svarog:~$ arecord -l && aplay -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
slax@Svarog:~$ cat ~/.jackdrch
cat: /home/slax/.jackdrch: No such file or directory
slax@Svarog:~$ cat ~/.jackdrc
/usr/bin/jackd -dalsa -r44100 -p512 -n2 -S -D -Chw:1,0 -Phw:0,0
slax@Svarog:~$

Revision history for this message
holstein (mikeholstein) wrote : Re: [Bug 998060] Re: Usb-audio interface input problem with jack
Download full text (3.5 KiB)

On Feb 10, 2013 2:00 PM, "Slavisa Milojkovic" <email address hidden>
wrote:
>
> i have the same problem...
> Also looks like i have the same USB device (Zoom G9.2tt guitar processor)
as Ilari, only different internal audio card on my PC.
>
> I also used the 2 card settings, USB for input, and internal PC card for
output. In PCLinuxOS work perfectly everytime.
> Now i tried UbuntuStudio, and it wont work. First it used the mic (which
is pluged in PC card) insted of USB device, and when i muted it now i have
nothing... I belive it's pulse audio related
> Here;s the output
>
> slax@Svarog:~$ cat /proc/asound/cards /proc/asound/modules
> 0 [Intel ]: HDA-Intel - HDA Intel
> HDA Intel at 0xf9ff8000 irq 44
> 1 [CODEC ]: USB-Audio - USB Audio CODEC
> Burr-Brown from TI USB Audio CODEC at
usb-0000:00:1a.1-2, full speed
> 0 snd_hda_intel
> 1 snd_usb_audio
> slax@Svarog:~$ arecord -l && aplay -l
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 2: ALC883 Analog [ALC883 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> slax@Svarog:~$ cat ~/.jackdrch
> cat: /home/slax/.jackdrch: No such file or directory
> slax@Svarog:~$ cat ~/.jackdrc
> /usr/bin/jackd -dalsa -r44100 -p512 -n2 -S -D -Chw:1,0 -Phw:0,0
> slax@Svarog:~$
>
> --
> You received this bug notification because you are a member of Ubuntu
> Studio Testing, which is subscribed to Ubuntu Studio.
> https://bugs.launchpad.net/bugs/998060
>
> Title:
> Usb-audio interface input problem with jack
>
> Status in Ubuntu Studio Project:
> New
>
> Bug description:
> ____
> System info:
>
> Motherboard: Intel corporation Mobile 4 chipset integrated graphics
> controller, Intel corporation 828011(ICH 9 Family) HD Audio
> controller, Celeron(R) Dual-Core CPU T3100 @ 1.90GHz
>
> Audio interface: Yamaha audiogram 3, usb input
>
> Kernel: 3.2.0-23-lowlatency
> Ubuntu-studio 12.04 x86_64 x86_64 x86_64 GNU/Linux
> ____
>
> Problem:
>
> My audio-interfere works as an input only every now and then.
> My audio interface appears on jack as an input as well as an output
device. The problem is that still if I choose it, it has no effect on
input-route. Jack will still use my laptops iternal microphone, not the
usb-input what it should to.
> I have restored settings and reinstalled qjackqtl. Still, by no reason
sometimes the interfere works and sometimes it wont. Generally it wont.
> 11.10 had no problems with this.
>
> To manage notifications about...

Read more...

Revision history for this message
Slavisa Milojkovic (s-milojkovic) wrote :

Also i should add that on any setting apps are working on input (like audacious), but no guitar.

 when i use "alsa_out -dhw:Intel" then guitar works, but i can't use other apps for routing.

Revision history for this message
Slavisa Milojkovic (s-milojkovic) wrote :

It works! :)
i did try to turn dbus routing off in qjackctl options, but then i couldn't start it again.
The trick is to turn dbus off, then restart qjackctl, and then it will work.

So it's solved for me, probably for the Ilari too, and for anyone else who wants to use separate devices for input and output.

Thanks again

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

This looks like it was a solved support request.

Changed in ubuntustudio:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.