Pi2, Rune V03, 3.5 Touchpanel with no touchfunctionality

Raspberry Pi related support

Pi2, Rune V03, 3.5 Touchpanel with no touchfunctionality

Postby fremitus » 22 Jan 2017, 15:05

Hi all,

My configuration:
- Raspberry 2
- Rune V0.3
- 3.5 TFT from AliExpress similar with Waveshare screen

To get the TFT online i used following post (http://www.runeaudio.com/forum/waveshare-spotspear-3-5-touch-screen-working-with-rune-t3859.html#p16516. One remark here: pacman -S xf86-video-fbturbo didn't run on my installation in the right way ->
Code: Select all
"looking for conflicting packages...
:: xf86-video-fbturbo-git and xorg-server are in conflict (X-ABI-VIDEODRV_VERSION). Remove xorg-server? [y/N]....

To solve this conflict i confirmed the first step and installed the server again in a second step. But this is not my current problem....

The screen works very well but unfortunately without touchscreen functionality. I did run evtest and it worked:
Code: Select all
evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:   HP HP Link-5 micro dongle
/dev/input/event1:   HP HP Link-5 micro dongle
/dev/input/event2:   ADS7846 Touchscreen
Select the device event number [0-2]: 2
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "ADS7846 Touchscreen"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value   2830
      Min        0
      Max     4095
    Event code 1 (ABS_Y)
      Value    641
      Min        0
      Max     4095
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max    65535
Properties:
Testing ... (interrupt to exit)
Event: time 1485044728.358846, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1485044728.358846, type 3 (EV_ABS), code 0 (ABS_X), value 2165
Event: time 1485044728.358846, type 3 (EV_ABS), code 1 (ABS_Y), value 562


DISPLAY=:0.0 xinput_calibrator works too:
Code: Select all
Calibrating standard Xorg driver "ADS7846 Touchscreen"
   current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
   If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
INFO: width=480, height=320
   --> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
   Identifier   "calibration"
   MatchProduct   "ADS7846 Touchscreen"
   Option   "MinX"   "22095"
   Option   "MaxX"   "22277"
   Option   "MinY"   "49271"
   Option   "MaxY"   "49134"
   Option   "SwapXY"   "1" # unless it was already set to 1
   Option   "InvertX"   "0"  # unless it was already set
   Option   "InvertY"   "0"  # unless it was already set
EndSection


The values of MinX, MaxX, MinY, MaxY are very high...but i'm not sure if this could be the problem. Who can help?

regards Peer
fremitus
 
Posts: 2
Joined: 22 Jan 2017, 14:21

Re: Pi2, Rune V03, 3.5 Touchpanel with no touchfunctionality

Postby fremitus » 24 Jan 2017, 19:02

No Idea?
fremitus
 
Posts: 2
Joined: 22 Jan 2017, 14:21

Re: Pi2, Rune V03, 3.5 Touchpanel with no touchfunctionality

Postby PierreG64 » 05 Apr 2017, 17:38

Hi Fremitus,

I have the same problem but i'm a newbie. How do you reintall the server?
What are the command?

Regards,
Pierre

My hardware:
Rpi3
Runeaudio 0.4 beta 2016
waveshare 3.5
external dac in usb
PierreG64
 
Posts: 26
Joined: 11 Jun 2015, 20:46

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 14 guests