免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3378 | 回复: 11
打印 上一主题 下一主题

5.4安装时usb键盘无响应 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-23 22:41 |只看该作者 |倒序浏览
我是一台DELL的机器,只有USB的键盘,无ps的端口。安装freebsd的时候,在Boot这一页键盘还有效,可是到了选择安装的时候就无效了。请问怎么办

论坛徽章:
0
2 [报告]
发表于 2005-07-24 07:11 |只看该作者

5.4安装时usb键盘无响应

我是又买了一个PS/2键盘,你这种情况就不知道了。。。

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
3 [报告]
发表于 2005-07-24 07:31 |只看该作者

5.4安装时usb键盘无响应

用光盘/软盘开机
在主菜单上安6, 进入命令行
然后输入 "set hint.atkbd.0.flags=0x1"
再输入 "boot" 起动
?键盘就能正常使用


解决单人模式使用USB键盘方法也很简单
在 /boot/loader.conf 加入一行 "hint.atkbd.0.flags=0x1" 就成

但要注意一点,USB键盘不能经过USB HUB中转

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
4 [报告]
发表于 2005-07-24 07:32 |只看该作者

5.4安装时usb键盘无响应

问题:由于某些电脑(DELL新款的型号)没有PS/2接口,不能接PS/2键盘,只有USB键盘,可能装5.3时启动到sysinstall界面后键盘不能用(希望5.4以后能解决),不能进行安装.
本文用三张启动盘,通过COM口将信息转发到其他电脑进行安装.
步骤:
1.在FreeBSD机器上用dd做好三张启动盘.
代码:
dd if=boot.flp of=/dev/fd0
dd if=kern1.flp of=/dev/fd0
dd if=kern2.flp of=/dev/fd0


2.挂上第一张启动盘,即boot.flp的那张.
代码:
mount /dev/fd0 /mnt/floppy


3.编辑文件
a.文件/mnt/floppy/boot/loader.conf加入一行:
代码:

console="comconsole"

b.转到目录/mnt/floppy下,建一文件,文件名:boot.config,内容
代码:
-h


这样用NULL MODEM线将两台电脑的COM口连接,用上述改造过的软盘启动,即可将信息从COM口发出.

在本机启动时的信息:
代码:

/boot.config -h

BTX loader 1.00 BTX version is 1.0.1


以下是从COM接收到的信息(部分):
代码:

哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪

, ,
/( )`
Welcome to FreeBSD! ___ / |
/- _ `-/ '
(// /
1. Boot FreeBSD [default] / / | `
2. Boot FreeBSD with ACPI disabled O O ) / |
3. Boot FreeBSD in Safe Mode `-^--'`< '
4. Boot FreeBSD in single user mode (_.) _ ) /
5. Boot FreeBSD with verbose logging `.___/` /
6. Escape to loader prompt `-----' /
7. Reboot <----. __ / __
<----|====O)))==) ) /====
<----' `--' `.__,'
| |
/ /
Select option, [Enter] for default ______( (_ / ______/
or [Space] to pause timer -1 ,' ,-----' |
哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪 `--{__________)

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2399.33-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff
real memory = 268369920 (255 MB)
avail memory = 248877056 (237 MB)
ACPI APIC Table:
pnpbios: Bad PnP BIOS data checksum
ioapic0: Changing APIC ID to 1
ioapic1: Changing APIC ID to 2
ioapic2: Changing APIC ID to 3
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 irqs 0-15 on motherboard
ioapic1 irqs 16-31 on motherboard
ioapic2 irqs 32-47 on motherboard
npx0: [FAST]
npx0: on motherboard
npx0: INT 16 interface
acpi0: on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 800, 1a (4) failed
acpi_timer0: couldn't allocate resource (port 0x80
cpu0: on acpi0
pcib0: on acpi0
pci0: on pcib0
em0: port 0xecc0-0xecff mem 0xfe100000-0xfe11ffff irq 17 at device 2.0 on pci0
em0: Ethernet address: 00:c0:9f:2e:a6:d1
em0: Speed:N/A Duplex:N/A
ahc0: port 0xe800-0xe8ff mem 0xfe123000-0xfe123fff irq 27 at device 7.0 on pci0
ahc0: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: port 0xe400-0xe4ff mem 0xfe122000-0xfe122fff irq 28 at device 7.1 on pci0
ahc1: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pci0: at device 8.0 (no driver attached)
atapci0: port 0x900-0x90f,0x36c-0x36f,0x168-0x16f,0x3ec-0x3ef,0x1e8-0x1ef irq 11 at device 14.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
atapci1: port 0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
ohci0: mem 0xfe120000-0xfe120fff irq 3 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isab0: at device 15.3 on pci0
isa0: on isab0
fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive>; on fdc0 drive 0
atkbdc0: port 0x64,0x60 irq 1 on acpi0
atkbd0: flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
sio0: <16550A-compatible COM port>; port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: on ppc0
plip0: on ppbus0
lpt0: on ppbus0
lpt0: Interrupt-driven port
ppi0: on ppbus0
acpi_timer0: couldn't allocate resource (port 0x80
orm0: at iomem 0xec000-0xeffff,0xe3000-0xea7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>;
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2399331960 Hz quality 800
Timecounters tick every 10.000 msec
md0: Preloaded image 4423680 bytes at 0xc0a217f0
ad0: 117246MB [238216/16/63] at ata0-master UDMA100
Interrupt storm detected on "irq11: atapci0"; throttling interrupt source
acd0: CDROM at ata2-master UDMA33
Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
Mounting root from ufs:/dev/md0
/stand/sysinstall running as init on serial console

These are the predefined terminal types available to
sysinstall when running stand-alone. Please choose the
closest match for your particular terminal.

1 ...................... Standard ANSI terminal.
2 ...................... VT100 or compatible terminal.
3 ...................... FreeBSD system console (color).
4 ...................... FreeBSD system console (monochrome).
5 ...................... xterm terminal emulator.

Your choice: (1-5)


接下来就是sysinstall界面,安装就不说了.希望对一些朋友有点帮助.

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
5 [报告]
发表于 2005-07-24 10:29 |只看该作者

5.4安装时usb键盘无响应

呵~~

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
6 [报告]
发表于 2005-07-24 10:32 |只看该作者

5.4安装时usb键盘无响应

[quote]原帖由 "congli"]呵~~[/quote 发表:

我没实验,不过是老兄的帖子里面贴的,我收藏的,借花献佛了,呵呵

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
7 [报告]
发表于 2005-07-26 01:13 |只看该作者

5.4安装时usb键盘无响应

兄弟们研究这么久,就没仔细看过beastie的界面么……
里面有一项就是
Boot FreeBSD with USB keyboard

不过好像5.3没有,但是也有办法
在beastie里面选下面这项
Escape to loader prompt
输入
hint.atkbd.0.flags="0x1"
然后就可以了



老大,我点错了,本来想点引用的,没想到习惯让我点到了编辑,原谅我。

[ 本帖最后由 zero-B 于 2006-4-18 23:36 编辑 ]

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
8 [报告]
发表于 2005-07-26 08:28 |只看该作者

5.4安装时usb键盘无响应

原帖由 "quakelee" 发表:
兄弟们研究这么久,就没仔细看过beastie的界面么……
里面有一项就是
Boot FreeBSD with USB keyboard

不过好像5.3没有,但是也有办法
在beastie里面选下面这项
Escape to loader prompt
输入
hint.atkbd.0..........

第一种方法就是这个啊,等下我找个usb键盘试试去,呵呵

论坛徽章:
0
9 [报告]
发表于 2005-07-26 14:53 |只看该作者

5.4安装时usb键盘无响应

7上面的kbdmux应该会解决这个问题

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
10 [报告]
发表于 2005-07-26 15:56 |只看该作者

5.4安装时usb键盘无响应

[quote]原帖由 "delphij"]7上面的kbdmux应该会解决这个问题[/quote 发表:

7什么时候才release?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP