搜索
bottom↓
回复: 1

飞凌OK2440开发板,移植linux2.6.28.7内核后,usb鼠标移动无反应

[复制链接]

出0入0汤圆

发表于 2013-8-22 10:13:14 | 显示全部楼层 |阅读模式
本帖最后由 happy803 于 2013-8-22 10:18 编辑

主机:ubuntu10.04 + vmware
开发板:飞凌OK2440
内核:linux2.6.28.7
交叉编译器:cross-3.4.1
文件系统:开发板自带的yaffs文件系统
bootloader:开发板自带的
问题描述:
移植后,屏幕正常显示到“welcome QtOpia”界面,提示点击鼠标继续,点击鼠标后无反应,移动鼠标,指针也不动,串口间隔打印如下信息:
usb 1-1: new low speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
input: PixArt USB Optical Mouse as /class/input/input0
generic-usb 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-s3c24xx-1/input0

但是使用开发板自带的zImage启动或者自带的已经修改好的内核启动,鼠标可以用。

请各位高手支招,这是什么原因导致的,已经困扰我很长时间了!

串口打印出的启动信息如下:

NAND ID is 0xecf1
Set boot params = root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320
Load Kernel...
Uncompressing Linux........................................................................................................................ done, booting the kernel.
Linux version 2.6.28.7 (lyj@lyj) (gcc version 3.4.1) #3 Wed Aug 21 22:44:49 CST 2013
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320
irq: clearing pending ext status 0005f600
irq: clearing subpending status 00000093
irq: clearing subpending status 00000092
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500d00, tcnt a2c1, tcfg 0000020f,00000030, usec 00001eb8
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60944KB available (3448K code, 312K data, 144K init)
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 484 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 119
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 40x30
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
dm9000 Ethernet Driver, V1.31
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
st: Version 20080504, fixed bufsize 32768, s/g segs 256
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 443 at 0x03760000
Bad eraseblock 444 at 0x03780000
Bad eraseblock 445 at 0x037a0000
Bad eraseblock 446 at 0x037c0000
Bad eraseblock 447 at 0x037e0000
Bad eraseblock 448 at 0x03800000
Bad eraseblock 449 at 0x03820000
Bad eraseblock 450 at 0x03840000
Bad eraseblock 451 at 0x03860000
Bad eraseblock 452 at 0x03880000
Bad eraseblock 453 at 0x038a0000
Bad eraseblock 454 at 0x038c0000
Bad eraseblock 455 at 0x038e0000
Bad eraseblock 456 at 0x03900000
Bad eraseblock 457 at 0x03920000
Bad eraseblock 458 at 0x03940000
Bad eraseblock 459 at 0x03960000
Bad eraseblock 460 at 0x03980000
Bad eraseblock 461 at 0x039a0000
Bad eraseblock 462 at 0x039c0000
Bad eraseblock 463 at 0x039e0000
Bad eraseblock 464 at 0x03a00000
Bad eraseblock 549 at 0x044a0000
Creating 5 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00100000 : "Boot"
0x00140000-0x00500000 : "MyApp"
0x00500000-0x00800000 : "Kernel"
0x00800000-0x04400000 : "fs_yaffs"
0x04400000-0x08000000 : "WINCE"
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 144K
usb 1-1: new low speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
input: PixArt USB Optical Mouse as /class/input/input0
generic-usb 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-s3c24xx-1/input0

init started: BusyBox v1.6.0 (2008-01-09 17:10:28 CST) multi-call binary

starting pid 908, tty '': '/etc/init.d/rcS'
mount: mounting none on /dev/pts failed
mount: mounting tmpfs on /dev/shm failed
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCSIFADDR: No such device

Please press Enter to activate this console. [9;0][?33l[?25lCannot open /dev/mouse1 (No such device)
Warning: Need to run firstuse
Warning: language message - en_US
Warning: and its not null
Warning: loading /usr/i18n/en_US/qt.qm
Warning: loading /usr/i18n/en_US/qpe.qm
Warning: loading /usr/i18n/en_US/libqpe.qm
Warning: loading /usr/i18n/en_US/libqtopia.qm
Warning: loading /usr/i18n/en_US/language.qm
Warning: loading /usr/i18n/en_US/timezone.qm
Warning: loading /usr/i18n/en_US/systemtime.qm

出0入0汤圆

 楼主| 发表于 2013-8-22 10:23:10 | 显示全部楼层
各位高手施与援手了,小弟在此表示感谢!
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-9 22:41

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表