前段时间重装机器,用的是debian提供的2.6内核,装了alsa-base后发现alsa无法发声,但oss却工作正常。折腾了大半天也没搞明白是怎么回事,无奈之下只好使用oss。今天在版上看到有人讨论,才知道oss不能和alsa共存。而我的问题很可能就是系统在启动的时候预先加载了 oss的驱动。后来用google查了一下,在下面这个网址http://www.sonic.net/~rknop/linux/debian_alsa.html
发现问题果然如此。原来debian中自动侦探硬件的程序discover在检测到声卡后会自动加载oss,只要不让它自动加载就可以了。具体做法就是在/etc/discover.conf中加上一句skip i810_audio 。然后重启就能使用alsa了,不过要注意的是alsa默认是静音,需要自己手动将声音调大。
版上有人说还需要在/etc/hotplug/blacklist中加上i810_audio,我发现不需要这么做。因为安装alsa时,系统在/etc/hotplug/blacklist.d/alsa*中自动添加这些内容。
版上有人说还需要更改/etc/modutils/alsa-base中的相关内容,具体就是将above改为alias。
http://wiki.debian.org.tw/index.php/HardwareIdentification 这个网址讲述了debian中硬件识别的相关知识。
回應
Does Gnome sound mixer work after use alsa ?
After installed Debian testing , you will find the Gnome mixer is not working. But the KDE sound mixer is working fine.
I guest it was becasue OOS does not work with Gnome mixer .
Do you have mixer problem on Gnome ?
Does Gnome sound mixer work after use alsa ?
kmlhk79
With alsa, I can use gamix to
With alsa, I can use gamix to adjust sound. Mainly use it to turn pcm output on. gamix somehow only work with root. Maybe need to add my user to some sound group. whatever.
This is on sid with 2.6.9 ker
This is on sid with 2.6.9 kernel.
no,everything is ok
no,everything is ok
gnome-volume-control is never working
No, for standard debian testing, the gnome-volume-control is never working. I did more than ten installation.
It always have the following error message when I start gnome-volume-control:
"對不起,找不到混音元件或裝置"
I have add my user ID to all groups , still not work.
But Kde mixer working fine with out problem. Mplayer need to select OOS else not work as well.
Actually, all the Gnome sound program on testing is not work.
For example :
gnome-sound-recorder will get:
程式“gnome-sound-recorder”不正常地結束。
rhythmbox will get :
無法產生音效輸出元件;請檢查軟體是否已正確安裝
How can I over come this problem on Gnome ?
Gnome is hopeless compare with KDE on Debian .
I am running Kernel 2.6.8-1 and Gnome 2.8 on Debian testing.
kmlhk79
try to run gst-register-0.8
I searched it for days and find the you have to run gst-register-0.8 to run those application.
What is gst-register-0.8 ?
What is gst-register-0.8 ?
Where can I get it ?
It is not in the DEbian package list.
gst-register-0.8 should be in
gst-register-0.8 should be in package libgstreamer0.8-0
You can check with "apt-cache search gst-register-0.8" or
wth http://packages.debian.org/
在Gnome上使用mixer
其中一個方法chmod 666 /dev/dsp , /dev/audio以及/dev/mixer
在Gnome上不能使用mixer
可以試一試 chmod 666 /dev/mixer 來解決這問題
請試一試可不可以解決這問題?
Still not work , what is wrong ?
I run the gst-register-0.8 but Gnome's sound apps still not work.
What is wrong ?
Below is the screen dump :
:~$ gst-register-0.8
Trying to load global_registry ...
Added plugin gstfairgthreadscheduler with 1 feature.
Added plugin gnomevfs with 2 features.
Added plugin y4menc with 1 feature.
Added plugin wavenc with 1 feature.
Added plugin volume with 1 feature.
Added plugin volenv with 1 feature.
Added plugin videotestsrc with 1 feature.
Added plugin videoscale with 1 feature.
Added plugin videorate with 1 feature.
Added plugin videomixer with 1 feature.
Added plugin gstvideofilter with 0 features.
Added plugin videodrop with 1 feature.
Added plugin videocrop with 1 feature.
Added plugin videobox with 1 feature.
Added plugin videobalance with 1 feature.
Added plugin vcdsrc with 1 feature.
Added plugin vbidec with 1 feature.
Added plugin video4linux2 with 2 features.
Added plugin video4linux with 4 features.
Added plugin udp with 2 features.
Added plugin typefindfunctions with 51 features.
Added plugin timeoverlay with 1 feature.
Added plugin textoverlay with 1 feature.
Added plugin gsttags with 1 feature.
Added plugin switch with 1 feature.
Added plugin stereo with 1 feature.
Added plugin speed with 1 feature.
Added plugin spectrum with 1 feature.
Added plugin snapshot with 1 feature.
Added plugin smpte with 1 feature.
Added plugin smooth with 1 feature.
Added plugin sine with 1 feature.
Added plugin silence with 1 feature.
Added plugin rtjpeg with 2 features.
Added plugin rtp with 4 features.
Added plugin png with 2 features.
Added plugin playondemand with 1 feature.
Added plugin playbin with 1 feature.
Added plugin passthrough with 1 feature.
Added plugin overlay with 1 feature.
Added plugin navigationtest with 1 feature.
Added plugin nassink with 1 feature.
Added plugin multipart with 2 features.
Added plugin gstmultifilesink with 1 feature.
Added plugin mulaw with 2 features.
Added plugin mpegaudioparse with 1 feature.
Added plugin mpegaudio with 1 feature.
Added plugin mpeg2sub with 1 feature.
Added plugin mpeg1videoparse with 1 feature.
Added plugin monoscope with 1 feature.
Added plugin median with 1 feature.
Added plugin level with 1 feature.
Added plugin ladspa with 0 features.
Added plugin interleave with 2 features.
Added plugin gdkpixbuf with 2 features.
Added plugin gamma with 1 feature.
Added plugin filter with 3 features.
Added plugin ffmpegcolorspace with 1 feature.
Added plugin effectv with 8 features.
Added plugin efence with 1 feature.
Added plugin deinterlace with 1 feature.
Added plugin decodebin with 1 feature.
Added plugin debug with 5 features.
Added plugin colorspace with 1 feature.
Added plugin chart with 1 feature.
Added plugin cdplayer with 1 feature.
Added plugin auparse with 1 feature.
Added plugin audiorate with 1 feature.
Added plugin gstaudiofilter with 0 features.
Added plugin gstaudioconvert with 2 features.
Added plugin alphacolor with 1 feature.
Added plugin alpha with 1 feature.
Added plugin alaw with 2 features.
Added plugin ac3parse with 1 feature.
Added plugin alsa with 3 features.
Added plugin gstvideo with 0 features.
Added plugin gstresample with 0 features.
Added plugin gstidct with 0 features.
Added plugin gstaudio with 0 features.
Added plugin gstspider with 2 features.
Added plugin gstindexers with 2 features.
Added plugin gstgetbits with 0 features.
Added plugin gstelements with 15 features.
Added plugin gstdataprotocol with 0 features.
Added plugin gstbytestream with 0 features.
Added plugin gstoptscheduler with 1 feature.
Added plugin gstoptomegascheduler with 1 feature.
Rebuilding user_registry (/home/kmlid4/.gstreamer-0.8/registry.xml) ...
Loaded 120 plugins with 230 features.