Planet maemo: category "feed:7fcfc1509bab9a1434b50b0bcec19a0c"

Alberto Garcia

QEMU and open hardware: SPEC and FMC TDC

2012-11-28 08:31 UTC  by  Alberto Garcia
0
0

Working with open hardware

Some weeks ago at LinuxCon EU in Barcelona I talked about how to use QEMU to improve the reliability of device drivers.

Click to read 1252 more words
Categories: English
Alberto Garcia

Igalia at LinuxCon Europe

2012-11-05 22:08 UTC  by  Alberto Garcia
0
0

I came to Barcelona with a few other Igalians this week for LinuxCon, the Embedded
Linux Conference
and the KVM Forum.

We are sponsoring the event and we have a couple of presentations this year, one about QEMU, device drivers and industrial hardware (which I gave today, slides here) and the other about the Grilo multimedia framework (by Juan Suárez).

We’ll be around the whole week so you can come and talk to us anytime. You can find us at our booth on the ground floor, where you’ll also be able to see a few demos of our latest work and get some merchandising.

Igalia booth
Categories: English
Alberto Garcia

IndustryPack, QEMU and LinuxCon

2012-10-03 12:10 UTC  by  Alberto Garcia
0
0

IndustryPack drivers for Linux

In the past months we have been working at Igalia to give Linux support to IndustryPack devices.

IndustryPack modules are small boards (“mezzanine”) that are attached to a carrier board, which serves as a bridge between them and the host bus (PCI, VME, …). We wrote the drivers for the TEWS TPCI200 PCI carrier and the GE IP-OCTAL-232 module.

TEWS TPCI200 GE IP-OCTAL-232

My mate Samuel was the lead developer of the kernel drivers. He published some details about this work in his blog some time ago.

The drivers are available in latest Linux release (3.6 as of this writing) but if you want the bleeding-edge version you can get it from here (make sure to use the staging-next branch).

IndustryPack emulation for QEMU

Along with Samuel’s work on the kernel driver, I have been working to add emulation of the aformentioned IndustryPack devices to QEMU.

The work consists on three parts:

  • TPCI200, the bridge between PCI and IndustryPack.
  • The IndustryPack bus.
  • IPOCTAL-232, an IndustryPack module with eight RS-232 serial ports.

I decided to split the emulation like this to be as close as possible to how the hardware works and to make it easier to reuse the code to implement other IndustryPack devices.

The emulation is functional and can be used with the existing Linux driver. Just make sure to enable CONFIG_IPACK_BUS, CONFIG_BOARD_TPCI200 and CONFIG_SERIAL_IPOCTAL in the kernel configuration.

I submitted the code to QEMU, but it hasn’t been integrated yet, so if you want to test it you’ll need to patch it yourself: get the QEMU source code and apply the TPCI200 patch and the IP-Octal 232 patch. Those patches have been tested with QEMU 1.2.0.

And here’s how you run QEMU with support for these devices:

$ qemu -device tpci200 -device ipoctal

The IP-Octal board implements eight RS-232 serial ports. Each one of those can be redirected to a character device in the host using the functionality provided by QEMU. The ‘serial0‘ to ‘serial7‘ parameters can be used to specify each one of the redirections.

Example:

$ qemu -device tpci200 -device ipoctal,serial0=pty

With this, the first serial port of the IP-Octal board (‘/dev/ipoctal.0.0.0‘ on the guest) will be redirected to a newly-allocated pty on the host.

LinuxCon Europe

Having virtual hardware allows us to test and debug the Linux driver more easily.

In November I’ll be in Barcelona with the rest of the Igalia OS team for LinuxCon Europe and the KVM Forum. I will be talking about how to use QEMU to improve the robustness of device drivers and speed up their development..

Some other Igalians will also be there, including Juan Suárez who will be talking about the Grilo multimedia framework.

See you in Barcelona!

Categories: English
Alberto Garcia

GUADEC 2012

2012-07-28 15:06 UTC  by  Alberto Garcia
0
0

Third day of GUADEC already. And in Coruña!

Coruña

This is a very special city for me.

I came here in 1996 to study Computer Science. Here I discovered UNIX for the first time, and spent hours learning how to use it. It’s funny to see now those old UNIX servers being displayed in a small museum in the auditorium where the main track takes place.

It was also here where I learnt about free software, installed my first Debian system, helped creating the local LUG and met the awesome people that founded Igalia with me. Then we went international, but our headquarters and many of our people are still here so I guess we can still call this home.

So, needless to say, we are very happy to have GUADEC here this time.

I hope you all are enjoying the conference as much as we are. I’m quite satisfied with how it’s been going so far, the local team has done a good job organising everything and taking care of lots of details to make the life of all attendees easier. I especially want to stress all the effort put into the network infrastructure, one of the best that I remember in a GUADEC conference.

At Igalia we’ve been very busy lately. We’re putting lots of effort in making WebKit better, but our work is not limited to that. Our talks this year show some of the things we’ve been doing:

We are also coordinating 4 BOFs (a11y, GNOME OS, WebKit and Grilo) and hosted a UX hackfest in our offices before the conference.

And we have a booth next to the info desk where you can get some merchandising and see our interactivity demos.

WebKitGTK+

In case you missed the conference this year, all talks are being recorded and the videos are expected to be published really soon (before the end of the conference).

So enjoy the remaining days of GUADEC, and enjoy Coruña!

And of course if you’re staying after the conference and want to know more about the city or about Galicia, don’t hesitate to ask me or anyone from the local team, we’ll be glad to help you.

Queimada

Categories: English
Alberto Garcia

FileTea now available in Debian

2011-11-10 10:09 UTC  by  Alberto Garcia
0
0

In the past few weeks I’ve been preparing the Debian packages of FileTea and its companion EventDance. They’re finally available.

FileTea is a free, web-based file sharing system that just works. It only requires a browser, and no user registration is needed. If you want to know more about it, you can read my previous blog post. For a more detailed description, read Nathan Willis’s excellent article on LWN.net. There have been a few changes since that article (HTTPS support in particular) but it’s still the best one you can find on the net.

Igalia still provides a FileTea server at http://filetea.me/, that you can use to share your files and see how it works. We plan to keep offering this service, but you don’t need to trust it/depend on it anymore: now you can apt-get install filetea and have your own.

Categories: English
Alberto Garcia

FileTea: a simple file sharing system

2011-09-08 11:52 UTC  by  Alberto Garcia
0
0

FileTea is a simple way to send files to other people: drag a file into your web browser, give the link to your friends and they can start downloading it right away.

FileTea

This is not a substitute for DropBox and the like. FileTea is not a file hosting service: the web server is only used to route the traffic, no data is stored there.

You can see it as a web-based P2P file sharing system, or a replacement for good ol’ DCC SEND. You don’t need to worry about firewalls or redirections: if you can surf the web, you can send the file. The only client that you need is your browser.

FileTea is a project developed by my fellow Igalian Eduardo Lima, and you can see more details about it here. It was written on top of EventDance, a peer-to-peer inter-process communication library based on GLib and also written by him (see also The Web jumps into D-Bus).

FileTea is free software and you can download it and install it in your machine.

We have also set up a server at http://filetea.me/.

Important: this is still an alpha release and our bandwith is limited so bear with us if you find any problem :)

Happy sharing!

Categories: English
Alberto Garcia

Vagalume 0.8.5

2011-07-01 14:50 UTC  by  Alberto Garcia
0
0

Dear Last.fm fellows, I’ve just released Vagalume 0.8.5.

Vagalume 0.8.5

These are the most important changes since the previous version:

  • Improved proxy support.
  • Support for low-bitrate streams, to save bandwidth.
  • GTK+ 3 support.
  • New Catalan translation.

This makes 0.8.5 the first Vagalume to support GTK+ 3, and this without even needing to break backwards compatibility. So now it compiles with any GTK+ version from (at least) 2.6 till 3.0 :-)

Source code, as usual, here. Binaries very soon in your favourite distro.

Categories: English
Alberto Garcia

N9

2011-06-23 08:35 UTC  by  Alberto Garcia
0
0

The Nokia N9 is out.

Yes, after all what happened lately there are many reasons to be sad, cynic or pessimistic, particularly considering all the excitement and hopes that many people (including me) had when the N900 came out.

But still, even if this is a dead-end product and this team’s swan song, it’s a hell of a beautiful one.

Nokia N9

I’m happy to see the N9 out. Philip is damn right, and Urho is damn right. I think this is a great achievement, I’m personally proud of all the work we’ve put into it and also very glad for all the good reviews it’s getting.

Free software can produce amazing things, and this is just one more proof. Our hopes will not die here. No pasarán.

Categories: English
Alberto Garcia

9 years of Igalia

2010-12-02 09:22 UTC  by  Alberto Garcia
0
0

Last weekend almost all of us gathered together in what we call an Igalia Summit: a 2-day event where we discuss new ideas, relax, play music, and basically have fun and the opportunity to meet each other in person, something which is increasingly more difficult as Igalia becomes more and more global.

Claudio and API rehearsing

This time we also used the summit to invite some friends and celebrate our 9th anniversary dinner.

Although it sometimes feels like yesterday we started, 9 years is already a lot of time, and the feeling of looking back at our beginnings it not something that can be easily expressed with words. Of course things were very different back then and the company has changed a lot during all these years.

The core ideas, however, remain unchanged. One of them is our passion for free software, and that’s what we’re known for to most people. But there’s another key value that is equally important for us, and that is our flat structure.

Democracy begins in the workplace

For Igalia democracy is an essential value so we take it seriously. We think our people are the most important thing that we have, and thus deserve our highest respect. That’s why we not only like to hear their opinions: we also want them to propose, decide and participate in all affairs, so we give everyone a voice and a vote in all decisions.

If there’s something we have learnt during all these years is that when people can decide for themselves they are much happier and more committed to what they do. And when people are happy and committed we take the next logical step: we make them shareholders. Everyone who stays in the company long enough and is willing to continue can become a partner. We make no exceptions.

Group picture

In November, 4 Igalians became partners of the company: Alejandro Piñeiro (API), Xabier Rodríguez Calvar (Calvaris), Javi Muñoz and Mario Sánchez. They’re all good friends and I’m very happy to have them with us.

2010 has been a good year for Igalia, and we’ll hopefully be celebrating our 10th anniversary soon. Free software has evolved a lot in these 9 years. We tried to make our contributions and we met lots of friends on the way.

We’re glad to be here for 9 years already and we’re also very proud to be part of this vibrant community.

Categories: English
Alberto Garcia

Twitter sharing plugin for the N900

2010-08-25 16:42 UTC  by  Alberto Garcia
0
0

These days I’ve been playing with a sharing plugin for the Nokia N900. You can use it to upload pictures to Twitter, using a variety of services. Right now it supports Twitpic, Twitgoo, Mobypicture, img.ly and Posterous, but it can be easily extended to support other services.

Twitter sharing plugin for the N900

Right now it’s in extras-testing, so if you find it useful you can vote to help it reach the Maemo extras repository.

Click to install

As usual, feedback is appreciated.

Enjoy!

Categories: English
Alberto Garcia

Updates on Hildon and Vagalume

2010-02-04 14:01 UTC  by  Alberto Garcia
0
0

It’s been almost two months since my last blog post so here’s a quick update on the things I’ve been doing lately.

Vagalume 0.8.3

The first thing that I’d like to mention is the upcoming release of Vagalume 0.8.3 (which will probably happen during this weekend). The only changes in this version are that menus and dialogs have been fremantlized using the Hildon 2.2 style. It’s not an enourmous change, but it was about time :)

Here’s a screenshot of the new preferences dialog (click to enlarge):

Vagalume preferences dialog

Note that this release is only interesting for N900 users. There are no significant changes in v0.8.3 compared to v0.8.2 for other platforms.

Hildon development

There’s been quite a few changes in Hildon during the last weeks. The maemo.org Bugzilla has been working reasonably well and I’m glad to say that some important bugs that have been fixed lately were reported directly by end users.

Apart from tons of bug fixes and speed improvements, perhaps the most easily noticeable change in Hildon that you’ll see in the upcoming Maemo update is the new “live search” feature for tree views.

Hildon Live Search

You’ve seen it in the “Contacts” application and Claudio talked about it some weeks ago. There’s been a lot of tuning since then (including the support for icon views) and now it’s essentially ready. I hope it’ll make the overall user experience of the N900 a bit better.

FOSDEM 2010

Last, but not least, tomorrow I’m flying to Brussels to attend FOSDEM 2010.

I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting

Some fellow Igalians are giving talks there (Joaquim about OCRFeeder and SeriesFinale, Victor about the dspbridge for OMAP3 and Philippe about multimedia in WebKitGTK+ with GStreamer).

We’ll arrive soon so we’ll be at the beer event on Friday night.

See you there!

Categories: English
Alberto Garcia

Remapping the N900 arrow keys

2009-12-17 13:28 UTC  by  Alberto Garcia
0
0

Here’s a tip for those of you using an N900 with an English keyboard.

For those who don’t know it, this is how arrow keys are arranged in (some) non-English layouts:

N900 keyboard

Compare to the English layout:

N900 keyboard

My N900 has an English keyboard, and I like it because I use the X terminal a lot so having separate keys for the arrows is good.

However I miss the accents (in particular ‘ and ~) as I usually write in Portuguese and Spanish, and using the additional on-screen keyboard is not that convenient for a Jabber conversation.

Fortunately, arrow keys can be re-mapped to add extra symbols by editing this file:

/usr/share/X11/xkb/symbols/nokia_vndr/rx-51

Just go to the end of the file and replace the ‘arrows_4btns‘ entry with this:


xkb_symbols "arrows_4btns" {
key <UP> { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Up, dead_circumflex ] };
key <LEFT> { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Left, dead_acute ] };
key <DOWN> { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Down, dead_tilde ] };
key <RGHT> { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Right, dead_grave ] };
};

With this, Fn+Up/Down/Left/Right will produce a dead circumflex/tilde/acute accent/grave accent.

If you want these changes to take effect immediately just type ‘setxkbmap us‘.

Hope you find it useful.

Update 19 Dec 2009. Since some people have asked: of course even if you only write in English or another language that doesn’t need accents, you can still add useful symbols to the arrow keys such as ‘|‘, ‘<‘ or ‘>‘. You can use any of these keyboard layouts as an example. See also this thread and this other one.

Update 10 Jan 2010. The information on this post is now (in expanded form) in the Maemo wiki.

Categories: English