Ses Problemi

Başlatan hakangunes, 11 Mart 2013 - 23:03:26

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

hakangunes



Komutları uyguladım fakat ses paneli resimdeki gibi ayrıca ses simgesi de yok masaüstündeki panelde

if

sudo dpkg-reconfigure linux-sound-base komutu sonrası Alsa'yı seçtiniz değil mi?

dpkg -l | grep -v ^ii ne diyor?

hakangunes

evet alsayı seçtim.

dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ İsim                                     Sürüm                                   Architecture Açıklama
+++-=========================================-=========================================-============-==============================================================================
rc  nvidia-current                            304.88-0ubuntu0.1                         i386         NVIDIA binary Xorg driver, kernel module and VDPAU library
rc  oss-linux                                 4.2-2007                                  i386         Open Sound System (http://www.opensound.com)

if

sudo dpkg -r oss-linux ne diyor?

hakangunes

dpkg: uyarı: ignoring request to remove oss-linux, only the config
files of which are on the system; use --purge to remove them too

if

sudo dpkg --purge oss-linux komutunu yürütün.

hakangunes

(Veritabanı okunuyor... 226164 files and directories currently installed.)
oss-linux kaldırılıyor ...
Purging configuration files for oss-linux ...

if

Tamam, işlem bitince bilgisayarı yeniden başlatın. Artık ses ayarlarının gelmesi gerek.

hakangunes

bilgisayarı yeniden başlattım ama ses ayarları gelmedi

if

indicator-sound paketini kurun. lsmod | grep snd
cat /etc/pulse/default.pa
grep -E "snd|sound" /etc/modprobe.d/*
çıktılarına bakayım bir.

hakangunes

lsmod | grep snd
snd_hda_codec_hdmi     31457  4
snd_hda_codec_realtek    63579  1
snd_hda_intel          32516  0
snd_hda_codec         111548  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13273  1 snd_hda_codec
snd_pcm                80235  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13133  0
snd_rawmidi            25383  1 snd_seq_midi
snd_seq_midi_event     14476  1 snd_seq_midi
snd_seq                51281  2 snd_seq_midi,snd_seq_midi_event
snd_timer              24412  2 snd_pcm,snd_seq
snd_seq_device         14138  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    62146  10 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              14600  1 snd
snd_page_alloc         14037  2 snd_hda_intel,snd_pcm



cat /etc/pulse/default.pa
#!/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

### 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/hal support)
load-module module-detect
.endif

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

### Automatically load driver modules for Bluetooth hardware
.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

### Load DBus protocol
#.ifexists module-dbus-protocol.so
#load-module module-dbus-protocol
#.endif

# 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

load-module module-switch-on-port-available

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



grep -E "snd|sound" /etc/modprobe.d/*
/etc/modprobe.d/alsa-base.conf:install sound-slot-0 /sbin/modprobe snd-card-0
/etc/modprobe.d/alsa-base.conf:install sound-slot-1 /sbin/modprobe snd-card-1
/etc/modprobe.d/alsa-base.conf:install sound-slot-2 /sbin/modprobe snd-card-2
/etc/modprobe.d/alsa-base.conf:install sound-slot-3 /sbin/modprobe snd-card-3
/etc/modprobe.d/alsa-base.conf:install sound-slot-4 /sbin/modprobe snd-card-4
/etc/modprobe.d/alsa-base.conf:install sound-slot-5 /sbin/modprobe snd-card-5
/etc/modprobe.d/alsa-base.conf:install sound-slot-6 /sbin/modprobe snd-card-6
/etc/modprobe.d/alsa-base.conf:install sound-slot-7 /sbin/modprobe snd-card-7
/etc/modprobe.d/alsa-base.conf:install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
/etc/modprobe.d/alsa-base.conf:install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
/etc/modprobe.d/alsa-base.conf:install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
/etc/modprobe.d/alsa-base.conf: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 ; : ; }
/etc/modprobe.d/alsa-base.conf:install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
/etc/modprobe.d/alsa-base.conf:# Cause optional modules to be loaded above sound card driver modules
/etc/modprobe.d/alsa-base.conf:install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
/etc/modprobe.d/alsa-base.conf:install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-intel8x0m index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-usb-audio index=-2
/etc/modprobe.d/alsa-base.conf:options snd-usb-caiaq index=-2
/etc/modprobe.d/alsa-base.conf:options snd-usb-ua101 index=-2
/etc/modprobe.d/alsa-base.conf:options snd-usb-us122l index=-2
/etc/modprobe.d/alsa-base.conf:options snd-usb-usx2y index=-2
/etc/modprobe.d/alsa-base.conf:# Ubuntu #62691, enable MPU for snd-cmipci
/etc/modprobe.d/alsa-base.conf:options snd-cmipci mpu_port=0x330 fm_port=0x388
/etc/modprobe.d/alsa-base.conf:# Keep snd-pcsp from being loaded as first soundcard
/etc/modprobe.d/alsa-base.conf:options snd-pcsp index=-2
/etc/modprobe.d/alsa-base.conf:# Keep snd-usb-audio from beeing loaded as first soundcard
/etc/modprobe.d/alsa-base.conf:options snd-usb-audio index=-2
/etc/modprobe.d/blacklist.conf:# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
/etc/modprobe.d/blacklist.conf:blacklist snd_intel8x0m
/etc/modprobe.d/blacklist.conf:blacklist snd_aw2
/etc/modprobe.d/blacklist.conf:# low-quality, just noise when being used for sound playback, causes
/etc/modprobe.d/blacklist.conf:blacklist snd_pcsp
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-intel8x0m
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
/etc/modprobe.d/blacklist-oss.conf:blacklist sound
/etc/modprobe.d/blacklist-oss.conf:blacklist dmasound_core
/etc/modprobe.d/blacklist-oss.conf:blacklist dmasound_pmac
/etc/modprobe.d/blacklist-oss.conf:blacklist soundcard

if

sudo rm /etc/modprobe.d/blacklist-oss* komutundan sonra tekrar yeniden başlatır mısınız?

hakangunes

bilgisayarı tekrar başlattım ses ayarları geldi

if

O zaman Alsa derlemeye geçebiliriz. Yalnız anlatımda biraz değişiklikler yapacağız.
wget -c ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2
komutları yerine wget -c ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.25.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.25.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.25.tar.bz2
yazın. Dikkat ederseniz 1.0.23 yerine 1.0.25 yadım. Bundan sonra 1.0.23 gördüğünüz her komuta 1.0.25 yazın.
Son adımda options snd-hda-intel model=lenovo-ms7195-dig yerine options snd-hda-intel model=alc271-dmic yazın.

hakangunes

son iki komutta options: komut bulunamadı hatası verdi

if

@hakangunes, onlar komut değildi. Alsa derleme konusunu takip ettiyseniz gksu gedit /etc/modprobe.d/alsa-base.conf komutu ile açacağınız dosya içine options snd-hda-intel model=alc271-dmic yazmanı gerektiğini görürdünüz.

hakangunes

Ben alsa derleme konusuna bakmam gerektiğini bilmiyordum .O zaman ordaki bütün adımların anlatıma göre mi düzenlemem gerekiyor ?

if

@hakangunes, sadece @heartsmagic'in ilk iletissindeki bazı yerleri değiştirmeniz gerek ki onu da iki önceki iletimde nasıl yapmanız gerektiğini söyledim. 1.0.23 yerine 1.0.15 yazacaksınız ve son adımda dosyaya benim verdiğim satırı yazacaksınız. Her bir komutun çıktısına bakarsam emin adımlarla gitmiş oluruz.

hakangunes

wget -c ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.25.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.25.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.25.tar.bz2
komutlarını çalıştırdım ve gksu gedit /etc/modprobe.d/alsa-base.conf ile açılan dosyanın son satırına options snd-hda-intel model=alc271-dmic yazdım

if

@hakangunes, Alsa derleme konusuna bakıyor musunuz?

1- sudo -i
aptitude install build-essential libncurses5-dev gettext linux-headers-`uname -r` xmlto

2- mkdir /usr/src/alsa
cd /usr/src/alsa
wget -c ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.25.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.25.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.25.tar.bz2

3- tar xvf alsa-driver-1.0.25.tar.bz2
cd alsa-driver-1.0.25
./configure --with-cards=hda-intel
make
make install

4- cd ..
tar xvf alsa-lib-1.0.25.tar.bz2
cd alsa-lib-1.0.25
./configure
make
make install

5-cd ..
tar xvf alsa-utils-1.0.25.tar.bz2
cd alsa-utils-1.0.25
./configure
make
make install

6- gedit /etc/modprobe.d/alsa-base.conf -> options snd-hda-intel model=alc271-dmic

hakangunes

5.adımda ./configure yazdığımda
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.24... found.
checking for snd_ctl_open in -lasound... yes
checking for snd_ctl_elem_add_enumerated... yes
checking for alsa/pcm.h... yes
checking for alsa/mixer.h... yes
checking for alsa/rawmidi.h... yes
checking for alsa/seq.h... yes
checking for samplerate.h... no
checking for librt... checking for clock_gettime in -lrt... yes
checking for xmlto... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for ncursesw5-config... yes
checking for curses library... ncursesw
checking for curses header name... <ncurses.h>
checking for curses compiler flags... -I/usr/include/ncursesw
checking for curses NLS support... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking panel.h usability... yes
checking panel.h presence... yes
checking for panel.h... yes
checking menu.h usability... yes
checking menu.h presence... yes
checking for menu.h... yes
checking form.h usability... yes
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanelw... no
configure: error: panelw library not found

hata veriyor
make yazdığımda da make: *** Hedefler belirtilmediğinden make dosyası yok. Durdu.

if

5. adımdaki komutu ./configure --with-curses=ncurses olarak verin.

hakangunes

tar xvf alsa-utils-1.0.25.tar.bz2 dediğimde sonunda bu hatayı veriyor
tar: Önceki hatalardan dolayı hata durumlarıyla çıkılıyor

./configure --with-curses=ncurses
./configure: line 1871: config.log: Permission denied
./configure: line 1881: config.log: Permission denied



if

ls -l /usr/src/alsa çıktısına bir bakayım.

hakangunes

toplam 5724
drwxr-xr-x 29 root root    4096 Nis 21 20:19 alsa-driver-1.0.25
-rw-r--r--  1 root root 3861484 Nis 21 20:15 alsa-driver-1.0.25.tar.bz2
drwxr-xr-x 11 root root    4096 Nis 21 20:21 alsa-lib-1.0.25
-rw-r--r--  1 root root  838403 Nis 21 20:15 alsa-lib-1.0.25.tar.bz2
drwxr-xr-x 17 root root    4096 Nis 21 20:30 alsa-utils-1.0.25
-rw-r--r--  1 root root 1132780 Nis 21 20:16 alsa-utils-1.0.25.tar.bz2