LinuxForum.Fans
Тема

squeeze нет звука

Автор: olegk 9 сообщений 4811 просмотров
#287019

OC> Intel Core i5-2500, Debian 6-05 2.6.32-5-amd64

система-параметры-звук-устройства: нет ни одного настраиваемого устройства,после попытки перейти на ядро 3.2

$ lspci:
00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)

Показать
$ lspci:
00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)

$ lspci -v | grep -i audio
00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
04:04.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:04.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)

# dpkg -l | grep alsa
ii alsa-base 1.0.23+dfsg-2 ALSA driver configuration files
ii alsa-modules-2.6.32-5-amd64 1.0.23+dfsg-2+2.6.32-45 ALSA modules for kernel 2.6.32-5-amd64
ii alsa-oss 1.0.17-4 ALSA wrapper for OSS applications
ii alsa-source 1.0.23+dfsg-2 ALSA driver sources
ii alsa-tools 1.0.23-3+b1 Console based ALSA utilities for specific hardware
ii alsa-tools-gui 1.0.23-3+b1 GUI based ALSA utilities for specific hardware
ii alsa-utils 1.0.23-3 Utilities for configuring and using ALSA
ii alsamixergui 0.9.0rc2-1-9 graphical soundcard mixer for ALSA soundcard driver
ii alsaplayer-alsa 0.99.80-5+b1 PCM player designed for ALSA (ALSA output module)
ii alsaplayer-common 0.99.80-5+b1 PCM player designed for ALSA (common files)
ii alsaplayer-gtk 0.99.80-5+b1 PCM player designed for ALSA (GTK+ version)
ii gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2 ALSA sound mixer for GNOME
ii gstreamer0.10-alsa 0.10.30-1 GStreamer plugin for ALSA
ii libalsaplayer-dev 0.99.80-5+b1 PCM player designed for ALSA (interface library, development files)
ii libalsaplayer0 0.99.80-5+b1 PCM player designed for ALSA (interface library)
rc libsdl1.2debian-alsa 1.2.14-6.1 Simple DirectMedia Layer (with X11 and ALSA options)

~$ lsmod|grep 'snd'
snd_hda_intel 18323 0
snd_hda_codec 65511 1 snd_hda_intel
snd_hwdep 5492 1 snd_hda_codec
snd_pcm_oss 33295 0
snd_mixer_oss 13134 1 snd_pcm_oss
snd_pcm 61312 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss 24381 0
snd_seq_midi 4304 0
snd_rawmidi 15595 1 snd_seq_midi
snd_seq_midi_event 4628 2 snd_seq_oss,snd_seq_midi
snd_seq 43041 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 15646 2 snd_pcm,snd_seq
snd_seq_device 4717 4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 46912 12 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 4598 1 snd
snd_page_alloc 6185 2 snd_hda_intel,snd_pcm

# alsa force-reload
Unloading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.
Loading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.

# aplay -l
**** List of PLAYBACK Hardware Devices ****
#287082

Что наработал:

Показать
1.всё делаем от root
Добавьте себя в группу audio:
gpasswd -a <user> audio
2.aptitude install binutils build-essential gawk gcc gstreamer0.10-plugins-bad libasound2-plugins libc6 libesd0 libtool libgtk2.0-0 libgtk2.0-dev libsdl1.2debian-all libsdl1.2debian-oss libsox-fmt-oss libwine-oss sed
3./etc/init.d/alsa-utils stop
4.aptitude remove alsa-base alsa-utils
5.dpkg-reconfigure linux-sound-base
6.modprobe snd-hda-intel
7.alsactl store
Не проверял,но думаю будет не лишним в пункт 6 добавить:
modprobe snd-pcm-oss
modprobe snd-hda-codec
modprobe snd-hwdep
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-pcm
modprobe snd-seq-oss
modprobe snd-seq-midi
modprobe snd-rawmidi
modprobe snd-seq-midi-event
modprobe snd-seq snd-timer
modprobe snd-seq-device
modprobe snd-page-alloc

звук пошёл-донастраиваем в:система>параметры>звук(работает всё до reboot)

сразу после загрузки-modprobe snd-hda-intel

Помог естественно google и труд многих людей.
пока всё,а вот что ещё нужно alsa,чтоб звук был и после рестарта,у меня пока не получается.

#287188

в BIOS включена звуковая карта?
под спойлер:

text
lspci  -k
#287274

lspci -k

Показать
lspci -k
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
Subsystem: Giga-byte Technology Device 5000
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
Kernel driver in use: pcieport
00:14.0 USB Controller: Intel Corporation Device 1e31 (rev 04)
Subsystem: Giga-byte Technology Device 5007
Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation Device 1e3a (rev 04)
Subsystem: Giga-byte Technology Device 1c3a
00:16.3 Serial controller: Intel Corporation Device 1e3d (rev 04)
Subsystem: Giga-byte Technology Device 1c3a
Kernel driver in use: serial
00:1a.0 USB Controller: Intel Corporation Device 1e2d (rev 04)
Subsystem: Giga-byte Technology Device 5006
Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
Subsystem: Giga-byte Technology Device a002
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Device 1e10 (rev c4)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation Device 1e14 (rev c4)
Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation Device 1e26 (rev 04)
Subsystem: Giga-byte Technology Device 5006
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Device 1e49 (rev 04)
Subsystem: Giga-byte Technology Device 5001
00:1f.2 SATA controller: Intel Corporation Device 1e02 (rev 04)
Subsystem: Giga-byte Technology Device b005
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation Device 1e22 (rev 04)
Subsystem: Giga-byte Technology Device 5001
01:00.0 VGA compatible controller: nVidia Corporation Device 1200 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
Kernel driver in use: snd_hda_intel
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
Kernel driver in use: r8169
04:03.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
Subsystem: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card
Kernel driver in use: b2c2_flexcop_pci
04:04.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Subsystem: Device d464:9022
Kernel driver in use: cx8800
04:04.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
Subsystem: Device d464:9022
Kernel driver in use: cx88-mpeg driver manager

#287353
olegk написал:
Что наработал:
Показать
1.всё делаем от root
Добавьте себя в группу audio:
gpasswd -a <user> audio
2.aptitude install binutils build-essential gawk gcc gstreamer0.10-plugins-bad libasound2-plugins libc6 libesd0 libtool libgtk2.0-0 libgtk2.0-dev libsdl1.2debian-all libsdl1.2debian-oss libsox-fmt-oss libwine-oss sed
3./etc/init.d/alsa-utils stop
4.aptitude remove alsa-base alsa-utils
5.dpkg-reconfigure linux-sound-base
6.modprobe snd-hda-intel
7.alsactl store
Не проверял,но думаю будет не лишним в пункт 6 добавить:
modprobe snd-pcm-oss
modprobe snd-hda-codec
modprobe snd-hwdep
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-pcm
modprobe snd-seq-oss
modprobe snd-seq-midi
modprobe snd-rawmidi
modprobe snd-seq-midi-event
modprobe snd-seq snd-timer
modprobe snd-seq-device
modprobe snd-page-alloc

звук пошёл-донастраиваем в:система>параметры>звук(работает всё до reboot)

сразу после загрузки-modprobe snd-hda-intel

Помог естественно google и труд многих людей.
пока всё,а вот что ещё нужно alsa,чтоб звук был и после рестарта,у меня пока не получается.

Правильно.
Сохранили настройки

text
alsactl store

.

text
alsactl restore 

Восстановить после ребута.

#287531

Kettler
Постоянно, после ребута, вводить alsa restore?
Сейчас постоянно, после ребута, приходится вводить - modprobe snd-hda-intel.Большой разницы в этом не вижу.
Может я и не прав.

#287532

Sori pishu c live-cd :)))) Postavit v autozagruzku? naprimer /etc/rc.local? 8)

#287546

Kettler
Дописал в /etc/rc.local-"modprobe snd-hda-intel".
restart и всё пошло пормально.
Примного Вам благодарен

#287679

/etc/rc.local туда

text
alsactl restore 

А вот

text
modprobe snd-hda-intel

думаю сюда /etc/modprobe.d/alsa-base.conf

Хотя если и так пашет то забей.

Войдите или зарегистрируйтесь, чтобы ответить.