Home › Forums › Forums › Technical Support for PiScreen › Touch Events non existent
- This topic has 15 replies, 3 voices, and was last updated 8 years, 2 months ago by Mark Williams.
- AuthorPosts
- May 12, 2015 at 2:29 am #3929FaultyTouchParticipant
Hi,
I’m trying to setup a preassembled PiScreen on a fresh, latest Wheezy image. I’ve managed to get the console and XWindow to display on the screen, and it displays the test image, command prompt and GUI just fine.
However, no touch events seem to be generated, ever. I’ve tried with evtest and ts_calibrate. The touch screen shows up as event1 (a keyboard is event0), and shows the name when I run:
cat /proc/bus/input/devices
.Any idea what could be causing this? I’ve updated the pi image, as well as tried rebooting and reinstalling drivers.
May 12, 2015 at 6:17 am #3931Mark WilliamsKeymasterI am sorry you are having issues.
Can you please test with this image;
https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.8.zipMark --OzzMaker.com --
May 12, 2015 at 6:35 am #3932FaultyTouchParticipantHi Mark,
Thank you for the prompt response!
Unfortunately, I’ve already tried with the prebuilt image. It gives me the same issue.
May 12, 2015 at 7:17 am #3933Mark WilliamsKeymastercan you show me the output of these three commands;
sudo vcdbg log msg cat /boot/config.txt cat /etc/modules
Also, can you please run ‘evtest’ and select the event next to ADS7846.
when it is running tap the touchscreen… you should see some data printed to the screen.
can you please show me this data.Mark --OzzMaker.com --
May 13, 2015 at 3:22 am #3944FaultyTouchParticipant#vcdbg log msg
gives:Unable to determine the value of __LOG_START
Unable to read logging_header from 0x00000000
cat /boot/config.txt
gives:# uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # for more options see http://elinux.org/RPi_config.txt gpu_mem=16 dtparam=spi=on dtoverlay=piscreen,speed=16000000,rotate=90
cat /etc/modules
gives:# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. snd-bcm2835
Running
evtest
starts the program, but tapping on the screen generates no data.May 13, 2015 at 9:45 am #3950Mark WilliamsKeymasterYou missed ‘sudo’ in front of ‘vcdbg log msg’
The command should be ‘sudo vcdbg log msg’Can you add ‘xohms=1’ to the config line in /etc/config.txt so i appears line the line below;
dtoverlay=piscreen,speed=16000000,rotate=90,xohms=1
and then rerun ‘sudo vcdbg log msg’.. and also test if you see any events with evtestMark --OzzMaker.com --
May 13, 2015 at 8:08 pm #3977FaultyTouchParticipantI didn’t miss the
sudo
. I’m logged in as the root user.I’m assuming you meant to edit
/boot/config.txt
. Doing so results in no change for thevcdbg
command, and still no data while runningevtest
.May 14, 2015 at 1:44 am #3978Mark WilliamsKeymasterI need to see the logs from ‘sudo vcdbg log msg’
Can you please run
sudo apt-get update && sudo apt-get upgrade
Then rerun
sudo vcdbg log msg
When you tested with PiScreenImage-SDCard-1.8.zip, did you make any other changes?
Mark --OzzMaker.com --
July 18, 2015 at 6:07 am #4187pZidEParticipantHi,
I’ve just received my PiScreen today. After setup and I cannot get touch events ๐I’ve tried to setup a preassembled PiScreen on a fresh, PiScreenImage-SDCard-1.8.zip. I’ve managed to get the console and XWindow to display on the screen, and it displays the test image, command prompt and GUI just fine.
But touch still doesn’t working. I get no output when I run:sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 ts_print
July 18, 2015 at 3:13 pm #4188Mark WilliamsKeymasterboot up with PiScreenImage-SDCard-1.8.zip.. then show me the output of
ls -l /dev/input
Mark --OzzMaker.com --
July 18, 2015 at 4:53 pm #4189pZidEParticipantls -l /dev/input total 0 drwxr-xr-x 2 root root 60 Jan 1 1970 by-path crw-rw---T 1 root input 13, 64 Jan 1 1970 event0 crw-rw---T 1 root input 13, 63 Jan 1 1970 mice crw-rw---T 1 root input 13, 32 Jan 1 1970 mouse0
July 18, 2015 at 5:48 pm #4190pZidEParticipantTo help you more, here is the outputs:
cat /proc/bus/input/devices I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="ADS7846 Touchscreen" P: Phys=spi0.1/input0 S: Sysfs=/devices/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0 U: Uniq= H: Handlers=mouse0 event0 B: PROP=0 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=1000003
sudo vcdbg log msg 000918.126: HDMI:EDID error reading EDID block 0 attempt 0 000919.390: HDMI:EDID error reading EDID block 0 attempt 1 000920.648: HDMI:EDID error reading EDID block 0 attempt 2 000921.906: HDMI:EDID error reading EDID block 0 attempt 3 000923.165: HDMI:EDID error reading EDID block 0 attempt 4 000924.424: HDMI:EDID error reading EDID block 0 attempt 5 000925.683: HDMI:EDID error reading EDID block 0 attempt 6 000926.941: HDMI:EDID error reading EDID block 0 attempt 7 000928.200: HDMI:EDID error reading EDID block 0 attempt 8 000929.458: HDMI:EDID error reading EDID block 0 attempt 9 000930.480: HDMI:EDID giving up on reading EDID block 0 000933.036: HDMI:Setting property pixel encoding to Default 000933.056: HDMI:Setting property pixel clock type to PAL 000933.075: HDMI:Setting property content type flag to No data 000933.096: HDMI:Setting property fuzzy format match to enabled 000938.555: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined 000938.577: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined 000938.599: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined 000938.619: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined 000938.640: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined 000938.662: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined 000938.681: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined 000938.703: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined 000938.724: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined 000938.746: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined 000938.767: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined 000938.788: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined 000938.808: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined 000957.939: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000957.965: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<< 000958.347: hdmi: HDMI:EDID error reading EDID block 0 attempt 0 000959.616: hdmi: HDMI:EDID error reading EDID block 0 attempt 1 000960.881: hdmi: HDMI:EDID error reading EDID block 0 attempt 2 000962.145: hdmi: HDMI:EDID error reading EDID block 0 attempt 3 000963.409: hdmi: HDMI:EDID error reading EDID block 0 attempt 4 000964.673: hdmi: HDMI:EDID error reading EDID block 0 attempt 5 000965.938: hdmi: HDMI:EDID error reading EDID block 0 attempt 6 000967.202: hdmi: HDMI:EDID error reading EDID block 0 attempt 7 000968.466: hdmi: HDMI:EDID error reading EDID block 0 attempt 8 000969.730: hdmi: HDMI:EDID error reading EDID block 0 attempt 9 000970.756: hdmi: HDMI:EDID giving up on reading EDID block 0 000970.786: hdmi: HDMI: No lookup table for resolution group 0 000970.804: hdmi: HDMI: hotplug attached with DVI support 000970.863: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000971.226: hdmi: HDMI:EDID error reading EDID block 0 attempt 0 000972.489: hdmi: HDMI:EDID error reading EDID block 0 attempt 1 000973.751: hdmi: HDMI:EDID error reading EDID block 0 attempt 2 000975.013: hdmi: HDMI:EDID error reading EDID block 0 attempt 3 000976.275: hdmi: HDMI:EDID error reading EDID block 0 attempt 4 000977.537: hdmi: HDMI:EDID error reading EDID block 0 attempt 5 000978.799: hdmi: HDMI:EDID error reading EDID block 0 attempt 6 000980.061: hdmi: HDMI:EDID error reading EDID block 0 attempt 7 000981.323: hdmi: HDMI:EDID error reading EDID block 0 attempt 8 000982.585: hdmi: HDMI:EDID error reading EDID block 0 attempt 9 000983.609: hdmi: HDMI:EDID giving up on reading EDID block 0 000983.669: hdmi: HDMI: hotplug deassert 000983.684: hdmi: HDMI: HDMI is currently off 000983.698: hdmi: HDMI: changing mode to unplugged 000983.722: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000984.476: *** Restart logging 000985.665: Read command line from file 'cmdline.txt' dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=rotate:0 fbcon=font:ProFont6x11 000990.215: Loading 'kernel7.img' from SD card 001226.763: Kernel trailer DTOK property says yes 001226.892: Loading 'bcm2709-rpi-2-b.dtb' from SD card 001261.934: Loaded overlay 'piscreen' 001305.304: dtparam: speed=16000000 001307.061: dtparam: rotate=90 001308.839: dtparam: spi=on 001312.115: dtparam: i2c_arm=off 001315.933: dtparam: arm_freq=1000000000 001376.011: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined 003466.453: vchiq_core: vchiq_init_state: slot_zero = 0xee800000, is_master = 1 003469.863: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 003473.558: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined 003473.582: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined 003473.603: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined 003473.622: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined 003473.644: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined 003473.666: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined 003473.686: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined 003473.708: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined 003473.729: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined 003473.751: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined 003473.773: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined 003473.793: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined 003473.814: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
cat /boot/config.txt # For more options and information see # http://www.raspberrypi.org/documentation/configuration/config-txt.md # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. arm_freq=1000 core_freq=500 sdram_freq=500 over_voltage=2 dtoverlay=piscreen,speed=16000000,rotate=90 gpu_mem=256 dtparam=spi=on dtparam=i2c_arm=off
cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. snd-bcm2835
July 18, 2015 at 5:53 pm #4191pZidEParticipantIf I add
xohms=1
todtoverlay=piscreen,speed=16000000,rotate=90
.
I get thissudo vcdbg log msg 000918.126: HDMI:EDID error reading EDID block 0 attempt 0 000919.390: HDMI:EDID error reading EDID block 0 attempt 1 000920.648: HDMI:EDID error reading EDID block 0 attempt 2 000921.906: HDMI:EDID error reading EDID block 0 attempt 3 000923.165: HDMI:EDID error reading EDID block 0 attempt 4 000924.424: HDMI:EDID error reading EDID block 0 attempt 5 000925.683: HDMI:EDID error reading EDID block 0 attempt 6 000926.941: HDMI:EDID error reading EDID block 0 attempt 7 000928.200: HDMI:EDID error reading EDID block 0 attempt 8 000929.458: HDMI:EDID error reading EDID block 0 attempt 9 000930.480: HDMI:EDID giving up on reading EDID block 0 000933.036: HDMI:Setting property pixel encoding to Default 000933.056: HDMI:Setting property pixel clock type to PAL 000933.075: HDMI:Setting property content type flag to No data 000933.096: HDMI:Setting property fuzzy format match to enabled 000938.555: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined 000938.577: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined 000938.599: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined 000938.619: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined 000938.640: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined 000938.662: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined 000938.681: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined 000938.703: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined 000938.724: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined 000938.746: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined 000938.767: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined 000938.788: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined 000938.808: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined 000957.939: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000957.965: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<< 000958.347: hdmi: HDMI:EDID error reading EDID block 0 attempt 0 000959.616: hdmi: HDMI:EDID error reading EDID block 0 attempt 1 000960.881: hdmi: HDMI:EDID error reading EDID block 0 attempt 2 000962.145: hdmi: HDMI:EDID error reading EDID block 0 attempt 3 000963.409: hdmi: HDMI:EDID error reading EDID block 0 attempt 4 000964.673: hdmi: HDMI:EDID error reading EDID block 0 attempt 5 000965.938: hdmi: HDMI:EDID error reading EDID block 0 attempt 6 000967.202: hdmi: HDMI:EDID error reading EDID block 0 attempt 7 000968.466: hdmi: HDMI:EDID error reading EDID block 0 attempt 8 000969.730: hdmi: HDMI:EDID error reading EDID block 0 attempt 9 000970.756: hdmi: HDMI:EDID giving up on reading EDID block 0 000970.786: hdmi: HDMI: No lookup table for resolution group 0 000970.804: hdmi: HDMI: hotplug attached with DVI support 000970.863: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000971.226: hdmi: HDMI:EDID error reading EDID block 0 attempt 0 000972.489: hdmi: HDMI:EDID error reading EDID block 0 attempt 1 000973.751: hdmi: HDMI:EDID error reading EDID block 0 attempt 2 000975.013: hdmi: HDMI:EDID error reading EDID block 0 attempt 3 000976.275: hdmi: HDMI:EDID error reading EDID block 0 attempt 4 000977.537: hdmi: HDMI:EDID error reading EDID block 0 attempt 5 000978.799: hdmi: HDMI:EDID error reading EDID block 0 attempt 6 000980.061: hdmi: HDMI:EDID error reading EDID block 0 attempt 7 000981.323: hdmi: HDMI:EDID error reading EDID block 0 attempt 8 000982.585: hdmi: HDMI:EDID error reading EDID block 0 attempt 9 000983.609: hdmi: HDMI:EDID giving up on reading EDID block 0 000983.669: hdmi: HDMI: hotplug deassert 000983.684: hdmi: HDMI: HDMI is currently off 000983.698: hdmi: HDMI: changing mode to unplugged 000983.722: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000984.476: *** Restart logging 000985.665: Read command line from file 'cmdline.txt' dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=rotate:0 fbcon=font:ProFont6x11 000990.215: Loading 'kernel7.img' from SD card 001226.763: Kernel trailer DTOK property says yes 001226.892: Loading 'bcm2709-rpi-2-b.dtb' from SD card 001261.934: Loaded overlay 'piscreen' 001305.304: dtparam: speed=16000000 001307.061: dtparam: rotate=90 001308.839: dtparam: spi=on 001312.115: dtparam: i2c_arm=off 001315.933: dtparam: arm_freq=1000000000 001376.011: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined 003466.453: vchiq_core: vchiq_init_state: slot_zero = 0xee800000, is_master = 1 003469.863: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 003473.558: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined 003473.582: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined 003473.603: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined 003473.622: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined 003473.644: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined 003473.666: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined 003473.686: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined 003473.708: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined 003473.729: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined 003473.751: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined 003473.773: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined 003473.793: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined 003473.814: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
July 18, 2015 at 6:01 pm #4192Mark WilliamsKeymasterCan you please a has in front of
dtparam=spi=on
and then reboot and let me know how it goes.Mark --OzzMaker.com --
July 18, 2015 at 7:04 pm #4193pZidEParticipantStill the same. No response on the touchscreen.
- AuthorPosts
- You must be logged in to reply to this topic.