Results 151 to 160 of 178
-
2019-01-06, 09:50 #151
- Join Date
- Jan 2019
- Location
- Russia
- Posts
- 7
-
2019-01-07, 06:03 #152Ralphy
1-Touch, 5-Classics, 3-Booms, 1-UE Radio
Squeezebox client builds donations always appreciated.
-
2019-01-22, 16:21 #153
Hi guys,
The "&" at the end of the jivelite command is causing me problems. It creates lots of occurrences of jivelite to be created. Look via $ ps.
I have been working on getting the script as generic as possible. The commented commands have been eliminated as NOT being a mandatory requirement. The EVENTNO is required because if you plug in a USB keyboard the input numbering scheme changes the touchscreen event number. I can't get udev to assign an alias, anyone done that?
Code:#!/bin/sh #export SDL_VIDEO_FBCON_ROTATION=UD #export HOME=/home/tc #export JIVE_FRAMERATE=22 #/usr/sbin/fbset -depth 32 #export SDL_TOUCHSCREEN=1 #TSLIB_CALIBFILE=/usr/local/etc/pointercal #export SDL_MOUSEDEV=$TSLIB_TSDEVICE #sudo -E -b /opt/jivelite/bin/jivelite.sh >/dev/null 2>&1 EVENTNO=$(cat /proc/bus/input/devices | awk '/ADS7846 Touchscreen/{for(a=0;a>=0;a++){getline;{if(/mouse/==1){ print $NF;exit 0;}}}}') export JIVE_NOCURSOR=1 export SDL_VIDEODRIVER=fbcon export SDL_FBDEV=/dev/fb1 export TSLIB_TSDEVICE=/dev/input/$EVENTNO export SDL_MOUSEDRV=TSLIB while true; do /opt/jivelite/bin/jivelite sleep 3 done
Greg
-
2019-02-01, 03:46 #154
- Join Date
- Jan 2017
- Location
- Germany, Bortfeld
- Posts
- 3
-
2019-02-01, 03:47 #155
- Join Date
- Jan 2017
- Location
- Germany, Bortfeld
- Posts
- 3
Hello streampunk
I am just trying to set up the jivelite with a similar screen like you use! I am wondering which files you did not use in nowhinjing's instructions?
What I do not understand in this instruction are the two modprobe sets. I am really a noob with linux, but I understand that there are made some initialisations, which may not fit to my display. Especially reset and dc, the other ones aren't clear anyhow.
Maybe you can share your differences in complete!
Thank you in advance
Christoph
-
2019-02-06, 06:17 #156
- Join Date
- Mar 2016
- Posts
- 3
-
2019-02-09, 21:56 #157
- Join Date
- Sep 2015
- Posts
- 58
@madmax - try this
Are you using PCP 4.1 ?
Are you using a waveshare 3.5inch 480 x 320 screen ?
If so, try this
Code:Set-up piCorePlayer to use the TFT screen - using Win32DiskImager or Etcher write the piCorePlayer image that you downloaded previously to your SD card. - with your SD card still in the windows machine, use explorer to edit the following files : - cmdline.txt to match that shown in to current webpage instructions. - config.txt to match that shown in to current webpage instructions. - eject the SD card from the windows machine, - place the SD card in the Raspberry Pi [Rpi], connect to Ethernet and power on, - run Advanced IP Scanner to identify the IP address used by the Rpi, now loaded with the PiCorePlayer PCP image - enter this address into your browser to bring up the PCP web interface, - go to the Main Page and at the bottom select Beta mode, - still on the Main Page select the Extensions button at the end of the second section. - select the piCorePlayer sourceforge repository and click the Set button - select the appropriate touchscreen-... tcz extension from the repository and click on the Load button. - Check that the extension has loaded, and remember to hit the Reset button before returning to the Main Page - run WinSCP and log into PCP using the address obtained from Advanced IP Scanner with username tc / password (piCore), - using WinSCP, edit /opt/bootlocal.sh to include the following 2 lines, modprobe flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0x55,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x00,0x00,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0x36,0x28,-1,0x11,-1,0x29,-3 (line 1) modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset:25,dc:24 (line 2) - on PCP web interface Main Page select the Backup button from the second section to backup the changes, - on PCP web interface Main Page select the Reboot button from the first section. Following the reboot you should now have piCorePlayer output on your TFT screen.
Good Luck !
-
2019-02-10, 03:46 #158
- Join Date
- Dec 2018
- Posts
- 7
Screensaver issues?
Hey all,
I just got a 3.5" pitft display working, mainly using the info in this post:
https://forums.slimdevices.com/showt...l=1#post913389 , and the this page: http://www.pughx2.com/picore3.html .
However, not having any luck with screensavers. When I use the clock, nothing appears (just a blank screen), and when I chose "turn off display", I get the same blank screen, but still fully backlit.
Anything I can do to proceed?
-
2019-02-10, 07:58 #159
Turn off will only work with the rpi display.
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2019-02-10, 14:53 #160
- Join Date
- Dec 2018
- Posts
- 7
Dang.
Thanks
Sent from my Redmi Note 4X using Tapatalk