LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2236|回复: 17

安装alsa,终于有声啦.重启后声音又没啦,执行alsaconf声音又回来,反复如此!

[复制链接]
发表于 2005-1-5 17:12:38 | 显示全部楼层 |阅读模式
安装过程:
cd alsa-driver-1.0.7a
./configure
make
make install

cd lib-1.0.7
./configure
make
make install

cd alsa-utils
./configure
make
make install

alsaconf
然后一路回车,可以发声啦

重启电脑,发现又没声.执行alsaconf然后一路回车,可以发声

是不是有什么没有保存!

:help  :thank
发表于 2005-1-5 18:24:40 | 显示全部楼层
看置顶
不过我alsaconf中会看到两块黑金声卡 :confused:
发表于 2005-1-6 01:00:40 | 显示全部楼层
要执行alsactl store保存声音设置。请看置顶。
 楼主| 发表于 2005-1-6 16:53:14 | 显示全部楼层
rr19xx兄,俺是按照置顶贴一步步执行的.alsactl store都执行了.
俺是笔记本,不知道是不是还要加什么参数,而且我没有/etc/modules.conf这个文件,只有/etc/modprobe.conf文件,内容如下:

alias eth0 8139too
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.8rc1 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---



并且启动后如下提示:

ALSA /tmp/alsa/alsa-driver-1.0.8rc1/pci/intel8x0.c:598: codec_write 0: semaphore is not ready for register 0x2a
ALSA /tmp/alsa/alsa-driver-1.0.8rc1/pci/intel8x0.c:598: codec_write 0: semaphore is not ready for register 0x2a
intel8x0_measure_ac97_clock: measured 50072 usecs
intel8x0: clocking to 48000
发表于 2005-1-6 18:59:15 | 显示全部楼层
我也是.
发表于 2005-1-7 01:47:28 | 显示全部楼层
请发以下信息。
lsmod
lspci
/etc/asound.state内容
另外,请尽可能描述你的笔记本信息,如型号、主板等等。
 楼主| 发表于 2005-1-7 14:45:39 | 显示全部楼层
rr19xx兄,小弟谢过先


笔记本型号 : HP nx9040
intel 855GM芯片组
AC'97 intel 8x0



lsmod内容:

Module                  Size  Used by
i915                   76869  3
parport_pc             24705  1
lp                     11565  0
parport                41737  2 parport_pc,lp
autofs4                24005  0
i2c_dev                10433  0
i2c_core               22081  1 i2c_dev
sunrpc                160421  1
ds                     16965  4
ipt_REJECT              6465  1
ipt_state               1857  1
ip_conntrack           40693  1 ipt_state
iptable_filter          2753  1
ip_tables              16193  3 ipt_REJECT,ipt_state,iptable_filter
nls_utf8                1985  1
vfat                   14785  1
fat                    45409  1 vfat
dm_mod                 54741  0
button                  6481  0
battery                 8517  0
ac                      4805  0
md5                     4033  1
ipv6                  232577  8
joydev                  8705  0
ohci1394               35033  0
ieee1394              302869  1 ohci1394
yenta_socket           18753  0
pcmcia_core            59913  2 ds,yenta_socket
uhci_hcd               31449  0
ehci_hcd               31557  0
hw_random               5589  0
snd_intel8x0m          18772  0
snd_intel8x0           33724  0
snd_ac97_codec         68960  2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss            48424  0
snd_mixer_oss          18048  1 snd_pcm_oss
snd_pcm                93064  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              30212  1 snd_pcm
snd                    55908  7 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9889  1 snd
snd_page_alloc         10120  3 snd_intel8x0m,snd_intel8x0,snd_pcm
8139too                26305  0
mii                     4673  1 8139too
floppy                 58609  0
ext3                  116809  1
jbd                    74969  1 ext3




lspci内容:

00:00.0 Host bridge: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corp. 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:01.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:01.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)









/etc/asound.state的内容:

state.I82801DBICH4 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 23
                value.1 23
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Headphone Playback Switch'
                value true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Headphone Playback Volume'
                value.0 31
                value.1 31
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PC Speaker Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 15
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 31
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Boost (+20dB)'
                value true
        }
        control.10 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Line Playback Switch'
                value true
        }
        control.11 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 31
                value.1 31
        }
        control.12 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'CD Playback Switch'
                value true
        }
        control.13 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 28
                value.1 28
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PCM Playback Switch'
                value true
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 23
                value.1 23
        }
        control.16 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Capture Switch'
                value true
        }
        control.18 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 15
                value.1 15
        }
        control.19 {
                comment.access read
                comment.type IEC958
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.20 {
                comment.access read
                comment.type IEC958
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.21 {
                comment.access 'read write'
                comment.type IEC958
                iface MIXER
                name 'IEC958 Playback Default'
                value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'IEC958 Playback Switch'
                value true
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 3
        }
        control.24 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'External Amplifier'
                value true
        }
}
发表于 2005-1-8 16:57:00 | 显示全部楼层
试试在file:/etc/rc.b/  的下面查看那几个文档,看看那个文档的内容有alsa的就在其前面加一行 alsaconf
发表于 2005-1-9 12:46:44 | 显示全部楼层
Post by lzjx
试试在file:/etc/rc.b/  的下面查看那几个文档,看看那个文档的内容有alsa的就在其前面加一行 alsaconf


是 /etc/rc.b/ 还是 /etc/rc.d ?
发表于 2005-1-9 13:24:35 | 显示全部楼层
是rc.d,我写错了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表