My gsoc2012 project is adding cpuidle support to haiku. As we all know, transistor power consumption is composed of dynamic and static ones. The former is due to charge/discharge of capacitance and other switching activity; the later is due to leakage and bias current. In the following section, I’d like to simply abstract power saving technology in nowadays cpu; powering saving technology in nowadays OS; what’s missing in haiku, IOW the reason why I want to work on it.
Yesterday I played a bit with qemu and the VT-d/IOMMU extension. The Vt-d extension present in many modern processors allows you to forward a PCI-device directly to your virtual machine so you can access it from the virtual machine as if it were a real device. This can be very helpful to develop drivers for PCI-devices without having to reboot the whole computer all the time.
For example in my PC I use my Intel-onboard graphic as my main graphics card but I also have a Radeon in the PCI-express slot so I tried to forward it to my Haiku VM and it was more or less successful ;). To do that under Linux you have to detach the card from its real driver (probably the radeon kernel module under linux) and give it to the pci-stub module (you might have to load it first). To get the PCI-IDs and all the other information use lspci.
As this was one of the smallest BeGeistert meetings, this report
will be quite short as well...
I arrived at the airport on Saturday morning at about 9:15 and
made it to the nice location at Düsseldorf's youth hostel at 10
o'clock. After weeks with temperatures up to 20 °C, the good weather
took a day off and I made the 10 minute walk from the station
"Luegplatz" to the hostel in a very fine drizzle and shivering 10 °C...
As part of my work at the University of Auckland (which is drawing to a close soon) I have been looking at Java on Haiku. There is already some support for Java on Haiku. By running installoptionalpackage DevelopmentJava you can get the JamVM java virtual machine, GNU Classpath (including gjar, gjavah and maybe some other utilities), and ecj (the Eclipse Java compiler, which is written in Java). This is enough to run and compile basic Java apps. For instance, the popular Java buildtool Ant can run on Haiku.
As was announced a little while ago, I recently got the opportunity to travel to Auckland, New Zealand to do some Computer Science research at the University of Auckland (UoA) with Christof Lutteroth and Gerald Weber (two professors here). Actually, it’s not so much ‘recently’ as it is ‘currently’, since I’m still here! Christof has been interested in Haiku for a while, and has already done some research using Haiku. Stack and Tile, for instance, started as a research project here, as did the BALMLayout layout class. Furthermore, I’m not the only Haiku-er here, as Clemens Zeidler is currently working on his PhD in CS under the supervision of Christof and Gerald.
I’m writing this to inform a broader audience of what was/is going on with my Haiku contract work.
A short post about something that’s not really documented. When working on a communication application for Haiku, I needed to create a typical configuration wizard window. I required a few views to be present in one spot, with only one being shown at the same time - with the ability to switch between them on user Next/Prev button press. Since Haiku exports a neat layout API, I wanted to use one of those if only possible. And then I found the BCardLayout.
After a long hiatus, here is the next lesson in the series. Lesson 22 begins a project which will delve deeper into what is involved in developing larger projects in Haiku. In this case, we begin working on a text editor, QuickEdit.
Programming with Haiku, Lesson 22
Lesson 22 Source Code
Puh, time has passed again and the signals from my side might have been a bit confusing with only the last blog post in mind. Therefore I’m going to explain what provoked that flurry of seemingly unrelated commits and how the KeyStore API is coming along.
Greetings Haiku-ers!
So... I have finally gotten around to finishing the Haiku tutorial I set out to complete over a year ago. I was hoping to have it done sooner, but I decided to then prolong graduation for another year. However, my thesis project has been a rocking success, and you can finally see the fruits of my labors. :D
This production should be incorporated into the project as official tutorial material. I am very happy to have been involved in this project, and I sincerely thank everyone for their support... especially Matt Madia for green-lighting the project and Joe Prostko for his assistance and unswerving benevolence. I hope you all find this interesting and enjoyable to watch. The target audience for this production is geared towards those into Linux/BSD/et al, but are curious about Haiku and what it can do for them. Please feel free to opine in the comments section below! I want to hear all of your thoughts! :D