PulseAudio + SB Live 24bit USB - Działało, nagle przestało.

Karty graficzne, dźwiękowe, tv, monitory etc.
usercontrol
Piegowaty Guziec
Piegowaty Guziec
Posty: 15
Rejestracja: 14 cze 2008, 21:25
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86_64

PulseAudio + SB Live 24bit USB - Działało, nagle przestało.

Post autor: usercontrol »

Witam

posiadam notebooka Sony Vaio VGN-AR21M, i podłączoną kartę dźwiękową na USB: Toshiba Multimedia Center (jest to nic innego jak Creative SoundBlaster Live! 24bit external z dodatkowym hubem usb i kartą ethernet 10/100).

Po długich bojach z tą kartą dźwiękową i alsą skonfigurowałem w końcu PulseAudio, grało ładnie w 5.1, mogłem sterować każdym kanałem oddzielnie - i tak przez dwa tygodnie. Wczoraj próbowałem bezskutecznie skonfigurować wbudowany mikrofon, żebym mógł porozmawiać przez skype. Dodałem w konfigu alsy dwa wpisy według jakiegoś HowTo dotyczącego notebooków sony:

Kod: Zaznacz cały

options snd-hda-intel model=vaio
options snd-hda-intel model=3stac
to nic nie pomogło, nic nie zaszkodziło, jeszcze dzisiaj rano wszystko działało normalnie. Do tego zainstalowałem jakiś pakiet do obsługi kamerki wbudowanej i on działa.

Dopiero po wyłączeniu peceta na jakiś czas i ponownym uruchomieniu ubuntu, dźwięk przestał grać z karty zewnętrznej, tylko z wewnętrznej. Nie widzę związku mojego grzebania z mikrofonem z tymi dzisiejszymi rewelacjami, gdyż z mikrofonem walczyłem wczoraj, a jak już pisałem, jeszcze dzisiaj karta śmigała bez problemu.

W ustawieniach dźwięku mam wszędzie PulseAudio i tylko przechwytywanie na ALSA, zdziwiło mnie to, że w polu rozwijanym nie ma "USB Audio", a zawsze było :/

lsmod | grep snd:

Kod: Zaznacz cały

snd_rtctimer            4640  1 
snd_hda_intel         344856  0 
snd_usb_audio          83936  0 
snd_pcm_oss            42144  0 
snd_mixer_oss          17920  1 snd_pcm_oss
snd_seq_dummy           4868  0 
snd_pcm                78596  4 saa7134_alsa,snd_hda_intel,snd_usb_audio,snd_pcm_oss
snd_seq_oss            35584  0 
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
snd_usb_lib            18432  1 snd_usb_audio
snd_hwdep              10500  2 snd_hda_intel,snd_usb_audio
snd_seq_midi            9376  0 
snd_rawmidi            25760  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
snd_seq                54224  7 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24836  3 snd_rtctimer,snd_pcm,snd_seq
snd_seq_device          9612  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    56996  16 snd_rtctimer,saa7134_alsa,snd_hda_intel,snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_pcm,snd_seq_oss,snd_usb_lib,snd_hwdep,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8800  1 snd
usbcore               146412  13 snd_usb_audio,r5u870,usbcam,lirc_mceusb2,pegasus,hci_usb,snd_usb_lib,usbhid,usb_storage,libusual,ehci_hcd,uhci_hcd

/etc/modprobe.d/alsa-base:

Kod: Zaznacz cały

# 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 && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet 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 -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb 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 -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
#   Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
#   non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# 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=0
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-intel8x0 index=1

#options snd-hda-intel model=vaio
#options snd-hda-intel model=3stac
~/.pulse/default.pa:

Kod: Zaznacz cały

#!/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.

.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

### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#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
load-module module-alsa-sink device=surround51:Device sink_name=Device channels=6
load-module module-alsa-source device=hw:Device

### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
#load-module module-hal-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.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 reciever 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 description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor

### Automatically restore the volume of playback streams
load-module module-volume-restore

### Automatically restore the default sink/source when changed by the user during runtime
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

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

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

### Register ourselves in the X11 session manager
# Deactivated by default, to avoid deadlock when PA is started as esd from gnome-session
# Instead we load this via /etc/xdg/autostart/ and "pactl load-module" now
# load-module module-x11-xsmp

### 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

### 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-source input
load-module module-combine sink_name=combined master= slaves=Device,

Kompletnie nic mi już do głowy nie przychodzi :/
ODPOWIEDZ

Wróć do „Multimedia - karty graficzne, dźwiękowe, telewizyjne, drukarki, skanery”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 10 gości