主题 : linux下 qq2440 usb鼠标不好用 是怎么回事? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 128
精华: 0
发帖: 28
金钱: 270 两
威望: 27 点
综合积分: 56 分
注册时间: 2008-02-20
最后登录: 2009-03-12
楼主  发表于: 2008-05-04 11:11

 linux下 qq2440 usb鼠标不好用 是怎么回事?

在开发板上 用的是自带的linux内核和文件系统,先插好usb鼠标,然后开机,经常性的usb鼠标驱不上(极少数情况下好用),谁遇到过这个情况,是怎么解决的,请指点小弟一下。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-05-04 11:55
我建议你可以先试试不插USB鼠标启动,等系统启动后再插入鼠标,然后把dmesg的输出贴出来
"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."
级别: 新手上路
UID: 128
精华: 0
发帖: 28
金钱: 270 两
威望: 27 点
综合积分: 56 分
注册时间: 2008-02-20
最后登录: 2009-03-12
2楼  发表于: 2008-05-05 09:22
usb 1-1: new low speed USB device using s3c2410-ohci and address 2
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
usb 1-1: new low speed USB device using s3c2410-ohci and address 6
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad
上面是先插usb鼠标 再开机 串口的显示

先开机 再插鼠标 串口输出如下:
usb 1-1: new low speed USB device using s3c2410-ohci and a
ddress 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new low speed USB device using s3c2410-ohci and address 3
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new low speed USB device using s3c2410-ohci and address 4
usb 1-1: device not accepting address 4, error -110
usb 1-1: new low speed USB device using s3c2410-ohci and address 5
usb 1-1: device not accepting address 5, error -110

请帮帮忙 看看是不是qq2440自带的内核驱动 有问题 应该怎么改?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-05-05 09:41
看起来更像是USB cable的问题,你试过换一个鼠标或者用U盘吗?
"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."
级别: 新手上路
UID: 128
精华: 0
发帖: 28
金钱: 270 两
威望: 27 点
综合积分: 56 分
注册时间: 2008-02-20
最后登录: 2009-03-12
4楼  发表于: 2008-05-05 09:59
恩 换过好几个鼠标了 都是这样的
u盘每次都能正确使用
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2008-05-05 11:56
把S3C2440A的USB device driver的Debug选项打开看看吧
"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."
级别: 新手上路
UID: 128
精华: 0
发帖: 28
金钱: 270 两
威望: 27 点
综合积分: 56 分
注册时间: 2008-02-20
最后登录: 2009-03-12
6楼  发表于: 2008-05-06 08:30
是在 make menuconfig里 选择debug吧 但是这样能看出什么呢 请指教 我看串口输出也没有什么变化呀
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2008-05-06 09:12
Debug选项怎么打开,该看什么,老实说我不确定,这得要你看源代码才知道
"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."
级别: 新手上路
UID: 128
精华: 0
发帖: 28
金钱: 270 两
威望: 27 点
综合积分: 56 分
注册时间: 2008-02-20
最后登录: 2009-03-12
8楼  发表于: 2008-05-07 08:39
哦 谢谢版主