daab wrote: 
> I am trying to get jivelite running on an RPi2 with buster lite, I've
> finagled things to almost work. 
> I am using this screen  (sorry first post so cannot post the link)
> 7inch_HDMI_Display-C on lcdwiki
> The resolution is 1024x600
> 
> The touch calibration is off, but only with jivelite.
> So is the fix to build libsdl1.2 with tslib support locally on the box
> 
> One other thing puzzles me, and it is to do with permissions
> 
> > 
Code:
--------------------
  >   > 
  > pi@raspberrypi2:~/tslib/tests $ ls -l /dev/fb0 e.c
  > crw-rw---- 1 root video 29, 0 Dec 27 14:17 /dev/fb0
  > pi@raspberrypi2:~/tslib/tests $ ls -l /dev/input/
  > total 0
  > drwxr-xr-x 2 root root      60 Dec 27 14:17 by-id
  > drwxr-xr-x 2 root root      60 Dec 27 14:17 by-path
  > crw-rw---- 1 root input 13, 64 Dec 27 14:17 event0
  > crw-rw---- 1 root input 13, 65 Dec 27 14:17 event1
  > crw-rw---- 1 root input 13, 63 Dec 27 14:17 mice
  > crw-rw---- 1 root input 13, 32 Dec 27 14:17 mouse0
  > 
--------------------
> > 
> 
> user pi belongs to groups video and input, yet I have to lanch
> jivelite with sudo. What am I missing?

The framebuffer console in the SDL library requires root permissions,
regardless of the groups.

There's a fix in SDL-1.2.16 to allow running as non-root.

changeset:   2846:6428b7e83c2c
branch:      SDL-1.2
user:        Paul Cercueil <p...@crapouillou.net>
date:        Tue Sep 22 05:03:51 2020 +0300
summary:     video/fbcon: Allow running as non-root

You'll find it on https://hg.libsdl.org/ in the SDL-1.2 branch.

I haven't had a chance to test it yet.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113541

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to