Re: [SlimDevices: Unix] Jivelite on Alpine Linux

2020-01-17 Thread sodface


Well the recompiled SDL seems to be working with tslib.  Touch point
accuracy is good but it's just constantly bringing up the context menu
like I've done a long click instead of just a tap.  Probably a knob that
needs turning in /etc/ts.conf?  I'll mess with it more tomorrow.  I'm
starting to second guess the screen a little, it seems a little dark.



sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=111488

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread paul-


Blackhawk wrote: 
> Has any of you guys integrated 'LedFX'
> (https://github.com/ahodges9/LedFx) into piCorePlayer? I am thinking
> about building some LED strips based on 'WLED'
> (https://github.com/Aircoookie/WLED) and would love to have them synched
> with music played on pCP.
> 
> It seems to be quite straightforward on Debian:
> 
> 
> 
> On pCP, I have been tce-loading portaudio, python 3.6, cython and gcc,
> but there's always something missing.

We don't have portaudio on pCP.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread Blackhawk


Has any of you guys integrated 'LedFX'
(https://github.com/ahodges9/LedFx) into piCorePlayer? I am thinking
about building some LED strips based on 'WLED'
(https://github.com/Aircoookie/WLED) and would love to have them synched
with music played on pCP.

It seems to be quite straightforward on Debian:

> sudo apt-get install portaudio19-dev
> pip install ledfx
> ledfx --open-ui

On pCP, I have been tce-loading portaudio, python 3.6, cython and gcc,
but there's always something missing.



Blackhawk's Profile: http://forums.slimdevices.com/member.php?userid=65062
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread paul-


lencoth wrote: 
> Paul,
> 
> Increased the value & that did the trick! 
> 
> Thanks for helping me out. I will also let Audiophonics know. They have
> been quite helpful, but apparently never ran into this issue.
> 
> Regards,
> 
> Leo.

Glad that worked.  

I have a very similar netgear router, I see it when I switch between
wifi and ethernet.but very occasionally.   I wish netgear had better
logging.   One thing that might help a little is to leave it DHCP, but
add a reserved IP address for the device.

Paul



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] Jivelite on Alpine Linux

2020-01-17 Thread sodface


ralphy wrote: 
> There is no way to know what was causing the segfault without building a
> debug version of jivelite and running it in gdb.  Even then if the crash
> is happening within the lua interpreter it becomes even harder to track
> down. 
> 
> Calibration in jivelite won't work unless libSDL 1.2 was compiled with
> libts support.  That should be the only library you need to recompile. 
> I 'helped chill through this for the joggler'
> (https://forums.slimdevices.com/showthread.php?110040-Jivelite-on-a-Joggler/page11).

Thanks for the support Ralphy, recompiling sdl as we speak.  I think the
seg fault was just due to not having libjpeg-turbo installed.



sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=111488

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-17 Thread Aldoszx


carsten_h wrote: 
> Ok, are you using it together with the piCorePlayer installation?

At this moment, no.
I am using DietPi.



Aldoszx's Profile: http://forums.slimdevices.com/member.php?userid=69750
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


Re: [SlimDevices: Unix] Jivelite on Alpine Linux

2020-01-17 Thread ralphy


There is no way to know what was causing the segfault without building a
debug version of jivelite and running it in gdb.  Even then if the crash
is happening within the lua interpreter it becomes even harder to track
down. 

Calibration in jivelite won't work unless libSDL 1.2 was compiled with
libts support.  That should be the only library you need to recompile. 
I 'helped chill through this for the joggler'
(https://forums.slimdevices.com/showthread.php?110040-Jivelite-on-a-Joggler/page11).



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=111488

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-17 Thread kidstypike


coyrls wrote: 
> How does this method differ from using the "Nightly Update" button on
> the pCP - LMS Main Page?

If you're running LMS 7.9.2 then the "Nightly Update" button will keep
you on the 7.9.2 track.

If you wish to start using LMS 8.0.0 you'll need to use the instructions
in the link, and in step 5 change 7.9.2 to 8.0.0.



*Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP 6.0.0-b7 18K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite,
*Lounge* - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Squeezebox Boom
*Garage* - Pi3B/Pi screen/HiFiBerry DAC+/pCP 5.0.0 > Edifier R980T

*Spares* - 2xTouch, 1xSB3, 1xRadio, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-17 Thread coyrls


kidstypike wrote: 
> Sorry, struggling to find instructions, found them now - 
> 
> https://www.picoreplayer.org/how_to_upgrade_lms.shtml
> 
> Just replace 7.9.2 with 8.0.0 in step 5.

How does this method differ from using the "Nightly Update" button on
the pCP - LMS Main Page?



coyrls's Profile: http://forums.slimdevices.com/member.php?userid=44253
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread lencoth


-



lencoth's Profile: http://forums.slimdevices.com/member.php?userid=69748
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] Jivelite on Alpine Linux

2020-01-17 Thread sodface


Touch is actually working so I'm not sure what the ldd check above
means.  Calibration is off in Jivelite even after running ts_calibrate. 
I guess that's the next issue to resolve.



sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=111488

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread lencoth


paul- wrote: 
> Lencoth,
> My suspicion is that your DHCP server is being slow to respond. 
> Paul

Paul,

Increased the value & that did the trick! 

Thanks for helping me out. I will also let Audiophonics know. They have
been quite helpful, but apparently never ran into this issue.

Regards,

Leo.



lencoth's Profile: http://forums.slimdevices.com/member.php?userid=69748
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-17 Thread paul-

carsten_h wrote: 
> This is the part to create the daemon for temperature checking (it is
> running as a service later:
> > 
Code:

  >   > echo 'def temp_check():' >> $powerbuttonscript
  > echo '  fanconfig = ["65=100", "60=55", "55=10"]' >> $powerbuttonscript
  > echo '  tmpconfig = load_config("'$daemonconfigfile'")' >> 
$powerbuttonscript
  > echo '  if len(tmpconfig) > 0:' >> $powerbuttonscript
  > echo '  fanconfig = tmpconfig' >> $powerbuttonscript
  > echo '  address=0x1a' >> $powerbuttonscript
  > echo '  prevblock=0' >> $powerbuttonscript
  > echo '  while True:' >> $powerbuttonscript
  > echo '  temp = os.popen("vcgencmd measure_temp").readline()' >> 
$powerbuttonscript
  > echo '  temp = temp.replace("temp=","")' >> $powerbuttonscript
  > echo '  val = float(temp.replace("'"'"'C",""))' >> 
$powerbuttonscript
  > echo '  block = get_fanspeed(val, fanconfig)' >> 
$powerbuttonscript
  > echo '  if block < prevblock:' >> $powerbuttonscript
  > echo '  time.sleep(30)' >> $powerbuttonscript
  > echo '  prevblock = block' >> $powerbuttonscript
  > echo '  try:' >> $powerbuttonscript
  > echo '  bus.write_byte(address,block)' >> 
$powerbuttonscript
  > echo '  except IOError:' >> $powerbuttonscript
  > echo '  temp=""' >> $powerbuttonscript
  > echo '  time.sleep(30)' >> $powerbuttonscript
  > 

> > 
> 
> They are reading the temperature with "vcgencmd measure_temp" and if
> it reaches the next step from the config they call this:
> > 
Code:

  >   > bus.write_byte(address,block)

> > 
> where address is 0x1a and block is the fanspeed from config.
> 
> I don't know what this bus.write_byte is doing. Maybe it is enough to
> write this a single time to have the fan running always at the same
> speed?

Looks like the you need python, smbus, and rpi-vc. As dependencies.  On
the surface, the fan looks like itÂ’s I2c controlled  They have 3 fan
speeds.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread lencoth


paul- wrote: 
> Lencoth,
> Also, can you give the brand/model of your router? 
> Paul

Hey Paul,

It's a Netgear R7000.

Best Regards,

Len.



lencoth's Profile: http://forums.slimdevices.com/member.php?userid=69748
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-17 Thread Michael Herger

   > [20-01-16 18:29:12.7925] Slim::Networking::SqueezeNetwork::_error (497) 
Unable to login to SN: Connect timed out: Inappropriate ioctl for device
   > [20-01-16 18:29:12.7933] Slim::Networking::SqueezeNetwork::_init_error 
(177) Unable to login to mysqueezebox.com, sync is disabled: Connect timed out: 
Inappropriate ioctl for device (https://www.mysqueezebox.com)
   > [20-01-16 18:29:12.7944] Slim::Networking::SqueezeNetwork::_init_error 
(193) mysqueezebox.com sync init failed: Connect timed out: Inappropriate ioctl 
for device, will retry in 300 (https://www.mysqueezebox.com)

I've never seen this one before.. I would suspect this is something
server side.   Perhaps post this in the LMS forum


That's usually just a temporary network hiccup or something getting LMS 
confused. Restarting LMS _might_ help.


--

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-17 Thread gegen


kidstypike wrote: 
> Sorry, struggling to find instructions, found them now - 
> 
> https://www.picoreplayer.org/how_to_upgrade_lms.shtml
> 
> Just replace 7.9.2 with 8.0.0 in step 5.

That worked, thanks again :)



gegen's Profile: http://forums.slimdevices.com/member.php?userid=41137
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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