ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Anton Komarevtsev <avkx@rt.mipt.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] alsa: no soundcards found
Date: Sun, 04 Apr 2004 15:10:57 +0400
Message-ID: <406FED41.60209@rt.mipt.ru> (raw)

Не получается нормально настроить дрова alsa для Creative Live 5.1:


Вычищаем все драйверы звука из /etc/modules.conf и запускаем alsaconf. 
Тот находит устройство с драйвером emu10k1, устанавливаем его и 
перезагружаем систему. В результате имеем:


$ cat /proc/asound/cards
0 [Live           ]: EMU10K1 - Sound Blaster Live!
                      Sound Blaster Live! (rev.10) at 0xb800, irq 20

$ lspci -vs 02:0c.0
02:0c.0 Class 0401: 1102:0002 (rev 0a)
	Subsystem: 1102:8066
	Flags: bus master, medium devsel, latency 32, IRQ 20
	I/O ports at b800 [size=32]
	Capabilities: [dc] Power Management version 1

В /etc/modules.conf:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.3 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---

(это стандартные строки, их или подобные им можно найти на множестве 
сайтов или в документации на alsa)

$ lsmod
Module                  Size  Used by    Tainted: P
snd-pcm-oss            37988   1
snd-seq-midi            3360   0 (autoclean) (unused)
snd-emu10k1-synth       4028   0 (autoclean) (unused)
snd-emux-synth         26236   0 (autoclean) [snd-emu10k1-synth]
snd-seq-midi-emul       4752   0 (autoclean) [snd-emux-synth]
snd-seq-virmidi         2760   0 (autoclean) [snd-emux-synth]
snd-emu10k1            64724   1 (autoclean) [snd-emu10k1-synth]
snd-pcm                57216   0 (autoclean) [snd-pcm-oss snd-emu10k1]
snd-page-alloc          6060   0 (autoclean) [snd-emu10k1 snd-pcm]
snd-util-mem            1328   0 (autoclean) [snd-emux-synth snd-emu10k1]
snd-hwdep               4192   0 (autoclean) [snd-emux-synth snd-emu10k1]
snd-ac97-codec         42716   0 (autoclean) [snd-emu10k1]
snd-rawmidi            12352   0 (autoclean) [snd-seq-midi 
snd-seq-virmidi snd-emu10k1]
snd-seq-oss            23808   0 (unused)
snd-seq-midi-event      3472   0 [snd-seq-midi snd-seq-virmidi snd-seq-oss]
snd-seq                35280   2 [snd-seq-midi snd-emux-synth 
snd-seq-midi-emul snd-seq-virmidi snd-seq-oss snd-seq-midi-event]
snd-timer              13444   0 [snd-pcm snd-seq]
snd-seq-device          3744   0 [snd-seq-midi snd-emu10k1-synth 
snd-emux-synth snd-emu10k1 snd-rawmidi snd-seq-oss snd-seq]
snd-mixer-oss          11704   0 [snd-pcm-oss]
snd                    30756   0 [snd-pcm-oss snd-seq-midi 
snd-emux-synth snd-seq-virmidi snd-emu10k1 snd-pcm snd-util-mem 
snd-hwdep snd-ac97-codec snd-rawmidi snd-seq-oss snd-seq-midi-event 
snd-seq snd-timer snd-seq-device snd-mixer-oss]
soundcore               3652  10 [snd]
-----------------------------------------


Если теперь запустим xmms, то звук идет только на основной выход (куда 
подключаются обычные колонки), поэтому 5.1 превращается в обычное стерео.

То же самое происходит при запуске mplayer'а. Если же mplayer'у указать 
опции alsa 5.1, то звука нет совсем:
mplayer -ao alsa9:surround51 -channels 6 -af surround,sub=150 <file.avi>

По сути, alsa не настроена, несмотря на наличие звука:
$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or 
directory

$ alsactl store
alsactl: save_state:1061: No soundcards found...

Точно такой же эффект при стандартных настройках карты (которые дает kudzu):
above snd-pcm-oss snd-mixer-oss
above snd-emu10k1 snd-pcm-oss
alias sound-slot-0 snd-emu10k1

И при настройках, которые рекомендуются на atmsk.ru для 6-ти канального 
звука:
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
post-install snd-emu10k1 /usr/sbin/alsactl restore
post-install snd-seq-oss sfxload /etc/midi/4gmgsmt.sf2

В последнем случае, очевидно, /usr/sbin/alsactl restore выдает при 
загрузке ошибку
alsactl: load_state:1134: No soundcards found...

Посоветуйте, пожалуйста, что еще надо включить для запуска alsamixer'а и 
для работы всех 6-ти каналов?

С уважением,                                       Антон


             reply	other threads:[~2004-04-04 11:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-04 11:10 Anton Komarevtsev [this message]
2004-04-04 11:51 ` Sergey Vlasov
2004-04-05  0:40 ` Alexey Lubimov
2004-04-05  4:37   ` Anton Komarevtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=406FED41.60209@rt.mipt.ru \
    --to=avkx@rt.mipt.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git