Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all 1518 articles
Browse latest View live

official RPF touchscreen not fully recognized?

$
0
0
Greetings,

I have a raspberry pi 3 with the official RPF 7" touchscreen.

When I boot it in PiCorePlayer 5.0, the screen is correctly detected for display, but I have no touchscreen.
In the piCorePlayer menu (accessed trough keyboard) the option "adjust LCD brightness" I always get "no official raspberry pi display found" (or something to that end)

Where do we find the correct drivers to install for touchscreen and brightness control?

Thanks.

Need help installing on Debian 10

$
0
0
> This is perl 5, version 28, subversion 1 (v5.28.1) built for
> i686-linux-gnu-thread-multi-64int


You'll have to build the binaries yourself (or find somebody who already
did). We do not include them in LMS.

--

Michael

piCorePlayer & RTL8188eus wifi dongle

$
0
0
Hello.

I got a USB dongle off ebay. the mini DVD that came with it seems to point to its chipset being RTL8188eus.

I am at a loss as to how to make this work with picoreplayer. if this changes anything I am using piCorePlayer 5.0.0 w/ kernel 4.19.40-pcpCore on this specific unit (not that I cannot install another version if anything would help...)

I read on https://www.picoreplayer.org/main_news.shtml the mention "Added driver for rtl8188eu chipset" on piCorePlayer 4.0.0 (Kernel 4.14.56) and figured I should be able to get this running, but alas it seems it is not plug and play.

If anyone has any pointers on how I should be proceeding, this would be greatly appreciated.

LMS on Debian server: file permissions

$
0
0
Hi guys, could use some help here. :o

I moved LMS from a RPi to a Debian Buster LXC which, overall, is a big improvement:
- scrolling/searching tracks is much faster
- BT pairing on the zero also is much faster and playback is more in sync
- the main RPi with LCD has some hiccups and rebooting doesn't influence LMS/playback anymore

The only thing is that I have some issues with file permissions and I'm not a Linux expert at all.
- I cannot save playlists from squeezer or the LMS web UI
- syncing the music folder with Syncback or Robocopy from my desktop towards the SMB share works but Robocopy prompts as if the files are new, even if they already exist.

My setup is a Proxmox server with a LXC which runs Debian Buster, Samba and LMS.
The share is on a bindmounted host HD.

TIA

LMS on Alpine Linux

$
0
0
I've got:
Code:

Logitech Media Server (v7.9.2, 1576909043, Sat Dec 21 07:49:57 CET 2019) perl 5.030001 - aarch64-linux-thread-multi
Running on a Raspberry Pi 4 with Alpine Linux 3.11.2:
Code:

Linux rpi4 5.4.6-0-rpi4 #1-Alpine SMP PREEMPT Tue Dec 24 11:53:25 UTC 2019 aarch64 Linux
Besides my bumbling (but ultimately successful) install with Fedora 31 on the Pi 3 B+, I don't have much experience with the installing LMS other than from the Windows installer or a Linux package of some sort.

I've read multiple posts on the subject like:

This guide by Roland0
This post by Stuarty
and this succinct one from Paul-

Paul-'s post doesn't mention needing slimserver-vendor. I guess I'm a little unclear still about the relationship between Perl versions, module versions, the two repos (slimserver-vendor and slimserver), and the various packages.

For this effort on Alpine, I mostly followed Stuarty's post above, basically:

- Cloned the slimserver-vendor repo and built the modules directly on the RPi4 with Alpine. This did require some minor edits here and there to get everything to build correctly. I can post my notes if anyone is interested.
- I also built the other binaries from the slimserver-vendor source (alac, faad, flac, sox, and wvunpack)
- Downloaded the "Logitech Media Server: Unix Tarball - No CPAN Libraries" archive and moved the modules under arch/5.30/aarch64-linux-thread-multi/ and binaries under Bin.

That seems to work ok, I can access the web interface, complete the setup, and stream music to a client. I haven't tested much beyond that.

I'm interested in feedback on whether this is a "good" process for getting a working LMS on an OS that doesn't have a pre-built package? My next step would be to try to get an APKBUILD together for it but I don't really want to go down that road until I have better feel for whether I'm taking the right build approach here or not. I've looked at some of Gentoo's ebuild files for LMS and they are a little scary (to me).

Based on Roland0's post, I *think* the main con to my current approach is that I'm tying the modules to the Perl version shipped on this release of Alpine which means that if Alpine updates Perl then that might break LMS?

picoreplayer and atheros wifi dongle

$
0
0
Warning - lots of ignorance will be on display here.

I'm trying to use a Netgear WNA1100 wifi dongle in my pi Zero. Pcp sees and identifies it, and tries to load the firmware htc-9271.fw. It doesn't find it.

I run tce-ab and search for 'firmware' - it comes up with (among others) firmware-atheros. I look at the files in firmware-atheros, and they include the one I need. I say 'install', and its says 'already installed!'.

I look in lib/firmware, and some atheros stuff IS there, but not the bits I need.
I try to delete firmware-atheros with tce-audit so I can re-install it, but the computer says 'no'.

As I said earlier, ignorance is on display here... what is it I don't know that will enable me to install the latest firmware package?

piCorePlayer and NTP updates

$
0
0
Hi,

I just installed 5.0.0 on my RPi3+HifiBerry AMP2+. Works great. I noticed that NTP is already installed (it wasn't with v.4.1.0). How do I change the server? I tried setting it to my local server in /etc/sysconfig/ntpserver but it keeps setting itself to the original line after reboot. Any tips?

Thanks

Ubuntu w LMS 7.92, problem mapping NAS drive

$
0
0
I have installed Ubuntu 18:04.3 LTS and LMS 792 on a NUC

My problem is that I cant map my nas smb://192.168.2.xx/music (login details) NAS is a Qnap 419p

I can navigate to the NAS folder from my NUC with no problem, SMB/AFP and all other protocols work fine.


I have moved from Vortexbox, but Linux is not my home turf.

Please help

piCorePlayer & wifi - any way to enforce?

$
0
0
I have a few pi running picoreplayers with wifi.
When they boot, they get the wifi dongle on, and try to reach the hotspot

"trying to discover"

They try 3 times, then resort to trying wired Ethernet.
But they are not connected through wire.

Sometimes it "discover" on 1st or 2nd try, but sometimes I feel they could use 4 or 5. And then they don't reach the server.

Is there a way to augment the number of tries?

piCorePlayer + Wolfson DAC Card

$
0
0
I have a Raspberry PI (B Rev 2 I believe) with a Wolfson DAC Card mounted on the PI.
I wish to install piCorePlayer with the output from the Line-Out of the Wolfson DAC Card.
I've successfully installed piCorePlayer 5.0.0 with output from the PI Headphone socket and via a USB DAC.
However, I have been unsuccessful in obtaining an output from the Wolfson Card Line-Out or Headphone socket.
I have selected the Cirrus Logic Card option as the Audio Output Device option and tried various Squeezelite Output settings - all unsuccessful in obtaining an output
Pressing the "Card Control" button does not give any options. I expected options to direct the audio output to Line-Out, Headphone, HDMI, etc.
Squeezelite is running and the piCorePlayer option is visible from LMS
Any help in successfully running my PI+Wolfson will be much appreciated - Thanks.

piCorePlayer exposing WiFI password

$
0
0
Hi,

happily running version 5.0.0 of the piCorePlayer. I noticed that under About -> Current configuration[ INFO ] /usr/local/etc/pcp/pcp.cfg, the password of the wifi network is being shown. I feel this is quite insecure:
a) because the connections to the GUI is via http and not https (i can't find a setting to let it default to https)
b) anyone connecting on the same wifi WLAN will see the password ... you could argue that someone that is on the WLAN would have already acquired the password somehow but still, this is not appropriate in my view.

Is there a way of:
a) defaulting the GUI to https?
b) masking the password in the GUI?
c) connecting to the GUI only via login/password?

I know that if I connect a screen and keyboard to the RPi I can turn the GUI off, but its very inconvenient to have to do so an then turn it back on when you need to make some changes to settings (this is what I'm doing at the moment, which is quite tedious ...)

Any suggestions on how I can improve this and make things more secure without having to turn the GUI on/off all the time?

Thanks

WaveShare 7'' touchescreen calibration issue with Jivelite

$
0
0
Hello


I've moved this message from an other thread to a new thread as this is concerning 7'' screen waveshare.

I have the touchscreen 7'' Waveshare HDMI LCD (C) on a raspberrypi 3B with PicorePlayer 5.0

I adapted pcp_startup.sh accordingly to use BYZHYYZHY By ZH851 Touchscreen as identifier.

I: Bus=0003 Vendor=0eef Product=0005 Version=0110
N: Name="BYZHYYZHY By ZH851 Mouse"
P: Phys=usb-3f980000.usb-1.4/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0EEF:0005.0004/input/input6
U: Uniq=c0U585P865
H: Handlers=mouse1 event5 js0
B: PROP=0
B: EV=1b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10

I: Bus=0003 Vendor=0eef Product=0005 Version=0110
N: Name="BYZHYYZHY By ZH851 Touchscreen"
P: Phys=usb-3f980000.usb-1.4/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0EEF:0005.0004/input/input7
U: Uniq=c0U585P865
H: Handlers=mouse2 event6
B: PROP=0
B: EV=1b
B: KEY=401 0 1 0 0 0 0 0 0 0 0
B: ABS=100 3
B: MSC=10

in config.txt, I've added the following

Code:

max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1

Everything works fine for display, except the touchpad feature. only top-left corner seems ok. I cannot press anything on Jivelite. I must use a mouse to configure and use jivelite.

So I presume I shall calibrate the touchscreen. I did the following:

Code:

sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event6 /usr/local/bin/ts_calibrate
I see the crosshair.

It seems the calibration process does not work well: sometimes it does not pass via all the corners points and jumps directly to the end. Thus the calibration file pointercal is not good.

Here is my ts.conf file:

Code:

# Access plugins
################

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# For other driver modules, see the ts.conf man page


# Filter plugins
################

# Uncomment if first or last samples are unreliable
# module skip nhead=1 ntail=1

# Uncomment if needed for devices that measure pressure
#module pthres pmin=1

#module variance delta=30

# Uncomment if needed
 module debounce drop_threshold=500

# Uncomment if needed to filter spikes
# module median depth=5

# Uncomment to enable smoothing of fraction N/D
# module iir N=6 D=10

# Uncomment if needed
# module lowpass factor=0.1 threshold=1

# Uncomment if needed to filter noise samples
#module dejitter delta=100

# Uncomment and adjust if you need to invert an axis or both
# module invert x0=800 y0=480
#module invert x0=1024 y0=600

# Uncomment to use ts_calibrate's settings
 module linear

I tried to use different values, no effect.

I tried to calibrate by pressing very fast the screen to pass successfully to 5 area and I got this:

Code:

tc@piCorePlayer:/usr/local/bin$ sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event6 /usr/local/bin/ts_calibrate
xres = 1024, yres = 600
Took 4 samples...
Top left : X =  16 Y =  600
Took 11 samples...
Top right : X =    0 Y =  600
Took 10 samples...
Bot right : X =    0 Y =  600
Took 8 samples...
Bot left : X =    0 Y =  600
Took 18 samples...
Center : X =    0 Y =  600
ts_calibrate: determinant is too small -- 0.000000
Calibration failed.

Sometimes, when it skips some calibration corners, the file is properly generated but of course the parameters are wrong.

So I'm stuck. is there an alternative to generate this pointercal config file ? to calibrate this screen ?

I've done some search on this forum and abroad without finding the right calibration parameters.


any idea to solve that problem ?

Thank you and happy new year to all !

Thomas

PS: i tried this touchsreen on Standard Raspbian desktop OS and it works like a charm without any config except config.txt

PiCorePlayer + OLED (SH1106) + Menu possible?

$
0
0
I am using piCorePlayer with an OLED (SH1160; 128x64) and LMSMonitor to show actual playing info on this display. I also have some buttons and ir installed to controll the player "headless" with sbpd and lirc. It is working well.

Now I wonder if it is possible to use the OLED Display to show a "minimal" navigation menu for music and internet radio like with slimmer or JiveLite?

Any suggestions for necessary software components and configuration?

picoreplayer USBridge auto on AMP

$
0
0
Hello, I'm using latest pcp6 and Allo USBridge. USBridge->USB->AMP (Primare)
I'm very happy with this combo but there is one thing not working.

If I start playing music and my AMP is off it is supposed to get switched on automatically by USB signal.
It's working with a different software (I think it was DietPi) but not with pcp6. I've tried also previous version of pcp with no success.
Do you have any idea how to fix?

cheers Sebastian

Jivelite on Alpine Linux

$
0
0
I've managed to build Jivelite for Alpine Linux armhf on the Raspberry Pi Zero W. I used the source from: https://github.com/ralph-irving/jivelite

No X environment, just the base install with the SDL, luajit, libpng etc. packages added. The pi is connected to my non-touch monitor via HDMI @ 1920x1080. When I start Jivelite I see "Jive Lite" on the screen briefly and then it goes to a blank screen and that's it.

When I ran fbset originally it was showing 640x480 which I don't really believe somehow, I set 1920x1080 in config.txt and fbset reflected that after reboot but it looked the same to me. Jivelite did the same thing when I started it. I can sometimes get back to the console by randomly pressing some keys on the keyboard and when I do I see some messages had been logged to the console while jivelite was running:

libpng warning: Interlace handling should be turned on when using png_read image
libpng warning: iCCP: known incorrect sRGB profile

I'd appreciate any tips to troubleshoot this, I feel like I'm close and would like to get this working.

Switching piCorePlayer off

$
0
0
The advice about switching PiCorePlayer off seems to be that whilst it runs in RAM and is immune to power-off corruption, LMS can be corrupted by power removal, presumably if it's writing data at the time.

I've been in what I thought was the good habit of switching off via the UI and then removing power. Occasionally other members of the family have switched off the main power without doing this, thus far without any problems.

In looking at whether I should leave the power on permanently I've done some measurements of current consumption of my system. It drops by less than 2mA when turned off from the UI, so I’m wondering what does get turned off. I notice if I switch off like this and then go to the LMS settings they show that LMS is still running.

So I'm now wondering whether a full shutdown is required if we want to be certain that LMS doesn't get corrupted?

The Advanced mode operations panel on the piCorePlayer Main Page suggests that Shutdown is not really required and that "piCorePlayer can be turned off at the switch".

Can someone clarify?

PiCorePlayer: Frequent Gaps - Why?

$
0
0
Hi,
I run a PCP with "piCorePlayer 1.21b_RPi2" on an RPI2 with Hifiberry. It is connected to a router per LAN and to an amplifier per CINCH. It has been running with no problems for some years.
For some time now I have frequent gaps while replaying both long and short files (i.e. MP3). In the interface the counter keeps counting down the seconds of the song while the sound is off and then randomly switches on again. That is the playback does not stop but the player just seems to fall silent.
I don't think it's an issue on the server's side, but I have checked and the NAS that runs LMS is pretty busy at times plus, LMS has amassed quite a lot of data (see pic) but I struggle to relate this to something that seems to be an issue on the PCP's side.
Has someone encountered similar issues?
Name:  squeezecenter.jpg
Views: 25
Size:  169.3 KB
In addition I wonder whether I should update PCP to a later version (which one?)
Attached Images
 

Jivelite on a Pirate Audio 240x240 screen

$
0
0
> I made a QVGAsquareSkin by starting with the QVGAlandscapeSkin, which is

I can't really say why, but I'd have started with the Portrait mode
skin. But anyway... these screenshots look amazing! I was very tempted
to get one of those boards. Just because I wanted to see whether this
was possible. And you already did it :-).

Would the buttons be any useful?

--

Michael

How to for LMS 8.0 on piCorePlayer (on PiZero)?

$
0
0
Uh, oh... I just saw that all 8.0 builds but the .deb files have
disappeared from the downloads site. I've seen this a few days ago
already, but thought this was an accident of some kind. But it seems to
repeat itself. I'll have to see with IT what's wrong there. I'm going to
kick off new builds. Please check

http://downloads.slimdevices.com/nig...ex.php?ver=8.0

before you try next time. There should be more than a dozen files, in
particular the noCPAN tarball.

--

Michael

where is screen for interactive background scripts.

$
0
0
For long running scripts like initial rsync I am used to work with the linux 'screen' command, and be able to check after a nigh or more.
But what do I need to install to add this to pcp ?

And more importantly, How can I find such an answer myself ?
Is there any index to the extensions in the repository ?

T.I.A. M-H
Viewing all 1518 articles
Browse latest View live