Home of the Squeezebox™ & Transporter® network music players.
Page 13 of 22 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 219
  1. #121
    Senior Member
    Join Date
    Dec 2011
    Posts
    111

    5-inch HDMI touch screen with pCP 3.5.0

    hello,
    i have the proper entries in config.txt for this 800x480 display and visually it looks just fine.
    however touch is "off" that is, cursor is shown about an inch to the left of where the finger is.
    i've already tried ts_calibrate but to no effect.
    yes, i've made sure to backup with sudo filetool.sh -b

    i know the display itself is ok since all was ok with previous os, max2play.
    there all i had to do was the hdmi_* entries in config.txt.

    since others have claimed that 7" display worked out-of-the-box,
    i purchased one and it is on its way.
    but i sure would like to find the magic settings with pCP.
    please offer some ideas... since i'm pretty much out of them!

    update:
    i just read about xinput_calibrator but
    i see no such extension in pCP listed.
    is this any different than ts_calibrate?
    Last edited by pavowren; 2018-06-28 at 11:36.

  2. #122
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,275
    Ralphy is the expert here, but I'm pretty sure that Jivelite is only comparable with the tslibs. X windows stuff doesn't work for this application.


    Are you doing a backup after calibration, before rebooting? Without backing up, when rebooting, the old pointercal data is restored.

    run "pcp bu" after you run ts_calibrate.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #123
    Senior Member
    Join Date
    Dec 2011
    Posts
    111
    Quote Originally Posted by paul- View Post
    Ralphy is the expert here, but I'm pretty sure that Jivelite is only comparable with the tslibs. X windows stuff doesn't work for this application.


    Are you doing a backup after calibration, before rebooting? Without backing up, when rebooting, the old pointercal data is restored.

    run "pcp bu" after you run ts_calibrate.
    yes, backed up using sudo filetool.sh -b
    then, just now tried "pcp bu"
    reboot with jivelite and touch is still off as before.
    degree of offset seems to vary even as i'm playing around the screen;
    sometimes, cursor is off to north 1/2", to left 1", to south...etc.

    just to make sure, i retried the old max2play and the display behaved properly as before.
    so i know it's not the display hardware but some driver setting...
    do you know where the calibration data is stored?
    and how to adjust it manually?
    is that even feasible?

    i'm fearing that i'll have the same problem with the new 7" hdmi display i will be getting next week.

    UPDATE:
    here's what ts_calibrate shows:
    xres = 800, yres = 480
    Took 2 samples...
    Top left : X = 304 Y = 195
    Took 2 samples...
    Top right : X = 16296 Y = 248
    Took 2 samples...
    Bot right : X = 16283 Y = 9580
    Took 1 samples...
    Bot left : X = 25 Y = 9599
    Took 1 samples...
    Center : X = 8096 Y = 4942
    -0.362000 0.048365 0.000759
    -0.813110 -0.000050 0.049101
    Calibration constants: -23724 3169 49 -53288 -3 3217 65536

    here's what is currently in /usr/local/etc/pointercal
    3171 31 -235660 -9 3237 -411480 65536 800 480
    after calibration:
    3169 49 -23724 -3 3217 -53288 65536 800 480

    does it make any sense?
    elsewhere someone claimed success using xinput_calibrator, so how do i get this x... installed on pCP?
    Last edited by pavowren; 2018-06-28 at 15:22.

  4. #124
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,275
    Again, we don't support Xwindows. The pointercal file is the calibration file.

    That is the extent of my troubleshooting, ralphy is offline for a few days, I'm sure he will be able to assist when he gets back to a computer.


    The pointercal file that we supply with pCP is the calibration data for the 7" rpi screen, since you have been playing with yours, you will need to start with a fresh image when going to the 7" display.

    or change the file back to this.
    tc@piTouch:/mnt/sdb3$ cat /usr/local/etc/pointercal
    63975 7 724784 2 62927 574656 65536 800 480
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #125
    Senior Member
    Join Date
    Dec 2011
    Posts
    111
    Quote Originally Posted by paul- View Post
    Again, we don't support Xwindows. The pointercal file is the calibration file.

    That is the extent of my troubleshooting, ralphy is offline for a few days, I'm sure he will be able to assist when he gets back to a computer.


    The pointercal file that we supply with pCP is the calibration data for the 7" rpi screen, since you have been playing with yours, you will need to start with a fresh image when going to the 7" display.

    or change the file back to this.
    tc@piTouch:/mnt/sdb3$ cat /usr/local/etc/pointercal
    63975 7 724784 2 62927 574656 65536 800 480
    the hdmi display i'm getting is 7" with 1024x600,
    so i assume it'd require totally different values....

  6. #126
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    135
    Quote Originally Posted by pavowren View Post
    hello,
    i have the proper entries in config.txt for this 800x480 display and visually it looks just fine.
    however touch is "off" that is, cursor is shown about an inch to the left of where the finger is.
    i've already tried ts_calibrate but to no effect.
    yes, i've made sure to backup with sudo filetool.sh -b
    I hade a similar problem and found the solution here.
    Maybe it will help you too.

  7. #127
    Senior Member
    Join Date
    Dec 2011
    Posts
    111
    Quote Originally Posted by piPlayer View Post
    I hade a similar problem and found the solution here.
    Maybe it will help you too.
    thank you for the pointer, but after the change, no real difference.
    in my do_rebootstuff.sh, $eventno was already used,
    so i was not expecting any benefits...

    this pointer problem sure is frustrating.
    it seems to vary upon each boot; sometimes almost usable, sometimes not, etc.
    i'm hoping the resident expert Ralphy can help me. please...


    UPDATE:
    i forgot to do "pcp bu" after making changes to do_rebootstuff.
    but when i did the backup and rebooted, touch did not work at all!
    so back to the original do_rebootstuff and the same touch offset problem persists...
    Last edited by pavowren; 2018-06-30 at 08:03.

  8. #128
    Junior Member
    Join Date
    Feb 2016
    Location
    France
    Posts
    18
    Quote Originally Posted by pavowren View Post
    however touch is "off" ...
    Also have a look earlier in this thread (start around here).

    See what out put you get for ts_print – if you don't see the zero at the end of the line for the release point (where the touch lifts off the screen), then you have a similar problem to those of us using the 3.5" screen.

    If you have similar results, I fixed mine with what's in this post.

    Again, this resolution was for the 3.5" screen, directly connected to GPIO – ymmv.
    --
    Nick.

  9. #129
    Senior Member
    Join Date
    Dec 2011
    Posts
    111
    Quote Originally Posted by mongrel View Post
    Also have a look earlier in this thread (start around here).

    See what out put you get for ts_print – if you don't see the zero at the end of the line for the release point (where the touch lifts off the screen), then you have a similar problem to those of us using the 3.5" screen.

    If you have similar results, I fixed mine with what's in this post.

    Again, this resolution was for the 3.5" screen, directly connected to GPIO – ymmv.
    thank you for offering another thing to try...
    but how do i persist the changes to ts.conf?

    "It is necessary to add ts.conf to /opt/.filetool.lst in order to survive a reboot."

    i added /usr/local/etc/ts.conf as the first line in /opt/,filetool.lst
    but ts.conf is back to original after reboot.

    UPDATE:
    never mind, can't have that leading "/"
    after all that, touch is still off. wow.. should this be this hard?
    i consider myself half-way competent having been a developer in the old days,
    but this is about to get to me!

    where can i get an overview of system modules involved in jivelite and its graphics?
    has someone written it up somewhere?
    or is the source code only option (which i definitely do not want to delve into)?
    Last edited by pavowren; 2018-06-30 at 17:37.

  10. #130
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,719
    hi pavowren,

    FYI, piCorePlayer supports the Official 7" Raspberry Pi Foundation screen. We made that decision assuming the majority of users would use the screen designed specifically for the Raspberry Pi.

    As you are finding out, there are probably a hundred screens with many different specs.

    You need to also consider the resolution of the available jivelite skins. The 800 x 600 resolution skins get more development as they are compatible with the Official 7" RPi screen. There has been efforts for jivelite to support additional resolutions but typically, resolutions that meet the Official 7" RPi screen or the original Squeezebox resolutions get greater attention.

    regards
    Greg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •