ralphy wrote: 
> Jivelite has been updated with Wallpaper and Clock screensaver support
> for the QVGA 240 Square skin.
> 

Thanks Ralphy.  I removed and reinstalled Jivelite and updated the
default skin package, and it's all working perfectly.

Regarding the screen brightness control, I can't find anything in
/sys/class/ to indicate that the Pirate Audio display is attached.  I
believe that's because of this (from 'here'
(https://github.com/notro/fbtft/wiki/fbtft_device)):

> The displays that FBTFT supports uses SPI and/or GPIO. These busses
> can't find out what is connected to them, so we must tell the kernel
> about them.

So given that the existing 'display off' screensaver and screen
brightness applet rely on the presence of the official RPi display (by
checking for /sys/class/backlight/rpi_backlight/brightness), I have a
choice:

1) I could check for the existence of /sys/class/graphics/fb<n>/name,
which will contain the name 'flexfb'.  Or maybe I could check for the
modprobe commands in /opt/bootlocal.sh.  Passing either of those checks
would be an indication that there -might be- a Pirate Audio screen
attached, so the 'pigs' commands could be used to adjust the
brightness.

2) I could make the applets quite generic, by calling a
/home/tc/lcd_brightness.sh script if the official RPi screen is not
detected.  That script could then contain the 'pigs' commands to do the
brightness adjustment, and if the script file doesn't exist then the
applet won't attempt to use it.  This would allow others to write their
own scripts for different displays, if a command line version of the
brightness adjustment is possible.

I think I favour the second approach, because the first isn't foolproof,
and would need further editing to support other displays.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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

Reply via email to