建立文件/boot/loader.conf后
在其中输入以下内容:
hw.cbb.start_memory="0x20000000"
hw.pci.allow_unsupported_io_range="1"
hint.acpi.0.disabled="1" #以下与声卡有关
hint.pcm.0.at="isa"
hint.pcm.0.port="0x52c"
hint.pcm.0.drq="1"
hint.pcm.0.irq="5"
hint.pcm.0.flags="0x10"
snd_mss_load="YES"
/boot/device.hints介绍:
hint.driver.unit.keyword=value
driver 是设备驱动程序名,unit 是设备驱动程序单位名,keyword 是 hint 关键字。
关键字可以由以下选项组成:
at:指明设备所绑定的总线
port:指明所使用 I/O 的起始地址。
irq:指明所使用的中断请求号。
drq:指明 DMA channel 号。
maddr:指明设备占用的物理内存地址。
flags:给设备设置各种标志位。
disabled:如果设成 1,设备被禁用。
其实/boot/loader.conf好象也是这样,我把它们都设在了/boot/loader.conf.具体解释查看 man loader.conf,man sound
评论