心之一方 发表于 2004-2-16 22:03:16

新手求教

小弟在升级2.6内核时,忘记了把声卡驱动编译进去,现在内核运行正常,只是声卡不能工作。2.6内核代码中有所要的声卡驱动,请问应该怎么才能在不重新编译内核的情况下,为声卡安装驱动?先谢过!

cnhnln 发表于 2004-2-16 22:41:20

http://www.alsa-project.org/
但是声卡支持一定要选Y或者M才行

#
# Sound
#
CONFIG_SOUND=y

心之一方 发表于 2004-2-17 21:23:58

小弟想大侠误解小弟的意思了,因为2。6内核中有小弟的声卡所需的代码(ES1371),小弟的意思是,不重新编译内核,只编译2。6内核中ES1371声卡的代码。不是要OSS。请问有办法吗?

cnhnln 发表于 2004-2-17 23:01:14

呵呵,不好意思。


http://fedoranews.org/jorge/howto/howto04.shtml

HOWTO: Add NTFS module to FC1
by Jorge Gallegos (Thanks goes to Hernan Fernandez from Chile for this howto)

Sometimes you need to access some NTFS partition(s) in your disk drive, and you maybe don't have the version 2.6 of the linux kernel (which already comes with native NTFS reading support and experimental NTFS writing support), this is an easy way to do that.

This is done by compiling the NTFS module and loading it as needed, this same process is described in detail here.
If you don't have already installed the kernel source, you can download it here (we will be using version 2.4.22-1.2129 for i586 during the example), and do the following:

$ sudo rpm -ivh kernel-source-2.4.22-1.2129.nptl.i586.rpm
$ cd /usr/src/linux-2.4.22-1.2129.nptl
$ sudo make menuconfig

Go to the "File System" menu and select the "NTFS file system support" item, "exit", "exit and save". Then run:

$ sudo make SUBDIRS=fs/ntfs modules

Now your ntfs.o (the NTFS support module) is in /usr/src/linux-2.4.22-1.2129.nptl/fs/ntfs, you copy it to your modules directory:

$ sudo cp /usr/src/linux-2.4.22-1.2149.nptl/fs/ntfs/ntfs.o /lib/modules/2.4.22-1.2149.nptl/kernel/fs/ntfs/

And then you can check by modprobing it:

$ sudo modprobe ntfs

If everything went ok, then you can now mount your elusive (until now) NTFS partition.

$ sudo mount -t ntfs /dev/hda1 /mnt/ntfs

Remember that the driver is READ-ONLY, if you try to write it will tell you that it's a read-only mounted file systems, but anyway, be careful. Also, you might want to add the command in your /etc/rc.sysinit to modprobe the ntfs module each time you boot the computer and add the proper entry in your /etc/fstab file for the NTFS partition.

More information about NTFS and Fedora Core 1 can be found here.


借鉴一下
make SUBDIRS=sound/pci modules

嘿嘿,我没试过.不保证行 :mrgreen:

心之一方 发表于 2004-2-18 21:30:44

谢谢啦!
页: [1]
查看完整版本: 新手求教