Re: [slim] VNC for piCoreplayer?

2020-04-06 Thread ralphy


giles302 wrote: 
> Just curious if the keyboard support was ever worked out.  My use case
> is PCP connected to a TV w/o mouse or keyboard.  Would like to control
> the I/F via VNC.

No I never bothered as there was no further interest at that time and I
have not used VNC with picoreplayer since.



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¤cy_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=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2020-04-05 Thread giles302


ralphy wrote: 
> Hi Jeff,
> 
> Thanks for looking into the keyboard support.
> 
> Paul mentioned that there's a gpio-keys driver in 'post #14 of this
> thread'
> (https://forums.slimdevices.com/showthread.php?109686-controlling-jivelite-with-piCorePlayer-with-bash-script&p=925222&viewfull=1#post925222).
> Which could remove the need for a keyboard device.  I just haven't had
> time to investigate it.
> 
> The original keyboard code in framebuffer-vncserver doesn't support all
> key events so it still needs to be updated.

Just curious if the keyboard support was ever worked out.  My use case
is PCP connected to a TV w/o mouse or keyboard.  Would like to control
the I/F via VNC.



giles302's Profile: http://forums.slimdevices.com/member.php?userid=70020
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-06 Thread ralphy


Hi Jeff,

Thanks for looking into the keyboard support.

Paul mentioned that there's a gpio-keys driver in 'post #14 of this
thread'
(https://forums.slimdevices.com/showthread.php?109686-controlling-jivelite-with-piCorePlayer-with-bash-script&p=925222&viewfull=1#post925222).
Which could remove the need for a keyboard device.  I just haven't had
time to investigate it.

The original keyboard code in framebuffer-vncserver doesn't support all
key events so it still needs to be updated.



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¤cy_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=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-05 Thread Jeff07971


ralphy wrote: 
> It's a command line option to enable but the startup script only checks
> for the official 7" screen so far.
> 
> Navigation by keyboard does not work yet and you have to have a keyboard
> connected to pcp.
> 
> ./framebuffer-vncserver [-f device] [-p port] [-t touchscreen] [-h]
> -p port: VNC port, default is 5900
> -f device: framebuffer device node, default is /dev/fb0
> -k device: keyboard device node, (example: /dev/input/event0)
> -t device: touchscreen device node (example:/dev/input/event2)
> -h : print this help

Thanks Ralphy

I did look at the script and rewrote to use the keyboard event if no
touch was detected but even though VNC run up and I could view it I
could not control.
I'll spend a little more time have another go at some point.

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-05 Thread ralphy


rkrug wrote: 
> This sounds like a neat thing: to have a remote for piCoreplayer out of
> the box. Any chance of making it easy to install in the next version of
> piCoreplayer (i.e. via the webui)?

If/when I get the keyboard interface working it will likely be added to
the pcp extensions repository.



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¤cy_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=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-05 Thread ralphy


Jeff07971 wrote: 
> Thanks Ralphy works great !
> 
> One feature request though, If no touchscreen is found allow navigation
> by keyboard ?
> 
> Thanks again
> 
> Jeff

It's a command line option to enable but the startup script only checks
for the official 7" screen so far.

Navigation by keyboard does not work yet and you have to have a keyboard
connected to pcp.

./framebuffer-vncserver [-f device] [-p port] [-t touchscreen] [-h]
-p port: VNC port, default is 5900
-f device: framebuffer device node, default is /dev/fb0
-k device: keyboard device node, (example: /dev/input/event0)
-t device: touchscreen device node (example:/dev/input/event2)
-h : print this help



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¤cy_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=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-05 Thread Jeff07971


ralphy wrote: 
> The keyboard support still doesn't work very well but the touch and
> mouse inputs have been fine, however the mouse wheel can't be used with
> jivelite.
> 
> On a wireless rpi3, not the 3+, the vncserver daemon uses only 10% cpu
> while displaying active VU meters on the iPad vncviewer client.
> 
> Here are the client settings I use.
> 
> 27100
> 
> Here is my current picoreplayer build you can try.
> 
> SSH into pcp, download and install the extension.
> > 
Code:

  >   > ceo
  > 
  > wget 
http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz.md5.txt
  > wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz
  > 
  > md5sum -c pcp-vncserver.tcz.md5.txt # verify the download was ok
  > pcp-vncserver.tcz: OK
  > 
  > tce-load -i pcp-vncserver # load the extension now
  > pcp-vncserver.tcz: OK

> > 
> 
> Enable loading the extension at boot.
> 
> > 
Code:

  >   > ce
  > 
  > echo "pcp-vncserver.tcz" >> onboot.lst

> > 
> 
> Add to the User commands on the web gui tweaks page to start vncserver
> at boot.
> 
> > 
Code:

  >   > /usr/local/sbin/framebuffer-vncserver.sh

> > 
> 
> To start vncserver now, without a reboot
> 
> > 
Code:

  >   > sudo -E -b /usr/local/sbin/framebuffer-vncserver.sh

> > 
> 
> and the log file is located at /var/log/vncserver.log
> 
> The source code is available on 'github'
> (https://github.com/ralph-irving/framebuffer-vncserver).


Thanks Ralphy works great !

One feature request though, If no touchscreen is found allow navigation
by keyboard ?

Thanks again

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-04 Thread rkrug


This sounds like a neat thing: to have a remote for piCoreplayer out of
the box. Any chance of making it easy to install in the next version of
piCoreplayer (i.e. via the webui)?



rkrug's Profile: http://forums.slimdevices.com/member.php?userid=62249
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-04 Thread ftarz


Here is my current picoreplayer build you can try.

Ralphy,

Fantastic, works like a charm! Provides enough visualization and control
for some remote hand-holding for my parents.

Many thanks.

Frank



ftarz's Profile: http://forums.slimdevices.com/member.php?userid=68966
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-04 Thread ralphy


The keyboard support still doesn't work very well but the touch and
mouse inputs have been fine, however the mouse wheel can't be used with
jivelite.

On a wireless rpi3, not the 3+, the vncserver daemon uses only 10% cpu
while displaying active VU meters on the iPad vncviewer client.

Here are the client settings I use.

27100

Here is my current picoreplayer build you can try.

SSH into pcp, download and install the extension.

Code:

ceo
  
  wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz.md5.txt
  wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz
  
  md5sum -c pcp-vncserver.tcz.md5.txt # verify the download was ok
  pcp-vncserver.tcz: OK
  
  tce-load -i pcp-vncserver # load the extension now
  pcp-vncserver.tcz: OK



Enable loading the extension at boot.


Code:

ce
  
  echo "pcp-vncserver.tcz" >> onboot.lst



Add to the User commands on the web gui tweaks page to start vncserver
at boot.


Code:

/usr/local/sbin/framebuffer-vncserver.sh



To start vncserver now, without a reboot


Code:

sudo -E -b /usr/local/sbin/framebuffer-vncserver.sh



and the log file is located at /var/log/vncserver.log

The source code is available on 'github'
(https://github.com/ralph-irving/framebuffer-vncserver).


+---+
|Filename: set.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27100|
+---+


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¤cy_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=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-04-02 Thread ftarz


ralphy wrote: 
> There are a couple framebuffer vncserver implementations based from
> https://github.com/ponty/framebuffer-vncserver which in turn is derived
> from the example file
> https://github.com/LibVNC/libvncserver/blob/master/examples/androidvncserver.c
> 
> I have a working POC that allows navigating a picoreplay jivelite
> instance via the ipad vncviewer app, the keyboard interface still needs
> some changes to be able to use vnc at the linux console.stay tuned.
> 
> 26820

Ralphy,

Wondering if you've made any progress with this?  I could make use of
seeing what's on the RPi monitor using VNCviewer and using mouse clicks
if needed. Configuration work and input would be done via the web
interface.

Thanks.

Frank



ftarz's Profile: http://forums.slimdevices.com/member.php?userid=68966
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-02-25 Thread ralphy


There are a couple framebuffer vncserver implementations based from
https://github.com/ponty/framebuffer-vncserver which in turn is derived
from the example file
https://github.com/LibVNC/libvncserver/blob/master/examples/androidvncserver.c

I have a working POC that allows navigating a picoreplay jivelite
instance via the ipad vncviewer app, the keyboard interface still needs
some changes to be able to use vnc at the linux console.stay tuned.

26820


+---+
|Filename: vnc.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26820|
+---+


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¤cy_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=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] VNC for piCoreplayer?

2019-02-19 Thread DJanGo


Afaik vnc and its derivates needs X-server and picore doesnt have a X
Server.



DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] VNC for piCoreplayer?

2019-02-19 Thread ftarz


I'm putting together a piCoreplayer system on a RPi 3B+ with the Pi 7
inch screen for my parents who live 500 miles away. 

I've got them set-up with VNC for remote support and this will let me
use a browser for piCoreplayer and LMS control, but is there any way to
see what's on the piCoreplayer screen? VNC or any other way to share the
RPi screen?

This would be great for when they pressed something and don't understand
what happened.

Frank



ftarz's Profile: http://forums.slimdevices.com/member.php?userid=68966
View this thread: http://forums.slimdevices.com/showthread.php?t=110206

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss