prla is currently certified at Apprentice level.

Name: Paulo André
Member since: 2001-03-22 23:25:14
Last Login: 2014-10-04 18:36:07

FOAF RDF Share This

Notes:

http://rateyourmusic.com/~prla

http://www.last.fm/user/prla

Recent blog entries by prla

Syndication: RSS 2.0
3 Oct 2014 (updated 4 Oct 2014 at 18:35 UTC) »

Having just recently acquired a brand new Toshiba Satellite Z30-A-130 laptop and after booting Ubuntu 14.04 on it, one thing I immediately wanted to disable was the touchpad. It seems way too sensible and I keep touching while typing, taking the focus away. Turns out it wasn't super easy, at least until I figured it out.

The first obvious idea was to check the System Settings panel for Keyboard and Mouse hoping for a "disable touchpad" option but none was to be found on my fresh Ubuntu install.

$ xinput list

...didn't show the touchpad entry either, even though it was working alright. The idea was to disable it via CLI:

$ xinput set-prop [device number] "Device Enabled" 0

But having no device and hence no device number, I couldn't do it either. The final bit that led me in the right direction was:

$ synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?


So, a bit more poking around and it turns out linux-kernel 3.13 may not be the best bet for driving these touchpads. Someone reported success with 3.17 and it does have indeed much better support. My days of recompiling infinite numbers of kernels everyday (by hand, mind you) were long gone and it's been a good few years since I last had the need to try a different kernel. But I quickly learned that Ubuntu has a kernel team and they wonderfully package every release in all .deb glory. They even package the -low-latency variant too, which I immediately chose over the -generic one. :)

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc7-utopic/linux-headers-3.17.0-031700rc7_3.17.0-031700rc7.201409281835_all.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc7-utopic/linux-headers-3.17.0-031700rc7-lowlatency_3.17.0-031700rc7.201409281835_amd64.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc7-utopic/linux-image-3.17.0-031700rc7-lowlatency_3.17.0-031700rc7.201409281835_amd64.deb
$ sudo dpkg -i *.deb
$ sudo update-grub


And presto. One reboot later and I now have full control over the touchpad, even from the system settings which makes sense as all that was missing was a proper synaptics driver.

Update 2014-10-04: Turns out linux 3.17-rc7, despite fixing the synaptics driver issue, is a bit quirky when it comes to the wifi driver, as the connection suddenly drops and won't reconnect. -rc1 seems to be OK and it's the first version to feature synaptics support for my touchpad, so that's what I'll be using for the time being.

3 Oct 2014 (updated 3 Oct 2014 at 14:55 UTC) »

Interesting how having a couple of technical notes to jot down immediately brought this place here back to mind. Even more interesting, at least for me, to look back at the past few entries, how they always seem to be written in pivotal moments in my personal (and professional) life. This present one doesn't deviate from that. More on that (perhaps) later.

So after falling off the end of the contract with my previous employer, I now find myself unemployed and looking forward to the next step. That also meant handing in my work laptop and considering how archaic my own Macbook Pro now seems to be, I felt it was the time to splash some hard-earned money on a new machine. Having had a regular Intel machine for the past few months at work - a Dell Latitude laptop as it was - that meant another stint using (Ubuntu flavored) Linux both for work and fun. Having lived quite a few years (almost a decade) in Macintosh land, I didn't entirely leave the Unix world but it's just not the same thing, from a developer's point of view. I guess I was still pining for the days of Slackware Linux and how tight a grip I had over everything that I thoroughly enjoyed going back to a scenario very much resembling it.

Faced with the task of acquiring a new machine, this meant going back to a Mac was out of the question for now, the plan being to extend my stay in the familiar surroundings of Linux. The work laptop had an Intel Core i7 quad-core processor and, most importantly, an SSD hd. Meaning: fast. Some shop browsing both on and offline yielded my current machine, under 1k€, a 13.3" Toshiba Satellite Z30-A-130, boasting a lesser Core i5 cpu but featuring a 256GB SSD hd. Getting used to it, the natural ongoing process of adaptation, but very happy so far with it.

Which leads us to the next post...

Being on the verge of getting employed by a new tech company seemed like the right time to resume writing here.

I'm still working out details with my future employer, and it will probably be official today, if all goes to plan. I have already been assigned a task, in order to test my capabilities as a developer, which I have been doing for the past week. This, by the way, was a jQuery-based date picker to narrow the presentation of some values over time.

In order to help me get acquainted with the codebase and getting my bearings, the company's lead developer has been of invaluable help for these past few days. It's always a great experience when you're able to learn from someone you respect and who proves to be very knowledgeable about the problems at hand.

What I'm NOT knowledgeable about, and which has honestly been a bit discomforting, is being a Git fool. Reading The Git Reference is something I'm about to do.

More news about this step of my life as I get them...

Oh look, after so long, Advogato is still here. Maybe I start jotting down some notes again, why not?

5 Jul 2008 (updated 5 Jul 2008 at 00:07 UTC) »

It's been an interesting evening. Back at my parents home tonight (will leave back to Evora tomorrow), I've been trying to get the information system framework to run in the new Mac Mini that currently lives in my bedroom. So this entry goes some way towards documenting this evening's trip.

Leopard ships with a fully functional Apache 2.2 copy and getting PHP5 to play along with it is a simple matter of uncommenting one line in httpd.conf. Installing PostgreSQL is a breeze using Marc Liyanage's PostgreSQL package, not forgetting to set the cluster creation encoding to Latin1. This is because everything in the information system is Latin1 and it saves a lot of headaches.

The trouble began when I noticed that Leopard didn't really ship with PostgreSQL bindings in its PHP5 installation. So basically there was no choice other than recompiling PHP from scratch. I tried Marc's PHP5 package which includes PostgreSQL support but alas it all went well until the installation process bombed out in the end with a cryptic error.

So, off to compiling PHP's source which had me searching for the Leopard DVDs so I could install XCode's tools, namely gcc. Once that was done, compiling PHP was a breeze. Problem was that once it got installed, Apache complained that the PHP module had the wrong architecture. One minute of Googling told me that Leopard's Apache comes pre-configured for all 4 archs and so I need to do that for whatever I install that interfaces with it. This is a prospect that clearly sucked.

Miraculously, someone came up with a much better and hassle free choice: stripping the httpd binary of the surplus architectures and leaving 32-bit only. Here's the magic sauce:


$ cd /usr/sbin
$ sudo cp httpd httpd-fat
$ sudo lipo httpd -thin i386 -output httpd

Works like a charm.

Et voila'. It's up and running!

Now I'm spent, I better crawl to bed.

132 older entries...

 

prla certified others as follows:

  • prla certified prla as Apprentice
  • prla certified alan as Master
  • prla certified riel as Master
  • prla certified chbm as Journeyer
  • prla certified uweo as Journeyer
  • prla certified binaryfoo as Apprentice
  • prla certified lilo as Master
  • prla certified Seri as Journeyer
  • prla certified Al as Journeyer
  • prla certified maa as Apprentice
  • prla certified gotcha as Journeyer
  • prla certified mulix as Journeyer
  • prla certified acme as Master
  • prla certified jarod as Apprentice
  • prla certified mirwin as Journeyer
  • prla certified jao as Journeyer
  • prla certified technomancer as Journeyer
  • prla certified davej as Master
  • prla certified marcelo as Master
  • prla certified buckley as Apprentice
  • prla certified movement as Master
  • prla certified Rippit as Journeyer

Others have certified prla as follows:

  • prla certified prla as Apprentice
  • uweo certified prla as Apprentice
  • binaryfoo certified prla as Apprentice
  • Al certified prla as Apprentice
  • maa certified prla as Journeyer
  • jarod certified prla as Journeyer
  • fxn certified prla as Apprentice
  • buckley certified prla as Apprentice
  • larsu certified prla as Apprentice
  • jao certified prla as Apprentice
  • gotcha certified prla as Journeyer
  • davej certified prla as Apprentice

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page