Sunday, February 3, 2008

Dual-output on ATI radeon xpress 200M and xvideo

The long history: http://ati.cchtml.com/show_bug.cgi?id=1020.

Tuesday, January 29, 2008

Posts

This space for rent. For free, I mean. If you want to post here, or have a site with similar goals (preferably if it provides rss feeds) and you want to link in, please drop me a note.

Saturday, January 26, 2008

LG LE50 Express laptop + Agere Athens AM2 Modem on Linux

This one gave me some trouble, but eventually worked.

The short history:

1) Grab slmodem-2.9.11-20070813.tar.gz (you may try a newer version, and I didn't try with older ones [err, I did, with a very wold 2.9.9 one, and that didn't go very well).
2) Grab this patch (or read the history here).
3) Run slmodemd as this: slmodemd -a -c modem:0
4) Go figure out how to dialout (I used minicom and dialed my phone).
5) Enjoy it!

In the sentence above I use BRAZIL, go figure your country code.

The patch is short so I'll cat it here:


diff -rud slmodem-2.9.11-20060727-orig/modem/modem_main.c slmodem-2.9.11-20060727/modem/modem_main.c
--- slmodem-2.9.11-20060727-orig/modem/modem_main.c 2005-09-22 10:05:27.000000000 -0300
+++ slmodem-2.9.11-20060727/modem/modem_main.c 2007-07-10 14:37:33.000000000 -0300
@@ -379,7 +379,7 @@
ERR("cannot set periods for %s: %s\n", stream_name, snd_strerror(err));
return err;
}
- if ( rsize != size ) {
+ if ( rsize < size ) {
ERR("period size %ld is not supported by %s (%ld).\n",
size, stream_name, rsize);
return -1;



... That was pretty much it, getting here gave me some headache, tough.

I can provide more details if someone needs it.

That was pretty much the last piece of hardware (other than the memory stick reader) left unsupported on linux. Suspend to ram doesn't work for me, but suspend to disk (via uswsusp) is just fine.

Having "noapic" on the command line is a must for this laptop, otherwise sound stops working and it crashes eventually. The open source wireless driver does not work with WPA due to a bug (machine hangs), at least on kernels newer than 2.6.18, but I can use it with aircrack just fine. So I use ndiswrapper for daily-to-daily and the open source one when I need to do cool things like that.

That's it, since I don't use memory sticks, I'm now 100% operational with this old baby.

Tuesday, May 22, 2007

Athcool and system crashing

I was using athcool for quite sometime. Then I changed a memory module and things started to crash. If I disabled athcool, things worked just fine.

I was spying on the memory module's SPD info, and noticed it supports self-refreshing. The old one didn't. I then tried to put another memory module aside with this, and things magically works again, even with athcool turned on (it's a must, my processor is an TB athlon xp 2600, it is really warm).

It seems like the BIOS acpi handling fails to put the module in self-refreshing mode, but thinks it has, when entering ACPI C2. In other words, the memory contents seems to get lost. The memory controller seems to correctly refreshes both modules, if at least one of then needs external refreshing.

The mainboard is an ASROCK K7VT2.