i2c_hid & cryptdevice

you’ll find lots of people complaining about luks, cryptdevice, grub and a damn usb keyboard… now, the fun comes with new laptops like the one i’m playing with

first of all it has on board a cursed SoC called baytrail (renamed bayFAIL by most of the people on the internet) …. second, well…. whatever… you are on your own … as me, as always

the laptop is a Lenovo 100S, it comes for 199EUR off the shelf in any electronics store in Germany… and to install, go straight to a Debian Testing amd64+i386 DVD iso… to be dd-ed onto a usb stick. Don’t use a non-multiarch installer, the EFI will be ur enemy. It won’t boot😉

so…. the solution for the damn keyboard… once installed… and once you logged in with an external usb keyboard is to modify the /etc/initramfs-tools/modules and add the following:

i2c_designware_platform
i2c_designware_core
i2c_algo_bit
i2c_hid

then just type:

update-initramfs -u

and reboot

…yes, you are welcome

EU way of life

I dreamt of living like in the United States of America, taking my car one morning, moving city, job, friends, life. Milan, Barcelona, Paris, London, Frankfurt, Berlin, Dublin.

An American would just do it. For us, Europeans, is not that easy as it seems.

We got used to get around with no borders, just our national identification card, no passport. One currency, no work permit needed.

You move, you get into a new job, maybe given the perspective of working with the holy dream of a common working language, like English. Well, keep dreaming. Reality is something else. Start getting used to the hateful sentence: “You live in xyz, you need to speak the language of xyz!“. There, all your dreams of a United States of Europe fail in a fraction of a second.

You just moved, you signed the contract of the above mentioned job, that might be bilingual (local xyz legal language, and hopefully English too). But the, you need to get:

  1. new tax id code of country xyz you decided to move to
  2. new bank account in country xyz, despite in the EU the IBAN should have avoided this… go figure and tell the HR (human resources) badly paid lady that just sees you as somebody stealing a decent job in their mother country
  3. new health insurance contract, as your EHIC (European Health Insurance Card) is valid only 6 months bound to the country you are relocating from
  4. new utilities contracts for your apartment: internet, gas, energy
  5. new rental contract (mortgage and related stuff is another nightmare)
  6. new driving licence (yes, you have to give up your old one within 6 months)

All of the above points, to be done in the language xyz of country xyz.

I moved to Germany, I’m Italian, speaking fluent English, with not a single word of German when I moved 8 years ago. For no f***ing reason I’d do this again moving to yet another country in the EU where I do not know the language.

Believe me, it is damn frustrating.

Not to mention that, if you are coming from one of the so called PIIGS countries (Portugal, Italy, Ireland, Greece, Spain) you’ll be seen exactly as you might have been used to see gypsies. You are not welcome. Everybody will remember that to you on the street every damn day.

I love living in Berlin, I earned the respect and the trust of locals who know me.

Go, if you got the chance, go. Take an ERASMUS, take a job, a girlfriend/boyfriend. Go abroad, be a better person, open your mind. It is the only way to have an open Europe.

But… be prepared😉

 

is the Galaxy S6 Edge the only LTE phone for US/EU travellers?

I mean, I live in Germany, but I work for an american company based in Orange County (Southern California, USA) and Verizon seems to be the king over there as the CDMA technology allows them to cover 10 times the range of what a GSM tower can cover. Verizon is NO option for a european like me as to have their simcard you need to have a phone that they purchased in batches and registered in their infrastructure. You cannot bring in your own phone, even if the tech specs of the phone are fine. You simply can’t. Well, they won’t you let BYOD (bring your own device). Unless it is an iPhone 6s [probably Apple forced them to preemptively register all their IMEIs in the network]

Anyhow…

If you are living in Germany, you do need a phone that has the LTE FDD frequencies 3,7 and 20 (in MHz 1800, 2600 and 800) according to https://en.wikipedia.org/wiki/List_of_LTE_networks_in_Europe

If you live in Italy, same set of frequencies.

If you wanna travel to US, and don’t wanna have to purchase a phone from Verizon (it will take you at least 6 months of contract with them to get it unlocked… so, until you can put in your italian/german simcard) you have to go for T-Mobile. Therefore… frequencies LTE FDD 2,4 and 12 (again in MHz 1900, 1700 and 700a -> no clue what’s the “a” stands for) Check https://en.wikipedia.org/wiki/List_of_LTE_networks#Americas for further details.

Well… the only phone that has LTE FDD frequencies 2,3,4,7,12,20 all in one, is the Samsung S6 EDGE -> http://www.samsung.com/us/explore/galaxy-s-6-features-and-specs/

It also has at least one match for Docomo (Japanese carriere) required frequencies: LTE FDD 1 (2100 MHz) … forget about the others: 9(3), 19(5,26) and 28. It was already a miracle for me to put my hands on a prepaid “data only” simcard while in Tokyo on spring last year. Apparently you cannot have a “voice” simcard unless you are a resident…

Has anybody else found another phone suitable for a “global traveller”? Possibly cheaper than the S6😉 …and maybe dual-sim too… k, now I’m asking too much I guess.😀

UPDATE: [strike out 1] The Nexus 5X as it has all the frequencies I need plus it is a an LTE Cat 6 phone [strike out 2] The Sony Xperia Z5 (it has also an internal microSD slot) The Motorola Moto X Style (more cost effective, and has up to 128Gb microSSD card slot) is most likely to be my next phone. Thanks to Fra Costa for introducing me to Project Fi (very cool indeed, but I’m not US based). Here is a list of all the other LTE Cat 6 devices…  (not only Cat6)

 

 

cervelli in fuga

(Copio e incollo dal post su facebook. Sono felice di aver fatto parte del progetto)
Aladino A. Amantini: Sono molto fiero di questo video. Quasi quanto lo sono dei miei amici

Con la partecipazione di (tra gli altri):

Se siete interessati a Sailing Film, il progetto di Jacopo: http://www.sailingfilm.com
Se siete interessati ai progetti tecnici di Renato: https://www.facebook.com/xevilstar
Se siete interessati a Gaia Italia, il progeto di Giacomo: http://www.acquarishop.it
Se siete interessati ad andare a lavorare in Olanda con Fernando e Andrea sentite me (da oggi cacciatore di teste)
Music Title: brain Author Frankie C
Licence: Creatice Commons 3.0 (Attribution – No Derivative Works)

Tassodi in località Corno a Predore

qualche giorno fa sono stato contattato su facebook da un amico di famiglia che mi segnalava uno scempio ai tassodi fatti piantare da mio nonno, il botanico Luigi Fenaroli, a protezione delle sponde del Lago d’Iseo

a differenza di mio nonno non so assolutamente nulla di piante, mi occupo di altro nella vita, ritengo pero’ che per quel che ho potuto vedere, per come stanno realizzando la pista ciclabile, si sta facendo qualcosa di buono per l’intera comunita’. E’ una bellissima rivalutazione delle nostre sponde e anche un esaltazione del lavoro di mio nonno. La ciclabile corre accanto ai tassodi in un’atmosfera molto romantica. Spero che a questi lavori segua anche un attivita’ di risanamento della ciclabile che prosegue lungo la strada costiera (chiusa al traffico e trasformata in pedonale) che vedete nelle mie foto qua sotto

image

… questa qui sotto e anche altre foto, sono solo per curiosita’ mia e/o per far vedere la bellezza del posto

caposaldo geodetico

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

partially qualified domain names, OS X Yosemite v10.10.1

Apple broke DNS compatibility towards partially qualified domain names with the latest OS X release. On Nov. 18th they released an update with a patch to this issue (since I spent the time to escalate it). From http://support.apple.com/en-us/HT204017 release notes I quote:

Allows you to append search domains for partially qualified domain names when performing DNS lookups (consult the discoveryd man page for more information)

How was it supposed to work? And how can we activate it?

If you are a big corporation you are going to have a very complicate and hierarchically designed DNS system. Sometimes you just want to shorten the amount of data you type in to jump from one box to another, so… taking as a sample the Akamai mirror of apple.com you’ll see that will CNAME to e3191.dscc.akamaiedge.net. Imagine you are working for Akamai, and you need to ssh into e3191.dscc , without the partially qualified domain name feature you’ll have to type in the full fqdn. Instead, if you have akamaiedge.net in your domain search field, you don’t have to, your resolver will do it for you.

So, on OS X… I quote from my Apple Support guy’s email:

You can edit /System/Library/LaunchDaemons/com.apple.discoveryd.plist and add ‘–AlwaysAppendSearchDomains’ as a string to the ‘ProgramArguments’ array. That should re-enable search domains for PQDNs once you reboot after saving.

I add… you can simply “sudo launchctl unload /System/Library/LaunchDaemons/com.apple.discoveryd.plist” and “load” to refresh the daemon after having edited the file, without rebooting your laptop/workstation…

enjoy😉