- 论坛徽章:
- 0
|
uname -a:
Linux freescale 2.6.24.6 #4 PREEMPT Mon Oct 20 13:00:33 CST 2008 ppc unknown
文件系统用的debian的etch。只装了base system。能进去命令行终端,在板子上插上usb键盘&usb鼠标都能用。
插上usb键盘时开发机上的console shell输出如下:
[ 80.013973] usb 1-1: new low speed USB device using fsl-ehci and address 3 ?
[ 80.187763] usb 1-1: configuration #1 chosen from 1 choice ?
[ 80.214184] input: CHESEN USB Keyboard as /class/input/input1 ?
[ 80.250139] input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-fsl-ehci.0-1 ?
[ 80.300658] input: CHESEN USB Keyboard as /class/input/input2 ?
[ 80.350171] input: USB HID v1.10 Mouse [CHESEN USB Keyboard] on usb-fsl-ehci.0-1 ?
拔掉:
[ 451.743761] usb 1-1: USB disconnect, address 3 ?
插上usb鼠标时的输出:
[ 455.633980] usb 1-1: new low speed USB device using fsl-ehci and address 4 ?
[ 455.783847] usb 1-1: configuration #1 chosen from 1 choice ?
[ 455.797454] input: Genius NetScroll+Mini Traveler as /class/input/input3 ?
[ 455.830145] input: USB HID v1.10 Mouse [Genius NetScroll+Mini Traveler] on usb-fsl-ehci.0-1 ?
[ 528.939562] usb 1-1: USB disconnect, address 4
后来通过apt-get装了xorg,gnome等。重新加载内核,连接到开发板的显示器到了debian的登录界面,提示输入用户名和密码。但这时候键盘就不能用了。按键盘上的“num lock”和“caps lock”按键,右上角的提示灯都都不亮。插上光电的usb口鼠标却能用。插上usb键盘&usb鼠标时的输出同上。
再后来我仔细观察了开发机上的输出log:
8.110589] Looking up port of RPC 100005/1 on 192.168.0.100
[ 8.127728] VFS: Mounted root (nfs filesystem).
[ 8.132430] Freeing unused kernel memory: 180k init
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...done.
Setting the system clock..
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Cleaning up ifupdown....
Loading kernel modules...done.
Loading device-mapper support.
Checking file systems...fsck 1.40-WIP (14-Nov-2006)
WARNING: Your /etc/fstab does not contain the fsck passno
field. I will kludge around things for you, but you
should fix your /etc/fstab file as soon as you can.
done.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Setting up ALSA...done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting system message bus: dbus.
Starting Hardware abstraction layer: hald.
Starting mouse interface server: gpm.
* Not starting internet superserver: no services enabled.
Starting GNOME Display Manager: gdm.
Starting periodic command scheduler: crond.
在内核加载完usb驱动之后,按键盘上的“num lock”和“caps lock”按键,右上角的提示灯都是亮着的。但是在最后一句log输出之后(就是这句Starting periodic command scheduler: crond.),右上角的两个提示灯就灭了。
我的键盘就不能用了。真是郁闷极了。
还有,为什么我插上键盘时有两个input呢?而鼠标只有一个呢?
谢谢各位了。 |
|