di fe0 config> di ex0 config> di ep0 config> di cs0 config> di wt0 config> di wdc1 config> di scd0 config> di mcd0 config> di matcdc0 config> di bt0 config> di aha0 config> di adv0 config> en。FreeBSD基礎(chǔ)點(diǎn)滴( 二 )。" />

日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

FreeBSD基礎(chǔ)點(diǎn)滴( 二 )


config> di fe0
config> di ex0
config> di ep0
config> di cs0
config> di wt0
config> di wdc1
config> di scd0
config> di mcd0
config> di matcdc0
config> di bt0
config> di aha0
config> di adv0
config> en ed0
config> po ed0 0x300
config> ir ed0 5
config> iom ed0 0xd8000
config> f ed0 0
config> q
avail memory = 5476352 (5348K bytes)
Preloaded elf kernel "kernel" at 0xf0340000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xf034009c.
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags="0x0">
ed0 at 0x300-0x31f irq 5 on isa
ed0: address 00:80:29:b1:f2:61, type NE2000 (16 bit)
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 not found at 0x2f8
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0):
wd0: 407MB (833664 sectors), 1002 cyls, 16 heads, 52 S/T, 512 B/S
ppc0 at 0x3bc irq 7 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
nlpt0: on ppbus 0
nlpt0: Interrupt-driven port
ppi0: on ppbus 0
plip0: on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
changing root device to wd0s1a


--------------------------------------------------------------------------------
在FreeBSD 4.0下安裝USB鼠標(biāo)支持

Benn Bollay
www.freebsddiary.org
要想讓你的USB鼠標(biāo)在FreeBSD 4.0 Release下工作 , 請(qǐng)按以下這些簡(jiǎn)單的步驟操作:
先在內(nèi)核配置文件中加入下列適當(dāng)?shù)慕涌谠O(shè)備選項(xiàng):

device uhci
device ohci
device usb
device ums

再在/etc/rc.conf中加入以下這些行:

moused_enable="NO"
moused_flags="/dev/ums0"
usbd_enable="YES"
usbd_flags=""

最后確保你的/etc/usbd.conf有以下這些行:

device "Mouse"
devname "ums[0-9] "
attach "/usr/sbin/moused -p /dev/${DEVNAME} -l /var/run/moused.${DEVNAME}.pid"

然后制出設(shè)備接口:

cd /dev
./MAKEDEV ums0

重新編譯內(nèi)核后重啟系統(tǒng) 。在此我還是推薦你在嘗試新內(nèi)核前把原有內(nèi)核/kernel復(fù)制一份到/kernel.stable , 這樣就算有什么問題還可以用手邊的原內(nèi)核啟動(dòng) 。

參考文檔和手冊(cè)頁(yè)
推薦你多看看下面這些手冊(cè)頁(yè):
usb(4)
usbd(8)
usbd.conf(5)
usbdevs(8)
ums(4)
如果你在X11下也用鼠標(biāo)的話 , 這種即用式設(shè)備真的工作得非常好 , 它支持熱插拔 , 而且無(wú)需手工發(fā)送HUP信號(hào) 。

推薦閱讀