Archive for the 'Tech' Category

(F)Ubuntu again

Friday, June 8th, 2007

You know my previous post?

Ok… just ignore the statement “By following some forums and searches on google i managed to presumably fix it.”

The fix will just increase the probability of a successful suspend by 10-15%. :)

Feisty is and will presumably be foo, that’s why i’m still thinking of a downgrade.

Fixing some Feisty (Ubuntu 7.04) problems

Thursday, June 7th, 2007

As I already wrote before, Feisty has a lot of problems here and there with my ThinkPad R60. The first that was bugging me was the suspend-to-ram issue. By following some forums and searches on google i managed to presumably fix it. It seems that the fglrx driver that is included in Feisty has a big fat bug. People were reporting fixes that override the bug but all in all it didn’t help a lot. So the right way to fix this issue should be by upgrading the ATI driver.

I just followed these instructions http://divilinux.wordpress.com/2007/05/12/installazione-driver-fglrx-in-5-minuti/ (sorry they are in Italian, but if you just follow the procedure there shouldn’t be problems) and then by doing these checks http://www.thinkwiki.org/wiki/Problems_with_fglrx. After that, I had to reboot the machine, because it didn’t work otherwise.

So, this should fix suspend-to-ram, but there are other problems like HDAPS, for which i think i will have to recompile the kernel.

There’s a cool article about fan speed control on ThinkPads here.

Sick of Feisty…

Saturday, June 2nd, 2007

Because, Ubuntu 7.04 doesn’t work, i’m going to downgrade back ot 6.10.

After lots of updates with crappy kernels, crappy ACPI scripts, crappy HDAPS - I had it enough!

Vintage Computer Festival Europa

Sunday, April 29th, 2007

I spent the last 3 days in Munich on the VCFE festival, which was meant for old computer collectors. If you had an old computer or some interesting piece of hardware, you could expose it on this place.

A part of the Kiberpipa (Cyberpipe) museum took 3 of the old Yugoslavian computer systems (Iskra Delta Triglav, Iskra Delta Partner and Galaksija) and went on the road. After hours of driving we were in Munich.

We were in Munich already on Friday even that the event opening was on Saturday, because we had 3 machines to prepare for the exposition. The place was crowded with people helping to prepare the event. Even though we were in Munich on Friday we had to wait the next morning, because the hall was not prepared before 12:00pm, so we went to sleep.

The next morning we woke up, took the train to the expo, fixed the machines and waited. We realized that the Europa in the name was not the right word to describe the public of the event, because everything going on on the place was in German, so we didn’t understand a lot. That’s why we took some time for ourselves and went sightseeing.

We can say, that the main event was the tour trough the cray-cyber collection, consisting of many mainframe computers guided by John G. Zabolitzky, Alexander Mann, Freddy Meerwaldt and Wolfgang Stief.

There were mainly home computers like ATARI, Commodore AMIGA and some other of that kind. For me the best examples were a Robotron terminal, a Digital AlphaServer and a MicroVAX.
I must say that the exposing machines were amazing but the organization of the event was awful and meant for the German population.

Anyhow, beer was good! :)

First try of (F)Ubuntu 7.04 (Feisty Fawn) final

Sunday, April 22nd, 2007

I Must say it’s impressive it doesn’t work even more from the previous version. :)

I installed it on my TP R60 and noticed:

  1. The partitioner GUI in the installation is still strange
  2. The account migration app didn’t find my old Ubuntu account nor the windows one
  3. There’s AFAIK still the problem with the GRUB installation on SATA drives (change hd(0) to /dev/sda)
  4. The default fglrx resolution goes only to 1024×768
  5. Suspend to RAM works mostly not
  6. Still the SHMConfig option in xorg.conf not enabled (why???)
  7. HDAPS module doesn’t want to load (maybe a kernel problem)

So, if you are upgrading to 7.04 you will have still a lot of work on your own to fix or override the bugs.

A good reference is here: http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60

And maybe it is a good thing to add to /etc/acpi/resume.d/90-*-unstandby-led.sh is chvt 7 for automatic switching to vt 7

March fool…

Monday, March 19th, 2007

or not…

Ubuntu amazes me…

Sunday, March 18th, 2007

every day more and more.
Yesterday, when I was trying to “deploy” my VGA-out script for my R60. I encountered a script that should enable the Fn+F8 key (disable touchpad).

After reading the header comment of the script I realized that changing a value from 0 to 1 should do the trick, and it did. A week ago I was thinking of writing one. :)

Anyway, the “deploy” didn’t succeed, because aticonfig needs to be executed in userspace. :P

Ubuntu sleep and hibernate problem

Wednesday, March 14th, 2007

I found out that if you install avr-libc on Ubuntu 6.10, there come some problems with the power state changes.

Try to avoid installing this package.

RTP streaming with gstreamer

Tuesday, February 27th, 2007

I was trying to create an RTP stream of my webcam that could be broadcasted trough DSS (Darwin Streaming Server) over RTSP. After hours of retries I’ve came to a working commandline pipeline:

gst-launch v4l2src ! decodebin ! ffenc_mpeg4 ! rtpmp4vpay mtu=1460 send-config=true ! udpsink host=ip port=odd_port

Note: You must create an .sdp file manually or by using a tool for the creation of them like mp4live, that you put in the “movies” folder of DSS and then create a rely in the administration web frontend with a mount pint with the name of the .sdp .

Enjoy!

Static build of VLC 0.8.6a for Linux

Tuesday, February 20th, 2007

I’ve been trying to build a static version of VLC for a week now. I’ve tried every dirty trick i knew with no success. After some days of building and rebuilding hell I decided to ask the developers for some help. They said “It’s impossible!”, but I didn’t want to hear anything like this. I then tried and retried again and again, but ,again, with no success. The farthest that I came was an “a minimal all built in executable”, with dynamically linked libraries.

Ldd returned like 84 external shared library links. I then realized that the VLC build system was somehow buggy. I included all the switches that ./configure accepts in my configure script that allowed me faster source configuration. It helped me a lot, because I reduced the links to around 50.

I then tryed for 2 days to compile with the same configuration using statically linked libraries… guess what… it didn’t work. The VLC build system can’t build a statically linked executable. I think it’s just the build system problem.

The fastest thing to do, was to add some switches to ld like in the previous post and hardcode the path to the libraries in the final binary and then include a libs folder with the executable.

I thought: “Maybe it should be best to include the shared libc libraries in the package too.”, and guess what again… i didn’t work :) Because I didn’t want to recompile glibc on my own I decided to make a distro dependent package.

It works for now. I’m not happy with this package, this is why I’m planning to rebuild it the proper way in the future.