среда, 19 ноября 2014 г.

пятница, 7 ноября 2014 г.

AMD APU CPU: No sensors found

AMD APU CPU:
  1. dmidecode
    # dmidecode -t processor| grep -i version
     Version: AMD A8-5600K APU with Radeon(tm) HD Graphics
  2. cpuinfo
    # cat /proc/cpuinfo | grep name| head -1
    model name : AMD A8-5600K APU with Radeon(tm) HD Graphics 
# sensors-detect
...
Sorry, no sensors were detected.
...

Solution:
  • Add to /etc/modprobe.d/lm_sensors.conf
    options it87 force_id=0x8728
  • Load module it87
    modprobe it87
$ sensors
it8728-isa-0290
Adapter: ISA adapter
in0:          +1.04 V  ..... 
in1:          +1.66 V  ..... 
in2:          +2.00 V  ..... 
+3.3V:        +4.01 V  ..... 
in4:          +1.19 V  ..... 
in5:          +2.23 V  ..... 
in6:          +2.23 V  ..... 
3VSB:         +3.31 V  ..... 
Vbat:         +3.24 V  
fan1:        2014 RPM  ..... 
fan2:           0 RPM  ..... 
fan4:        1403 RPM  ..... 
temp1:        +27.0°C  ..... 
temp2:        +29.0°C  ..... 
temp3:       -128.0°C  ..... 
intrusion0:  OK

Profit!


FROM

вторник, 4 ноября 2014 г.

Cloning Windows Server 2008 R2: Use Sysprep (no more NewSID)

  1. Run Sysprep
    (on Windows Server 2008 this is located in:
    c:\Windows\System32\Sysprep\Sysprep.exe)
  2. Ensure System Out-of-Box Experience (OOBE) is selected
  3. Tick the Generalize option (this resets the SID)
  4. Select Shutdown from the Shutdown Options.
  5. Once the machine has shutdown, take your image and you are good to go!


from

четверг, 30 октября 2014 г.

ROOT LG L90

  • Format sdcard using into ext2.
    mkfs.ext2 /dev/sdX1
  • Download update.zip
    Move it to your ext2 sdcard

  • Install Android SDK or
    • for Debian Wheezy:
      Add to /etc/apt/sources.list
      deb http://ftp.debian.org/debian wheezy-backports main 
      Update & install android-tools-adb
      sudo apt-get update && sudo apt-get install android-tools-adb
  • Prepare your phone.
    Turn on USB debugging:
    Settings –> General –> Developer options –> USB debugging.

    If you don’t see it:
    Settings –> General –> About phone –> Common –> Software info
    – click 5-10 times on Build number.
  • Connect phone & run Terminal:
    adb devices
    adb shell
    reboot recovery
  • Disconnect phone, plug in sdcard
  • In recovery choose "apply update from external sdcard"update.zip
    Choose "reboot system now"

    The phone will reboot.


FROM
Profit!

пятница, 24 октября 2014 г.

Brother MFC-7860DWR: install scanner

Download driver for scanner from LINK

  • Open terminal & switch to root
    sudo su -
  • Install driver
    dpkg  -i --force-all brscan4-0.4.2-1.amd64.deb
  • Check if driver installed
    dpkg -l | grep Brother
  • Add scanner via IP
    brsaneconfig4 -a  name=Brother_scan  model=MFC-7860DW  ip=192.168.0.10
  • Check
    brsaneconfig4 -q  |  grep Brother
PROFIT!