Posts

Showing posts from 2014

Samsung NP900X4C Ubuntu 14.04

Image
First I turned off Secure boot and UEFI, so it wouldn't brick my laptop, but that should be fixed in latest kernels. Installed Ubuntu 14.04 64bit. Almost everything works. 1) Fn-keys Get the Fn-keys to work: sudo apt-add-repository ppa:voria/ppa sudo apt-get update sudo apt-get install samsung-tools xbindkeys-config Then I run: samsung-tools-preferences  2) My USB 3.0 ports didn't work. So I fixed it by editing /etc/default/grub sudo gedit /etc/default/grub Change line GRUB_CMD_LINUX_DEFAULT="quiet splash i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 pciehp.pciehp_force=1samsung-tools-preferences pciehp command makes usb ports work, and i915 stuff downclocks the graphics so it would take less energy. 3) Brightness - On startup brightness is full, and is so brighter than sun. I fixed it by installing a program and running a command on startup. sudo apt-get install xbacklight Run Startup Applications and create new ap

OnePlus One wireless charging

Image

MR3420 Openwrt + MF823

 Kõigepealt tuleb installida vajalikud pakid: opkg update opkg install kmod-usb-net kmod-usb-net-rndis kmod-usb-net-cdc-ether usbutils udev usb-modeswitch Seejärel seadistada pulga jaoks failid. Kasutasin rc.localis pulgalt korraks voolu tagant võtmise gpio-d, sest ilma ei hakanud tööle. Kindlasti on ka teisi võimalusi nt usb-modeswitch, aga nii toimis. Faili sisu, et pulk tööle hakkaks /etc/config/network:     config 'interface' 'wan'      option proto 'dhcp'         option ifname usb0 /etc/rc.local sisu: # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. sleep 5 echo 0 > /sys/devices/virtual/gpio/gpio6/value sleep 2 echo 1 > /sys/devices/virtual/gpio/gpio6/value exit 0 /etc/config/network: config interface 'lan'         option ifname 'eth0'         option force_link '1'         option type 'bridge'         option proto 'static'