Thanks, I'll do that and bring back the results.

There is any other way to teach PulseAudio about change the default device?


2013/3/19 Daniel Mack <zonque@gmail.com>
On 19.03.2013 20:53, Rodolfo Thomazelli wrote:
> Man, I saved a .wav file into my home folder. By typing "aplay
> -Dplughw:USB some-test-wave.wav" I can hear it from the output of
> scarlett! The device is playing!

Ok, nice. I'll post my two patches then. Thanks for testing!

> I want to use a program called MATAA, an extension of the Octave
> software. I can't change devices in MATAA, because it uses the default
> one, wich I need that be the usb device.

Well, the thing is that your default device on Ubuntu is in fact
PulseAudio, so you need to teach PulseAudio about a different default
hardware device. You normally do that in the Sound settings, but I don't
know why that doesn't work for you at the moment ...

> I'll do now the recommendations of Torstein.
>
> What you means with "do a git pull in linux folder"?

You go to your linux folder as you did before:

  cd linux

and then you call the command

  git pull

Then you continue at step #8 of the Wiki page ...



Daniel

>
>
>
> 2013/3/19 Daniel Mack <zonque@gmail.com <mailto:zonque@gmail.com>>
>
>     On 19.03.2013 19:57, Rodolfo Thomazelli wrote:
>     > I've just completed all the required steps. Seems like something
>     > changes, because in alsamixer my usb device is listed, but there is no
>     > control over it. In Ubuntu sound controller my device is not even
>     > listed. So I can't make it my default device, and that is just
>     what I want!
>     >
>     >
>     > Here is some logs:
>     >
>     >
>     > *uname -a*
>     > Linux rodolfo 3.9.0-rc3-custom #1 SMP Tue Mar 19 14:48:30 BRT 2013
>     > x86_64 x86_64 x86_64 GNU/Linux
>     >
>     >
>     > *cat /proc/asound/cards*
>     >  0 [PCH            ]: HDA-Intel - HDA Intel PCH
>     >                       HDA Intel PCH at 0xf7e00000 irq 45
>     >  1 [USB            ]: USB-Audio - Scarlett 8i6 USB
>     >                       Focusrite Scarlett 8i6 USB at
>     > usb-0000:00:1d.0-1.2, high speed
>
>     Perfect. That's just what's expected - good job! :)
>
>     > *lsusb -v*
>
>     The lsusb output hasn't changed - it just dumps what the hardware
>     reports.
>
>     So what does "aplay -Dplughw:USB some-test-wave.wav" do? Do you hear any
>     sound?
>
>     You say you don't see the device in the Ubuntu "Sound" pane? That's
>     actually strange, because the system registered it properly.
>
>     Torstein posted another patch, which I put into my branch as well.
>
>     You could do a "git pull" in your "linux" folder, and then repeat the
>     steps from https://wiki.ubuntu.com/KernelTeam/GitKernelBuild, starting
>     at step #8. Does that help?
>
>
>     Daniel
>
>