LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: rr19xx

原创-》Alsa0.9.2安装指南第二版-04-28-03

 关闭 [复制链接]
发表于 2003-5-9 23:19:08 | 显示全部楼层
rr19xx兄:
  我估计问题出在config.txt中,因为你要知道,那是你机器的config文件,而并非我的.我昨晚对比了我们的config文件,有很多地方都是不一样的,而我所说的不一样,不是有没有选上的问题,而是项目根本不一样的问题.所以我昨晚才没有去尝试你给我config文件,我觉得根本不可能编译成功.而且我们的机器配置不一样.我的是笔记本,这是关键所在.我想linux内核对于笔记本的支持还是欠缺了一点.
  无论怎么样,我还是会继续努力的.不过要明天再说了,呵呵,很累了.
 楼主| 发表于 2003-5-9 23:31:06 | 显示全部楼层
我已经按照你的硬件配置进行了修改,用的是2.4.20的官方内核。
要不我把内核及模块发上来好了。
发表于 2003-5-10 09:29:43 | 显示全部楼层
对rr19xx兄的感激怎一句谢谢可以表达.但是我想从事IT的遇到问题不能就这样放弃了.如果我用兄弟的内核和模块,那么即使成功了,我对内核编译这方面还是没有提高,下次如果我在遇到内核编译问题,不是还是一样不懂吗?我想很多时候我们是必须经过这种艰苦的时刻,或许这也是一种乐趣.所以与其让你把内核发上来,倒不如你给我解释解释执行lspci命令之后的内容是什么东东更好.
   00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
00:06.0 Communication controller: Lucent Microelectronics LT WinModem
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:0c.0 CardBus bridge: Texas Instruments PCI1420
00:0c.1 CardBus bridge: Texas Instruments PCI1420
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 楼主| 发表于 2003-5-10 09:59:27 | 显示全部楼层
myth_huihui兄我尊重你的决定,但既然是讨论内核编译的问题,为了不让斑竹为难,请你在基础版发一关于内核编译的新帖,我跟帖好了。至于声卡的问题,还是在这里跟帖。
发表于 2003-5-10 13:02:30 | 显示全部楼层
好的。
发表于 2003-5-10 17:42:40 | 显示全部楼层
rr19xx兄:
   内核编译搞定了,可惜....装上alsa之后还是没有声音阿.我把安装的步骤说说:
   cd alsa-driver-0.9.2.
   ./configure
   make
   make install 之后给出信息:
  WARNING!!! the mixer channels for the ALSA driver are muted by default!!!
   You would use some ALSA or OSS mixer to set the appropriate volume.
接着
  ./snddevices
  cd utils
  ./alsaconf 搞定这些之后,出现信息:
  Loading driver...
  starting sound driver:snd-maestro3 done
  setting default volumes...
  Now ALSA is ready to use
  For adjustment of volumes,please use alsamixer or gamix
  Have a lot of fun!
  之后就解压那个gamix文件,然后./configure make make insatall
  终端打开gamix,然后设置,alsactl store,重起.
  没声,呵呵.怎么办??
 楼主| 发表于 2003-5-10 19:14:10 | 显示全部楼层
首先,你步骤中没写是否执行了每次启动加载音量配置那部分操作,
你到底做了没有?
其次,确认alsa是否已安装成功。
执行:lsmod 看看是否有alsa的模块加载。如果有,那么便可能是你使用gamix不当。
gamix界面中那些小方格是打开或关闭音量控制的,你是否点中?
发表于 2003-5-10 19:41:31 | 显示全部楼层
你说的是chkconfig --add alsasound这一步吗?我执行了.
  不过lsmod之后没有看到alsa的模块加载了.
  Module                  Size  Used by    Not tainted
  nls_cp437               5116   1  (autoclean)
  ipt_REJECT              3704   6  (autoclean)
  iptable_filter          2412   1  (autoclean)
  ip_tables              14840   2  [ipt_REJECT iptable_filter]
  这是全部内容了.
  不过我在开机的时候出现这样一句话:
  The sndshield module is not compatible with your kernel 2.4.20.
Try installing OSS again.
  是哪里有毛病?
 楼主| 发表于 2003-5-10 19:50:22 | 显示全部楼层
根据提示,驱动模块与内核不兼容。
你没有卸掉OSS?它跟alsa不能同时使用。查看/etc/modules.conf
看看是否加载了oss?(因为我不曾装过oss,所以只能建议你卸载oss)
发表于 2003-5-10 19:58:55 | 显示全部楼层
我没有卸oss,因为我用 rpm -q -a命令找不到他!
  我的modules.conf内容:
  #### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

alias char-major-14 off
alias sound off
alias midi off
alias sound-slot-0 off
alias sound-service-0-0 off
alias sound-service-0-1 off
alias sound-service-0-3 off
alias sound-service-0-8 off
alias sound-service-0-11 off
alias sound-service-0-12 off
alias sound-slot-1 off
alias sound-service-1-0 off
alias sound-service-1-1 off
alias sound-service-1-3 off
alias sound-service-1-8 off
alias sound-service-1-11 off
alias sound-service-1-12 off
alias sound-slot-2 off
alias sound-service-2-0 off
alias sound-service-2-1 off
alias sound-service-2-3 off
alias sound-service-2-8 off
alias sound-service-2-11 off
alias sound-service-2-12 off
alias sound-slot-3 off
alias sound-service-3-0 off
alias sound-service-3-1 off
alias sound-service-3-3 off
alias sound-service-3-8 off
alias sound-service-3-11 off
alias sound-service-3-12 off
alias char-major-116 off
alias snd-card-0 off
alias snd-card-1 off
alias snd-card-2 off
alias snd-card-3 off
alias snd-card-4 off
#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

alias eth0 8139too
alias usb-controller usb-uhci

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
options snd major=116 cards_limit=1 device_mode=0666
options snd-maestro3 index=0
# --- END: Generated by ALSACONF, do not edit. ---

  怎么办?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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