←  [EN] Third-Party Development

Forums

»

DeviceManager for openPli

Dimitrij's Photo Dimitrij 15 Oct 2017

version 1.2

need testing

 

 

https://github.com/D...s-devicemanager

Quote

gorski's Photo gorski 16 Oct 2017

In PurE2 crash...

 

To install OpenPLi in ZGemma H7S (and be able to test it) I need to know if the "multiboot" image is really multiboot or not, first...

Quote

Dimitrij's Photo Dimitrij 16 Oct 2017

In PurE2 crash...

 

To install OpenPLi in ZGemma H7S (and be able to test it) I need to know if the "multiboot" image is really multiboot or not, first...

Where is he?

Quote

gorski's Photo gorski 16 Oct 2017

It is not the best image to test it for you, because it has a Device Manager included, so maybe not a good thing to try to do...

 

I brought home XP1000, so I shall try your Dev Man in OpenPLi there... ;)

 

Anyway, here it is, kamarad, if you are interested... :)

 

http://www.hd-digita....php?page=Index

 

http://www.hd-digita...abdb2e87898338b

 

http://pur-e2.club/O...dex.php?dir=6.1


Edited by gorski, 16 October 2017 - 09:57.
Quote

gorski's Photo gorski 16 Oct 2017

OK: XP1000 reactivated, last OpenPLi 6.0 is in, Device Manager 1.2 sent in and it is working, it seems...

 

I have a multi-USB port device which I use to connect more than one device through the single USB port that XP1000 has.

 

I did not want to mess with the already correctly mounted USB stick but HDD was not /media/hdd (it was sdb).

 

I had to unmount Fast mount and then I used one of the many given possibilities to mount as /media/hdd.

 

Also, I plugged in a small, 256MB USB stick and tested various possibilities:

 

1) Initialise - used the "Simple" one, 1 partition in EXT4 (but it has many other, both Linux and even Windows NTFS formats)!

 

2) Info - successful

 

3) Partitions (it was sdc, there were options to format but no need, since I initialised it as above) mount > /media/usb1 (Fast mount option)

 

4) When checking/listing partitions it does not give what type of format (it is EXT4, but it just says Linux) - successful.

 

5) Tested Blue button > Fast Mounted Remove option in OpenPLi itself > it safely unmounted it and warned correctly to check if there are more than 1 partitions mounted, so to check it first (and unmount if...) before removing the USB stick.

 

I suppose, one could also build into it a SWAP manager and maybe even Flash Expander?

 

I combine it with the attached 2 plugins from now sadly departed PBNIGMA...

 

A very good job that I can see so far, m8! :)

Attached Files

Quote

Dimitrij's Photo Dimitrij 16 Oct 2017

Thank you for the tests.

Plugins SWAP manager and Flash Expander available from the OpenPli feed.

Quote

gorski's Photo gorski 16 Oct 2017

I know, m8 - in System Plugins. And I installed SWAP Manager and it seems working fine.... :)

 

Just mentioning that you seem capable of making an All-In-One Device Manager... ;)

Quote

gorski's Photo gorski 18 Oct 2017

Dimitrij, m8: sadly, it is not working the same way in Zgemma H7S with the image you shared with me...

 

Namely, I can't unmount a device and then try to mount it, initialise it, format etc.

 

Attached File  Dev Man in Zgemma with OpenPLi 6.1_a.jpg   16.14KB   7 downloads

 

Various coloured buttons are simply not usable...

 

Attached File  Dev Man in Zgemma with OpenPLi 6.1_b.jpg   13.02KB   4 downloads

 

Basically, it does not work as intended...


Edited by gorski, 18 October 2017 - 02:09.
Quote

Dimitrij's Photo Dimitrij 18 Oct 2017

gorski

For /dev/sdc1 not filesystem,how did you do that?

in telnet:

sfdisk -l

and write answer


Edited by Dimitrij, 18 October 2017 - 05:48.
Quote

gorski's Photo gorski 18 Oct 2017

openpli develop h7

root@h7:~# sfdisk -l
-sh: sfdisk: not found
 


Edited by gorski, 18 October 2017 - 14:47.
Quote

gorski's Photo gorski 18 Oct 2017

Btw, I have access to it, the HDD itself, it all works - see the DVD working brilliantly through the built-in DVD player:

 

Attached File  USB_HDD_media_sdc1_a.jpg   70.31KB   5 downloads

 

Attached File  USB_HDD_media_sdc1_b.jpg   111.42KB   4 downloads

 

Attached File  USB_HDD_media_sdc1_c.jpg   117.4KB   3 downloads

 

Attached File  USB_HDD_media_sdc1_d.jpg   106.01KB   2 downloads

 

Attached File  USB_HDD_media_sdc1_e.jpg   65.97KB   2 downloads

Quote

Dimitrij's Photo Dimitrij 18 Oct 2017

openpli develop h7

root@h7:~# sfdisk -l
-sh: sfdisk: not found
 

Need install util-linux-sfdisk

Not sfdisk,plugin not work,only info.


Edited by Dimitrij, 18 October 2017 - 15:48.
Quote

gorski's Photo gorski 18 Oct 2017

Specific to ARM or...?

What is the command, please?

 

Cheers! :)

Quote

Dimitrij's Photo Dimitrij 18 Oct 2017

opkg update && opkg install util-linux-sfdisk
Quote

gorski's Photo gorski 18 Oct 2017

Damn:

openpli develop h7

h7 login: root
Last login: Wed Oct 18 14:44:21 IST 2017 on pts/0
root@h7:~# opkg update && opkg install util-linux-sfdisk
Downloading http://downloads.pli...rty/Packages.gz.
Updated source 'openpli-3rd-party'.
Downloading http://downloads.pli...-h7/Packages.gz.
Updated source 'openpli-3rd-party-h7'.
Downloading http://garden.openpl...all/Packages.gz.
wget: server returned error: HTTP/1.1 403 Access Forbidden
Downloading http://garden.openpl...pv4/Packages.gz.
wget: server returned error: HTTP/1.1 403 Access Forbidden
Downloading http://garden.openpl.../h7/Packages.gz.
wget: server returned error: HTTP/1.1 403 Access Forbidden
Collected errors:
 * opkg_download_backend: Failed to download http://garden.openpl...all/Packages.gz, wget returned 1.
 * opkg_download_backend: Failed to download http://garden.openpl...pv4/Packages.gz, wget returned 1.
 * opkg_download_backend: Failed to download http://garden.openpl.../h7/Packages.gz, wget returned 1.

Quote

Dimitrij's Photo Dimitrij 18 Oct 2017

sfdisk arm

/usr/sbin/ 755

Quote

gorski's Photo gorski 18 Oct 2017

Doesn't want to install it, m8 - "installed 0 packages"...

Quote

WanWizard's Photo WanWizard 19 Oct 2017

wget: server returned error: HTTP/1.1 403 Access Forbidden

 

means you're not logged in on the forum from the same public IP address as the box. You need to access files from the development server.

Quote

gorski's Photo gorski 19 Oct 2017

Thanx!

 

But I am not using a VPN or SmartDNS at the moment, and on both my laptop and STB I am currently going through primary and secondary DNS as follows: 8.8.8.8 and 8.8.4.4.

 

Also, the ipk does not want to install...?

Quote

WanWizard's Photo WanWizard 19 Oct 2017

My remark was directed to Dimitrij. For you that wasn't relevant.

Quote