Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-12-03 Thread rmac321

I tried to test a PiZero 1.3 (non-wireless) with an ENC28j60 LAN module,
but I can't get it to work with PiCorePlayer 3.22.  It works nicely with
Raspbian.  The enc28j60.dtbo file exists in the overlays folder, and I
added the line dtoverlay=enc28j60 to config.txt.  For a normal Raspbian
setup, that is sufficient.  Any advice on how to make it work in
PiCorePlayer?  Do I need to add a .tcz file or add a modprobe setting?
Thanks



SqueezeServer: LMS7.9.1 on Debian-Stretch
Wholehouse Audio: Squeezebox Receiver (Duet), 3 Squeezebox Controllers
Front Porch: PiCorePlayer 3.21 on Raspberry Pi Model B with HiFiBerry
DAC
Garage/Patio: PiCorePlayer 3.21 on Raspberry Pi 2B with HiFiBerry DAC
Extra Controllers: Orange Squeeze Android App, SqueezePlay
Future Plans: Pi3's and PiZeros with touchscreens and DACs
Retired: Wandboard with CSOS

rmac321's Profile: http://forums.slimdevices.com/member.php?userid=58482
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-12-03 Thread paul-

I'm not aware of an issue with alsa equal.  We have had some issues with
the insitu upgrade messing this up, which removing the equalizer, then
reinstalling fixes.

What is the output setting on the squeezelite page?  it should be
"equal" 

Also look at the Diagnostics | Sound page.

What is the contents of "PLAYBACK Hardware Devices" and "Current
/etc/asound.conf"



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

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread epoch1970

paul- wrote: 
> Your system must take over 20 seconds to get a valid IP address (timeout
> in pCP).
That is quite possible. 
I haven't timed it really (or don't remember), these machines are on
24/7. What really mattered was clients always latching into the right
VLAN and getting their IP address, and that they do very reliably.

@Django.
If you're keen have a look at the configuration guide for the switch
model I linked above. On page 135 (english edition) you can read
> Aging Time
> Set the length of time that a dynamic entry remains in the MAC address
> table after the entry is used or updated. The valid values are from 10
> to 630 seconds, and the default value is 300.
> A short aging time is applicable to networks where network topology
> changes frequently, and a long aging time is applicable to stable
> networks. We recommend that you keep the default value if you are unsure
> about settings in your case.
So yes we are both right. Switches do unlearn MACs.



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=108327

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-12-03 Thread palmerx

paul- wrote: 
> Yes, shairport is a pain to manage, specifically hifiberry products, as
> settings for shairport are not the same as used for squeezelite.   
> 
> This is a better implementation.
> 
> http://forums.slimdevices.com/showthread.php?106289-announce-ShairTunes2W-Airtunes-on-LMS-(forked-version-with-Windows-support)


Thanks Paul! The ShairTunes2 Fork 0.81.1 works perfectly for AirPlay to
all of my squeezelight players with HifiBerry AMP+

Can you tell me why the Alsa 10 band Equalizer cant be turned on while
using the HifiBerry AMP+? Squezzelight woul not start as soon I turn on
the Equalizer on.
Is there a way to have the Equalizer working with HifiBerry AMP+ on the
3.22 
If IRC it was working on the 2.05 version?!


Thanks for your Help!



palmerx's Profile: http://forums.slimdevices.com/member.php?userid=63498
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread paul-

I'm not bothered by it, I was merely trying to avoid confusion about the
pCP startup process.  And how the MAC address is delivered to the LMS
server.  Your system must take over 20 seconds to get a valid Mac
address.   The mac address used by the LMS server does not come from any
switching equip or the packet headers.   Squeezelite detects hardware
address (unless overridden with the -m)  That address is broadcast to
the LMS server.



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

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2017-12-03 Thread drmatt

And of those that do they are not all that reliable.. I've had mixed
experiences running generic consumer chipsets as APs.


-Transcoded from Matt's brain by Tapatalk-



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread DJanGo

epoch1970 wrote: 
> In the case of rebooting, this works because the switches and other
> devices in the path haven't had time to unlearn the MAC of the client
> yet, so the whole DHCP lease deal is faster than with a really cold
> start and SL can report an ID.

sorry


- client sends a broadcast with his mac and the ip 0.0.0.0
- dhcp server answers him
- client tells this particular server "need IP address"
- Server may check fpr a free ip and tells it to the client
- client tells server thanks i am using it
  

All devices even Switches always "unlearn" foreign MAC Addresses - thats
the only way for them to be up2date if something is changed somewhere.

cheers



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

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread epoch1970

paul- wrote: 
> Are you doing something that would be setting an environment variable
> called UTMAC?
Nope. As written here and elsewhere the only peculiarities on my systems
are a 1.5MB archive tgz, a thick asound.conf, and one or 2 processes
launched after startup.

When I take such a config to my home network, it runs fine, IIRC. Don't
get all hot and bothered about it, it's not pCP (or SL), it is the
network I tell you ;)
Get '2 of these'
(http://www.tp-link.com/us/products/details/cat-40_T1600G-28TS.html)
between your pCP clients and a slow DHCP server like a Pi and I bet
you'll have my "problem".



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=108327

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread paul-

For what it's worth, pCP does wait for the network to get a IP/Broadcast
address before starting squeezelite.  The timeout is set to 20 seconds. 
Take a look a the log (/var/log/pcp_boot.log)


Code:


  Waiting for network... Done (11).
  



Every dot between network and Done is 0.5seconds

Squeezelite is what is picking up the interface address.  For some
reason that is failing on your system.   Are you doing something that
would be setting an environment variable called UTMAC?



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

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2017-12-03 Thread paul-

It can be done, the setup and configuration has to be done via ssh
session. I've sent instructions to some via pm.  The biggest problem is
that not all wifi chips support it.  I've tested it with a rpi3 a few
versions ago.



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

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2017-12-03 Thread epoch1970

I've been thinking about that too, I have the iphone but not the car :)

I've found 'this thread'
(http://forums.slimdevices.com/showthread.php?107995-picoreplayer-without-network/page4)
about ad-hoc mode which is not too old and might be useful.

Other than that, I haven't found a true AP recipe.
I think I'll boot a pCP 3.20.2 and see how it rolls. 
I understand your use-case is the same as the linked thread, the Pi as
an island, i.e. no network access at all. 

Of course to set it up etc network is needed so that will be something
of a routed setup. A bridge would be neater though. I'll see what I can
come up with.



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread epoch1970

bakker_be wrote: 
> Couldn't this be solved by modifying the start-up timing of squeezelite?
If my theory is right, then yes it could solve the issue. 
But a nil ID is not a blocker, it is more of a nuisance. The issue
doesnt happen to everyone, obviously.
And if you start waiting, when do you stop waiting, really?

> Don't really know for PiCore, but on an OS where services are managed by
> systemd ...
I am glad to report systemd is nowhere near in sight under Tiny Core.
sysVinit triggers a chain of shell scripts that bring the machine up to
order. Simple, sequential, and predictable.

I for one am very happy with the way PCP works. I had this intriguing
issue, I could find a probable cause, and solve it with 100% reliability
via an easy config option. Cant really ask for more...



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=108327

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


Re: [SlimDevices: Unix] bug in gerrelts squeezelite.sh

2017-12-03 Thread bakker_be

epoch1970 wrote: 
> Strong words, friend ;)
> 
> The issue is a little confusing, I have to admit:
> 1 - There are people who need multiple instances
> 2 - There are people want to force the player to a specific identity, a
> good reason for that would be to retain player preferences when swapping
> hardware. (I've used active/backup wifi+ether bonding on a Pi player
> once or twice, it's funnier than useful, but it also makes a strong case
> for using option "-m")
> 3 - There is a very specific condition that can happen in squeezelite:
> http://forums.slimdevices.com/showthread.php?107352-Announce-piCorePlayer-3-20=890873=1#post890873
> (you can backtrack to the beginning of the conversation, it is short.)
> 
> In my case, I use Pi 3s as pCP players. Wifi is disabled. I use a single
> instance of Squeezelite. Ok, my tc archive "is a little large" but
> really I don't think it has anything to do with the issue. The MAC
> address of the network interface is never a problem, my players always
> get a DHCP lease. But this takes a few seconds (10 secs?) 
> So I get this problem: Squeezelite has started before networking has
> settled, it doesn't know what player ID to report, so it reports a nil
> ID.
> And "-m" solves it.
> 
> (-m is a good option. I got a bad rap when people started "recycling"
> slimdevices MACs to software players and put unwarranted load over
> mysb.com, but it does have legitimate uses.)
Couldn't this be solved by modifying the start-up timing of squeezelite?
Don't really know for PiCore, but on an OS where services are managed by
systemd you'd add the following lines to the service file, to make it
wait until runlevel 3:

Code:


  [Install]
  WantedBy=multi-user.target




Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Car: BananaPi LMS + Squeezeplayer on Android phone - Controller TBD ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108327

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


[SlimDevices: Unix] Wireless access point on piCorePlayer?

2017-12-03 Thread rkrug

Hi

I would like to use my piCorePlayer with LMS and hdd with Music as a
server to play the music e.g. on iPeng in my car.

Is it possible, and if yes how, to configure piCorePlayer as a wireless
access point, so that my iPhone can connect to it?

Thanks,

Rainer



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

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