Posts

Ubuntu power user tricks

#All these command tested on, Ubuntu 16.04 LTS till date of this blog post. GNU/Linux, 4.15.0-47-generic, x86_64, #50~16.04.1-Ubuntu SMP machine. 1. To increase opened recent files in gedit on terminal type, gsettings set org.gnome.gedit.preferences.ui max-recents "uint32 60" 2. Mail from command line, you need, sponge , mailutils and ssmtp . To install sponge on a Debian-like system: apt-get install moreutils sudo apt install mailutils sudo apt-get install ssmtp open, sudo vim /etc/ssmtp/ssmtp.conf And add the following to the file: AuthUser= <user>@gmail.com AuthPass= Your-Gmail-Password mailhub= smtp.gmail.com:587 UseSTARTTLS= YES test it # cat some-text-file | mail -s "Test" my.user@gmail.com 3. Test with building android, do envsetup.sh and lunch # make -j4 showcommands &> build.log ; tail -n 100 build.log | sponge build_aosp8-tail.log | mail -s "Test log" my.user@gmail.com 4. A better command termina...

I2C driver for beaglebone black

follow this link completly for getting toolchain, kernel, uboot and card flashing http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-U-BootOverlays comment out spi adxl driver in driver/input/Makefile uEnv.txt # cat /boot/uEnv.txt #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=4.4.127-bone22 #uuid= #dtb= ##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..) ##BeagleBone Black: HDMI (Audio/Video) disabled: #dtb=am335x-boneblack-emmc-overlay.dtb ##BeagleBone Black: eMMC disabled: #dtb=am335x-boneblack-hdmi-overlay.dtb ##BeagleBone Black: HDMI Audio/eMMC disabled: #dtb=am335x-boneblack-nhdmi-overlay.dtb ##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled: #dtb=am335x-boneblack-overlay.dtb ##BeagleBone Black: wl1835 #dtb=am335x-boneblack-wl1835mod.dtb ##BeagleBone Green: eMMC disabled #dtb=am335x-bonegreen-overlay.dtb ###U-Boot Overlays### ###Documentation: http://elinux.org/Beagl...