This page describe the process of installatin a Linux Debian 3.0 Woody sur on a Sony PCG-C1VE Picturebook Laptop. Following the instructions described below you should end with a stable Linux machine with all the originally installed Picturebook functionalities. ![]() Hardware needed : - Sony PCG-C1VE (or PCG-C1Vx) - a CDROM Drive Sony PCGA-CD51/A, the only one that can boot this machine - 3 Debian 3.0 Woody CDs : http://www.debian.org - One CD burner and a blank CD on another computer to transfer basic confifuration files and programs. if possible - change the harddrive (original 12Go) by a better/faster one, performance are greatly enhanced and original drive is not robust. Web site for it with plenty of explanation and pictures on how to do this - Increase memory size of your unit to 256 Mb. Even if the specs are telling you 192 Mb is the max size, there are memory modules that can boost this to 256 Mb, found on Ebay Germany. Download and burn on the CD the following config files : Kernel 2.4.17 Kernel 2.4.34 Patch console 128x30 for kernel 2.4.17 Patch console 128x30 for kernel 2.4.26 Config Kernel file for 2.4.34 : File "camera", config for modutils File modules File apmd_proxy File gpm.conf File XF86Config-4 for XFree Result : Kernel 2.4.34 - the last kernel available today (01/2007) in the 2.4 branch Console in 128x30, full screen XFree accelerated, 1024x480 USB Port (USB key mass storage, USB mouse with roll, digital camera...) Firewire Port (DV Digicam, external harddrive support) MotionEye Camera (Mirror, video recording, snapshot) Jogdial (XFree, launcher, volume, brightness control) Memorystick Support (mass storage) Yamaha sound (microphone + speaker, under OSS) PCMCIA (Wireless, Netgear 54Mbs sous driver Atheros 9.2.1) APM PowerManagemente + Cruzoe Longrun Processor suppot and control + batterie management + brightness automatic control The following installation described below needs around 2/3 heures of work. The installation strategy is pretty simple, we boot on the CD and install a basic system, then we transfer the confi file, patches, kernel and wifi drivers to have a network connected PCG-C1VE, that we can happily upgrade and increase functionnalities. Base System Installation Download Debian Woody 3.0r0 (3 CDs) Insert CD1 dans in the Sony CD51A drive (the only one that boot) During boot process, press F2 to execute the BIOS et restore default option (F9) and save+exit. If you played with BIOS before (like me) that should enable again external CD boot. During Lilo boot, do not run directly, put enter the following line : linux ide1=0x180,0x360 So the CDROM drive is correctly detected in /dev/hdc Choose the following installation parameters : (language selection ARE in french, please change to your need) fr - france france francais Keyboard azerty/fr-latin0 A swap partition of 512 Mo A Linux main partition (ext2) Mount it as root / To install the kernel, use the CDROM as source Do not configure any hardware driver now Configure host name Install system base using CDROM Choose the directory /instmnt/ proposed Make bootable and choose MBR (WARNING : use only if you have no other Operating System on the machine, choosing MBR may prevent you to boot back to windows) Do not create a booting floppy. Eject the CD and reboot This time, during Lilo boot, do NOT enter a specific line ide1=xxxxxxx, but just boot normally. One the boot sequence is over insert again the CD1 Timer is on GMT Choose your time zone (Europe / Paris) activate MD5 passwords activate shadow passwords Choose root password Create a user account DO NOT DEINSTALL PCMCIA No PPP on the system Insert CD 2 and run the scan Same with CD3 Finish the scans and DO NOT update from debian yet (you should habe no network in most cases). Run taskreln, select : X window Desktop environment Laptop System ALL the developpments package French environment Do not do a dselect, this is enough configuring yet :-) Answer "Yes", and reinsert CD1 + execute Do ok on kernel warning Do Yes on mime handler Choose local fr_FR@euro... Choose default on Fr_FR Do ok on tcpwrapper Do YES on SSH2 only ok yes for keyhelper no for sshd server no for postscript printer ok A4 for paper size ok for CVS, then create NO for pserver xdm for display manager No for IrDA NO for Freetype auto for sound demon NO for Xwrapper NO for xFree configuration/debconf ok on iminitel choose francais (1) as default dictionnary (2x) netenv disabled option 5 for email Answer OK to all remaining questions and log in You should now have a kernel 2.2.20 (to confirm, enter : uname -aInstall needed tools from CDROM to compile a new kernel : apt-get install ncurses-devCopy newer kernels from the burned CDR and all config files from the top of this page Insert CDR with files and mount : mount /dev/cdrom /cdrom then copy to hard drive, unzip and work with them Kernel 2.4.34 with patch "full width" console 128x30 1024x480 Follow the instructions on the dedicated section here One the kernel is patched correctlyn you can compile it : make mrproper
//// so we have a fresh startmake menuconfig
//// configure in text modeFor example you can use my own kernel config for 2.4.34 kernel CONFIG-KERNEL-VAIO-2.4.34 You absolutely need the following options to get the console in 128x30 : And the following line in lilo.conf vga=0x301so it does call the first line mode of atyfb/vesa (normally 640x480) that we have now replaced by ... 1024x480 make
dep
//// dependancies checkmake
bzImage
//// create a zipped kernelmake modules
//// create modulesmake modules_install
//// install themcopy the bzImage createad from arch/i386/boot to /boot edit the /etc/lilo.conf and add a comment sign "#" in from on the line vga=normaladd a new line : image=/boot/bzImagerun the command lilo
to integrate lilo config change into the boot/mbrreboot choose kernel "kernel24" You should now boot in 128x30 console full screen, under kernel 2.4.34 Connect the PCG-C1VE to internet with wireless You will need to install a PCMCIA if you need go for Wifi install the wireless tools , unzip, untar, make , make installadd the needed config parameter : echo /usr/local/lib >>/etc/ld.so.confand run the command : ldconfigcompile and load the module matching your wireless LAN card Configure TCP/IP on this card (my cisco did created me a device ETH0 and my Netgear (Atheros) a device ATH0) ifconfig eth0 upiwconfig eth0 with the right parameters Exemple : iwconfig
eth0 essid "ACCESSPOINT" channel 6 key ABCDEF01234567890123456789)ifconfig eth0 192.168.0.21route add default gw 192.168.0.254
(my home gateway is .254 and not .1)configurer the DNS resolution by editing /etc/resolv.conf and adding the lignes : search(these are the "free.fr" internet provider DNS) once you are connected correctly, (test with ping www.yahoo.fr for exemple) configu apt-get with new sources : apt-setup now take a source HTTP close where you live and run apt-get update and then apt-get upgradeand do yes to massively upgrade all packages of your système. Go get a coffee :-) Once update done, you need to get all PCG-C1VE specific software : apt-get install longrunSound Support start OSS with modprobe ymfpci Install a MP3 command line player : apt-get install mpg123download a sample MP3 somewhere and test it from command line mpg123 FILENAME.mp3To have mouse control both in console and under X11 For this, I have installed gpm apt-get install gpmand configured the file /etc/gpm.conf in the following manner : device=/dev/psauxI had them modified my XF86Config-4 Config file to point the mouse under /dev/misc/psaux X Support copy the file XF86-Config in the /etc/X11 folder Start X : startxA graphic manager like blackbox is highly advised. Gnome has proven to be medium slow on this machine and KDE is VERY SLOW. Video Camera You need to create a node in the /dev : mand add the right parameters in a file you create, like /etc/modutils/camera : alias
char-major-10 63 sonypiet run update-modules to reconfigure all this then run modprobe sonypitest with spicctrl -b=0 to see if backlight goes down to minimumspicctrl -b=255 to set it back to maximum Test under X11 the webcam with the command "motioneye -d" et check if you can see yourself in the screen :-) Install PowerManagement support apt-get install apmd (must run a massive update)apt-get install hdparm Power management, longrun, harddrive performance et backlight control Edit the apmd start script in /etc/init.d/apmd to add the parameter -c 3 at startup with parameter -P, otherwise apmd will only check battery status every ... 30 seconds (default value). Rename apm_proxy et copy my script apm_proxy given here. Il does manage backlight, longrun and harddrive parameters. Jogdial pour go get jogdial running, simply use the program sjog apt-get install sjoget kick it under X start by modifying the rootcommand under blackbox or ather windowmanager. Modify the file /etc/sjogrc to configure your preferred softwares. |