Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

25. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 22:24h

Posta ai:


$ sudo ls /dev/snd/



  


26. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Leonardo Saippa
leomsaippa

(usa Ubuntu)

Enviado em 08/05/2016 - 22:28h

Deu exatamente a mesma coisa que mandei na foto anterior.

leonardo@leonardo:~$ sudo ls /dev/snd/
[sudo] password for leonardo:
by-id controlC0 hwC0D3 pcmC1D0c seq
by-path controlC1 pcmC0D3p pcmC1D0p timer



27. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 22:39h

leomsaippa escreveu:

Deu exatamente a mesma coisa que mandei na foto anterior.

leonardo@leonardo:~$ sudo ls /dev/snd/
[sudo] password for leonardo:
by-id controlC0 hwC0D3 pcmC1D0c seq
by-path controlC1 pcmC0D3p pcmC1D0p timer


Tenta mudar a saída assim:


$ sudo pacmd load-module module-switch-on-connect



28. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Leonardo Saippa
leomsaippa

(usa Ubuntu)

Enviado em 08/05/2016 - 22:40h

Home directory not accessible: Permissão negada
Nenhum daemon do PulseAudio em execução ou não está em execução como daemon de sessão.



29. Re: Placa de som USB não funciona no Ubuntu 14.04

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 22:50h

leomsaippa escreveu:

Home directory not accessible: Permissão negada
Nenhum daemon do PulseAudio em execução ou não está em execução como daemon de sessão.


Me faz um favor, posta o conteúdo dos seguintes arquivos e a suas permissões, e saída do aplay.


# sudo cat /etc/modprobe.d/alsa-base.conf
# sudo cat /etc/pulse/default.pa
# ls -la /etc/modprobe.d/alsa-base.conf
# ls -la /etc/pulse/default.pa
# aplay -l



30. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Leonardo Saippa
leomsaippa

(usa Ubuntu)

Enviado em 08/05/2016 - 23:04h

leonardo@leonardo:~$ sudo cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
leonardo@leonardo:~$ ^C
leonardo@leonardo:~$
leonardo@leonardo:~$ sudo cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

leonardo@leonardo:~$ sudo cat /etc/pulse/default.pa
#load-module module-switch-on-connect
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore


### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

.ifexists module-android-audio-hal.so
load-module module-android-audio-hal
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input

leonardo@leonardo:~$ ls -la cat /etc/modprobe.d/alsa-base.conf
ls: não é possível acessar cat: Arquivo ou diretório não encontrado
-rw-r--r-- 1 root root 2507 Mai 8 22:25 /etc/modprobe.d/alsa-base.conf

leonardo@leonardo:~$ ls -la cat /etc/pulse/default.pa
ls: não é possível acessar cat: Arquivo ou diretório não encontrado
-rw-r--r-- 1 root root 5841 Mai 8 22:24 /etc/pulse/default.pa



31. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 23:07h

Eu digitei errado aqui, corrigi ai:
Veja

Errado:

# ls -la cat /etc/modprobe.d/alsa-base.conf
# ls -la cat /etc/pulse/default.pa


Correto

# ls -la /etc/modprobe.d/alsa-base.conf
# ls -la /etc/pulse/default.pa



32. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Leonardo Saippa
leomsaippa

(usa Ubuntu)

Enviado em 08/05/2016 - 23:11h

leonardo@leonardo:~$ ls -la /etc/modprobe.d/alsa-base.conf
-rw-r--r-- 1 root root 2507 Mai 8 22:25 /etc/modprobe.d/alsa-base.conf
leonardo@leonardo:~$ ls -la /etc/pulse/default.pa
-rw-r--r-- 1 root root 5841 Mai 8 22:24 /etc/pulse/default.pa



33. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 23:18h

leomsaippa escreveu:

leonardo@leonardo:~$ ls -la /etc/modprobe.d/alsa-base.conf
-rw-r--r-- 1 root root 2507 Mai 8 22:25 /etc/modprobe.d/alsa-base.conf
leonardo@leonardo:~$ ls -la /etc/pulse/default.pa
-rw-r--r-- 1 root root 5841 Mai 8 22:24 /etc/pulse/default.pa


As permissões estão corretas.


34. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 23:19h

Posta ai


$ sudo aplay -l



35. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Leonardo Saippa
leomsaippa

(usa Ubuntu)

Enviado em 08/05/2016 - 23:25h

leonardo@leonardo:~$ sudo aplay -l
[sudo] password for leonardo:
**** Lista de Dispositivos PLAYBACK Hardware ****
placa 0: PCH [HDA Intel PCH], dispositivo 3: HDMI 0 [HDMI 0]
Dispositivo secundário: 0/1
Dispositivo secundário #0: subdevice #0
placa 1: Device [USB PnP Sound Device], dispositivo 0: USB Audio [USB Audio]
Dispositivo secundário: 1/1
Dispositivo secundário #0: subdevice #0



36. Re: Placa de som USB não funciona no Ubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 08/05/2016 - 23:27h

leomsaippa escreveu:

leonardo@leonardo:~$ sudo aplay -l
[sudo] password for leonardo:
**** Lista de Dispositivos PLAYBACK Hardware ****
placa 0: PCH [HDA Intel PCH], dispositivo 3: HDMI 0 [HDMI 0]
Dispositivo secundário: 0/1
Dispositivo secundário #0: subdevice #0
placa 1: Device [USB PnP Sound Device], dispositivo 0: USB Audio [USB Audio]
Dispositivo secundário: 1/1
Dispositivo secundário #0: subdevice #0


Estranho sua placa já é listada no sistema!
Tentou reproduzir algum som??
Já verificou se no aplicativo não está marcado para usar a saída padrão que no caso é placa0, para usar a USB deve mudar para placa1



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts