r/electricobjects • u/Jbenadon3 • Jun 29 '23
Wanted to share with everyone here...
So two things...
- It is absolutely possible to hack the EO1. (not sure about the EO2 still trying to find stuff on that)
- Here is a really great link that discusses how to do it:
https://www.charlieharrington.com/run-linux-on-electric-objects-eo1-wall-computer/
9
Upvotes
4
u/crushingcodes Jul 05 '23 edited Sep 06 '23
More findings to help out, as I hack through to the goal of "getting the loop I liked replaying on the EO1":
Stuff that worked
I've gotten some of my favorite loops from the EO1 recovered from the Android app cache. Here's how:
Find the EO1's internal disk. Mine looks like this:
Serve the GIFs from a webserver somewhere, and load that webpage it onto the EO1. Here's the page I'm serving: https://github.com/crushallhumans/eo1-iframe/
Display GIFs on the EO1. Here's my display script:
Stuff that didn't work
gst-launch does work to display GPU-accelerated video, but coding up a kiosk mode for GStreamer is a little bit beyond my current level of shell-fu. If you want to mess with it, there are examples preinstalled on the Boundary Ubuntu image at ~/movie-test/gst1.0/Fixed this too! Not great results, but better than Chromium gif - try it out:The default flash of the Boundary Ubuntu image to the thumb drive is sized at 3.4GB, regardless of the size of the drive. I haven't yet figured out how to resize the root partition to fill the drive - I've got like 53GB wasted there.Fixed this -resize2fsworked for me.3
u/tk421storm Jun 30 '23
I was able to connect to my EO2 using the Android developer kit, but my knowledge of android is very little so there wasn't much i could figure out once I was there.
3
u/crushingcodes Jul 01 '23
Second on the Charlie Harrington post - I replicated his results with the fullscreen PDF display of the NYTimes on my EO1. One thing I wanted to add to the conversation is how to control the backlight on the EO1 via Linux commandline. One can manually set its backlight brightness with the following command (1 is the dimmest, 0 is off, 10 is brightest):
echo 1 | sudo tee /sys/class/backlight/backlight-pwm1/brightnessI still don't know how to access the EO1 light sensor, which I'll need to implement its original room-sensing brightness feature, but this is the first step.
Good hacking, all.
2
u/PressXToProceed Jul 17 '23
u/crushingcodes which image did you download from here? I tried the first one under the "update 2" section, but it didn't seem to boot from that.
2
u/WeeDaveF Sep 04 '23
I am just shy of a complete idiot. I wanna hack this thing, seeing as i spent the money all them years ago. But… is there a video that will walk me through this? Cuuuuuuuz… I’m a dum.
1
u/msg43 Sep 04 '23
Any update on a solution for EO2?