Finally, I have my own Android phone – Samsung Galaxy Spica (i5700). After few weeks and insane amount of modding I have to say I’m very satisfied. Among exceptions is the fact that android still doesn’t support proxies, which is imho a suicide for a smartphone. The other is the fact that while the hardware in Spica is awesome, the drivers… aren’t.
Fortunately people at samdroid forums are insane and are slowly transforming spica into much more powerful phone.
This post was of course written on my phone :-)
This HOWTO assumes basic linux knowledge as well as knowledge of your distro’s package management system.
- Install SBCL from your distro’s repo or download binary build from SBCL website
- Install Emacs – I recommend Emacs-22 or 23. Again, for fast install, I recommend going with your distro packages – if you need/want specially patched version, you probably don’t need my hand-holding
- Install clbuild
cd clbuild; ./clbuild checkand install any remaining dependencies.
- Depending on your distro SBCL packages, install local build of SBCL through
./clbuild compile-implementation sbcl. It will be used by clbuild after that and saved in
- Install SLIME:
./clbuild install slime
and configure it by adding result of
./clbuild slime-configurationto your emacs config. I recommend switching slime-autodoc to t
- Test it by running emacs and invoking
- Now go over to Cliki and maybe entertain yourself to Practical Common Lisp
Before, I used the site-gentoo.el file, which loaded all of them at startup time. However, that results in a pretty much bloated piece of software.
So today, I decided to try my luck with Emacs Lisp. The result is site-load-manager.el. It’s a simple script that, given a config file, will create a byte-compiled equivalent of Gentoo’s site-gentoo.el that include only those packages whose names include strings defined in the config file. To speed-up things a little, instead of referencing the scripts in site-lisp directory, it includes them directly
The archive contains script, simple shell script to execute it and example config file. I think that it should be pretty easy to understand, although config file mechanism isn’t very good :-)
Technorati Tags: emacs
I don’t know about others, but for a long time I had problems with using WPA with my Broadcom wireless card in Ruri. Thankfully all troubles are now gone :)
The steps for a working wpa_supplicant are simple:
- Download the latest wpa_supplicant. I recommend at least version 6.3 (5.x didn’t work for me)
- Install it and configure it to use Linux Wireless Extensions driver interface, for example by supplying
-Dwextto it’s command-line options. Exact configuration depends on your linux distribution – on Gentoo it’s a
wpa_supplicant_interface="-Dwext -iinterface"line in /etc/conf.d/net
- Start it up and voila – wpa_supplicant should be able to properly associate with networks from now on. Do some checking with wpa_gui
Happy wireless surfing :)
So I downloaded and installed QTM.
I have to say that it surprised me from the building process: It was a first application that used cmake which I had to build myself,
and it shows clearly that Cmake is superior to Autotools.
The only dependency was QT >= 4.1.x, and it worked like a dream with QT4.3.
The building process itself was a breeze compared to what I would except from QT application (And CMake showed it’s beatiful scripts again :D)
As for the application itself: IT’S FAST!, I mean, REALLY FAST. Sure, it’s about tasks that don’t consume too much resources, but it snappy in a way that doesn’t always show with today’s apps. I also didn’t even notice when it downloaded my categories after inputting my blog settings in configuration window.
There are however some drawbacks – It doesn’t seem to have support for editing existing blog posts, support wordpress tags (But it might work from the technorati tags page)
nor uploading media objects. Also, the interface is a little different, but usable.
Now let’s see how it will publish this post :D
- Knowledge how to modify module set of kernel or roll your own
- linux 2.6.x
- Laptop with SMC IrDA chip
Many laptops nowadays come with IrDA served through an SMC IrCC SIR/FIR controller. Unfortunately, it’s setup is not done “by default”, leading people to think that IrDA simply doesn’t works. This is not true. Here’s a howto (not full, you have to read your distro’s manuals about how to adapt it to your system. Console commands however are universal on 99% percent of distros)
Broadcom is a company well-known for their lack of cooperation with open-source developers, even when they have complete code for linux driver!
That also means that one of the more popular 802.11b/g cards, Broadcom 43xx series, is a PITA under linux.
Some time ago I got it working using ndiswrapper 1.38 and XP64 drivers from some other laptop. Sometime later, I upgraded both kernel (188.8.131.52-ck1) and ndiswrapper (1.47) and when I got myself in need to use WiFi, I found it doesn’t work. After long story of shotgun debugging, I finally found a way to make it work.
Install ndiswrapper 1.47 from here.
Download driver sp33008, like:
And use cabextract to extract drivers from exe file:
Now, install driver using ndiswrapper and reload ndiswrapper (Remember to uninstall old one!):
ndiswrapper -i bcmwl5.inf && modprobe -r ndiswrapper && modprobe ndiswrapper
It seems to help with some errors concerning encryption. Your mileage may vary, but there are few variants of this conf file – one of them might work for you, and they are all included with the driver
If all is well, you should have a new network device by the name of wlanx or ethx, depending on your settings, and iwconfig should be able to set up your card.