scripts

first of: it was bought at https://shop.delwi-itr.de for 300โ‚ฌ bucks and ideal linux boots and works like a charm.
pros:

  • 14″ screen, 13″ is to small, 14″ is reasonable, while the screen is often the part that uses most of the energy, so smaller screen = longer battery lifetime
  • the battery is quiet slim, but you can get 3x times the battery life with a 6 cell battery for around 50โ‚ฌ
  • big touchpad, two-finger-scroll works perfectly with ideal linux (Debian) ๐Ÿ™‚
    • the touchpad is big, but it is not triggered accidentally while typing.
  • slim design
  • 2x cores 2x threads (looks to OS like 4xcores) i5@2.9Ghz and 8GB RAM, 256GB SSD, that handles ideal linux with ease (any cpu core goes barely beyond 10% while firefox loaded)
  • the keyboard feels okay… it is pretty comfortable, has a two-level dimming backlight, and an green LED inside the FN (function) button.
    • you can activate the keyborad backlight with “Fn+Space” pretty cool ๐Ÿ™‚
    • the “print” button is located very closely to space bar… okay why not.
    • what is missing is a “right-click” button
  • webcam integrated webcam with decent quality 1280×720

cons:

  • a mouse click on this touchpad means to press the whole touchpad… this feels sluggish and makes a lot of noise, that could have been solved more elegant.
    • i know understand this design decision: you can now mark text by holding the whole touchpad “left mouse button” down and sliding over the touchpad in order to select text ๐Ÿ™‚ interesting ๐Ÿ™‚
    • this was probably also done, to avoid accidental touch pad interaction while typing on the keyboard (and the thumbs almost always touch the touchpad)
      • i understand this is very tricky… and i like big two finger scroll touchpads… but to avoid accidental interaction and allow easy right mouse click would be nice
  • also right-clicking with the touchpad takes some time to get used to. (it only works if you press the top right corner of the touchpad)
  • when looking at gray parts of the screen i believe to see “dots” and “stripes”

 

overall:

it is a fast machine.

it works great with the stick.

but the sluggish touchpad and the 30min of effective battery life makes an almost perfect laptop (there is a very nice 5-6h battery upgrade scroll down ๐Ÿ™‚ )

this blog post was written with ideal-linux on a stick booted on lenovo t440 ๐Ÿ™‚

linux lspci dmidecode hardware info script results:

here are the resultsย LENOVO-t440-20B7A1H4IX.txt

of the “hardware info and detection” script hardware_info_script.sh

benchmarks:

LENOVO-t440-20B7A1H4IX.cpuinfo.sh.txt

does your lenovo have keyboard backlight / background lighting?

it was the question of an angry user in some lenovo forum, with a closed threat so i can not even answer on it, here is the answer:

lenovo t440 with this symbol on the spacebar you can press Fn + Space to switch on (level1, level2, off) keyboard background lighting – your lenovo has no such symbol?

you can try it anyway but i guess you are out of luck and your lenovo laptop does not have keyboard background lighting (very sorry, it is really a cool locking feature, all lenovos should have these)

UPGRADE UPDATE: New Battery Pack!

23927/60/60 = 6.64HOURS OF RUNTIME! NICE!

Laptop Akku fรผr Lenovo ThinkPad T440 X240 T450 T440s T450s X250 X240s 4400mAh

yes it is thicker – yes it will make your laptop heavier… but it will run for 6 HOURS!

update: further optimizing runtime of laptops/notebook via powertop ๐Ÿ™‚

did that and it reports now 11hours of runtime, BUT i am experiencing harddisk access “hickups” meaning: whenever i try to open or save something i experience a massive delay of 10seconds or more.

my systemd file for t440 is like this: powertop.service.txt

(Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.9.0-8-amd64)

if you have any recommendations let me know.

so be careful with those tunings.

it comes with a manual that says: battery comes pre charged 70%, consume to 10% than charge to 100%, then consume to 10%… do this 4-5x times for battery to reach maximum capacity ๐Ÿ™‚ NEVER LET IT REACH 0%!

how do you measure the performance of a battery? of course by runtime! diabled all energy savings (display sleep etc.).

cat /scripts/count_seconds.sh 
echo "Seconds counter:" > count.log
COUNTER=0
while true; do
sleep 1;
let COUNTER=COUNTER+1;
echo $COUNTER" Seconds...";
echo $COUNTER >> count.log;
done;

23927/60/60 = 6.64HOURS OF RUNTIME! NICE!

first of: it was bought at https://shop.delwi-itr.de for 300โ‚ฌ bucks and ideal linux boots and works like a charm.

this script tries to install usb stick linux on internal harddisk

#!/bin/bash
echo "======= this script tries to install ideal linux stick on given harddisk"
mkdir /software;
cd /software;

echo "==== downloading ideal-linux-usb-stick image file"
wget -c https://linux-workshops.de/stick/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz;

echo "==== downloading ideal-linux-usb-stick image checksum"
wget -c https://linux-workshops.de/stick/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz.sha512sum.txt;

-> DOES NOT WORK!? cat /software/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz.sha512sum.txt |grep --color $(sha512sum /software/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz);

gunzip -c /home_stick/software/ideal-linux-usb_stick_image_full_2017-04.img.gz | pv | dd of=/dev/sdd;

echo ""

# dd bs=512 conv=noerror if=/dev/sdd of=/dev/$1

#!/bin/bash
# this script basically asks the user, if he is happy with the hardware-support of the currently running linux
# it then writes this to a log file in the format of ~/hardware_support/MotherBoardManufacturer/MotherBoardLevel.txt

cd ~;
mkdir hardware_supported;
cd hardware_supported;

# create folder for every brand/vendor
MOBOMANUFACTURER=$(dmidecode -s "baseboard-manufacturer")
mkdir "$MOBOMANUFACTURER";
cd "$MOBOMANUFACTURER";

echo "============ MOBOMANUFACTURER": $MOBOMANUFACTURER;

PS3='How well is your hardware supported?'
WELLNESS="none";
options=("very_well" "okay" "not_good" "Quit")
select opt in "${options[@]}"
do
    case $opt in
        "very_well")
        WELLNESS="very_well";
        mkdir very_well;
        cd very_well;
        break;
            ;;
        "okay")
        WELLNESS="okay";
        mkdir okay;
        cd okay;
        break;
            ;;
        "not_good")
        WELLNESS="not_good";
        mkdir not_good;
        cd not_good;
        break;
            ;;
        "Quit")
            break
            ;;
        *) echo invalid option;;
    esac
done

PS3='Are you happy with the working-speed?'
SPEED="none";
options=("very_well" "okay" "not_good" "Quit")
select opt in "${options[@]}"
do
    case $opt in
        "very_well")
                SPEED="very_well";
                break;
            ;;
        "okay")
                SPEED="okay";
                break;
            ;;
        "not_good")
                SPEED="not_good";
                break;
            ;;
        "Quit")
            break
            ;;
        *) echo invalid option;;
    esac
done

MOBOMODEL=$(dmidecode -s "baseboard-product-name");
PRODUCTNAME=$(dmidecode -s "system-product-name");

FILENAME=$MOBOMODEL_$PRODUCTNAME.txt; # add .txt extension to filename

echo "FILENAME: ""$FILENAME";

echo "======== MOTHERBOARD MODEL" >> "$FILENAME";
echo $MOBOMODEL >> "$FILENAME";

echo "======== PRODUCTNAME" >> "$FILENAME";

echo $PRODUCTNAME >> "$FILENAME";

echo "======== HAPPYNESS WITH HARDWARE SUPPORT" >> "$FILENAME";
echo $WELLNESS >> "$FILENAME";

echo "======== OS VERSION AND KERNEL" >> "$FILENAME";
echo $(uname -a) >> "$FILENAME";
cat /etc/debian_version >> "$FILENAME";

echo "======== WORKING-SPEED" >> "$FILENAME";
echo $SPEED >> "$FILENAME";

echo "======== ANY COMMENTS?" >> "$FILENAME";
read -e -p "======== ANY COMMENTS?" COMMENT;
echo $COMMENT >> "$FILENAME";

DATE=$(date +%Y-%m-%d)
echo "======== DATE" $DATE >> "$FILENAME";

echo "======== lscpu" >> "$FILENAME";
lscpu >> "$FILENAME";

echo "======== lspci" >> "$FILENAME";
lspci >> "$FILENAME";