Patch to get the console in 128x30 (1024x480) on a Sony Picturebook PCG-C1VE (or PCG-C1Vx)
for the latest 2.4 linux kernel (2.4.34)




  This the patch to get the full width console on Kernel 2.4.34. This is a fix on the original work that someone (? could not find who) made on patch for kernel 2.4.26 that was broken.

**UPDATED** Please note that Lewin Edwards (http://www.zws.com) contacted me to explain that "(...) the original patch is very slightly broken :) The problem with the original patch is in atyfb_base.c at the line beginning { 0x4c52, 0x4c52, 0x00, 0x00, m64n_mob_p, 230, 40, 125, ....The last number in the portion I quoted is a clock value, and 125MHz is apparently borderline for the SDRAM in the PCG-C1xx laptops. It works on some units, it fails on some units. Your updated, "fixed" patch lowers this clock to 40MHz, which works, but is not optimal. You should find all units are running properly at 100MHz."

Thanks to Lewin for noting this and giving the trick to go beyond in the clock speed with that unit.

Nicolas.

If you have questions contact me at nicolas_henry [(]At})] orange.fr


Width Console picture

So here is the patch.

get Kernel 2.4.34, patch it
wget http://www2.kernel.org/pub/linux/kernel/v2.4/linux-2.4.34.tar.bz2
unzip,untar,
bunzip2 linux-2.4.34.tar.bz2
untar -xvf linux-2.4.34.tar


run the patch command :
patch -p0 <patch-vaio-console-2.4.34.diff


- config the 2.4.34 kernel with the following activated :
Console Drivers /
    VGA Text console : YES
    Video Mode Selection : YES
    Frame Buffer Support : YES
            ATI Mach64 display support : YES
                Mach64 CT/VT/GT/LT support : YES
                vaio C1VE 1024x480 LCD support : YES
                Mach 64 generic  LCD Monitor support : YES

Compile, install, and please add into /etc/lilo.conf the following line :

vga=0x301

which would call the first atyfb/vesa mode (orginally 640x480) that the patch has replaced with ... 1024x480

ENJOY !
 

Ok ... now return to the linux page