Re: [SlimDevices: Unix] piCorePlayer and USB Audio

2021-04-25 Thread papaiannis


I first enabled the turbo mode, which eliminated most of clicks and
pops. The issue was completely solved by replacing the power supply with
a more powerful one.
Now I really enjoy navigating by using a wireless mini-keyboard and
watching at the TV thanks to jivelite. I much prefer this way of
operating over apps on a phone or tablet.



papaiannis's Profile: http://forums.slimdevices.com/member.php?userid=55671
View this thread: http://forums.slimdevices.com/showthread.php?t=109217

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


Re: [SlimDevices: Unix] PiCorePlayer and wifi Access Point in Bridge mode

2021-04-25 Thread epoch1970

paul- wrote: 
> I just tested, and it's working as designed (obviously with the updated
> kernel modules)  It was intended to bridge eth0 to wlan0, where the eth0
> is the upstream connection to your main network.  I'm browsing the
> internet from my cell phone connected to the wifi AP created by pCP, and
> my phone has a DHCP address assigned by my primary network DHCP server.

I updated (minor, patch) and rebooted. I’m running 7.0.1, regular
kernel flavor.
It doesn’t work for me, the access point does not deliver an IP
address. Which I can understand if the same code as I’ve seen yesterday
is running the show.
To make the running AP actually work, I have to:
- ssh in the machine (bridge with eth0 in it are ok)
- sudo vi /usr/local/etc/pcp/hostapd.conf, add line "bridge=br0", save
- Stop and start the AP from the GUI. 

It doesn’t work because brctl show indicates the wireless interface is
not bridged. This is because the option is missing from hostapd.conf as
generated by the cgi script.
And it starts working as soon as the bridge option is added to hostapd,
and the process restarted so that it re-reads the configuration.

I stand by my guns.



2 SB 3 • 1 PCP 6 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone +
iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC
iPlayer by bpa • IRBlaster by Gwendesign (Felix) • 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=114369

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


Re: [SlimDevices: Unix] PiCorePlayer and wifi Access Point in Bridge mode

2021-04-25 Thread paul-

Brctl is creating the bridge.  Hostapd does care or need to know it’s in
a bridge, the kernel handles it.

The cgi doesn’t do the work, it’s done in shell scripts.

Code:


  brctl addbr br0
  brctl addif br0 eth0 wlan0
  



So for some reason your system is failing during bridge creation.   
What rpi board are you using?  What WiFi chip are you using?



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=114369

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


Re: [SlimDevices: Unix] PiCorePlayer and wifi Access Point in Bridge mode

2021-04-25 Thread epoch1970

paul- wrote: 
> Brctl is creating the bridge.  Hostapd does care or need to know it’s
> in a bridge, the kernel handles it.
> 
> The cgi doesn’t do the work, it’s done in shell scripts.
> > 
Code:

  >   > 
  > brctl addbr br0
  > brctl addif br0 eth0 wlan0
  > 

> > 
> 
> So for some reason your system is failing during bridge creation.   
> What rpi board are you using?  What WiFi chip are you using?

Brctl creates the bridge. This part is correct. That work on my machine,
too.
Hostapd does care or need to know it’s in a bridge , the kernel handles
it. This is wrong, twice.
- The kernel has about nothing to do with all this. 
- Bridging  a wireless interface in client mode is not possible as per
WiFi specs. The default mode of a WiFi interface is client. Hostapd
turns the interface to AP mode, and after that can take care of bridging
it. It is the proper way of doing things.
- The cgi doesn’t do the work, it’s done in shell scripts. This is
irrelevant, and hopefully untrue. My eyes tell me the cgi creates the
hostapd config file, and that’s where the beef is. If some code, in
pcp-apmode I assume, did what you pretend, that would be unfortunate
since the code would only work in case hostapd has finished turning the
interface to AP mode; that code would be racy and brittle. But
fortunately, that’s not how pcp-apmode is written. It eschews bridging
wlan0. And that job has to be done by hostapd.
- So for some reason your system is failing during bridge creation. It
is not. The bridge is created and eth0 is in it. Only wlan0 is not in
it. Hostapd runs but no IP is delivered to clients. For the third time,
the solution is to handle hostapd option bridge= in the cgi.
- What rpi board are you using?  What WiFi chip are you using? Pi 3B
with built in wireless interface. Works fine once the interface is added
to the bridge...



2 SB 3 • 1 PCP 6 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone +
iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC
iPlayer by bpa • IRBlaster by Gwendesign (Felix) • 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=114369

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


Re: [SlimDevices: Unix] piCorePlayer jivelite IR Consecutive Key Press mode in now playing screen

2021-04-25 Thread ralphy


ajuga123 wrote: 
> With Jivelite you can go to a certain position within a music file by
> touching the progress bar on the touchscreen on the 'now playing'
> screen.
> 
> Unfortunately, at this time this is not possible when using a remote
> control because there is not a jive-action to achieve this (see jivekeys
> file on github)
> 
> One way to achieve this would be if there is a Jive Action to go into
> 'positioning mode' so that the next (1-9) digit-key press is interpreted
> as a percentage (10% - 90&). After the digit-key press or after a
> timeout period of a few seconds jivelite would leave this mode. To go
> even further there could also be modes like 'go relative forward' or 'go
> relative backward' in which the digit-keypress is a percentage between
> 1% and 9%
> 
> Such a feature would be especially useful when playing podcasts

You can map key symbols KEY_E (scanner_rew) and KEY_R (scanner_fwd)
which pops up a progress bar that you can scroll back and forward using
the remote keys with these mappings.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-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=114447

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-04-25 Thread ralphy


afriend wrote: 
> Is it possible to *display a custom character* (like blackstar unicode
> 2605) with jivelite that's *not part of the default FreeSans*.ttf font?
> I know there was -Slim:: Display::Graphics::setCustomChar- for old
> Logitech devices and for Windows bmp fonts.
> 
> Or is installing a different font that includes the character the only
> way to go?

I think installing updated fonts is the only way.

You can try replacing the default jivelite ttf files with the ones from
the 'FontReplacer applet'
(http://downloads.nixda.ch/FontReplacer-1.4a.zip).



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-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=103330

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


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2021-04-25 Thread afriend


Hey.

I'd like to stream music to my *Beats Solo headphones* via *bluetooth*
from my pCP:
- pCP 7.0
- Pi4 using on-board bluetooth
- no DACs or audiocards attached
- configured as player (no LMS)

I have no problem connecting the headphones, pairing works fine and they
show as *connected*.

But I couldn't make the headphones play anything so far, total silence.

I guess either these headphones are not compatible or I haven't figured
out *what Squeezelite settings I need to use*. Or I need to install some
extension? 

If you have managed to listen to audio with pCP and your bluetooth
headphones which settings did you use?

Thank you.



afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

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


Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-04-25 Thread jfo


P Nelson wrote: 
> Thank you for the follow-up.
> 
> I have a related issue.  I am trying to delete the extra files located
> on the USB drive at "/mnt/LMSfiles/images/"
> I am using my Windows 10 computer to access the USB drive and I am
> getting the message:
> "You require permission form Unix User\root to make changes to this
> file."  
> 
> I don't recall seeing something within pCP to delete files or grant
> access.
> 
> How can I delete these extra image files?
> 
> Thank you
> 
> Paul

I'm able to delete these files in Windows 10 but I can't shed light on
where you might look for a permissions setting. I don't recall any
settings about this when I set up the pi.



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=113912

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


Re: [SlimDevices: Unix] PiCorePlayer and wifi Access Point in Bridge mode

2021-04-25 Thread paul-


I love the use of the word "wrong".   I know you to tinker around with
enough stuff to know that there are more than one way to tackle a task. 
The hostapd documentation clearly states that it "can" be used.   That
does not mean it has to be used, and it for sure does not mean that
hostapd has to manage the bridge.

But Looking a the scripting, I will agree that there could have been a
race condition in the startup of hostapd and configuring the bridge. 
But I'm going to solve that with and easier update route for me.  I've
updated the extension.  Just press the update button on the APMode web
page.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=114369

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


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2021-04-25 Thread paul-


Take a look at the logs on the bluetooth page.  Post them here if you
need help interpreting.

Do you see a player named "Beets" or something similar in the LMS
interface?   It should be created after your headphones are connected.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111972

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


Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-04-25 Thread paul-


How are you accessing?  Is it a shared folder, or are you using WinSCP?



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=113912

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


Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-04-25 Thread P Nelson


paul- wrote: 
> How are you accessing?  Is it a shared folder, or are you using WinSCP?

I am accessing the USB Drive connected to Pi3B+ running pCP v 7.0.1 and
running Samba from a Windows 10 machines  (I tried the desktop and
laptop and got the same message.)

I set up the mounting of the USB hard drive (this is where all my music
is located) to the Pi using the picore documentation instructions.  The
folder for the SD images was created by using "Save" button under Image
Location in the SD Image tab.  

I am not using WinSCP.  

I am not sure how to answer the question about a shared folder.   In
Windows 10 file explorer I did a right click and looked at the security
properties for the "Images" folder.  It has the same permission settings
as my "Music" folder; which I can copy and delete files from my Windows
10 machines.  Perhaps the file settings if the image files might yield
useful information.  Here are the screen prints:
343933439434396

I hope this helps.

Paul


+---+
|Filename: Screen 3.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34396|
+---+


P Nelson's Profile: http://forums.slimdevices.com/member.php?userid=58158
View this thread: http://forums.slimdevices.com/showthread.php?t=113912

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


Re: [SlimDevices: Unix] PiCorePlayer and wifi Access Point in Bridge mode

2021-04-25 Thread epoch1970

Well thank you for the update, indeed it works for me now. That's
great.

There is at least one advantage to bridging in the script, the AP could
be run by wpa-supplicant and not hostapd. Wpa-supplicant doesn't bridge
the interface for you, AFAIK.

Code:

network={
  mode=2
  ssid="TestAccessPoint"
  key_mgmt=WPA-PSK
  proto=RSN
  group=CCMP TKIP
  psk="password"
  frequency=2437
  }



FYI, I had to reboot twice during the process:
- After download/install: unable to configure a channel until rebooted.
Wireless firmware not loaded, I guess.
- After first config/start: the mDNS IP advertisement was, shall I say,
not right. The machine advertised 10.10.10.1 (the AP's address in case
it is not bridged). Looks benign but if you're like me and use
"http://hostname.local"; to reach the GUI, the GUI freezes at some point.
A reboot fixes the advertisement to the correct address.

I think I'll get rid of my hardware AP now. Thanks again.



2 SB 3 • 1 PCP 6 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone +
iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC
iPlayer by bpa • IRBlaster by Gwendesign (Felix) • 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=114369

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


Re: [SlimDevices: Unix] piCorePlayer 6 and watchdog timer?

2021-04-25 Thread mr-b


Tx Ralphy for keeping this in mind for all this time! Your news sounds
very promising. :)



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=113247

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


Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-04-25 Thread jfo


I have the same image file properties and can delete these files in file
explorer. I use a mapped network drive for LMSfiles.



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=113912

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