Linux Infra-red Remote Control
Uninstalling the service:apt-get remove lirc
Stop the modules from being loaded at all:
echo install ir_lirc_codec /bin/true > /etc/modprobe.d/ir_lirc_codec.confThe last two lines avoid the loading of modules for the BMP085 (barometric pressure, temperature and altitude sensor) and PCF8591 (8-bit A/D and D/A converter) that are not present on the Orange Pi Lite.
echo install lirc_dev /bin/true > /etc/modprobe.d/lirc_dev.conf
echo install ir_mce_kbd_decoder /bin/true > /etc/modprobe.d/ir_mce_kbd_decoder.conf
echo install ir_sanyo_decoder /bin/true > /etc/modprobe.d/ir_sanyo_decoder.conf
echo install ir_sony_decoder /bin/true > /etc/modprobe.d/ir_sony_decoder.conf
echo install ir_jvc_decoder /bin/true > /etc/modprobe.d/ir_jvc_decoder.conf
echo install ir_rc6_decoder /bin/true > /etc/modprobe.d/ir_rc6_decoder.conf
echo install ir_rc5_decoder /bin/true > /etc/modprobe.d/ir_rc5_decoder.conf
echo install ir_nec_decoder /bin/true > /etc/modprobe.d/ir_nec_decoder.conf
echo install sunxi_cir /bin/true > /etc/modprobe.d/sunxi_cir.conf
echo install rc_core /bin/true > /etc/modprobe.d/rc_core.conf
echo install bmp085 /bin/true > /etc/modprobe.d/bmp085.conf
echo install pcf8591 /bin/true > /etc/modprobe.d/pcf8591.conf
SFTP server
Remove "Subsystem sftp /usr/lib/openssh/sftp-server" from '/etc/ssh/sshd_config'Remote syslog
Uninstalling the service:apt-get remove rsyslog
Generally save energy
Go to '/boot' and edit the 'script.bin'. It can be converted to text and then edited. Convert it withbin2fex script.bin script.fex
and back to binary with
fex2bin script.fex script.bin
E.g. disable all devices you don't need, e.g. disable the HDMI display and all output
('disp_init_enable = 0, mali_used = 0, g2d_used = 0'). You would do this only on a production system that won't ever have a screen attached, but not on your development system.
For details and other options:
http://linux-sunxi.org/Fex_Guide
No comments:
Post a Comment