Re: [SlimDevices: Unix] Extreme SD card support flakiness
Month later and I think I have a good ending to this story. First, RPi support for SD cards HAS issues: https://elinux.org/RPi_SD_cards Having seen this page the day of my last post, in a last ditch effort I ransacked all nearby devices and discovered Toshiba's card in one of the family phones. After short break in the phone's usage :) I put the card into the RPi, set up PCP and... no issues whatsoever for the whole month! So I guess this case is solved - hardware incompatibility. Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Extreme SD card support flakiness
Unfortunately it doesn't go away - I think I'll just sell it and buy some android box with digital output... Here is how it dies (just tried to refresh LMS library after some time idle): [660378.888722] mmc0: fsm 1, hsts 1 [660378.888725] mmc0: PIO read timeout - EDM 10861 [660378.04] mmc0: Problem switching card into high-speed mode! [660378.892522] mmc0: unexpected command 25 error [660378.892605] mmcblk0: error -84 sending status command, retrying [660378.892629] mmcblk0: error -84 sending status command, retrying [660378.892652] mmcblk0: error -84 sending status command, aborting [660378.892749] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:323: I/O error 10 writing to inode 32782 (offset 0 size 0 starting block 63461) [660378.892761] Buffer I/O error on device mmcblk0p2, logical block 26593 [660378.892764] Buffer I/O error on device mmcblk0p2, logical block 26594 [660378.892767] Buffer I/O error on device mmcblk0p2, logical block 26595 [660378.892770] Buffer I/O error on device mmcblk0p2, logical block 26596 [660378.892801] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:323: I/O error 10 writing to inode 32782 (offset 0 size 0 starting block 63489) [660378.892805] Buffer I/O error on device mmcblk0p2, logical block 26609 [660378.892808] Buffer I/O error on device mmcblk0p2, logical block 26610 [660378.892812] Buffer I/O error on device mmcblk0p2, logical block 26611 [660378.892815] Buffer I/O error on device mmcblk0p2, logical block 26612 [660378.892820] Buffer I/O error on device mmcblk0p2, logical block 26613 [660378.892823] Buffer I/O error on device mmcblk0p2, logical block 26614 [660378.892841] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:323: I/O error 10 writing to inode 32779 (offset 0 size 0 starting block 111299) [660378.892855] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:323: I/O error 10 writing to inode 32779 (offset 0 size 0 starting block 111547) [660378.893024] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:323: I/O error 10 writing to inode 32779 (offset 0 size 0 starting block 111550) [660378.893130] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:323: I/O error 10 writing to inode 32812 (offset 420864 size 45056 starting block 134088) [660378.893146] print_req_error: I/O error, dev loop9, sector 21912 [660378.893163] Aborting journal on device mmcblk0p2-8. [660378.893191] SQUASHFS error: squashfs_read_data failed to read block 0xaae9ee [660378.893196] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893200] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893204] print_req_error: I/O error, dev loop9, sector 21914 [660378.893226] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893229] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893233] print_req_error: I/O error, dev loop9, sector 21916 [660378.893241] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893244] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893248] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893251] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893264] print_req_error: I/O error, dev loop9, sector 21918 [660378.893269] JBD2: Error -5 detected when updating journal superblock for mmcblk0p2-8. [660378.893271] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893273] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893278] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893281] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893287] print_req_error: I/O error, dev loop9, sector 21920 [660378.893292] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893295] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893300] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893303] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893307] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893309] JBD2: Detected IO errors while flushing file data on mmcblk0p2-8 [660378.893312] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893315] print_req_error: I/O error, dev loop9, sector 21922 [660378.893319] mmc0: card 0007 removed [660378.893324] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893327] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893332] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893335] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893341] print_req_error: I/O error, dev loop9, sector 21924 [660378.893346] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893349] SQUASHFS error: Unable to read page, block aae9ee, size 7faa [660378.893354] SQUASHFS error: Unable to read fragment cache entry [aae9ee] [660378.893357] SQUASHFS
Re: [SlimDevices: Unix] Extreme SD card support flakiness
Used Samsung Evo Plus and two different lines of Kingston. The only thing that may be related is that I have another NTFS-formatted microSD as /dev/sda1 and it somehow confuses PCP. Below is inifinite reboot loop that went away after physically removing the 2nd card. '[image: https://preview.ibb.co/noPuTV/reboot-loop.jpg]' (https://ibb.co/kGoM8V) Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Extreme SD card support flakiness
Is there anything that can be done with SD card issues on PCP and RPi in general? Today, after a couple of days of doing nothing (no power loss inbetween!) I tried to do something with LMS - and got message about lack of write permissions to settings directory on mmcblk0p2. Rebooted - bang! - EXT4-fs error. Nothing can be done except reimaging the card, which is actually in perfect state according to any possible fsck checks... I got such issues sometimes even just after rebooting RPi with PCP - and I've tried 3 different cards so far. They seem to be unfortunately well known. While PCP is very well thought out software, RPi seems to be unfortunately very unreliable hardware. Pity Logitech devices are not available anymore.. Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Touch off with Jivelite/Waveshare 5" on piCorePlayer
bondav wrote: > Hello, > can you explain how to do the ts_calibration and the ts_test? > thanks > david For my Waveshare screen: cat /proc/bus/input/devices -> find right parameters to use below (like fbx, eventy) sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_calibrate optional: sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_test Find jivelite.sh in the filesystem, copy to $TCEMNT/tce/jivelite.sh (/mnt/mmcblk0p2/tce/jivelite.sh in my case) Add next to other exports (use your own values) in the copied jivelite.sh: export SDL_VIDEODRIVER=fbcon export SDL_FBDEV=/dev/fb0 export SDL_MOUSEDEV=/dev/input/event0 export SDL_MOUSEDRV=TSLIB Make piCore backup. Reboot Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Touch off with Jivelite/Waveshare 5" on piCorePlayer
bondav wrote: > Hello, > can you explain how to do the ts_calibration and the ts_test? > thanks > david cat /proc/bus/input/devices -> find right parameters to use below (like fbx, eventy) sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_calibrate optional: sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_test Find jivelite.sh in the filesystem, copy to $TCEMNT/tce/jivelite.sh (/mnt/mmcblk0p2/tce/jivelite.sh in my case) Add next to other exports (use your own values) in the copied jivelite.sh: export SDL_VIDEODRIVER=fbcon export SDL_FBDEV=/dev/fb0 export SDL_MOUSEDEV=/dev/input/event0 export SDL_MOUSEDRV=TSLIB Make piCore backup. Reboot Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] PCP starts to prompt after power loss
After digging in dmesg output it appeared, it was the dreaded EXT4fs error. I have just reinstalled the whole pcp. Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109659 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Blanking screen when doing nothing in Jivelite
It's literally right there with all the other screensaver settings... It must have been some selective blindness on my side. Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109657 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite skin key bindings
Thanks. And any information that could be helpful for rebinding KEY_ENTER event to Play/Pause action in main player screen? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109656 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] PCP starts to prompt after power loss
PCP 4.0 After power loss event, pcp now starts only to prompt (tc@piCorePlayer:~$). Power cycling does not change the situation. It seems networking is not started, as I cannot connect to pcp with SSH. What's wrong? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109659 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Blanking screen when doing nothing in Jivelite
Hi There's option for a screenblanker in Jivelite when Playing or Paused. What with just doing nothing (displayed as Off in the main playing screen or just when setting options or similar)? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109657 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Jivelite skin key bindings
Hello, Is there any info available about action bindings for ui elements in jivelite skins? I use simple Android remote, works perfectly, but jivelite skins apparently haven't been designed with remote on mind (like on main Playing screen both OK and Arrow Right open the current playlist). I assume skin lua files need to be edited, but where to start? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109656 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Touch off with Jivelite/Waveshare 5" on piCorePlayer
korrus wrote: > > I have similar problem with my display. It's 5 inch from Waveshare too. Did you complete calibration with ts_calibrate? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite for piCorePlayer
paul- wrote: > > Screenblank will only work with the Official RPI display. Thanks Paul, some disappointment with hardware here :/ And still a question remains :) I can see there is screensaver for Playing state and for Paused state. My simple remote switches between *Off* and Playing states (it has no play button). Is there a way to enable screensaver for this Off state? Alternatively, is there a way to make OK button on remote toggle Play/Pause on playing screen instead of going to playlist (which is duplicated by Right button; if I need to modify skin file - is it enough to put the modified file in /home/tc/.jivelite/userpath/settings for jivelite to pick it up?) Regards, Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=103330 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite for piCorePlayer
Hello Another issue: After adding jivelite.sh in tce, jivelite seems to not persist settings - after each reboot I have select language etc anew. Also, settings for Sleep mode or screenblanker do not work. I suspect jivelite has now issues wit saving settings (???). Any advice? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=103330 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Touch off with Jivelite/Waveshare 5" on piCorePlayer
paul- wrote: > excerpt from pcp_startup.sh > > > Code: > > > # Alternative jivelite script, mainly used for waveshare devices. Located on persistent partition. (/mnt/mmcblk0p2 or partition where tce is located) > if [ -x $TCEMNT/tce/jivelite.sh ]; then > echo "${GREEN}Done.${NORMAL}" > sudo -E -b $TCEMNT/tce/jivelite.sh >/dev/null 2>&1 > > > Thank you - I have seen this somewhere (jivelite.sh in tce), but I've though it's some rough hack. Do I need also to disable original jivelite.sh somehow, or just copy it to the location above and update as I need? Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite for piCorePlayer
Hello, How do I pass environmental variables to jivelite? I've found suggestions to update jivelite.sh, but no working tutorial for this. My problem: https://forums.slimdevices.com/showthread.php?109619-Touch-off-with-Jivelite-Waveshare-5-quot-on-piCorePlayer Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=103330 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Touch off with Jivelite/Waveshare 5" on piCorePlayer
Well, the issue was that jivelite was picking wrong parameters for display. When I run: sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb0 SDL_MOUSEDEV=/dev/input/event0 SDL_MOUSEDRV=TSLIB /opt/jivelite/bin/jivelite.sh & it works correctly. The correct parameters were the ones I provided when using ts_calibrate, and relevant information can be found with: cat /proc/bus/input/devices Now, how to persist these in jivelite.sh Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Touch off with Jivelite/Waveshare 5" on piCorePlayer
Hello I am running RPi 3B with Waveshare 5" (B) screen, piCorePlayer 4. I can calibrate the screen properly with ts_calibrate and touch works correctly with ts_test, but then touch is away from touching point in Jivelite. I use Grid Skin 800x480 to match the screen, but the issue seems to be similar also with other skins. Any ideas what can be wrong? Regards, Xyzzy's Profile: http://forums.slimdevices.com/member.php?userid=68578 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix