天嵌 ARM开发社区

 找回密码
 注册
查看: 4870|回复: 13

能进入QT界面,但是触摸屏点击无效

[复制链接]
基督123 发表于 2014-4-20 16:59:40 | 显示全部楼层 |阅读模式
内核启动信息
Booting Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux............................................................................................................................... done, booting the kernel.
Linux version 2.6.30.4-EmbedSky (root@localhost.localdomain) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #17 Sat Apr 19 20:18:27 CST 2014
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)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
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: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
NR_IRQS:85
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
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: 60712KB available (3480K code, 320K data, 252K init, 0K highmem)
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 936 bytes
NET: Registered protocol family 16
S3C Power Management, Copyright 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
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
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.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Apr 18 2014 09:55:31 Installing.
msgmni has been set to 118
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 60x34
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
s3c2440-uart.0: tq2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: tq2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: tq2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 10:23:45:67:89:ab
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000e at c486e000,c4872004 IRQ 51 MAC: 10:23:45:67:89:ab (EmbedSky)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 62 at 0x0000007c0000
Bad eraseblock 266 at 0x000002140000
Bad eraseblock 589 at 0x0000049a0000
Bad eraseblock 794 at 0x000006340000
Bad eraseblock 877 at 0x000006da0000
Bad eraseblock 890 at 0x000006f40000
Bad eraseblock 1821 at 0x00000e3a0000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000040000-0x000010000000 : "EmbedSky_Board_uboot"
0x000000200000-0x000000500000 : "EmbedSky_Board_kernel"
0x000000500000-0x000010000000 : "EmbedSky_Board_yaffs2"
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
TQ2440 TouchScreen successfully loaded
input: TQ2440 TouchScreen as /class/input/input0
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
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
s3c2440-sdi s3c2440-sdi: powered down.
ALSA device list:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2014-04-20 15:10:55 UTC (1398006655)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 252K
Start Qtopia-2.2.0
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
Try to bring net interface up ...
ifconfig eth0 hw ether 10:23:45:67:89:ab
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
add default gw 192.168.1.2
Done
open device leds: No such file or directory
[20/Apr/2014:15:11:03 +0000] boa: server version Boa/0.94.13
[20/Apr/2014:15:11:03 +0000] boa: server built Jul 29 2009 at 14:27:34.
[20/Apr/2014:15:11:03 +0000] boa: starting server pid=932, port 80
 楼主| 基督123 发表于 2014-4-20 17:01:17 | 显示全部楼层
能进行触摸校验,校验之后,在QT界面点击无效。
 楼主| 基督123 发表于 2014-4-20 17:06:48 | 显示全部楼层
还有声卡测试录音和播放音乐都不行  
[root@EmbedSky /]# cat /dev/sound/dsp > /tmp/abc.wav
^C
[root@EmbedSky /]# cat /tmp/abc.wav > /dev/sound/dsp
^C
^C

[root@EmbedSky /]# madplay /root/Documents/Test.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
          Title: 漫步人生路
         Artist: 张靓颖
          Album: 漫步人生路
           Year: 2005

[root@EmbedSky /]#
怎么回事,求解答?
wbz073 发表于 2014-4-21 09:07:44 | 显示全部楼层
基督123 发表于 2014-4-20 17:06
还有声卡测试录音和播放音乐都不行  
[root@EmbedSky /]# cat /dev/sound/dsp > /tmp/abc.wav
^C

直接用mplay播放看看,能不能播放
 楼主| 基督123 发表于 2014-4-21 13:24:35 来自手机 | 显示全部楼层
wbz073 发表于 2014-4-21 09:07
直接用mplay播放看看,能不能播放

上面试过了,不行,就卡在那个地方,没有声音。
一撇一捺 发表于 2014-4-21 13:59:40 | 显示全部楼层
基督123 发表于 2014-4-21 13:24
上面试过了,不行,就卡在那个地方,没有声音。

似乎要插入耳机才能听哦
wbz073 发表于 2014-4-21 14:37:07 | 显示全部楼层
基督123 发表于 2014-4-21 13:24
上面试过了,不行,就卡在那个地方,没有声音。

是不是你没接喇叭
lbn321 发表于 2014-4-21 16:23:16 | 显示全部楼层
可能是卡死,有可能你的qt初始化中,涉及到了浮点数计算的话,就会卡死。
因为天嵌给的arm版本的qt编译配置是不支持浮点计算的。
你要在后面添加浮点运算支持参数。具体可参考此贴http://www.armbbs.net/forum.php? ... t=qt%2B%B8%A1%B5%E3
 楼主| 基督123 发表于 2014-4-21 17:08:52 | 显示全部楼层
一撇一捺 发表于 2014-4-21 13:59
似乎要插入耳机才能听哦

谢了  这个还真不知道,插上耳机可以了
 楼主| 基督123 发表于 2014-4-21 17:11:01 | 显示全部楼层
wbz073 发表于 2014-4-21 14:37
是不是你没接喇叭

嗯 是的,插上耳机可以了,这个还真不知道,以为自带喇叭那   

触摸屏电机还是无效,能帮忙看一下吗
wbz073 发表于 2014-4-21 17:44:35 | 显示全部楼层
基督123 发表于 2014-4-21 17:11
嗯 是的,插上耳机可以了,这个还真不知道,以为自带喇叭那   

触摸屏电机还是无效,能帮忙看一下吗

先看串口信息,有没有加载上去
 楼主| 基督123 发表于 2014-4-21 18:46:47 | 显示全部楼层
wbz073 发表于 2014-4-21 17:44
先看串口信息,有没有加载上去

TQ2440 TouchScreen successfully loaded
input: TQ2440 TouchScreen as /class/input/input0
是这个吧   
wbz073 发表于 2014-4-22 09:00:49 | 显示全部楼层
基督123 发表于 2014-4-21 18:46
TQ2440 TouchScreen successfully loaded
input: TQ2440 TouchScreen as /class/input/input0
是这个吧 ...

恩,看提示信息以及正确加载了,应该是可以用的
 楼主| 基督123 发表于 2014-4-22 12:35:03 | 显示全部楼层
wbz073 发表于 2014-4-22 09:00
恩,看提示信息以及正确加载了,应该是可以用的

虽然加载上去了,为什么用不了啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-6-17 10:18 , Processed in 1.046875 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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