1. GIT and I do not match

    For both of my desktop machines I use git kernels and from time to time I add some additional patches to get something experimental to test. By default I use “quilt” to manage patches so my usual kernel session looks like:

    quilt pop -a
    git pull
    quilt push -a
    

    And as a result I have updated kernel with all my patches applied. If one of them do not apply I usually do updating by hand and call quilt refresh or search for newer version of patch.

    Today I decided to do another attempt to use just GIT for managing my patched kernel tree instead of using GIT + quilt. And I failed :(

    I cannot understand why GIT developers say that they hate CVS but follow its way when it comes to merging stuff… If any operation ends in merge conflicts all you get is file with CVS conflict markers inside. You need to call merge tool by hand, resolve problem, add files back to repository (do not ask me why adding files already known to SCM is needed) and tell that you resolved conflict. Even CVS or Subversion does not works that way…

    I like the way it works with monotone — if there is conflict during update (so git pull like) merge tool is called (kdiff3 on my system) and user has to resolve all conflicts before monotone will go into next step. Whole merging stuff is then stored as another revision (with git it can be then remove during git rebase).

    Maybe one day I will find a way to get familiar with git but it is not today…

    Written by Marcin Juszkiewicz on
  2. VoIP: headset, USB phone or BT headset?

    During Wednesday I will have conference call to discuss some things with few developers. Before I used cheap VoIP headphones with microphone but one of cables broke so mic works or not.

    So it looks like I will have to buy something again. During OEDEM Stelios used USB phone to make calls and it looked more handy then ‘VoIP headset’. But there are many of them on market so what if I will end with something which works only under MS Windows?

    Other choice is Bluetooth headset. This one will be also usefull with my cellphone or Neo1973 or even with Nokia 770. Configuring headset to work with Linux was disaster but I googled a bit and found that with bluez-utils 3.16 or newer it is no problem (or at least it looks like that).

    Which one to choose… Have to sleep with this and take decision tomorrow.

    Written by Marcin Juszkiewicz on
  3. Zaurus machines starts to be obsolete…

    Time passed since last Zaurus (SL-C3200 ‘terrier’) was released. Many new interesting devices appeared on market: Nokia N800, FIC Neo1973 and now Nokia N810. Each of them has something extra compared to Zaurus machines — Bluetooth or Wifi or GSM. And each is supported by vendor — thing which cannot be told about Sharp.

    Recently few OpenEmbedded developers (Koen, XorA, Mickeyl) wrote that they got developer discount1 for Nokia N810. What does it mean for Zaurus owners?

    When developers gets new toys they usually look at pile of palmtops and decide which one go to drawer or eBay and which one will be used. For example I have 8 palmtops2 now and most of time do not use any of them. I will probably use Neo1973 as main PDA when it will reach usable state and rest of devices will be used from time to time to test something. XorA wrote that he will sell own Zaurus machines and give OE devices to someone who wants to maintain them. Koen already do not use his c700 at all, same probably with Mickeyl. As result Zaurus machines will get less and less maintained and will bitrot in next year or two :(


    1. There was developer program for Nokia 770, then for N800 and recently for N810. I tried with first one and ignored others as they support only developers from few selected countries

    2. Those 8 palmtops are: PalmPilot 5000, Palm M105, Sharp Zaurus SL-5500/c760/SL-6000L (OE project device), Nokia 770, 2 FIC Neo1973. 

    Written by Marcin Juszkiewicz on
  4. USB scanner and udev

    USB scanners are quite popular today, many ‘all-in-one’ devices contains them. But if you use distribution where permissions are done ‘per group’ like it is in Debian you can get hit by lack of access to your scanner.

    Solution is: write own udev rule. It may sounds scary but in reality it is quite simple.

    • Run udevmonitor (it needs root access so sudo udevmonitor).
    • Unplug and plug scanner. You will get lot of output from udev monitor — only one line is needed:

      UDEV [1194523774.343853] add /devices/pci0000:00/0000:00:13.0/usb1/1-1/usb_endpoint/usbdev1.7_ep00 (usb_endpoint)

    • Now it is time to gather more information about our device. Run udevinfo -a -p LINE_FROM_PREVIOUS_POINT and look at output. For my Epson Stylus DX4000 it shows:

      [….] looking at parent device ‘/devices/pci0000:00/0000:00:13.0/usb1/1-1’: [….] SUBSYSTEMS==”usb” [….] ATTRS{manufacturer}==”EPSONATTRS{product}==”USB MFP” [….]

    • Edit (as root) one of files in /etc/udev/rules.d/ directory (best way is creating own one — scanner.rules for example) and add there something like that (of course set “manufacturer” and “product” to value shown in previous step)

      SUBSYSTEMS==”usb”, ATTRS{manufacturer}==”EPSON”, ATTRS{product}==”USB MFP”, GROUP=”scanner”

    • Add youself into “scanner” group: sudo addgroup YOURACCOUNTNAME scanner.

    • Unplug and plug scanner — now it should be in proper group.
    • Logout and login so system will notice that you are now also in “scanner” group.
    • Launch your favourite scanning utility — I use Kooka from KDE.

    As you see whole procedure can be done in few minutes without problems.

    Written by Marcin Juszkiewicz on
  5. CPU cooler upgrade

    As you probably noticed I upgraded CPU in my desktop machine. But cpu cooler was same as before — stock Athlon64 BOX one which was included with previous A64 3200+ processor.

    During idle cpu was running on 1GHz speed (thanks to cpufreq governor “ondemand”) and had 37-39°C temperature. Under load (such as OE/Poky builds) it was up to 65°C and after some time overheating check switched frequency to 1GHz…

    Now with Akasa AK-876 heatsink this machine has 30-32°C when idle and 46-50°C under load. And fan speed is much lower — keeps under 2000 RPM under load (previous one goes up to 4000 RPM) so machine is usable without listening music.

    There was some problems with fitting such big heatsink into case but it sits properly in place and air flow is in proper way — from CPU fan -> CPU heatsink -> case fan -> out. It also shows that my next machine will get new case — Codegen 9002 which I use now starts to be too small to keep all drives, fans and cables in good order.

    Written by Marcin Juszkiewicz on
  6. Phone should have a mirror

    Recently my wife decided that her next cellphone needs to have a mirror. This was after her last trip when she forgot to pack mirror into her purse…

    Why such requirement? Currently Ania use SonyEricsson k510i cellphone. It has Bluetooth, Irda, camera, J2ME games/applications, possibility to use own themes and many many more functions. But to tell the truth — how many people really use such things? During phone numbers exchange they just manually create new entry in addressbook because even if they have BT or Irda they do not know how to use it or are afraid of catching viruses (really!). She sometimes play pre-installed J2ME games or use one application: public communication timetable (which I installed and take care of updates).

    Will Neo1973 running OpenMoko be good for such users? I asked my wife and she told:

    Yes, if I would do jogging — it fits nicely to tracksuit.

    My brother-in-law is more interested, but he like technical things. Not like my wife — she just wants to call, message and use a mirror when to comes to using a cellphone. And of course it has to good look and fit her style ;)

    Written by Marcin Juszkiewicz on
  7. CPU upgrade

    I usually did big computer upgrades (AMD Duron with SDRAM -> AMD Athlon with DDR, then to AMD Athlon64 with DDR) but this time it was only CPU. From Athlon64 3200+ (2GHz) I switched to Athlon64 X2 4200+ (2.2GHz). Operation was quite simple — take one CPU, insert another but old one glued to radiator so I had to use some force :(

    Then first boot and question… will BIOS recognize new CPU or not. It properly displayed information and then Linux started — just to show me 1 CPU. Quick installation of already prepared SMP kernel and /proc/cpuinfo had more informations.

    Machine is quite loud when operating on full speed but most of time CPUFreq is able to lower frequency (1.0/1.8/2.0/2.2GHz steps are available) so it is noiseless. It is nice to see how CPU usage is split into two cores — now I do not have to wait when two builds are progressing and I want to run some applications.

    Now doing builds will be more comfortable :)

    Written by Marcin Juszkiewicz on
  8. I want Euro in Poland

    One month ended, another started so it is time to prepare invoice. As always value is in Euro even if it is not ‘native’ currency for me or client. But what to choose in today’s times…

    USD is useless — value goes down faster then leaves from trees, yesterday it had lowest value compared to Euro or British Pound.

    PLN is strong but I prefer to use more universal currency in payments.

    Euro is strong — many countries use it so it will not drop too much compared to other currencies. But it lost few percents to PLN during last months.

    GBP… it is currency of current client so probably we can even discuss about switching to it but exchange rate GBP/PLN changes are bigger then EUR/PLN.

    So I want to live in Euro part of world but without having to move from Poland. All hope in new government that we will switch to Euro during next few years (without too big price changes)… It would simplify many things — transactions between companies, no need to exchange PLN to Euro when going to visit friends, conferences or vacations…

    Written by Marcin Juszkiewicz on
Page 75 / 106