Looks like its only on and off tough..no speed control..
Posts by Mario77
-
-
Hi All,
Apologies, this is probably a really straight forward support issue.
I've got an old Raspberry Pi 4, set up as a media center. I've just upgraded this to LibreElec 12 (from an older libreElec), and am now having issues accessing the GPIO.
I use the GPIO to control a CPU Fan. Previously I was able to run the following commands, which would then allow GPIO Access. (I would run these as part of an autostart.sh)
echo "17" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio17/directionI now get the following errors:
LibreELEC:/sys/class/gpio # echo "17" > /sys/class/gpio/export
sh: write error: Invalid argument
LibreELEC:/sys/class/gpio # echo "out" > /sys/class/gpio/gpio17/direction
sh: can't create /sys/class/gpio/gpio17/direction: nonexistent directory
As a result I am unable to access the GPIO, and therefore my fan script won't work.Am I missing something really obvious. ?, have I missed a step ? (I documented what I did last time, but maybe I forgot to write somthing down)
or has there been a change in how I should access the GPIO ?
I'd be grateful for any advice, as this isn't something I configure very often.
I did search this forum, but wasn't able to find an answer. I tried installing the pi-tools addon, but the issue persisted.
Thanks.
Did you manage to fix this?
-
petediscrete But then to turn back ON when needed you will need to disable that service?
Why not you set up a small script depending on your needs of when you need your Rpi to be ON..
ex if you need your Rpi to be OFF let's say between 8:00 and 20:00 even if there was a powercut and the power came back in that time frame make an autostart script that starts with LibreElec..checks that the time is in your timeframe and turn Rpi back Off..(shutdown...power will still be ON - red light)
This will lead you to ask if you can then turn it back ON after 20:00 from same script which will not work unless adding hardware and complicating things...so there's really no reason of even switching it OFF unless this Rpi is on a remote island working on batteries..
-
= missing?
can you post output of
cat /storage/.config/system.d/storage-ProLiant.mount
-
May 28 21:16:59 LibreELEC kernel: cifs: Unknown parameter 'vers2.1'
vers=2.1
-
Mario77 :
Here are my actual settings (from kodi):
Lowest supported protocol version = SMB2
Highest supported protocol version = SMB3For testing I changed SMB2 to SMB1, but no success.
Network waiting delay = 10 sec
Messages on LE boot:
Waiting on network to come online...
Failed to mount storage-ProLiant.mount (=the mount def file)Interestingly, from within kodi I can access the server without problems, but during LE startup mounting a network share to a local folder fails (I need this for TV recording, TVheadend can't write to network).
did you try to run
dos2unix /storage/.config/system.d/storage-ProLiant.mount
-
Quote
LE (error message: network FAILED), before kodi is started.
I think you mean mount failed..
That's what you get if you don't set min and max smb version where I told you above...(from kodi)
Can you access your server from file manager?
vers=2.1 is probably giving the error..so read my post again...Did you check your SMB settings?
If your error is error message: network FAILED try to set wait for network with about 5 sec delay..
If you just upgraded I don't think kodi's SMB settings should had been altered but if you made a fresh install you ll need to set them back up..
-
A few days ago I started the upgrade LE11 -> LE12. Everything went fine - but LE12 won't mount my samba share any more. I get this error message:
Codejournalctl -xe ..... May 27 17:52:50 LibreELEC systemd[1]: Mounting storage-ProLiant.mount... May 27 17:52:50 LibreELEC mount[1958]: username specified with no parameter May 27 17:52:50 LibreELEC systemd[1]: storage-ProLiant.mount: Mount process exited, code=exited, status=1/FAILURE May 27 17:52:50 LibreELEC systemd[1]: storage-ProLiant.mount: Failed with result 'exit-code'. May 27 17:52:50 LibreELEC systemd[1]: Failed to mount storage-ProLiant.mount. .....
I double checked my mount definition file (storage-ProLiant.mount) but it is completely unchanged, and contains full username and password.
I disabled the "old" mountpoint, rebooted LE and enabled the mountpoint again: Still no connection to the share.For info, here's my mount def file (credentials replaced by ****)
Code
Display More[Unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=kodi.service [Mount] What=//192.168.0.10/Media/PVR Where=/storage/ProLiant Options=username=******,password=***********,rw,vers=2.1 Type=cifs [Install] WantedBy=multi-user.target
Did I make a mistake? How can I reconnect my Network share?
Try..Check kodi settings services smb client minimum 1,maximum 3,
Make sure folder on your PC is shared..
Check mount file for any errors from editing on windows
dos2unix /storage/.config/system.d/storage-test_mount.mount
This is working to mount an HDD from Windows 11 on LE12...looks same as yours to me..
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service[Mount]
What=//192.168.0.10/D
Where=/storage/test_mount
Options=username=Mario,password=*****,rw,vers=2.1
Type=cifs[Install]
WantedBy=multi-user.targetsystemd file name is storage-test_mount.mount
-
If You have all data (DB + audio + video) on NAS of other central storage, what can You win with SSD boot compared to good quality SD-card?
Boot time not counted as an issue as I'm running my RasPi's 24/7 as well.
Aren't USB devices consuming slightly more power?
Probably nothing..more headache when things go wrong..leave the SSD connected for backups and other data..Rpi's are nowadays fast enough anyway..
-
Yes, it's very likely that the user has no older Widevine available on InputStream Helper. However, he/she can get an older version from other internet resources, and manually copy & paste into the CDM folder.
Yes that makes sense..
otherwise best option is test widevine with another addon that is definatly updated to work with LE12 like ViewX addon just to make sure issue is with addon or not..
-
Hello nvdias, the add-on is working on my Rpi4!
Is there a way to use this add-on to make pureVPN working on Libreelec?
Thank you
This is a server...will create your own Vpn nunning on LE
-
You can downgrade Widevine on InputStream Helper. That did the trick for my DAZN problem (missing menu icons)
Don't think he can downgrade widevine while still using LE12...once you update to LE12 the old version won't work and needs to be updated..it's more that the addon he s using needs to be updated too.
-
All I done is re installed widevine cdm library from Inputstream helper addon and it just worked on rpi5...didn't delete anything..
So if you do just that and it will not work there s a very big chance that the Hulu addon needs updating and not widevine...test with ViwX addon to make sure issue in not with widevine..
First time I tried LE aarch some months ago I remember widevine didnt work for me but after contacting the dev of the addon I was using and he made some updates to make it compatable pointing to new librarys it just worked..
-
Hi Mario77 thanks for chipping in,it was probably LE 10.0.0
did you manage to get ssh to work?
le 9.2.6 + kodi 18.9 that s the one you downloaded..
Try to connect to your box with putty...
Then run these 3 commands...
wget -O /storage/.update/LibreELEC-Generic.x86_64-9.2.6.img.gz "https://releases.libreelec.tv/LibreELEC-Generic.x86_64-9.2.6.img.gz"
touch /storage/.update/.nocompat
reboot -
Do you remember which version of LE you had installed?
LE10.0.0 = kodi 19.1
LE 10.0.1 = kodi 19.3
LE 10.0.2 = kodi 19.4
Not sure about 19.2??
-
Hi Chewitt the only option in update channel is 11.0 or 12.0 there is no option to go down a version?.
Update option doesn't allow you to downgrade through major releases...it will let you downgrade from ex 11.0.2 to 11.0.1 but not to 10.0.1 hence I mentioned the .nocompat option..at least that how it is on RPi..you ll have to do it manually..
-
Ok thanks for everything 😊.
try winscp on windows to move the image to your update folder.
-
I don't think LibreElec will let you downgrade by default..
On your usb alongside your LE image create an empty file and name it .nocompat
So on your usb you have now 2 items.The image and the file you created.
Insert USB in your device and browse to where you have your 2 files as you already done according to your screenshot..So in the left pane of filemanager you have your USB files.
Now go to the right pane of filemanager and browse to the directory /storage/.update
Go back to left pane and copy both files to the right.
Thats'all ..now restart and system should downgrade..
You will have to go in each of your main addons and downgrade manually...usually their dependencys are downgraded automatically but check just in case..