LinuxSir.cn,穿越时空的Linuxsir!

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

LINUX(红旗5.0,以前3.2,4.0,4.1,都装过,由于使用USB ADSL老上不了网

[复制链接]
发表于 2005-11-19 22:10:20 | 显示全部楼层 |阅读模式
问一个小问题,
  最近装了LINUX(红旗5.0,以前3.2,4.0,4.1,都装过,由于使用USB ADSL老上不了网也一直装了删删了装没好好用过一段时间),这次前几天我试着用论坛里的方法驱动我的USB ADSL,还是不成功,不知道你们有没有装过红旗的,我觉得我每次做MAKE的时候老是出错,看了很多文章,好像是没装内核啊,(我对LINUX不太懂,系统没内核可以吗??)现在我弄了一个ADSL路由器所以上网问题解决了,又发现我的CMI9738声卡系统上次我装的时候自动识别为INTEL AC97的也能发现声音,这次重装完后虽然探测的还是INTEL AC97,但是不能发出声音了,所以我想安装它自已的驱动,(我看了一下ALSA也不支持这个声卡),驱动我有就是装的时候出错,看了一下它的说明书说得很简单可是我就是在MAKE时就出错了,哪位大虾,能不能完整得教我装一下, 我觉得这样我就明白在LINUX装驱动是怎么一回事了。
说明书是这样的:
Linux OSS driver for C-Media audio codec (CMI9738, CMI9739) v0.39

Notes:
1. This version implements GPIO on/off when active/disactive the driver which used for Mitac.

Features:
1. South Bridge: Intel ICH2/ICH4/ICH5, SiS 7012/7018, VIA 8233/82686, ALI 5451, nVidia nForce, AMD 8111.
2. Full-duplex and multiple applications playback and recording.
4. 16 bits 2/4/6 channels mono/stereo playback.
5. 16 bits stereo recording.
6. Support phone jacks configuration.
7. PCM SPDIF IN/OUT (CMI9739 only, recording only support 48 KHz).
8. Support AC3 S/PDIF out ((CMI9739 only).
9. Support analog hardware copy to rear channel.
10.Support xear mode to swap front and surround speakers output.
   For PCCHIPS LCD PC, you should change the following codes in cmaudio.h:

        // For PCCHIPS LCD PC
        #define FORCE_LINEINASREAR_MODE 1
        #define FORCE_XEAR_MODE 1

        //#define FORCE_LINEINASREAR_MODE 0
        //#define FORCE_XEAR_MODE 0

Known issues:
1. This driver only tested on RedHat 7.3.
2. /dev/sequencer is not supported.
3. In RedHat 8.0, gmix can not select recording source correctly.
   Please using aumix.


Installation:
For driver installation, please follow below steps.

Step 1. Unzip source code
        tar xzf cmaudio-039.tar.gz

Step 2. Turn on sound support (soundcore module)

Step 3. Complied source code
        make
        make install

Step 4. Edit your /etc/modules.conf or conf.modules depending on the Distribution
        alias sound-slot-0 cmaudio   
        post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
        pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

Step 5. reboot your machine



Phone Jacks Configuration:
We provide a console mode program, cmconfig.c, in order to let you change jacks' configuration.
please follow below steps.

Step 1. Compiled source code, the source code is also in cmaudio-039.tar.gz.
        cc -o cmconfig cmconfig.c

Step 2. Execute and change the settings
        ./cmconfig
发表于 2005-11-20 00:18:29 | 显示全部楼层
不是没有内核应该是你的内核不支持你的ADSL Modem,这个问题你可以下载编译符合自己的内核来驱动你的ADSL Modem

至于你所说的声卡没有声音的情况,你可以使用下面的方法试着解决
先卸载ALSA-OSS软件,再使用rmmod命令来卸载OSS的模块,然后再安装ALSA软件,这样之后在运行
alsaconf命令来配置声卡,这样如果能够成功的话,那么你的声卡就可以正常的发声了
回复 支持 反对

使用道具 举报

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

本版积分规则

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