各位大牛:
就是内核里面的鼠标驱动我也编译过了,插上鼠标就显示下面代码怎么回事呢?会不会是因为不支持2.0版本呢?
root@am335x-evm:/# [ 3960.106018] usb 1-1: new low-speed USB device number 50 using musb-hdrc
[ 3960.116485] EXT3-fs error (device mmcblk0p2): ext3_find_entry: reading directory #266113 offset 0
[ 3960.126312] EXT3-fs (mmcblk0p2): I/O error while writing superblock
Jun 26 02:04:28 am335x-evm user.info kernel: [ 3960.106018] usb 1-1: new low-speed USB device number 50 using musb-hdrc
Jun 26 02:04:28 am335x-evm user.crit kernel: [ 3960.116485] EXT3-fs error (device mmcblk0p2): ext3_find_entry: reading directory #266113 offset 0
Jun 26 02:04:28 am335x-evm user.err kernel: [ 3960.126312] EXT3-fs (mmcblk0p2): I/O error while writing superblock
[ 3960.226013] usb 1-1: device descriptor read/64, error -71
Jun 26 02:04:28 am335x-evm user.err kernel: [ 3960.226013] usb 1-1: device descriptor read/64, error -71
鼠标设备可以识别,就是移动的时候不行。
qun zhou:
请问是不是因为驱动只支持1-1不支持2.0的鼠标啊,还有error 71请问是什么错误呢?
leo chen:
怎么感觉像是文件系统有问题
这个时候死机了吗?
qun zhou:
回复 leo chen:
您好,没有死机,这些都正常。就是无法识别,而且内核里我也编译了。
qun zhou:
回复 qun zhou:
各位大神请帮帮忙了,在am335x板子上测的是low-speed,但是在ubutun下就是full-speed,两个log对比在下面:
ubutun上[17767.076365] usb 1-2: new full-speed USB device number 4 using ohci-pci[17767.521647] usb 1-2: New USB device found, idVendor=093a, idProduct=2521[17767.521655] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0[17767.521659] usb 1-2: Product: USB OPTICAL MOUSE[17767.535928] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:06.0/usb1/1-2/1-2:1.0/input/input8[17767.536320] hid-generic 0003:093A:2521.0003: input,hidraw1: USB HID v1.11 Mouse [USB OPTICAL MOUSE] on usb-0000:00:06.0-2/input0
am335x板子上am335x-evm login: [ 138.955627] usb 1-1: new low-speed USB device number 2 using musb-hdrc[ 139.098815] usb 1-1: New USB device found, idVendor=093a, idProduct=2521[ 139.106201] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0[ 139.114013] usb 1-1: Product: USB OPTICAL MOUSE[ 139.126037] input: USB OPTICAL MOUSE as /devices/platform/omap/musb-ti81xx/musb-hdrc.1/usb1/1-1/1-1:1.0/input/input2[ 139.137664] generic-usb 0003:093A:2521.0001: input: USB HID v1.11 Mouse [USB OPTICAL MOUSE] on usb-musb-hdrc.1-1/input0
请各位帮帮忙了。