<div dir="ltr">Hi,<br><br>in my research I want to use an signal analyser program called "mataa", an extension of Octave. The extension works with the default audio device. <br><br>I have an usb audio interface called scarlett 8i6. With the help of the members of the "alsa-user" list (especially Daniel Mack, in cc:), we resolved some problems of Ubuntu on the device configurations. Now, the usb device is listed as the following log shows:<br>
<font size="1"><br>/proc/asound/cards<br> 0 [PCH ]: HDA-Intel - HDA Intel PCH<br> HDA Intel PCH at 0xf7e00000 irq 45<br> 1 [USB ]: USB-Audio - Scarlett 8i6 USB<br> Focusrite Scarlett 8i6 USB at usb-0000:00:1d.0-1.2, high speed</font><br>
<br>The problem is that the usb device is not showed in Ubuntu's audio pane, so I can't make it the default device. Typing F6 in alsamixer, scarlett is listed as well, but I can't controll it or make it the default device. I think that here is an importante information: the command "aplay -Dplughw:USB some-test-wave.wav" returns me sound from the device output.<br>
<br>In time: the internal Intel sound is working perfectly.<br><br>I tried change the default device using the terminal with the command "pacmd set-default-source SOURCENAME", but I can't find my usb device on the list of sinks or sources. I put in the end of this message the log of list-sinks and list-sources.<br>
<br>Anybody can help me?<br><br><font size="1"><b>pacmd list-sinks</b><br>Welcome to PulseAudio! Use "help" for usage information.<br>>>> 1 sink(s) available.<br> * index: 0<br> name: <alsa_output.pci-0000_00_1b.0.analog-stereo><br>
driver: <module-alsa-card.c><br> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY<br> state: SUSPENDED<br> suspend cause: IDLE <br> priority: 9959<br> volume: 0: 2% 1: 2%<br>
0: -98.46 dB 1: -98.46 dB<br> balance 0.00<br> base volume: 100%<br> 0.00 dB<br> volume steps: 65537<br> muted: no<br> current latency: 0.00 ms<br> max request: 0 KiB<br>
max rewind: 0 KiB<br> monitor source: 0<br> sample spec: s16le 2ch 44100Hz<br> channel map: front-left,front-right<br> Stereo<br> used by: 0<br> linked by: 0<br> configured latency: 0.00 ms; range is 0.50 .. 371.52 ms<br>
card: 0 <alsa_card.pci-0000_00_1b.0><br> module: 4<br> properties:<br> alsa.resolution_bits = "16"<br> device.api = "alsa"<br> device.class = "sound"<br> alsa.class = "generic"<br>
alsa.subclass = "generic-mix"<br> <a href="http://alsa.name">alsa.name</a> = "92HD87B1/3 Analog"<br> <a href="http://alsa.id">alsa.id</a> = "92HD87B1/3 Analog"<br> alsa.subdevice = "0"<br>
alsa.subdevice_name = "subdevice #0"<br> alsa.device = "0"<br> alsa.card = "0"<br> alsa.card_name = "HDA Intel PCH"<br> alsa.long_card_name = "HDA Intel PCH at 0xf7e00000 irq 45"<br>
alsa.driver_name = "snd_hda_intel"<br> device.bus_path = "pci-0000:00:1b.0"<br> sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"<br> device.bus = "pci"<br>
<a href="http://device.vendor.id">device.vendor.id</a> = "8086"<br> <a href="http://device.vendor.name">device.vendor.name</a> = "Intel Corporation"<br> <a href="http://device.product.name">device.product.name</a> = "6 Series/C200 Series Chipset Family High Definition Audio Controller"<br>
device.form_factor = "internal"<br> device.string = "front:0"<br> device.buffering.buffer_size = "65536"<br> device.buffering.fragment_size = "32768"<br>
device.access_mode = "mmap+timer"<br> <a href="http://device.profile.name">device.profile.name</a> = "analog-stereo"<br> device.profile.description = "Analog Stereo"<br>
device.description = "Built-in Audio Analog Stereo"<br> alsa.mixer_name = "Intel CougarPoint HDMI"<br> alsa.components = "HDA:111d76d1,10280502,00100205 HDA:80862805,80860101,00100000"<br>
module-udev-detect.discovered = "1"<br> device.icon_name = "audio-card-pci"<br> ports:<br> analog-output-speaker: Speakers (priority 10000, available: unknown)<br> properties:<br>
<br> analog-output-headphones: Headphones (priority 9000, available: no)<br> properties:<br> <br> active port: <analog-output-speaker><br><br><br><b>pacmd list-sources</b><br>
Welcome to PulseAudio! Use "help" for usage information.<br>>>> 2 source(s) available.<br> index: 0<br> name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor><br> driver: <module-alsa-card.c><br>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY<br> state: IDLE<br> suspend cause: <br> priority: 1950<br> volume: 0: 100% 1: 100%<br> 0: 0.00 dB 1: 0.00 dB<br> balance 0.00<br> base volume: 100%<br>
0.00 dB<br> volume steps: 65537<br> muted: no<br> current latency: 0.00 ms<br> max rewind: 64 KiB<br> sample spec: s16le 2ch 44100Hz<br> channel map: front-left,front-right<br> Stereo<br>
used by: 0<br> linked by: 0<br> configured latency: 371.52 ms; range is 0.50 .. 371.52 ms<br> monitor_of: 0<br> card: 0 <alsa_card.pci-0000_00_1b.0><br> module: 4<br> properties:<br> device.description = "Monitor of Built-in Audio Analog Stereo"<br>
device.class = "monitor"<br> alsa.card = "0"<br> alsa.card_name = "HDA Intel PCH"<br> alsa.long_card_name = "HDA Intel PCH at 0xf7e00000 irq 45"<br> alsa.driver_name = "snd_hda_intel"<br>
device.bus_path = "pci-0000:00:1b.0"<br> sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"<br> device.bus = "pci"<br> <a href="http://device.vendor.id">device.vendor.id</a> = "8086"<br>
<a href="http://device.vendor.name">device.vendor.name</a> = "Intel Corporation"<br> <a href="http://device.product.name">device.product.name</a> = "6 Series/C200 Series Chipset Family High Definition Audio Controller"<br>
device.form_factor = "internal"<br> device.string = "0"<br> module-udev-detect.discovered = "1"<br> device.icon_name = "audio-card-pci"<br> * index: 1<br>
name: <alsa_input.pci-0000_00_1b.0.analog-stereo><br> driver: <module-alsa-card.c><br> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY<br> state: SUSPENDED<br> suspend cause: IDLE <br>
priority: 9959<br> volume: 0: 13% 1: 13%<br> 0: -52.50 dB 1: -52.50 dB<br> balance 0.00<br> base volume: 13%<br> -52.50 dB<br> volume steps: 65537<br> muted: no<br>
current latency: 0.00 ms<br> max rewind: 0 KiB<br> sample spec: s16le 2ch 44100Hz<br> channel map: front-left,front-right<br> Stereo<br> used by: 0<br> linked by: 0<br> configured latency: 0.00 ms; range is 0.50 .. 371.52 ms<br>
card: 0 <alsa_card.pci-0000_00_1b.0><br> module: 4<br> properties:<br> alsa.resolution_bits = "16"<br> device.api = "alsa"<br> device.class = "sound"<br> alsa.class = "generic"<br>
alsa.subclass = "generic-mix"<br> <a href="http://alsa.name">alsa.name</a> = "92HD87B1/3 Analog"<br> <a href="http://alsa.id">alsa.id</a> = "92HD87B1/3 Analog"<br> alsa.subdevice = "0"<br>
alsa.subdevice_name = "subdevice #0"<br> alsa.device = "0"<br> alsa.card = "0"<br> alsa.card_name = "HDA Intel PCH"<br> alsa.long_card_name = "HDA Intel PCH at 0xf7e00000 irq 45"<br>
alsa.driver_name = "snd_hda_intel"<br> device.bus_path = "pci-0000:00:1b.0"<br> sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"<br> device.bus = "pci"<br>
<a href="http://device.vendor.id">device.vendor.id</a> = "8086"<br> <a href="http://device.vendor.name">device.vendor.name</a> = "Intel Corporation"<br> <a href="http://device.product.name">device.product.name</a> = "6 Series/C200 Series Chipset Family High Definition Audio Controller"<br>
device.form_factor = "internal"<br> device.string = "front:0"<br> device.buffering.buffer_size = "65536"<br> device.buffering.fragment_size = "32768"<br>
device.access_mode = "mmap+timer"<br> <a href="http://device.profile.name">device.profile.name</a> = "analog-stereo"<br> device.profile.description = "Analog Stereo"<br>
device.description = "Built-in Audio Analog Stereo"<br> alsa.mixer_name = "Intel CougarPoint HDMI"<br> alsa.components = "HDA:111d76d1,10280502,00100205 HDA:80862805,80860101,00100000"<br>
module-udev-detect.discovered = "1"<br> device.icon_name = "audio-card-pci"<br> ports:<br> analog-input-microphone-internal: Internal Microphone (priority 8900, available: unknown)<br>
properties:<br> <br> analog-input-microphone: Microphone (priority 8700, available: no)<br> properties:<br> <br> active port: <analog-input-microphone-internal></font><br>
<br></div>