Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 61
  1. #31
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    120
    Quote Originally Posted by bondav View Post
    Do you know why I see my touchscreen in my devices?
    Which waveshare model do you have? Is there any other hardware such as a soundcard, an IR receiver or similar connected?

  2. #32
    Junior Member
    Join Date
    Oct 2018
    Posts
    9
    Quote Originally Posted by piPlayer View Post
    Which waveshare model do you have? Is there any other hardware such as a soundcard, an IR receiver or similar connected?
    I have a Waveshare Raspberry Pi 5" LCD HDMI 800*480 (A version). I just have a usb dac (It doesn't appear bellow?) and a usb mouse connected(no IR or soundcard). It's a pi3 B.

    tc@piCorePlayer:~$ cat /proc/bus/input/devices
    I: Bus=0003 Vendor=1bcf Product=0005 Version=0110
    N: Name="USB Optical Mouse"
    P: Phys=usb-3f980000.usb-1.2/input0
    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:1BCF:0005.0001/input/input0
    U: Uniq=
    H: Handlers=mouse0 event0
    B: PROP=0
    B: EV=17
    B: KEY=1f0000 0 0 0 0 0 0 0 0
    B: REL=143
    B: MSC=10

  3. #33
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    120
    Quote Originally Posted by bondav View Post
    I have a Waveshare Raspberry Pi 5" LCD HDMI 800*480 (A version).
    I think the touchscreen of this model has an SPi interface. Have you enabled the SPI interface in the config.txt file?

  4. #34
    Junior Member
    Join Date
    Oct 2018
    Posts
    9
    Quote Originally Posted by piPlayer View Post
    I think the touchscreen of this model has an SPi interface. Have you enabled the SPI interface in the config.txt file?
    No, can you say me how to do that?

    Thanks

  5. #35
    Junior Member
    Join Date
    Nov 2018
    Location
    Austria
    Posts
    12

    touchscreen

    Hi bondav,
    this was working for me.
    https://www.raspberrypi.org/forums/v...c.php?t=143581
    Still I have the problem with the offset and not being able to calibrate it.
    Cheers

  6. #36
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    120
    Quote Originally Posted by bondav View Post
    No, can you say me how to do that?
    On the ssh commandline you have to open the file config.txt with an editor like "nano" ...
    sudo nano /mnt/mmcblk0p1/config.txt
    ... and you must enable the line:
    dtparam=i2c=on,spi=on,i2s=on
    Additionaly You have to add the following line at the end of the file:
    dtoverlay=ads7846,speed=1000000,penirq=17,penirq_p ull=2,swapxy=1,xmin=200,xmax=3900,ymin=200,ymax=39 00,pmax=255,xohms=60
    Then You have to save the config.txt file and backup your settings:
    sudo filetool.sh -b

  7. #37
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    120
    Quote Originally Posted by piPlayer View Post
    dtoverlay=ads7846,speed=1000000,penirq=17,penirq_p ull=2,swapxy=1,xmin=200,xmax=3900,ymin=200,ymax=39 00,pmax=255,xohms=60
    Sorry there was a blank space in the line.
    You have to remove it here:
    penirq_pull=2

  8. #38
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    120
    Hello, it's me again. It looks like the line for the 5" model is a little bit different to the 3.5" and 4" models. If the line above did not work, you can test this line:
    dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,spe ed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=15 0,xmin=200,xmax=3900,ymin=200,ymax=3900

  9. #39
    Junior Member
    Join Date
    Aug 2013
    Posts
    6
    Quote Originally Posted by piPlayer View Post
    What is the output when You do that?
    ts_calibrate
    ts_finddev
    ts_harvest
    ts_print
    ts_print_mt
    ts_print_raw
    ts_test
    ts_test_mt
    ts_uinput
    ts_verify

  10. #40
    Junior Member
    Join Date
    Nov 2018
    Location
    Austria
    Posts
    12
    Hi piPlayer
    On the ssh commandline you have to open the file config.txt with an editor like "nano" ...
    sudo nano /mnt/mmcblk0p1/config.txt
    Thats the thing that is just not working - i can only edit the config.txt of the boot partition if I edit the content of the micro sd card on an other machine.
    I tried to mount it manually - not working - any ideas?

Posting Permissions

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