嵌入式爱好者

查看: 6677|回复: 5

[Linux] 触摸屏无法使用

[复制链接]

10

主题

23

帖子

96

积分

AM335x通行证i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2019-8-14 15:52:18 | 显示全部楼层 |阅读模式
我在335x上接了个10.4寸的屏,屏幕显示正常,触摸功能不可用,启动时候打印信息如下:
[    5.152923] usbserial: USB Serial Driver core
[    5.157606] USB Serial support registered for GSM modem (1-port)
[    5.164287] usbcore: registered new inte**ce driver option
[    5.170102] option: v0.7.2:USB Driver for GSM modems
[    5.175479] USB Serial support registered for Vizzini USB serial port
[    5.182364] usbcore: registered new inte**ce driver vizzini
[    5.188288] USB Driver for Vizzini USB serial port: v.1.1
[    5.194122]  gadget: Mass Storage Function, version: 2009/09/11
[    5.200304]  gadget: Number of LUNs=1
[    5.204142]  lun0: LUN: removable file: (no medium)
[    5.209255]  gadget: Mass Storage Gadget, version: 2009/09/11
[    5.215269]  gadget: userspace failed to provide iSerialNumber
[    5.221360]  gadget: g_mass_storage ready
[    5.225568] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    5.231164] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[    5.239005] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    5.246103] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.253649] usb usb2: Product: MUSB HDRC host driver
[    5.258825] usb usb2: Manufacturer: Linux 3.2.0-g4977ff8-dirty musb-hcd
[    5.265733] usb usb2: SerialNumber: musb-hdrc.0
[    5.271401] hub 2-0:1.0: USB hub found
[    5.275368] hub 2-0:1.0: 1 port detected
[    5.280752] mousedev: PS/2 mouse device common for all mice
[    5.287179] <<-GTP-INFO->> GTP driver installing...
[    5.292418] <<-GTP-INFO->> GTP Driver Version: V2.2<2014/01/14>
[    5.298624] <<-GTP-INFO->> GTP Driver Built@17:00:33, Jul 25 2019
[    5.304992] <<-GTP-INFO->> GTP I2C Address: 0x14
[    5.309821] <<-GTP-INFO->> Guitar reset
[    5.444080] <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -121!
[    5.452137] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    5.460862] <<-GTP-INFO->> Guitar reset
[    5.584015] <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -121!
[    5.591460] <<-GTP-ERROR->> GTP i2c test failed time 1.
[    5.614015] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    5.622724] <<-GTP-INFO->> Guitar reset
[    5.744012] <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -121!
[    5.751455] <<-GTP-ERROR->> GTP i2c test failed time 2.
[    5.774016] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    5.782730] <<-GTP-INFO->> Guitar reset
[    5.904012] <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -121!
[    5.911455] <<-GTP-ERROR->> GTP i2c test failed time 3.
[    5.934011] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    5.942725] <<-GTP-INFO->> Guitar reset
[    6.064043] <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -121!
[    6.071490] <<-GTP-ERROR->> GTP i2c test failed time 4.
[    6.094011] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    6.102722] <<-GTP-INFO->> Guitar reset
[    6.224013] <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -121!
[    6.231458] <<-GTP-ERROR->> GTP i2c test failed time 5.
[    6.253394] <<-GTP-ERROR->> I2C communication ERROR!
[    6.258595] Goodix-TS: probe of 2-0014 failed with error -121
[    6.265106] usbcore: registered new inte**ce driver usbtouchscreen
[    6.272291] ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
[    6.278410] ft5x0x_ts 2-0038: report rate read failed
[    6.283624] ft5x0x_ts: probe of 2-0038 failed with error -121
[    6.292617] rtc-ds1307 1-0068: rtc core: registered ds1307 as rtc0
[    6.299111] rtc-ds1307 1-0068: 56 bytes nvram
[    6.303876] forlinx rx8010_probe
[    6.307415] rtc-rx8010 1-0032: Unable to write register #23
[    6.313229] i2c i2c-1: probing for rx8010 failed
[    6.318071] rtc-rx8010: probe of 1-0032 failed with error -121
[    6.324349] i2c /dev entries driver
[    6.328693] Linux video capture inte**ce: v2.00
[    6.333898] usbcore: registered new inte**ce driver uvcvideo
[    6.339892] USB Video Class driver (1.1.1)
[    6.345128] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    6.351578] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
[    6.358171] usbcore: registered new inte**ce driver bcm203x
[    6.364094] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    6.370089] usbcore: registered new inte**ce driver btusb
[    6.377162] cpuidle: using governor ladder
[    6.381918] cpuidle: using governor menu
[    6.393212] usbcore: registered new inte**ce driver usbhid
[    6.399078] usbhid: USB HID core driver
[    6.404269] tiadc tiadc: attached adc driver
[    6.411536] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    6.419364] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    6.427054] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    6.434744] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    6.445491] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    6.490579] ALSA device list:
[    6.493732]   #0: AM335X EVM
[    6.496735] oprofile: hardware counters not available
[    6.501999] oprofile: using timer interrupt.
[    6.506485] Netfilter messages via NETLINK v0.30.
[    6.511508] nf_conntrack version 0.5.0 (7985 buckets, 31940 max)
[    6.518244] ctnetlink v0.93: registering with nfnetlink.
[    6.524619] xt_time: kernel timezone is -0000
[    6.529419] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.535209] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    6.541900] arp_tables: (C) 2002 David S. Miller
[    6.546827] TCP cubic registered
[    6.550196] NET: Registered protocol family 17
[    6.554854] can: controller area network core (rev 20090105 abi 8)
[    6.561406] NET: Registered protocol family 29
[    6.566084] can: raw protocol (rev 20090105)
[    6.570541] can: broadcast manager protocol (rev 20090105 t)
[    6.576629] Bluetooth: RFCOMM TTY layer initialized
[    6.581741] Bluetooth: RFCOMM socket layer initialized
[    6.587117] Bluetooth: RFCOMM ver 1.11
[    6.591029] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.596580] Bluetooth: BNEP filters: protocol multicast
[    6.602031] Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
[    6.608683] Registering the dns_resolver key type
[    6.613694] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    6.621701] ThumbEE CPU extension supported.
[    6.626238] mux: Failed to setup hwmod io irq -22
[    6.631859] Power Management for AM33XX family
[    6.636764] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    6.643451] Copied the M3 firmware to UMEM
[    6.647802] Cortex M3 Firmware Version = 0x181
[    6.657797] clock: disabling unused clocks to save power
[    6.665576] Detected MACID=44:ea:d8:d3:b5:56
[    6.671317] cpsw: Detected MACID = 44:ea:d8:d3:b5:58
[    6.678726] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    6.687597] rtc-ds1307 1-0068: setting system clock to 2019-07-26 16:42:02 UTC (1564159322)
[    6.782957] UBIFS: recovery needed
[    7.024897] mmc0: host does not support reading read-only switch. assuming write-enable.
[    7.039393] UBIFS: recovery completed
[    7.043215] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    7.049506] UBIFS: file system size:   235540480 bytes (230020 KiB, 224 MiB, 1855 LEBs)
[    7.057870] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    7.065503] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    7.071586] UBIFS: default compressor: lzo
[    7.075863] UBIFS: reserved for root:  0 bytes (0 KiB)
[    7.083411] VFS: Mounted root (ubifs filesystem) on device 0:14.
[    7.091143] devtmpfs: mounted
[    7.095974] Freeing init memory: 1252K
[    7.126698] mmc0: new high speed SDHC card at address e624
[    7.134160] mmcblk0: mmc0:e624 SU16G 14.8 GiB
[    7.158237]  mmcblk0: p1
INIT: version 2.88 booting
Starting udev
[    8.282012] udev[775]: starting version 164
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
ALSA: Restoring mixer settings...
No state is present for card EVM
Found hardware: "AM335X_EVM" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card EVM
Configuring network inte**ces... [   10.619541] net eth0: CPSW phy found : id is : 0x4dd074
done.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting inetd daemon.
Starting syslogd/klogd: done
ts_open: No such file or directory
2019-07-26 16:42:05: (log.c.166) server started
[   12.614974] PHY: 0:00 - Link is Up - 1000/Full
Stopping Bootlog daemon: bootlogd.

请问这个是还要改驱动什么参数吗?
回复

使用道具 举报

10

主题

23

帖子

96

积分

AM335x通行证i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2019-8-14 15:53:45 | 显示全部楼层
还有个问题,将uboot界面的延时改为了0.现在想进uboot界面设置参数进去不怎么修改
点评回复 支持 反对

使用道具 举报

1

主题

3669

帖子

3923

积分

发表于 2019-8-15 17:21:39 | 显示全部楼层
uboot改为0后,不能进入uboot菜单了

点评

那该怎么重新烧写系统  详情 回复 发表于 2019-8-15 17:35
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

10

主题

23

帖子

96

积分

AM335x通行证i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2019-8-15 17:35:18 | 显示全部楼层
飞凌-chongzi 发表于 2019-8-15 17:21
uboot改为0后,不能进入uboot菜单了

那该怎么重新烧写系统
点评回复 支持 反对

使用道具 举报

1

主题

3669

帖子

3923

积分

发表于 2019-8-16 08:39:49 | 显示全部楼层
liukangkang 发表于 2019-8-15 17:35
那该怎么重新烧写系统

参考用户手册,用SD卡烧写镜像
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-23 22:41

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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