ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] alsa: no soundcards found
@ 2004-04-04 11:10 Anton Komarevtsev
  2004-04-04 11:51 ` Sergey Vlasov
  2004-04-05  0:40 ` Alexey Lubimov
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Komarevtsev @ 2004-04-04 11:10 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Не получается нормально настроить дрова 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-ти каналов?

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] alsa: no soundcards found
  2004-04-04 11:10 [sisyphus] alsa: no soundcards found Anton Komarevtsev
@ 2004-04-04 11:51 ` Sergey Vlasov
  2004-04-05  0:40 ` Alexey Lubimov
  1 sibling, 0 replies; 4+ messages in thread
From: Sergey Vlasov @ 2004-04-04 11:51 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

On Sun, Apr 04, 2004 at 03:10:57PM +0400, Anton Komarevtsev wrote:
> По сути, alsa не настроена, несмотря на наличие звука:
> $ alsamixer
> 
> alsamixer: function snd_ctl_open failed for default: No such file or 
> directory

Видимо, в системе остался устаревший пакет dev - его необходимо
обновить.  Теперь /dev/snd должен быть обычным каталогом с файлами
устройств, а не ссылкой в /proc/asound/...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] alsa: no soundcards found
  2004-04-04 11:10 [sisyphus] alsa: no soundcards found Anton Komarevtsev
  2004-04-04 11:51 ` Sergey Vlasov
@ 2004-04-05  0:40 ` Alexey Lubimov
  2004-04-05  4:37   ` Anton Komarevtsev
  1 sibling, 1 reply; 4+ messages in thread
From: Alexey Lubimov @ 2004-04-05  0:40 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Для начала в alsamixer отключить выход spidf. Это включит канал сабвуфера.
А затем налаживать подключения.

Вообщето у меня шестиканальный звук работал только с драйвером oss...



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] alsa: no soundcards found
  2004-04-05  0:40 ` Alexey Lubimov
@ 2004-04-05  4:37   ` Anton Komarevtsev
  0 siblings, 0 replies; 4+ messages in thread
From: Anton Komarevtsev @ 2004-04-05  4:37 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Alexey Lubimov wrote:
> Для начала в alsamixer отключить выход spidf. Это включит канал сабвуфера.
> А затем налаживать подключения.
В том и проблема, что я не могу запустить alsamixer, даже если явно указать
alsamixer -c 0
(хотя, судя по /proc/asound/card0, карточка именно с номером 0)

> 
> Вообщето у меня шестиканальный звук работал только с драйвером oss...
Интересно... все рекомендуют для этого использовать именно alsa... А 
нельзя ли попросить у Вас конфигурационный файл, который позволял 
использовать все 6 каналов?

> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> http://lists.altlinux.ru/mailman/listinfo/sisyphus
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-05  4:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-04 11:10 [sisyphus] alsa: no soundcards found Anton Komarevtsev
2004-04-04 11:51 ` Sergey Vlasov
2004-04-05  0:40 ` Alexey Lubimov
2004-04-05  4:37   ` Anton Komarevtsev

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