LinuxSir.cn,穿越时空的Linuxsir!

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

模块已加载,但系统不能正常发声[已解决]

[复制链接]
发表于 2006-3-22 20:37:39 | 显示全部楼层 |阅读模式
近日安装了ArchLinux0.7.1base系统,再安装了xorg,gnome
以及声卡驱动alsa-lib,alsa-utils,alsa-oss等,
现在的问题是每次重启系统后都要alsaconf一下,系统才能出声,
刚启动时使用lsmod得到结果如下:

  1. Module                  Size  Used by
  2. ohci_hcd               20100  0
  3. ehci_hcd               33160  0
  4. usbhid                 48928  0
  5. usblp                  11904  0
  6. usb_storage            75072  0
  7. ppp_generic            28052  0
  8. slhc                    6656  1 ppp_generic
  9. forcedeth              22276  0
  10. snd_mpu401              5576  0
  11. snd_mpu401_uart         6784  1 snd_mpu401
  12. snd_rawmidi            21152  1 snd_mpu401_uart
  13. snd_intel8x0           30620  2
  14. snd_ac97_codec         95136  1 snd_intel8x0
  15. snd_ac97_bus            2176  1 snd_ac97_codec
  16. snd_seq_oss            33408  0
  17. snd_seq_midi_event      6400  1 snd_seq_oss
  18. snd_seq                51984  4 snd_seq_oss,snd_seq_midi_event
  19. snd_seq_device          7436  3 snd_rawmidi,snd_seq_oss,snd_seq
  20. snd_pcm_oss            50848  0
  21. snd_pcm                84100  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
  22. snd_timer              22148  2 snd_seq,snd_pcm
  23. snd_page_alloc          8840  2 snd_intel8x0,snd_pcm
  24. snd_mixer_oss          17920  1 snd_pcm_oss
  25. snd                    49124  16 snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
  26. soundcore               8160  1 snd
  27. shpchp                 44768  0
  28. pci_hotplug            26692  1 shpchp
  29. parport_pc             26436  1
  30. serio_raw               6148  0
  31. pcspkr                  2052  0
  32. analog                 11040  0
  33. ns558                   4996  0
  34. gameport               12424  3 analog,ns558
  35. evdev                   8064  0
  36. i2c_nforce2             6144  0
  37. i2c_core               18176  1 i2c_nforce2
  38. rtc                    10932  0
  39. ppdev                   7812  0
  40. lp                      9860  0
  41. nvidia_agp              6556  1
  42. agpgart                29904  1 nvidia_agp
  43. usbcore               121604  6 ohci_hcd,ehci_hcd,usbhid,usblp,usb_storage
  44. xfs                   615552  0
  45. reiserfs              269424  0
  46. jfs                   192636  0
  47. ext3                  133256  2
  48. jbd                    58132  1 ext3
  49. sata_qstor              7812  0
  50. sata_promise            9092  0
  51. sata_sil24              9604  0
  52. sata_nv                 7044  0
  53. sata_mv                16516  0
  54. sata_vsc                5892  0
  55. sata_via                6404  0
  56. sata_uli                4996  0
  57. sata_svw                5764  0
  58. sata_sx4               12292  0
  59. sata_sis                5892  0
  60. sata_sil                6916  0
  61. mptfc                   5508  0
  62. mptspi                  6280  0
  63. mptsas                 13196  0
  64. mptctl                 22912  0
  65. mptscsih               33680  3 mptfc,mptspi,mptsas
  66. mptbase                46688  5 mptfc,mptspi,mptsas,mptctl,mptscsih
  67. megaraid_mbox          31888  0
  68. megaraid_sas           25516  0
  69. megaraid_mm            10020  1 megaraid_mbox
  70. ata_piix                7812  0
  71. osst                   54944  0
  72. sym53c8xx              82068  0
  73. atp870u                30208  0
  74. aha152x                37712  0
  75. aic79xx               271832  0
  76. aic7xxx               182196  0
  77. ahci                   10756  0
  78. pdc_adma                7940  0
  79. libata                 54156  15 sata_qstor,sata_promise,sata_sil24,sata_nv,sata_mv,sata_vsc,sata_via,sata_uli,sata_svw,sata_sx4,sata_sis,sata_sil,ata_piix,ahci,pdc_adma
  80. raid_class              4992  0
  81. nsp32                  26132  0
  82. aacraid                58112  0
  83. ipr                    64032  0
  84. imm                    12040  0
  85. parport                33736  4 parport_pc,ppdev,lp,imm
  86. 3w_xxxx                27680  0
  87. tmscsim                21952  0
  88. dc395x                 36752  0
  89. 3w_9xxx                32388  0
  90. a100u2w                10304  0
  91. BusLogic               24756  0
  92. sr_mod                 15652  0
  93. qlogicfas408            6792  0
  94. st                     38816  0
  95. sg                     31648  0
  96. dmx3191d               14080  0
  97. qla6312               115200  0
  98. qla2322               134400  0
  99. qla2300               124672  0
  100. qla2200                87168  0
  101. qla2100                79488  0
  102. qla2xxx               129500  5 qla6312,qla2322,qla2300,qla2200,qla2100
  103. lpfc                  157628  0
  104. scsi_transport_sas     15232  1 mptsas
  105. qla1280               119436  0
  106. sd_mod                 15744  0
  107. ide_floppy             18048  0
  108. ide_cd                 39556  0
  109. cdrom                  38688  2 sr_mod,ide_cd
  110. ide_disk               16000  4
  111. via82cxxx               9092  0 [permanent]
  112. trm290                  4228  0 [permanent]
  113. triflex                 3456  0 [permanent]
  114. slc90e66                5376  0 [permanent]
  115. sis5513                15624  0 [permanent]
  116. siimage                11392  0 [permanent]
  117. serverworks             8712  0 [permanent]
  118. sc1200                  6656  0 [permanent]
  119. rz1000                  2560  0 [permanent]
  120. piix                    9732  0 [permanent]
  121. pdc202xx_old           10240  0 [permanent]
  122. pdc202xx_new            8704  0 [permanent]
  123. ns87415                 4040  0 [permanent]
  124. it821x                  8068  0 [permanent]
  125. hpt366                 18560  0 [permanent]
  126. hpt34x                  4608  0 [permanent]
  127. generic                 4356  0 [permanent]
  128. cy82c693                4356  0 [permanent]
  129. cs5530                  5120  0 [permanent]
  130. cmd64x                 11164  0 [permanent]
  131. atiixp                  5520  0 [permanent]
  132. amd74xx                14364  0 [permanent]
  133. alim15x3               11404  0 [permanent]
  134. aec62xx                 6784  0 [permanent]
  135. ide_core              120272  28 usb_storage,ide_floppy,ide_cd,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,ns87415,it821x,hpt366,hpt34x,generic,cy82c693,cs5530,cmd64x,atiixp,amd74xx,alim15x3,aec62xx
复制代码

怎样才能让系统启动就能发声?望各位大虾不吝指教,谢谢!
 楼主| 发表于 2006-3-23 08:57:36 | 显示全部楼层
参考了一下bbs.archlinux.org上的文章,修改/etc/rc.conf
  1. MODULES=(!snd_mpu401 snd_intel8x0  snd-pcm-oss) #此处添加了三项
  2. DAEMONS=(syslog-ng !hotplug !pcmcia network !netfs crond alsa)#此处添加alsa
复制代码
另外还在/etc/modprobe.conf中去掉OSS Compatibility
  1. #
  2. # /etc/modprobe.conf (for v2.6 kernels)
  3. #
  4. # OSS Compatibility
  5. # install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
  6. # install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true
  7. # --- BEGIN: Generated by ALSACONF, do not edit. ---
  8. # --- ALSACONF version 1.0.10 ---
  9. alias snd-card-0 snd-intel8x0
  10. alias sound-slot-0 snd-intel8x0
  11. # --- END: Generated by ALSACONF, do not edit. ---
复制代码
重新alsaconf一下就好了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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