主题 : 请教一个在Micro2440上运行tinyx,usb鼠标的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 24583
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2010-07-10
最后登录: 2010-08-02
楼主  发表于: 2010-07-18 14:58

 请教一个在Micro2440上运行tinyx,usb鼠标的问题

管理提醒: 本帖被 qq2440 从 micro2440技术交流专区 移动到本区(2013-11-18)
因为一个项目需要,我在micro2440上移植了tinyx。系统上的bootloader,linux kernel都是使用micro2440配套光盘中提供的supervivi-128m和zImage-A70,仅仅是将文件系统由原来的qtopia换成了自己编译的tinyx。
现在的问题是进入系统后,在串口调试终端中运行tinyx的命令:
Xfbdev -mouse mouse -keyboard keybd &
后,虽然LCD 上显示出了X Window的界面和光标,但是鼠标不起作用。

我个人觉得应该不是驱动的问题,因为配套的zImage-A70中已经是包含了所有的驱动的啊,而且在设备列表dev中也有鼠标的文件mouse0。
# ls dev
1-1.4               network_latency     tty35
adc                 network_throughput  tty36
audio               null                tty37
backlight           pcmC0D0c            tty38
buttons             pcmC0D0p            tty39
camera              ptmx                tty4
console             pts                 tty40
controlC0           pwm                 tty41
cpu_dma_latency     random              tty42
device              root                tty43
dsp                 rtc0                tty44
event0              [0m     tty45
event1              s3c2410_serial1     tty46
fb0                 s3c2410_serial2     tty47
full                timer               tty48
i2c-0               tty                 tty49
kmsg                tty0                tty5
leds                tty1                tty50
loop0               tty10               tty51
loop1               tty11               tty52
loop2               tty12               tty53
loop2               tty12               tty53
loop4               tty14               tty55
loop5               tty15               tty56
loop6               tty16               tty57
loop7               tty17               tty58
mem                 tty18               tty59
mice                tty19               tty6
mixer               tty2                tty60
mouse0              tty20               tty61
mtd0                tty21               tty62
mtd0ro              tty22               tty63
mtd1                tty23               tty7
mtd1ro              tty24               tty8
mtd2                tty25               tty9
mtd2ro              tty26               urandom
mtd3                tty27               vcs
mtd3ro              tty28               vcs1
mtd4                tty29               vcs2
mtd4ro              tty3                vcsa
mtdblock0           tty30               vcsa1
mtdblock1           tty31               vcsa2
mtdblock2           tty32               watchdog
mtdblock3           tty33               zero
mtdblock4           tty34

请问有人在Micro2440上做过tinyx吗?能不能帮忙解决这个问题啊?

顺便弱问一个,上面dev的设备中哪一个是micro2440的7寸触摸屏啊?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-07-18 21:38
我想你最好先搞清楚你的鼠标对应的是哪一个设备节点
也许cat /proc/bus/input/devices会对你有所帮助
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."