mafredri / lcm

Implementation of the ASUSTOR NAS LCD serial port communication protocol
MIT License
15 stars 2 forks source link

Installation instructions #1

Open giostark opened 1 year ago

giostark commented 1 year ago

Hi! I'm an owner of a AS5104T and I installed Arch successfully. I modded all the fan and the dissipation. Now is extremely efficient even under load. The only thing that remain is the front LCD panel. Now is fixed on "starting system please wait". I also installed an XMPP server and I'll do all that is possible to make this trap work better than with the original ADM. Is pretty satisfactory have the possibility to manage everything without restrictions.
I tried to run the go file you provided ("go run xxx"). But to be honest nothing is happened. (I'm not a programmer so i get a little lost). Maybe this LCD is too different from the model you have? Would you be so kind to explain how to install or run your work? Did you manage to improve what you have already done? Sorry if this is not a contribute or a really specific issue. Would be great add in the readme some info about how to run this files. Thanks anyway for your time and work.

mafredri commented 1 year ago

Hey @giostark. Glad you found this project, it should have no problem working with AS5104T, all ASUSTOR LCDs are pretty much identical. Most likely, the reason it didn't work was permissions for your user.

This project has been forever in a state of WIP, meaning I've had a lot of work locally that I haven't pushed to GitHub. Well, perfect is the enemy of good enough, so I've updated the project and pushed everything.

The openlcmd command is improved, but not exactly where I want it to be. Maybe some day.

README has improved install instructions too: https://github.com/mafredri/lcm#installation.

giostark commented 1 year ago

Bloody hell Mathias , it worked !! I'm very grateful :-) At least now the stuck line "starting system please wait" is now the IP address that fade away after a while. Perfect behavior :+1: Info , System , Openlcmd all report just the IP . Is this expected?

IMG_20221230_205728

mafredri commented 1 year ago

Glad to hear you got it working @giostark!

Info , System , Openlcmd all report just the IP . Is this expected?

Pretty much, although openlcmd > Version should show openlcmd v0.0.1 for 3 seconds. The other menus are incomplete and unimplemented. You can see here that most of the functions do nothing.

I'll probably implement the reboot/shutdown functionality at some point since it would be handy at times. 😄

If you have any specific requests, feel free to ask. I'm not dedicating much time to this project these days but I might get around to it at some point (or if others want to contribute I'm happy to accept PRs).

Ideas I've had for this project are:

One idea I just thought of that could be cool is to add "Custom commands" so that you can add your own scripts, like openlcmd --custom-command "name=Do something,script=/path/to/my/script.sh", and then openlcmd lets you pick it and run it.

giostark commented 1 year ago

Thanks again Mat ! (I now saw the "nul" in the code). As expected you can play with this stuffs as you like. In real I don't have any particular request , your proposals seems to me already really good enough !! ps: just for talk... -There is also the Sepia project (here on git) of Florian about a digital assistant that is really interesting. Would be amazing to call voice commands :-) -I had a look at Gentoo rice and I admit , some laugh is erupted ! :-)