This is so epically on repeat.
This is so epically on repeat.
Here it is: A Y6 hexacopter build from scrap parts and a self printed TPU frame.
Pardon the build quality. I really hacked it together in a total of 4 hours. It looks like sh*t, but it flies SO GOOD!
It’s running Betaflight 3.5. The motors are just some random Racerstars – two different sizes even! 2206 on top, 2205 on the bottom. The ESCs are two 20A and 4 30A (Racerstar and Makerfire).
imagine your image folder looks like this:
rephlex@hera:[~/Schreibtisch/gna]: ls -1 * | head
This is the command you’re looking for:
ffmpeg -framerate 25 -start_number 37679 -i G00%05d.JPG -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
meta.preset.note=H.264/AAC MP4 for YouTubeso i never have to reinvent the wheel.
Some nice Timelapse I made from Daniel’s 3D Printer.
I uploaded a new video onto the Tube, it’s called „Ghost / unknown flying object“.
I liked picking up the idea of a double feature, which is movie enthusiast slang nowadays, but used to be quite common: You pay once, and get to see two movies (two features).
It’s mainly footage from my Mallorca trip in 2018, the intro is me chasing Sean’s wing in Hallstadt, Germany. It’s not related to Mallorca, just thought to myself it makes for a good opening. Well, now that i think about it, that sesh was the last time I went flying before going on that plane, so it kinda has its place there at the beginning.
So, without further ado: Enjoy and please subscribe!
Start a Terminal using CTRL+ALT+T. Install some depencencies and frontend scanner tools using
sudo apt-get install xsane sane-utils simple-scan lib32stdc++6
Now download the drivers. In case brother loses them, I mirrored them here. Alternatively use the wget commands down below.
wget http://download.brother.com/welcome/dlf006646/brscan4-0.4.4-4.i386.deb -O brscan4-0.4.4-4.i386.deb
wget http://download.brother.com/welcome/dlf006651/brscan-skey-0.2.4-1.i386.deb -O brscan-skey-0.2.4-1.i386.deb
wget http://download.brother.com/welcome/dlf006654/brother-udev-rule-type1-1.0.2-0.all.deb -O brother-udev-rule-type1-1.0.2-0.all.deb
Now install the drivers you just downloaded:
sudo dpkg -i –force-architecture brscan.deb brother-udev-rule.deb
And restart your udev service:
sudo systemctl restart udev.service
All i had to do was unplug and plug in my DCP, and i could immediately scan using simple-scan in Gnome.
When i got my shiny new ZenBook 13 UX331UN in July, i immediately wiped it and installed Ubuntu 18.04 (Bionic Beaver).
But I soon realized something was wrong with suspend: The laptop would go to sleep and over night the battery would either almost (10-ish percent) or completely drain, leaving the laptop completely powered off.
On other laptops the suspend state would eat about 5% charge per day, leaving you able to suspend around 3 weeks in theory, but something was using the battery in suspend here.
Here’s the problem analysis:
Suspend your laptop. Wake it up again. Now check the output of
sudo journalctl | grep „PM: suspend“ | tail -2
May 13 18:41:00 mex kernel: PM: suspend entry (s2idle)
May 13 20:52:36 mex kernel: PM: suspend exit
If you end up with
Your laptop is only entering „s2idle“ sleep (which is basicallynot saving much more than with blanking out screen and disabling the network). What we really want instead is the „deep“ sleep.
You can also check
[ s2idle] deep
meaning the s2idle state is active in standby, because it’s written in brackets.
The permanent fix:
Edit your grub bootloader config to add a parameter to your Linux kernel when it boots. Type
sudo gedit /etc/default/grub
and replace the line GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash“ with
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash mem_sleep_default=deep“
Save the file and exit. Now run
sudo update-grub && sudo reboot
To apply the changes and reboot. Test. Done.
IMPORTANT: If you now have troble waking your laptop up, DO NOT USE THE NVIDIA DRIVERS. They suck. Use noveau.
EDIT: The above works and is tested, but i now have the problem that the laptop won’t resume when on battery. When it’s on power supply it can resume. Any ideas!?
If you run Proxmox and run into
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = „en_US.utf8“
are supported and installed on your system.
perl: warning: Falling back to the standard locale („C“).
here’s your solution:
dpkg-reconfigure locales -u