[己解決]ALSA:No Such Device /dev/dsp /dev/mixer /dev/midi

找不到Code如何播放,不知道要用什麼播放程式等等相關問題都可以在這發問

版主: Forums Team

[己解決]ALSA:No Such Device /dev/dsp /dev/mixer /dev/midi

文章Sanada Yukimura » 週日 4月 30, 2006 9:50 am

請教各位,我按照手冊文件安裝ALSA,我emerge alsa-driver alsa-utils alsa-oss 之後,使用alsaconf 進行設定,在設定完成後
ALSA 回應如下:
* Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.15-gentoo-r1/alsa-driver/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_ens1371 (/lib/modules/2.6.15-gentoo-r1/alsa-driver/pci/snd-ens1371.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * Loading: snd-seq-oss ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-midi-event.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.15-gentoo-r1/alsa-driver/acore/seq/oss/snd-seq-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * Loading: snd-pcm-oss ...
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.15-gentoo-r1/alsa-driver/acore/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * Loading: snd-mixer-oss ... [ ok ] * Loading: snd-seq-oss ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-midi-event.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.15-gentoo-r1/alsa-driver/acore/seq/oss/snd-seq-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * Loading: snd-pcm-oss ...
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.15-gentoo-r1/alsa-driver/acore/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * Loading: snd-seq ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.15-gentoo-r1/alsa-driver/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * Loading: snd-seq ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.15-gentoo-r1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.15-gentoo-r1/alsa-driver/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * ERROR: Failed to load necessary drivers [ ok ] * Restoring Mixer Levels ...

而且我發現我既無 /dev/dsp /dev/mixer /dev/midi
但是有 /dev/dsp1 /dev/dsp2 /dev/dsp3
mixer 和 midi 同上
我有找過Gentoo Forums 的相關文章,但是都得不到結果!
我是使用alsa-package 的方式,而不是編入核心,是採模組式

lspci -v 得到如下
00:0e.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
Subsystem: Giga-byte Technology 5880 AudioPCI On Motherboard 6OXET
Flags: bus master, slow devsel, latency 64, IRQ 9
I/O ports at d800 [size=64]
Capabilities: [dc] Power Management version 1

我是採用ens-1371
試問?除了編入核心外,還有其它方法嗎?
還有 udev 中的規則設定有須要修改嗎?
我發現一個現象,若是udev 有發現該硬體元件,會產生一個連結的設備
/dev/video->/dev/video0


[自問自答]
之前在編譯核心時是kernel-2.6.15-r1 是採用genkernel all 來編譯的
沒想到,居然沒把alsa 給編進去
所以又下載了kernel-2.6.16-r3 順便更新,
但這次得採用genkernel --menuconfig all
記得加 --menuconfig 參數,且得檢查 Device 中的alsa 是否有編入喔
最後由 Sanada Yukimura 於 週一 5月 01, 2006 11:38 pm 編輯,總共編輯了 1 次。
頭像
Sanada Yukimura
 
文章: 5
註冊時間: 週六 5月 01, 2004 10:00 am

文章paar » 週一 5月 01, 2006 9:15 am

手冊的哪一頁?
是這一頁嗎?
http://www.gentoo.org/doc/zh_tw/alsa-guide.xml
叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市


回到 Gentoo 多媒體

誰在線上

正在瀏覽這個版面的使用者:Google [Bot] 和 1 位訪客

cron