Balakrishna Vanka's bloghttps://www.balakrishnavanka.com
Bala's websiteTue, 12 Sep 2017 16:49:44 +0000en-UShourly1https://www.balakrishnavanka.com/wp-content/uploads/2016/04/cropped-me_2-e1459865050697-1-32x32.jpgBalakrishna Vanka's bloghttps://www.balakrishnavanka.com
3232Synergy for keyboard & mouse sharing across PC/Linux/Mac systemshttps://www.balakrishnavanka.com/?p=84
https://www.balakrishnavanka.com/?p=84#respondSun, 09 Apr 2017 17:34:12 +0000https://www.balakrishnavanka.com/?p=84Read more]]>Synergy is a nice software which can be used to share keyboard and mouse across systems such that we no longer need to unplug and plug the hardware to different systems.

This software is available on windows, Linux and Mac (Cross Platform). This can be used as alternative to expensive hardware KVM switches.

This software offers ssl encryption and clip board sharing too.

how ever I came across some issues with ssl on my laptop running Opensuse Leap 42.2 Linux. (dependency libssl.so.10 not found error). Also Raspberrypi 3 repos have old version which doesn’t show ssl option.

To get around these issues I recompiled code from the git repository on Linux (Opensuse Leap 42.2) and Raspberry pi 3 ( jessie – PIXEL).

]]>https://www.balakrishnavanka.com/?feed=rss2&p=800Using bluetooth mouse in windows/linux dual boot machine with out re-pairinghttps://www.balakrishnavanka.com/?p=75
https://www.balakrishnavanka.com/?p=75#respondFri, 03 Feb 2017 15:28:43 +0000https://www.balakrishnavanka.com/?p=75Read more]]>I got a nice Logitech MX Master Bluetooth mouse. When ever I boot into different OS on my dual boot laptop I used to loose Bluetooth connection. I came across this article in internet which explains how to avoid re-pairing Bluetooth mouse on dual boot machines.

It explains how to extract Bluetooth connections keys from windows registry using sysinternal psexec and then update Bluetooth configuration file under linux to use same connection keys.

Instead of doing tricky conversions mentioned in above link, you can note down decimal equivalent values from windows registry and use those values to update linux conf file.

Update:

I have to do below two updates to make it work

I updated IdentityResolvingKey in addition to keys mentioned in above link

Left EncSize as 16 instead of changing it to zero.

Tip: Instead of exporting and then doing tricky conversion of registry values do below steps

Issue command: psexec -s -i regedit

from there export folder “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys”

From Registry editor note down decimal values of EDiv and Rand such that we don’t need to covert later.

To easily reformat IRK, LSK and LTK values into Linux format, use python interpreter as below:

Open python interpreter and Assign key string to a variable like
a = ‘dc,07,9f,29,1b,84,23,f1,be,fe,73,73,a4,c3,d8,c7″

Now to get the reformatted value, use below python code
a.replace(“,”,””).upper()– Good Luck

]]>https://www.balakrishnavanka.com/?feed=rss2&p=750Touch typing layout variationshttps://www.balakrishnavanka.com/?p=72
https://www.balakrishnavanka.com/?p=72#respondFri, 03 Feb 2017 14:36:07 +0000https://www.balakrishnavanka.com/?p=72Read more]]>I came across below article which mentions the layout I am using to type. It is interesting to know there are many people who uses this layout. I used to think I am the only one who is using incorrect layout.

]]>https://www.balakrishnavanka.com/?feed=rss2&p=320Auto turn on electric devices using RF sockets and raspberry pihttps://www.balakrishnavanka.com/?p=29
https://www.balakrishnavanka.com/?p=29#respondWed, 30 Mar 2016 13:40:48 +0000https://www.balakrishnavanka.com/?p=29Read more]]>Yesterday I wrote a small script to turn on electric heater in my room when temperature is less than 18C.