Skip to Content
5/13/2009

Greasemonkey makes real estate fun!

Permalink

Nisha and I started seriously looking at getting a house recently. It being the 21st Century means large amounts of our house hunting time will be spent on the Internet; specifically rmlsweb.com a regional real estate listing service.

A huge annoyance with the site is that it uses a pretty lame mapping service called “GeoJet” which generates horrible looking maps.

Naturally, I started Googling for Greasemonkey scripts to find out if someone had fixed this already and sure enough my friend Kees Cook had written a user script in 2006!

With a little modification I got it working great with the new RMLS site. You can find it at git://ifup.org/philips/rmls-mapper.git or install the latest version now!

2/17/2009

Linux Plumbers Conference Call For Topics

Permalink
Linux Plumbers 2009 coming soon

Linux Plumbers 2009 coming soon

The Linux Plumbers Conference focuses on a collection 2.5 hour microconferences that gather experts together to discuss and develop solutions to emerging problems that affect the Kernel, libraries and supporting system daemons that make Linux Linux. Last year there were six of these focused microconference on topics including: audio infrastructure, power management, and boot.

Many of the most successful microconference topics were suggested by community members not directly involved in planning the conference.

So, I need your help for 2009!

Head over to the Call for Topics and suggest an emerging topic in the Linux plumbing that we should discuss in 2009. Topics ideas can be submitted in the comments section of the LWN.net article.

2/7/2009

The Right Tool for the Job: git-stitch-repo

Permalink

I maintain the acl and attr packages for SuSE and I was bitten by a bug twice last month because these two packages both have a copy of a utility library called libmisc. In summary: I fixed the acl version of libmisc but forgot to copy the patch over and check-in the same fix for attr. Needless to say a user filed a bug a few weeks later against attr too. Doh.

The root of the problem isn’t my incompetence, naturally, it is the fact that these two utilities duplicate code instead of sharing. ;)

Yesterday, Christoph Hellwig moved these packages from CVS at SGI to GIT at kernel.org. With the code available via GIT I now had an opportunity to fix the libmisc duplication problem. Initially it wasn’t clear how to merge the two histories of these projects together. But, with a bit of Googling I found a great little utility called git-stitch-repo that is designed for exactly that. Here is how I made it happened:


$ git clone git://git.kernel.org/pub/scm/fs/xfs/attr-dev.git
$ git clone git://git.kernel.org/pub/scm/fs/xfs/acl-dev.git
$ mkdir acl-attr-dev
$ cd acl-attr-dev/
$ git init
$ git-stitch-repo ../acl-dev:acl ../attr-dev:attr | git fast-import
$ git checkout master-A
$ git pull . master-B
$ git branch -d master-A
$ git branch -d master-B
$ git checkout -b libmiscmerge
hack..hack..hack
$ git checkout master
$ git pull . libmiscmerge

And the result is the merged acl-attr-dev.git. Neat!

1/15/2009

FreedomHEC Taipei Wrap-up Notes

Permalink
FreedomHEC Taipei Sign

FreedomHEC Taipei sign

FreedomHEC Taipei is a conference where hardware engineers are invited to learn how easy it is to make their hardware work with Linux. This was the first year for the event and it took place on November 20-21, 2008 in Taipei, Taiwan.  Support from the Linux Foundation and the Institute for Information Industry made the event possible.

The event was attended by 165 people representing 41 companies. Speakers covered a large range of topics including X.org graphics drivers, input devices, and how to work with the Kernel community. Next year I hope we can involve more local speakers, provide translators and offer tutorial sessions.

It was a great experience organizing this years event and I would like to give a hearty thanks to everyone involved. I look forward to helping improve the event next year if everyone is interested :D

Improvements for 2009

  • Continue to focus on getting people who are doing Windows driver work at Acer, ASUS, VIA, etc.
  • Advertise in chipset trade magazines - could help with above
  • Blogging brought in several good local people. More blogging about the event next year.
  • Workshops
    • How to write a driver (like Greg KH’s). Perhaps patch up QEMU to provide a simple USB device so we can show people how to write device drivers on that.
    • Workshop to get patches into mainline. Helped Vortex86 get their small patches up to mainline.
  • Ensure speakers are focused on a development topic. This will require local organizers to read abstracts.
  • Provide opportunity for hardware vendors attending conference to give a 2 minute rundown of their devices. Hearing about new hardware was useful for many of the Kernel developers in attendance.
  • Wifi with other ports opened :D

Accomplishing next years goals

  • Get list of top requested non-working hardware from Ellis and invite vendors
  • Contact Scott from Motorola about about chipset trade magazines
  • Find more people in Taipei who are interested in doing organization

Session Notes

How and why to work with the Kernel community - Harald Welte: Solid overview of the how and whys. A session like this should be given every year.

Introduction to git - Junio C Hamano: Learned about git stash and enjoyed the visual metaphors used in the presentation. Great approach for presenting what can be a difficult to understand topic.

Linux graphics driver development model - Eric Anholt:
Overview of the present and future of Xorg architecture. Surprised that the audience had no questions as this topics was requested by several people. Perhaps translations would have helped? Ask Eric if a tutorial format might be able to show people how easy some of this stuff is: since he was insisting it really is ;)

File System Performance Tuning for Gdium - Coly Li: Talk was given in Mandarin but it triggered a number of questions. Note for next year: talks don’t need to be just about drivers to be relevant.

ACPI EC driver - Alexey Starikovskiy:
Alexey had the chance to meet with several people to talk about ACPI issues in their hardware. He seemed very happy with this result but missed out on meeting someone from Acer.

Eee Peripheral Interoperability - Ellis Wang: EeePC trying a strategy of getting a closed driver from vendors then opening a driver later. We talked at length why this process can be painful and doesn’t work for the community. Also pained to hear the EeePC OS uses a closed source Bluetooth stack instead of helping with BlueZ. Still confused on their requirement to get device specific printer tools working.

DMP x86 Soc Family - Anthony: Fixed their patches for their IDE driver to use proper QUIRKS so the hardware should work under the next vanilla Kernel release.

“Secure Linux” Primer - Toshiharu Harada: Fantastic overview of Security systems under Linux. Made a convincing argument that security systems like AppArmor, SELinux, Tomoyo are interesting for embedded systems.

TOMOYO Linux: pragmatic and manageable security for Linux - Kentaro Takeda: Part two of Toshiharu’s talk. Really cool to see the “interactive judging” that blocks system calls like the Vista “Keep Blocking”/”Unblock” dialog boxes.

Andes Open Development Environment For Linux - Shawn: A new SoC with a new $ARCH. Planning to merge in the next 6 months the GCC, Kernel and QEMU changes.  Harald tried to convince them to merge now- or at least get an RFC out there so upstream can be prepared for the changes.

The experience of touch pad driver and application development - Garylee: Given in Mandarin but the slides showed that he had a good understanding of all of the moving parts in the Linux input system.

Linux Multiqueue Network Driver Infrastructure - Herbert Xu:
Didn’t watch this one- talking with EeePC guys.

9/25/2008

FreedomHEC Taipei - November 20-21, 2008

Permalink

Hot on the heals of LPC is another event I am helping to organize. :D

If you are involved in Linux driver development please consider giving a talk at FreedomHEC Taipei.

FreedomHEC Taipei

FreedomHEC Taipei brings together experts in the Linux community with developers wanting to write Linux drivers for their hardware products. Taiwan is a leader in hardware component development and teams based in the country are building headlining devices such as the EeePC. Helping Taiwan developers learn the Linux development process will improve future hardware support in Linux.

  • Who: Hardware engineers, driver developers, you.
  • What: High-intensity learning, networking and Linux driver development unconference
  • Where: Technical Service Building (14F., No.133, Sec. 4, Minsheng E. Rd., Taipei City 105, Taiwan, R.O.C. )
  • When: November 20-21, 2008
  • Why: Take control of your own destiny and make your hardware valuable to the Linux market.

The event is hosted by the Institute for Information Industry with support from the Linux Foundation.

9/24/2008

Linux Plumbers Conf- huge success and looking to 2009

Permalink

Linux Plumbers Conf was a huge success due to the huge amount of effort put forth by the organizers and the great turnout of attendees. Thanks to everyone!

A highlight of the conference, for me, was meeting some of the folks in the DVB/V4L community. This was the first time that this many core video developers were together in the same place and a lot was accomplished. There was discussion about the new DVB API for supporting new protocols, libv4l’s progress, routing APIs for future devices, and my discussion about a V4L server. Also, I found out that Mauro now works for Red Hat- which is great news for the subsystem.

Steven Troth, Brandon Philips, Hans Verkuil, Douglas Landgraf, Michael Krufky, Mauro Carvalho Chehab, Manjunath Hadlii, Thierry Merle

For those who weren’t able to make it LWN has a collection of good wrap-up articles on the front page. Also, Sri is working on getting videos of the keynote and some other events up on the web. Keep an eye on LinuxPlumbersConf.org for those.

Looking to LPC 2009

Next year we would like to get other people involved in the conference organization and planning. If you are interested in helping please register for the 2008 WRAP PARTY / 2009 Kickoff this Friday September 26th from 6:00 pm - 10:00 pm at Andina’s Restaurant - 2nd floor (above the restaurant)

8/30/2008

example code: socket server and client using select()

Permalink

I spent the last hour re-familiarizing myself with Unix sockets via man-pages and HOWTOs. I have written client/server socket apps a dozen times before but because of iterative development I no longer had a simple example lying around.

To save myself this trouble in the future I created a little socket client and server for future reference. This app allows you to have a Twitter style conversation (140 char limit) with everyone on your system who has permissions to the Unix socket! Perhaps the Unix shell is the next micro-blogging platform. ;)

8/17/2008

Linux Plumbers Conf: speakers, early bird registration, V4L microconf

Permalink

The Linux Plumbers Conf early bird registration is drawing to a close- grab a cheap seat while you still have time.

Need a bit more convincing? Check out our speakers list.

We released our speaker list this week and we have a great group. I am most excited that we are finally bringing together a few of the video4linux developers for a face to face microconf.

In particular it will be good to talk about libv4l, a low level library that does frame conversion, since nearly all video applications need conversion soon to support gspca devices. Hans De Goede started the library a few months ago and we are both working to patch applications to get support into OpenSuSE 11.1 and Fedora 10.

Having applications use a library also opens up the possibility of doing some smart things like launching a proxy server (ala. dmix, pulseaudio) and having Cheese and Skype able to use the camera at the same time. Although, it would be nice if Skype got involved so we wouldn’t have to LDPRELOAD our way in ;)

2/14/2008

It’s a good time to be on Twitter

Permalink

Twitter is a micro-blogging platform resting somewhere in between IRC and e-mail. It is a nice informal way of staying in touch and people are inclined to use it because of the quick and easy format.

Primarily I use twitter to stay up to date on local Portland tech but it seems that the Novell and OpenSuSE twitter users are growing.

If you want to add me on twitter my account name is philips.

2/9/2008

Six Weeks to Robot at Ignite Portland

Permalink

Recently I presented at Ignite Portland and a video has been published on YouTube. The event was rockin’ and being a part of the whole thing was amazing. If you weren’t able to make it you really missed out.

Luckily, we have the technology to bring the event to you! LinuxAid lovingly recorded all of the talks and posted them on YouTube. The complete collection can be found here.

If you want to dig in even further Silicon Florist has made a links arrangement of the event which includes Flickr links, blog posts and Twitter archives.

Be sure to keep your eye on IgnitePortland.com in the future so you can be a part of these great events.