Thursday 8 November 2007

Ubuntu : An african word than means "Your Solaris will be destroyed!!!"



Yes!!!

I burned the new Ubuntu 7.10 live cd and booted from it.

I started using the system and after playing an hour I rebooted from my hard disk...

I only got a blank screen with the words : GRUB

I booted from an old 3 1/2" floppy drive and run the Norton Disk Editor 3.0 and compared the partition table

of my hard disk with a saved copy that I had in a file. Not a single byte was changed...

So the problem was inside the solaris partition.

I booted again from ubuntu Live Cd and I noticed that my solaris partition was used as SWAP!!!.

Here you can see that I have 4 gb swap partition and my partition info...




Why has Ubuntu used a partition ID "BF" (Solaris new partition) as a swap????

Maybe because Ubuntu means "Your Solaris will be destroyed!!!"

I don't want to reinstall Solaris again, I give up.
Bye Java Desktop Environment!!! :-(

Monday 27 August 2007

Installing Slackware 12 on Compaq Presario 1500US

Installing Slackware 12 on Compaq Presario 1500US


Last updated: August 27, 2007


General Hardware Specifications of Compaq Presario 1500US

Hardware Components
Status under Linux
Notes
Pentium IV Processor, 2.4 GHzWorksTo make CPU Frequency Scaling see the instructions below
15.4 SXGA+ TFT DisplayWorksSee instructions below
ATI Mobility Radeon 7500 (M7) - 32MB VideoWorksSee instructions below
512MB, DDR SDRAM, 2DIMMsWorksNo special procedure required during installation
TOSHIBA MK4018GAP (40 GB, 4200 RPM, Ultra-ATA/100) Hard DriveWorksNo special procedure required during installation
Internal Floppy DriveWorksNo special procedure required during installation
Integrated Network Card - Intel(R) PRO/100 VEWorksYou must run the command network during setup
Internal 56k Modem - SoftV92 - Harmonics (Conexant) HSF 56k HSFi ModemNot work yet!I'm trying to make it work using the proprietary HSF driver from Linuxant.
TOSHIBA DVD-ROM SD-R2102 (DVD:8x, CD:8x/8x/24x DVD-ROM/CD-RW)WorksNo special procedure required during installation
SoundMAX
Integrated Digital Audio - Intel 82801CA ICH3-S - AC'97 Audio Controller
WorksAfter installation you must run the commands - alsaconf, alsamixer, alsactl store
Lithium-Ion BatteryWorksNo special procedure required during installation

This laptop is now operating under Kernel version 2.6.21.5-smp


Basic Installation of Slackware 12 :

  • Why use Slackware :
    Because it was the first distribution I used. I installed in 1995 the Slackware 2.10 that came in a cd in the magazine "Solo Programadores"
  • Obtaining Slackware 12 :
    You can download it from the site :
    Get Slack!
    Select your nearest country and then browse in the ftp site for the directory "Slackware 12.0"
    Then download the 3 install cds
    slackware-12.0-install-d1.iso
    slackware-12.0-install-d2.iso
    slackware-12.0-install-d3.iso

    or the DVD

    slackware-12.0-install-dvd.iso

    Afterwards burn the cds/dvd, insert it in the cdrom and reboot the notebook.
  • Installing :
    After the computer reboots you will see a console with the message :

    This prompt is just for entering extra parameters. If you don't need to enter any parameters, hit ENTER to boot the default

    kernel "hugesmp.s" or press [F2] for a listing of more kernel choices.
    boot :

    Press Enter

    -------------------------------------
    Then you will see a message :
    "If you are not using a US keyboard...
    To continue using the US map, just hit enter.
    Enter 1 to select a keyboard map : "

    Press "Enter"

    Then when you get the prompt type the command :
    pcmcia

    "The PCMCIA/CardBus subsystem is now installed.... then press [enter] to continue."

    Press Enter.

    Then type the command :
    network

    "Press [enter] to automatically probe for all network cards, or switch to a different console and use 'modprobe'...

    SUCCESS: found card using eepro100 protocol -- modules loaded."


    If needed you must reconfigure your hard disk partitions with the fdisk command.
    (please don't play with that command because you can destroy all your hard disk information)
    This isn't a dummy guide, is just a guide to share my experience configuring slack12 for my laptop.

    Here the information about my hard disk :

    fdisk /dev/hda

    Command (m for help) : p

    Disk /dev/hda: 40.0 GB, 40007761920 bytes
    255 heads, 63 sectors/track, 4864 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 3215 25817368+ 7 HPFS/NTFS
    /dev/hda2 4278 4788 4095096+ 83 Linux
    /dev/hda3 3215 3749 4294080 a5 FreeBSD
    /dev/hda4 * 3749 4278 4248720 bf Solaris

    Partition table entries are not in disk order


    Afterward type the command :
    setup

    Then you will see the following screen :


    Then select TARGET and choose your partition table (in my case was /dev/hda2 and after that I selected Format).
    Then I selected ext3 Journaling Filesystem.
    After that it detected the NTFS partition and was added to /etc/fstab

    Then select
    1 - Install from Slackware CD or DVD
    Then "auto" Scan for the CD or DVD drive (recommended)

    Then a screen with the Package Series Selection
    * A - Base Linux System
    * AP - Various Applications that do not need X
    * D - Program Development (C, C++, Lisp, Perl, etc.)
    * E - GNU Emacs
    * F - FAQ lists, HOWTO documentacion
    * K - Linux kernel source
    * KDE - Qt and the K Desktop Environment for X
    - KDE - International language support for KDE
    * L - System Libraries (needed by KDE, GNOME, X, and more)
    * N - Networking (TCP/IP, UUCP, Mail, News)
    - T - TeX typesetting software
    * TCL - Tcl/Tk script languages
    * X - X Window System
    * XAP - X Applications
    - Y - Games

    Then "Select Prompting Mode"
    full - Install everything (4,5+ GB of software, RECOMMENDED!)
    menu - Choose individual packages from interactive menus
    expert - This is actually the same as the "menu" option
    newbie - Use verbose prompting (the X series takes one year)
    custom - Use custom tagfiles in the package directories
    tagpath - Use tagfiles in the subdirectories of a custom path
    help - Read the prompt mode help file

    If you have enough space please choose "Full"!!! otherway choose "expert" and be very carefull because if you don't install a required package the system will not boot or work fine.
    Many package aren't marked as REQUIERED but in fact they are.


    After the installer copies the files to the hard disk the Lilo configuration begans
    Y selected "expert" - Use expert lilo.conf setup menu.
    Then inside the "Expert lilo installation"
    Begin - Start LILO configuration with a new LILO header

    I selected 1024x768x256 Frame buffer console, 1024x768x256
    then 5 seconds timeout
    Then
    Linux - Add a Linux partition to the LILO config
    /dev/hda2
    Windows - Add a Windows FAT or NTFS partition to the LILO config
    /dev/hda1
    With the name M$ Windows XP

    then I selected to Install LILO in the first sector of the Slackware root partition.
    Because I had to preserve the Solaris Grub in the MBR. Because LILO can't boot the solaris partition slice.

    Afterward select your mouse configuration (I choose ps/2 mouse).
    Then enter your hostname, domain name, DHCP or static IP, DHCP server name (is applicable), and confirm the network setup.

    Then the startup services, custom screen fonts, hardware clock set to UTC, timezone configuration.
    Afterward the default window manager. I selected KDE (you can choose XFCE or TWM too).

    Then configure your root password.

    After reboot I can't be able to boot from the hard disk. I got the error :
    No filesystem could mount root. tried :
    kernel_panic not syncing :
    VFS: Unable to mount root fs on unknow_block (3,2)

    I realized that the problem is that the kernel doesn't support the EXT3 filesystem.

    I inserted the slackware 12 install Cd 1, and in the boot option I entered :
    boot: hugesmp.s root=/dev/hda2 rdinit= ro
    After logged I use the command :
    mkinitrd -c -k 2.6.21.5-smp -m ext3 -f ext3 -r /dev/hda2
    Then I edited the lilo.conf and added
    initrd=/boot/initrd.gz
    after the line : image=/boot/vmlinuz

    then I rebooted without problem.


    Configuring the video display
    After a lot of tests my best configuration for the ATI mobility Radeon 7500 is the following.

    Open the file /etc/X11/xorg.conf and paste the following lines.

    ----------------

    # File generated by xf86config.

    #
    # Copyright (c) 1999 by The XFree86 Project, Inc.
    #
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    #
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    #
    # Except as contained in this notice, the name of the XFree86 Project shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from the
    # XFree86 Project.
    #

    # **********************************************************************
    # Refer to the XF86Config(4/5) man page for details about the format of
    # this file.
    # **********************************************************************

    # NOTE: This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
    # driver instead of the fbdev driver. Thanks to Kenneth Fanyo who pointed
    # this out to me. :)

    # This XF86Config file is designed for use with the VESA framebuffer.
    # This generic interface should work with nearly all video cards
    # (although not every card will support every resolution).

    # With the new driver, it should no longer be required to have frame buffer
    # support in the kernel, or to run it on the console.
    #
    # Enjoy! :)
    # -- volkerdi@slackware.com
    #

    # **********************************************************************
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    # **********************************************************************
    #
    Section "Module"

    # This loads the DBE extension module.

    # Load "dbe" # Double buffer extension

    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection

    # This loads the font modules
    Load "type1"
    Load "freetype"
    #Load "speedo"

    # This loads the GLX module
    Load "glx"
    Load "ddc"
    Load "vbe"
    Load "dri"
    EndSection

    # **********************************************************************
    # Files section. This allows default font and rgb paths to be set
    # **********************************************************************

    Section "Files"

    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.

    RgbPath "/usr/share/X11/rgb"

    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    #
    # If you don't have a floating point coprocessor and emacs, Mosaic or other
    # programs take long to start up, try moving the Type1 and Speedo directory
    # to the end of this list (or comment them out).
    #


    # ModulePath can be used to set a search path for the X server modules.
    # The default path is shown here.

    # ModulePath "/usr/lib/xorg/modules"

    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/OTF"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/Speedo"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/local/share/fonts"
    EndSection

    # **********************************************************************
    # Server flags section.
    # **********************************************************************

    Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging

    # Option "NoTrapSignals"

    # Uncomment this to disable the VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.

    # Option "DontVTSwitch"

    # Uncomment this to disable the server abort sequence
    # This allows clients to receive this key event.

    # Option "DontZap"

    # Uncomment this to disable the / mode switching
    # sequences. This allows clients to receive these key events.

    # Option "DontZoom"

    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.

    # Option "DisableVidModeExtension"

    # Uncomment this to enable the use of a non-local xvidtune client.

    # Option "AllowNonLocalXvidtune"

    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.

    # Option "DisableModInDev"

    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).

    # Option "AllowNonLocalModInDev"

    # Set the basic blanking screen saver timeout.

    # Option "blank time" "10" # 10 minutes

    # Set the DPMS timeouts. These are set here because they are global
    # rather than screen-specific. These settings alone don't enable DPMS.
    # It is enabled per-screen (or per-monitor), and even then only when
    # the driver supports it.

    # Option "standby time" "20"
    # Option "suspend time" "30"
    # Option "off time" "60"

    # On some platform the server needs to estimate the sizes of PCI
    # memory and pio ranges. This is done by assuming that PCI ranges
    # don't overlap. Some broken BIOSes tend to set ranges of inactive
    # devices wrong. Here one can adjust how aggressive the assumptions
    # should be. Default is 0.

    # Option "EstimateSizesAggresively" "0"

    EndSection

    # **********************************************************************
    # Input devices
    # **********************************************************************

    # **********************************************************************
    # Core keyboard's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.

    # Option "Protocol" "Xqueue"

    # Set the keyboard auto repeat parameters. Not all platforms implement
    # this.

    # Option "AutoRepeat" "500 5"

    # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).

    # Option "Xleds" "1 2 3"

    # To disable the XKEYBOARD extension, uncomment XkbDisable.

    # Option "XkbDisable"

    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a European
    # keyboard, you will probably want to use one of:
    #
    # Option "XkbModel" "pc102"
    # Option "XkbModel" "pc105"
    #
    # If you have a Microsoft Natural keyboard, you can use:
    #
    # Option "XkbModel" "microsoft"
    #
    # If you have a US "windows" keyboard you will want:
    #
    # Option "XkbModel" "pc104"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    #
    # Option "XkbLayout" "de"
    #
    # or:
    #
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    #
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    #
    # Option "XkbOptions" "ctrl:swapcaps"


    # These are the default XKB settings for X.Org
    #
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    # Option "XkbVariant" ""
    # Option "XkbOptions" ""

    EndSection


    # **********************************************************************
    # Core Pointer's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    # Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"

    # On platforms where PnP mouse detection is supported the following
    # protocol setting can be used when using a newer PnP mouse:

    # Option "Protocol" "Auto"

    # The available mouse protocols types that you can set below are:
    # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
    # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
    # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
    # ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol" "PS/2"

    # The mouse device. The device is normally set to /dev/mouse,
    # which is usually a symbolic link to the real device.

    Option "Device" "/dev/mouse"
    # Option "Device" "/dev/psaux"
    # Option "Device" "/dev/ttyS0"
    # Option "Device" "/dev/ttyS1"

    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.

    # Option "Protocol" "Xqueue"

    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.

    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"

    # Emulate3Buttons is an option for 2-button Microsoft mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    # Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"

    # ChordMiddle is an option for some 3-button Logitech mice

    # Option "ChordMiddle"

    EndSection

    # Some examples of extended input devices

    # Section "InputDevice"
    # Identifier "spaceball"
    # Driver "magellan"
    # Option "Device" "/dev/cua0"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "spaceball2"
    # Driver "spaceorb"
    # Option "Device" "/dev/cua0"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "touchscreen0"
    # Driver "microtouch"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "1412"
    # Option "MaxX" "15184"
    # Option "MinY" "15372"
    # Option "MaxY" "1230"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "touchscreen1"
    # Driver "elo2300"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "231"
    # Option "MaxX" "3868"
    # Option "MinY" "3858"
    # Option "MaxY" "272"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonThreshold" "17"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection

    # **********************************************************************
    # Monitor section
    # **********************************************************************

    # Any number of monitor sections may be present

    Section "Monitor"

    Identifier "My Monitor"

    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync 31.5 - 50.0

    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 40-90

    EndSection


    # **********************************************************************
    # Graphics device section
    # **********************************************************************

    # Any number of graphics device sections may be present

    Section "Device"
    Identifier "ATI RADEON 7500"
    Driver "radeon"
    VideoRam 32768
    BusID "PCI:1:0:0"
    VideoRam 32768
    Option "AGPMode" "4"
    Option "AGPSize" "32"
    Option "XAANoOffscreenPixmaps"
    Option "DRI" "true"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    EndSection

    # **********************************************************************
    # Screen sections
    # **********************************************************************

    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 1"
    Device "ATI RADEON 7500"
    Monitor "My Monitor"
    # Option "UseFBDev" "true"
    # Option "AddARGBVisuals" "True"
    # Option "AddARGBGLXVisuals" "True"

    # If your card can handle it, a higher default color depth (like 24 or 32)
    # is highly recommended.

    # DefaultDepth 8
    DefaultDepth 16
    # DefaultDepth 24
    # DefaultDepth 32

    # "1024x768" is also a conservative usable default resolution. If you
    # have a better monitor, feel free to try resolutions such as
    # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
    # card/monitor can produce)

    Subsection "Display"
    Depth 8
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 32
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection

    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    Section "Extensions"
    Option "Composite" "Enable"
    EndSection



    # **********************************************************************
    # ServerLayout sections.
    # **********************************************************************

    # Any number of ServerLayout sections may be present. Each describes
    # the way multiple screens are organised. A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option. In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.

    Section "ServerLayout"

    # The Identifier line must be present
    Identifier "Simple Layout"

    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.

    Screen "Screen 1"

    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used. Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

    EndSection



    Then you can start the KDE with the startx command.
    With these settings you will have a 1000 fps according to the glxgears command.

    The first time I tried to activate compiz I got the error :
    GLX_EXT_Texture_from_pixmap is missing
    Failed to manage screen : 0
    No manageable screens found on display : 0.0

    Here a picture :

    I fixed the problem usign the prefix LIBGL_ALWAYS_INDIRECT=true before the compiz command.

    So if you want to activate compiz use the following command :

    LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom &

    Then :
    kde-window-decorator &

    Then you can press the ctrl+alt+left arrow or the ctrl+alt+Button1 mouse and the cube should work!!!


    Ramdonly I got the error : The application KWD (kde-window-decorator) crashed and caused the signal 11 (SIGSEGV).
    See the picture :


    If you got that error you can relaunch the KWD with the command : kde-window-decorator &

    If you want that compiz starts automatically with KDE, just create a file :
    /root/.kde/Autostart/compiz.sh
    And type the following :
    LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom &
    sleep 6
    kde-window-decorator &

    Then save and add the execute permisions :
    chmod +x compiz.sh


Setting up additional features for Slackware 12


  • Making CPU Frequency Scaling work for you

    You must edit the file /etc/rc.d/rc.modules-2.6.21.5-smp
    and delete the simbol "#" of the line /sbin/modprobe p4-clockmod

    # Intel Pentium4/Xeon clock modulation
    /sbin/modprobe p4-clockmod

    and delete the simbol "#" of the line /sbin/modprobe cpufreq_ondemand

    # Set the frequency on demand. What you want is what you get
    /sbin/modprobe cpufreq_ondemand


    Then I installed kpowersave version 07.1

    you can download the package from :
    kpowersave
    Here the download link :
    Download kpowersave

    and installed with pkgtool.

    Later you can run the kpowersave with the command

    /opt/kde/bin/kpowersave
    (I added these command to the compiz.sh script)

    Afterward you can show the Cpufreq in the panel with the package kcpufreq-0.3

    Main site
    Download - kcpufreq-0.3.tar.gz

    You can install it using the commands
    gunzip kcpufreq-0.3.tar.gz
    tar xvf kcpufreq-0.3.tar
    cd kcpufreq-0.3
    ./configure
    make
    make install


    Then right click in the panel and select "Add Applet to Panel" and select kcpufreq.

  • Installing lm-sensors to monitor CPU temperature
    First you must install the lm-sensors package that is included in the distribution.
    Then you must download the script "unhide_ICH_SMBus" that show the chip/sensor :
    Here the link :
    unhide_ICH_SMBus

    Remember to make the file executable using the chmod +x
    Then run the script :
    ./unhide_ICH_SMBus

    Enabling SMBus PCI device ...
    Rescanning the bus ...
    Loading i2c-i801 ...
    00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
    Done!

    After that you must execute :
    sensors-detect
    Then the program will show you the following lines :

    Now follows a summary of the probes I have just done.
    Just press ENTER to continue:

    Driver `adm1031' (should be inserted):
    Detects correctly:
    * Bus `SMBus I801 adapter at 1200'
    Busdriver `i2c-i801', I2C address 0x2c
    Chip `Analog Devices ADM1031' (confidence: 7)

    Driver `eeprom' (should be inserted):
    Detects correctly:
    * Bus `SMBus I801 adapter at 1200'
    Busdriver `i2c-i801', I2C address 0x50
    Chip `SPD EEPROM' (confidence: 8)
    * Bus `SMBus I801 adapter at 1200'
    Busdriver `i2c-i801', I2C address 0x51
    Chip `SPD EEPROM' (confidence: 8)

    EEPROMs are *NOT* sensors! They are data storage chips commonly
    found on memory modules (SPD), in monitors (EDID), or in some
    laptops, for example.

    I will now generate the commands needed to load the required modules.
    Just press ENTER to continue:

    To make the sensors modules behave correctly, add these lines to
    /etc/modules.conf:

    #----cut here----
    # I2C module options
    alias char-major-89 i2c-dev
    #----cut here----

    To load everything that is needed, add this to some /etc/rc* file:

    #----cut here----
    # I2C adapter drivers
    modprobe i2c-i801
    # Chip drivers
    modprobe adm1031
    modprobe eeprom
    # sleep 2 # optional
    /usr/bin/sensors -s # recommended
    #----cut here----

    If you have some drivers built into your kernel, the list above will
    contain too many modules. Skip the appropriate ones! You really
    should try these commands right now to make sure everything is
    working properly. Monitoring programs won't work until the needed
    modules are loaded.

    Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): YES
    Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
    for initialization at boot time.


    You must edit the file /etc/rc.d/rc.local and add the folowing lines :

    #----cut here----
    # I2C adapter drivers
    modprobe i2c-i801
    # Chip drivers
    modprobe adm1031
    modprobe eeprom
    # sleep 2 # optional
    /root/unhide_ICH_SMBus
    /usr/bin/sensors -s # recommended
    #----cut here----

    Then you can download a monitoring applet. I'm using kima. You can download it from :

    Kima - kde-apps.org

    Be carefull to download the tarball (source) because the slackware package is for version 11 and is not working under slackware 12.
    So install it with the classics commands (gunzip,tar, ./configure, make , make install)
    Then right click in the panel and select "Add Applet to Panel" and select kima.


    Here a picture with cpufreq and kima running :




  • Resolving Automount problems
    When you insert a CD or a pen drive you will see an error message :
    "A security policy in place precents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
    So you must add you current user to the group plugdev




  • Audio

    You must run the commands
    alsaconf
    then
    alsamixer
    raise the volume and run the command :
    alsactl store

  • Startup to a GUI
    If you want to start KDE automatically after boot you can modify the file : /etc/inittab and edit the line :
    id:3:initdefault:
    and change "3" for "4".
    id:4:initdefault:


Unsolved issues


  • Make the modem driver works!!!

  • Test the S-Video Output function

  • Fix the random signal 11 (SIGSEGV) on KWD (kde-window-decorator)


Configuration Files

  • /etc/X11/xorg.conf

    # File generated by xf86config.

    #
    # Copyright (c) 1999 by The XFree86 Project, Inc.
    #
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    #
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    #
    # Except as contained in this notice, the name of the XFree86 Project shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from the
    # XFree86 Project.
    #

    # **********************************************************************
    # Refer to the XF86Config(4/5) man page for details about the format of
    # this file.
    # **********************************************************************

    # NOTE: This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
    # driver instead of the fbdev driver. Thanks to Kenneth Fanyo who pointed
    # this out to me. :)

    # This XF86Config file is designed for use with the VESA framebuffer.
    # This generic interface should work with nearly all video cards
    # (although not every card will support every resolution).

    # With the new driver, it should no longer be required to have frame buffer
    # support in the kernel, or to run it on the console.
    #
    # Enjoy! :)
    # -- volkerdi@slackware.com
    #

    # **********************************************************************
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    # **********************************************************************
    #
    Section "Module"

    # This loads the DBE extension module.

    # Load "dbe" # Double buffer extension

    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection

    # This loads the font modules
    Load "type1"
    Load "freetype"
    #Load "speedo"

    # This loads the GLX module
    Load "glx"
    Load "ddc"
    Load "vbe"
    Load "dri"
    EndSection

    # **********************************************************************
    # Files section. This allows default font and rgb paths to be set
    # **********************************************************************

    Section "Files"

    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.

    RgbPath "/usr/share/X11/rgb"

    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    #
    # If you don't have a floating point coprocessor and emacs, Mosaic or other
    # programs take long to start up, try moving the Type1 and Speedo directory
    # to the end of this list (or comment them out).
    #


    # ModulePath can be used to set a search path for the X server modules.
    # The default path is shown here.

    # ModulePath "/usr/lib/xorg/modules"

    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/OTF"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/Speedo"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/local/share/fonts"
    EndSection

    # **********************************************************************
    # Server flags section.
    # **********************************************************************

    Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging

    # Option "NoTrapSignals"

    # Uncomment this to disable the VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.

    # Option "DontVTSwitch"

    # Uncomment this to disable the server abort sequence
    # This allows clients to receive this key event.

    # Option "DontZap"

    # Uncomment this to disable the / mode switching
    # sequences. This allows clients to receive these key events.

    # Option "DontZoom"

    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.

    # Option "DisableVidModeExtension"

    # Uncomment this to enable the use of a non-local xvidtune client.

    # Option "AllowNonLocalXvidtune"

    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.

    # Option "DisableModInDev"

    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).

    # Option "AllowNonLocalModInDev"

    # Set the basic blanking screen saver timeout.

    # Option "blank time" "10" # 10 minutes

    # Set the DPMS timeouts. These are set here because they are global
    # rather than screen-specific. These settings alone don't enable DPMS.
    # It is enabled per-screen (or per-monitor), and even then only when
    # the driver supports it.

    # Option "standby time" "20"
    # Option "suspend time" "30"
    # Option "off time" "60"

    # On some platform the server needs to estimate the sizes of PCI
    # memory and pio ranges. This is done by assuming that PCI ranges
    # don't overlap. Some broken BIOSes tend to set ranges of inactive
    # devices wrong. Here one can adjust how aggressive the assumptions
    # should be. Default is 0.

    # Option "EstimateSizesAggresively" "0"

    EndSection

    # **********************************************************************
    # Input devices
    # **********************************************************************

    # **********************************************************************
    # Core keyboard's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.

    # Option "Protocol" "Xqueue"

    # Set the keyboard auto repeat parameters. Not all platforms implement
    # this.

    # Option "AutoRepeat" "500 5"

    # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).

    # Option "Xleds" "1 2 3"

    # To disable the XKEYBOARD extension, uncomment XkbDisable.

    # Option "XkbDisable"

    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a European
    # keyboard, you will probably want to use one of:
    #
    # Option "XkbModel" "pc102"
    # Option "XkbModel" "pc105"
    #
    # If you have a Microsoft Natural keyboard, you can use:
    #
    # Option "XkbModel" "microsoft"
    #
    # If you have a US "windows" keyboard you will want:
    #
    # Option "XkbModel" "pc104"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    #
    # Option "XkbLayout" "de"
    #
    # or:
    #
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    #
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    #
    # Option "XkbOptions" "ctrl:swapcaps"


    # These are the default XKB settings for X.Org
    #
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    # Option "XkbVariant" ""
    # Option "XkbOptions" ""

    EndSection


    # **********************************************************************
    # Core Pointer's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    # Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"

    # On platforms where PnP mouse detection is supported the following
    # protocol setting can be used when using a newer PnP mouse:

    # Option "Protocol" "Auto"

    # The available mouse protocols types that you can set below are:
    # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
    # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
    # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
    # ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol" "PS/2"

    # The mouse device. The device is normally set to /dev/mouse,
    # which is usually a symbolic link to the real device.

    Option "Device" "/dev/mouse"
    # Option "Device" "/dev/psaux"
    # Option "Device" "/dev/ttyS0"
    # Option "Device" "/dev/ttyS1"

    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.

    # Option "Protocol" "Xqueue"

    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.

    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"

    # Emulate3Buttons is an option for 2-button Microsoft mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    # Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"

    # ChordMiddle is an option for some 3-button Logitech mice

    # Option "ChordMiddle"

    EndSection

    # Some examples of extended input devices

    # Section "InputDevice"
    # Identifier "spaceball"
    # Driver "magellan"
    # Option "Device" "/dev/cua0"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "spaceball2"
    # Driver "spaceorb"
    # Option "Device" "/dev/cua0"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "touchscreen0"
    # Driver "microtouch"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "1412"
    # Option "MaxX" "15184"
    # Option "MinY" "15372"
    # Option "MaxY" "1230"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "touchscreen1"
    # Driver "elo2300"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "231"
    # Option "MaxX" "3868"
    # Option "MinY" "3858"
    # Option "MaxY" "272"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonThreshold" "17"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection

    # **********************************************************************
    # Monitor section
    # **********************************************************************

    # Any number of monitor sections may be present

    Section "Monitor"

    Identifier "My Monitor"

    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync 31.5 - 50.0

    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 40-90

    EndSection


    # **********************************************************************
    # Graphics device section
    # **********************************************************************

    # Any number of graphics device sections may be present

    Section "Device"
    Identifier "ATI RADEON 7500"
    Driver "radeon"
    VideoRam 32768
    BusID "PCI:1:0:0"
    VideoRam 32768
    Option "AGPMode" "4"
    Option "AGPSize" "32"
    Option "XAANoOffscreenPixmaps"
    Option "DRI" "true"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    EndSection

    # **********************************************************************
    # Screen sections
    # **********************************************************************

    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 1"
    Device "ATI RADEON 7500"
    Monitor "My Monitor"
    # Option "UseFBDev" "true"
    # Option "AddARGBVisuals" "True"
    # Option "AddARGBGLXVisuals" "True"

    # If your card can handle it, a higher default color depth (like 24 or 32)
    # is highly recommended.

    # DefaultDepth 8
    DefaultDepth 16
    # DefaultDepth 24
    # DefaultDepth 32

    # "1024x768" is also a conservative usable default resolution. If you
    # have a better monitor, feel free to try resolutions such as
    # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
    # card/monitor can produce)

    Subsection "Display"
    Depth 8
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 32
    Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubsection

    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    Section "Extensions"
    Option "Composite" "Enable"
    EndSection



    # **********************************************************************
    # ServerLayout sections.
    # **********************************************************************

    # Any number of ServerLayout sections may be present. Each describes
    # the way multiple screens are organised. A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option. In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.

    Section "ServerLayout"

    # The Identifier line must be present
    Identifier "Simple Layout"

    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.

    Screen "Screen 1"

    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used. Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

    EndSection


  • /etc/rc.d/rc.local

    #!/bin/sh
    #
    # /etc/rc.d/rc.local: Local system initialization script.
    #
    # Put any local startup commands in here. Also, if you have
    # anything that needs to be run at shutdown time you can
    # make an /etc/rc.d/rc.local_shutdown script and put those
    # commands in there.
    #----cut here----
    # I2C adapter drivers
    modprobe i2c-i801
    # Chip drivers
    modprobe adm1031
    modprobe eeprom
    # sleep 2 # optional
    /root/unhide_ICH_SMBus
    /usr/bin/sensors -s # recommended
    #----cut here----


  • /etc/sysconfig/lm_sensors

    # /etc/sysconfig/lm_sensors - Defines modules loaded by
    # /etc/init.d/lm_sensors
    # Copyright (c) 1998 - 2001 Frodo Looijaard
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    #
    #
    # See also the lm_sensors homepage at:
    # http://www.lm-sensors.org/
    #
    # This file is used by /etc/init.d/lm_sensors and defines the modules to
    # be loaded/unloaded. This file is sourced into /etc/init.d/lm_sensors.
    #
    # The format of this file is a shell script that simply defines the modules
    # in order as normal variables with the special names:
    # MODULE_0, MODULE_1, MODULE_2, etc.
    #
    # List the modules that are to be loaded for your system
    #
    # Generated by sensors-detect on Tue Jul 31 22:03:48 2007
    MODULE_0=i2c-i801
    MODULE_1=adm1031
    MODULE_2=eeprom



More Specific Information
  • lspci

    bash-3.1# lspci
    00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
    00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
    00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
    02:04.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
    02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
    02:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
    02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
    02:0e.0 USB Controller: NEC Corporation USB (rev 41)
    02:0e.1 USB Controller: NEC Corporation USB (rev 41)
    02:0e.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
    03:00.0 USB Controller: NEC Corporation USB (rev 43)
    03:00.1 USB Controller: NEC Corporation USB (rev 43)
    03:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
    bash-3.1#


Links:

This laptop works very well. I have been using it for four years with many operating systems without hardware problems.
The only problem is its tendency to overheat. So you have to clean it with compressed air every 6 months.


Tuesday 14 August 2007

Fernando Schwarz conference in Buenos Aires - Argentina

Last August 4th I went to a conference by Fernando Schwarz about his new book :



The meeting took place in "Centro Cultural Nueva Acropolis" - Amenabar 863 from 18hs to 21hs.
Here the site of Nueva Acropolis

For those who don't know who Fernando Schwarz is, he is an anthropologist and a consultant in Egyptology. He is argentine but he lives in Paris - France, where he directed, for many years, the module of religious anthropology at the School of Anthropology of Paris ("l'Ecole d'Anthropologie de Paris"). He is the author of many works on old philosophies and civilizations, in particular on Egypt. He was a co-author of the "Egipto Revelado" Tv series for the Infinito Channel, and a co-author of the Sacred Architecture and Geography ("Architecture et GƩographie SacrƩe") for the French television under the direction of Julien Ries.

He introduced his last book "Egipto Invisible". "Egypt invisible for the senses, is discovered with the heart, the residence of the soul and conscience", he showed many excellent photographs. Later answered many questions and at last signed books.

When he was signing my book, I showed him a banner of the presentation of his first book "Geografia Sagrada del Antiguo Egipto" that took place more than 10 years ago in Centro Cultural San Martin. He was happy to see it again, and took a photo.
Then he wrote in my book "for a loyal reader" :-)

Today I finished reading the book, it is mainly about the Osiris Myth, the Kohiak ceremonies, and the temple of Abydos and Denderah. The book has many excellent photographs.

He isn't a classical or orthodox egyptologist. For example, he compared the seven chapels at Abydos Temple with the seven principles of Kybalion (the principal book for the Hermetic and the Thoth philosophy).

Later he introduced the concept that the famous Osirion (the temple behind the Sethy I temple at abydos) was built only for initiation ceremonies. Then he compared the initiation ceremonies from the papyrus of Leiden, Tomb of Amenhotep, and statue of Hor.

The Osirion temple is a very old one, is very different to all other temples in Egypt, the only similar temple is the one near the Sphinx in Karnak.

Here are two of my own photos. See it for yourself.





As you can see they haven't any inscriptions and are very similar in structure. They have many blocks of more than 50 tons!!!.

In my opinion, these temples are older than the classical egypthologist accept them to be. They date it as a New Kingdom temple built by Sethy I. For me they were built in the same era of the Sphinx Temple at gizeh.
Unfortunately Fernando didn't say anything about the dating of the Osirion Temple and he called it cenotaph.


It is a good book, his work about the Denderah chapels and the Abydos temple is very good and well documented.
I recommend it.

Tuesday 24 July 2007

Installing stellarium on Ubuntu 7.04

Stellarium is one of the best planetarium programs I have seen and the best of all is that it is free and open source!

To install this gem you must run the following command :
ubuntu@horus:~$ sudo apt-get install stellarium stellarium-data
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libsdl-mixer1.2 libsmpeg0
The following NEW packages will be installed:
libsdl-mixer1.2 libsmpeg0 stellarium stellarium-data
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.2MB of archives.
After unpacking 22.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ar.archive.ubuntu.com feisty/main libsmpeg0 0.4.5+cvs20030824-1.9build1 [102kB]
Get:2 http://ar.archive.ubuntu.com feisty/main libsdl-mixer1.2 1.2.6-1.1build1 [136kB]
Get:3 http://ar.archive.ubuntu.com feisty/universe stellarium-data 0.8.2-3 [14.2MB]
Get:4 http://ar.archive.ubuntu.com feisty/universe stellarium 0.8.2-3 [1809kB]
Fetched 16.2MB in 2m17s (118kB/s)
Selecting previously deselected package libsmpeg0.
(Reading database ... 116812 files and directories currently installed.)
Unpacking libsmpeg0 (from .../libsmpeg0_0.4.5+cvs20030824-1.9build1_i386.deb) ...
Selecting previously deselected package libsdl-mixer1.2.
Unpacking libsdl-mixer1.2 (from .../libsdl-mixer1.2_1.2.6-1.1build1_i386.deb) ...
Selecting previously deselected package stellarium-data.
Unpacking stellarium-data (from .../stellarium-data_0.8.2-3_all.deb) ...
Selecting previously deselected package stellarium.
Unpacking stellarium (from .../stellarium_0.8.2-3_i386.deb) ...
Setting up libsmpeg0 (0.4.5+cvs20030824-1.9build1) ...

Setting up libsdl-mixer1.2 (1.2.6-1.1build1) ...

Setting up stellarium-data (0.8.2-3) ...
Setting up stellarium (0.8.2-3) ...


After that I ran the stellarium but it started in an invalid screen resolution
so I had to edit its config file :

gedit /home/ubuntu/.stellarium/config.ini

Then I modified the screen resolution, because I use 1400x1050.
So I changed the following lines :
screen_w = 1024
screen_h = 768

for :
screen_w = 1400
screen_h = 1050



Afterward I ran again the stellarium with the command :
stellarium

The basic operations are :
Use the mouse or arrow keys to look around.
Use the page up and page down keys to zoom in and out.
Use the left mouse button to select an object, the right button to deselect the object and middle mouse button or spacebar to center on the selected object.
J slows down or reverses speed, L increases time speed, and K makes time return to normal speed.
You can also use the time control buttons in the lower right of the screen.

It runs on Mac and Micro$oft Window$ too!

I strongly recommend this software.


Tuesday 17 July 2007

Asa Dotzler conference in Buenos Aires - Argentina

Last July 3rd I went to a conference by Asa Dotzler about Firefox.
The meeting took place in "La comedia" Theatre - Rodriguez PeƱa 1062 from 11:30am to 14hs It was organized by "Comunidad Mozilla Argentina" and "Comunidad de Software Libre de Argentina". It was very interesting to listen to Asa Dotzler.

For those who don't know who Asa Dotzler is, he is a co-founder and community coordinator for the Spread Firefox project, launched in October 2004, where he spearheads open source marketing projects.Dotzler has been an active member of the Mozilla community since 1998. After volunteering for more than a year, Dotzler joined the Mozilla organization, and has played a key role in delivering products including the release of Mozilla 1.0 and
the release of the Mozilla Firefox web browser and Mozilla Thunderbird e-mail and usenet client.

Asa started by explaining about mozilla, and the firefox numbers :

* 100+ Millon users worldwide
* 2.500+ community-contributed extensions
* 41 languages (and growing)
* 16% Worldwide market share
* 1,600+ contributors to code base
* thousands of volunteers & evangelist
* fewer than 100 employees

He explained the global usage of firefox and the security related issues in every browser. He remarked the importance of how much time the programmers needed to fix a bug. He said something that I completely agree with : that every software has bugs, and the problem is how long you take to fix them.

*In 2006 Firefox users were at risk for 9 days
*MSIE & MSIE-Based browser users at risk for 284 days.


Then he talked about the importance of the community that helps firefox, more than 1600 programmers, more than 10000 testers every night and more than 500000 beta testers around the world! and how they organized all these people.

At last he spoke about What's Next :

*JS2
*Offline
*uFormats
*Graphics - Cairo
*FUEL (Firefox User Extension Library)
*Malware protection
*Places

In the end of the conference he answered a few questions from the public.

My impression was that Asa is a very modest and smart guy. I was happy to meet him in such a geeky atmosphere.

I have to say that M$ Internet explorer 7 deliberatly copied the tab browsing of Firefox.Just like other Micro$oft "innovations", they unabashedly copy someone else's program and relaunch it, but of course in a Micro$oft-Way (Bugs, Unsecure, Privacy monitoring, etc) A good example are Vista's Gadgets being just a bad copy of "Yahoo Widgets" or the Xbox being a bad copy of Playstation... just to name a few...

I strongly recommend using Firefox. Even aliens use it!!!



See it usign Google Maps :
Firefox Field

And don't forget to check the Mozilla Foundation:


"The Mozilla project is a global community of people who believe that openness, innovation, and opportunity are key to the continued health of the Internet."


Thanks Asa for your visit!!!

Monday 16 July 2007

Running Windows XP under Ubuntu with VirtualBox

A few weeks ago I installed another virtualization product under linux. It's name is VirtualBox
I have been using VmWare but I decided to use an open source virtualization tool. So I found VirtualBox that is freely available under GNU General Public License (GPL).

According to its site :
VirtualBox runs on Windows, Linux and Macintosh hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista), DOS/Windows 3.x, Linux (2.4 and 2.6), and OpenBSD.

After reading the site I understand that there are two versions, one open source with GPL license and one in binary format with an installer and a PUEL license

First I downloaded the file
virtualbox_1.4.0-21864_Ubuntu_feisty_i386.deb
from the site :
http://www.virtualbox.org/wiki/Downloads

After the download was complete I ran the command :
sudo dpkg -i virtualbox_1.4.0-21864_Ubuntu_feisty_i386.deb

Then it appeared in the menu Applications->Systems :
InnoTek VirtualBox

Afterwards I allowed my user to run virtualbox.
I went to the menu System->Administration->Users and Groups
Clicked on "Manage Groups" and added my user to the group "vboxusers"

I rebooted and afterward I launched the VirtualBox application and pressed the New Button and followed the wizard.
I created a 5 gb disk and a virtual PC with 256MB ram.
I enabled the cdrom drive and inserted the Windows XP that came with the laptop in the cd-rom drive.
Before starting the virtual machine I changed the "Host key" because the default is the right ctrl, but my laptop doesn't have a right-ctrl.
So I selected the menu File->Global Settings and then in the Input option I changed it for the left ctrl (Control_L).
Afterward I started the virtual machine and the Windows XP installer appeared.


If I moved the mouse over the virtual machine window it captured your mouse, to get out I pressed the "host key".

Windows XP was installed with only 800x600x32 bits screen resolution. To have a better resolution I installed the guest add-on (In the running virtual machine window I selected devices->Install Guest Additions).
After that in my case I was able to select 1400x1050x32bits.
And then when I moved my mouse over the virtual box window it captured the mouse, but if I moved the mouse away it freed the control (without need to press the "host key").

I was able to surf the web inside XP, but I want to share a folder between both operating systems so I opened a terminal in ubuntu and ran the command :

VBoxManage sharedfolder add Virtual_Machine -name "sharedfolder" -hostpath "/foldertoshare"

Virtual_Machine : is the name of the virtual machine. Mine is "Windows XP".
sharedfolder : is the name of the resource to be used in the "net use" command under Windows.
foldertoshare : is the name of the folder in ubuntu that you want to share.

Here is the command I used :

ubuntu@horus:~$ VBoxManage sharedfolder add "Windows XP" -name discoD -hostpath /diskD/

I exited the terminal started the virtual machine and after I was logged in windows XP I ran :
net use Z: \\vboxsvr\discoD
Then I was able to share data with my ubuntu.
Here a Picture with the net use command :



Monday 2 July 2007

Using a file as a Swap Partition for Ubuntu

I have one internal hard disk in my laptop Compaq Presario 1500 with 4 partitions
XP, Ubuntu, Solaris 10, Pc-BSD. So I can't create another partition to use as a swap for Ubuntu. But I have one large external hard disk connected by USB, so I used a file in this disk as a swap partition.
First I created a 1GB file in the disk (already mounted as /diskD/) :

sudo dd if=/dev/zero of=/diskD/swapubuntu bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 86.4074 seconds, 12.4 MB/s

Afterwards :
sudo mkswap /diskD/swapubuntu
Setting up swapspace version 1, size = 1073737 kB
no label, UUID=6da4119f-3329-4935-a921-10a5cbe521be

Then :
sudo swapon /diskD/swapubuntu

Then just to check I ran the following command :
free
total used free shared buffers cached
Mem: 515852 509052 6800 0 100460 170968
-/+ buffers/cache: 237624 278228
Swap: 1048568 0 1048568


In order to have the swap activated in every reboot I modified the file /etc/init.d/rc.local
sudo gedit /etc/init.d/rc.local
Adding the following line :
swapon /diskD/swapubuntu
Here my rc.local :

#! /bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin
[ -f /etc/default/rcS ] && . /etc/default/rcS
. /lib/lsb/init-functions

do_start() {
if [ -x /etc/rc.local ]; then
log_begin_msg "Running local boot scripts (/etc/rc.local)"
/etc/rc.local
log_end_msg $?
/home/ubuntu/unhide_ICH_SMBus
swapon /diskD/swapubuntu
fi
}

case "$1" in
start)
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac

Friday 29 June 2007

Installing Ubuntu 7.04 Feisty Fawn on Compaq Presario 1500US

Installing Ubuntu 7.04 Feisty Fawn on Compaq Presario 1500US

Last updated: June 29, 2007

General Hardware Specifications of Compaq Presario 1500US:

Hardware Components
Status under Linux
Notes
Pentium IV Processor, 2.4 GHzWorksTo make CPU Frequency Scaling work you must manually edit the file : /etc/modules and add p4-clockmod after installing ubuntu.
14.1 SXGA+ TFT DisplayWorksSee instructions below
ATI Mobility Radeon 7500 (M7) - 32MB VideoWorksSee instructions below
512MB, DDR SDRAM, 2DIMMsWorksNo special procedure required during installation
TOSHIBA MK4018GAP (40 GB, 4200 RPM, Ultra-ATA/100) Hard DriveWorksNo special procedure required during installation
Internal Floppy DriveWorksNo special procedure required during installation
Integrated Network Card - Intel(R) PRO/100 VEWorksNo special procedure required during installation
Internal 56k Modem - SoftV92 - Harmonics (Conexant) HSF 56k HSFi ModemWorks only in 14400 baudsYou must install the proprietary HSF driver from Linuxant. Free version works only in 14400 bauds. Full version with 56K support for USD 19
TOSHIBA DVD-ROM SD-R2102 (DVD:8x, CD:8x/8x/24x DVD-ROM/CD-RW)WorksNo special procedure required during installation
SoundMAX Integrated Digital Audio - Intel 82801CA ICH3-S - AC'97 Audio ControllerWorksNo special procedure required during installation
Lithium-Ion BatteryWorksNo special procedure required during installation


This laptop is now operating under Kernel version 2.6.20-16-generic

Basic Installation of Ubuntu 7.04 Feisty Fawn :
  • Why use Ubuntu :
    I always used Slackware in this laptop (I tested other distributions too) but I decided to test Ubuntu because a lot of people are talking about this distribution and has superb forums.
    According to distrowatch is the most popular linux distribution!
  • Obtaining Ubuntu :
    You can download Ubuntu from the site :
    Ubuntu Download
    Select the : Standard personal computer (x86 architecture) version.
    Afterwards burn the live-cd, insert it in the cdrom and reboot the notebook.
  • Installing :
    After the computer reboots you will see a menu with a few options :
    Select :
    "Start or install Ubuntu"

    Configuring the video display

    After a few seconds you will see a garbled display.
    Here a photo :


    Then you must press "crtl-alt-f2" and run the command :

    sudo dpkg-reconfigure xserver-xorg

    Then you have to choose the following options :

    Attempt to autodetect video hardware? : "Yes"
    X server driver : "ati"
    Identifier for your video card : "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
    Video card's Bus identifier : "PCI:1:0:0"
    Amount of memory (KB) to be used by the video card : "32768"
    Use Kernel Framebuffer device interface : "Yes"
    Then a few questions about the Keyboard & mouse
    Write default files section to configuration file ? : "Yes"
    Attempt Monitor Autodetection ? : "Yes"
    Identifier for the monitor : "Generic Monitor"
    Video Modes to be used by the X server : "1400 x 1050"
    Method for selecting the monitor characteristics ? : "Medium"
    Resolution : "1400x1050 @ 60Hz"
    Write monitor sync ranges to the configuration file : "Yes"
    Desired default color depth in bits : "16"

    Then return to the gnome session usign the crtl-alt-F7

    And press the ctrl-alt-backspace twice. Then the gnome will restart with a 1400x1050 @ 60Hz resolution without problem.

    Then from the system menu select Install Ubuntu.
    Partition the hard disk (if need) and continue the installation.

  • Post-Install modifications/tweaks
    After reboot open a terminal and edit manually the /etc/X11/xorg.conf file with the command :
    sudo gedit /etc/X11/xorg.conf
    And modify the file as show below :

    Section "Device"
    Identifier "ATI RADEON 7500"
    Driver "radeon"
    BusID "PCI:1:0:0"
    VideoRam 32768
    Option "AGPMode" "4"
    Option "AGPSize" "32"
    Option "XAANoOffscreenPixmaps"
    Option "DRI" "true"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    EndSection

    Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 30-81
    VertRefresh 56-75
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "ATI RADEON 7500"
    Monitor "Generic Monitor"
    DefaultDepth 16
    SubSection "Display"
    Depth 1
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1400x1050"
    EndSubSection
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    Section "Extensions"
    Option "Composite" "Enable"
    EndSection



    With these settings you will have a 1000 fps according to the glxgears command.

    Afterwards you can activate the desktop effect. Just go to the menu : System->Preferences and select "Desktop Effect" then press the button "Enable Desktop Effect" and activate the options :
    "Windows Wobble when Moved"
    "Workspaces on a Cube"

    Then in a terminal run the following commands :

    gconftool-2 --type int --set /apps/compiz/general/screen0/options/hsize 4

    gconftool-2 --type int --set /apps/compiz/general/screen0/options/number_of_desktops 1


    Then you can press the ctrl+alt+left arrow or the ctrl+alt+Button1 mouse and the cube should work!!!

Setting up additional features for Ubuntu 7.04 Feisty Fawn


  • Making CPU Frequency Scaling work for you

    If you press the right mouse buttom over the taskbar (the panel) and select "Add to panel" you will see many applets and if you select the CPU Frequency Applet, you will get an error message saying CPU Frequency Scaling is not Supported.
    In order to make it work you must open a terminal an run the command :
    sudo gedit /etc/modules
    And add the following line at the end of the file :
    p4-clockmod

    In order to test it you can run the following commands :
    sudo modprobe p4-clockmod
    sudo powernowd

    You should get an output similar to this :
    powernowd: PowerNow Daemon v0.97, (c) 2003-2006 John Clemens
    powernowd: Found 1 scalable unit: -- 1 'CPU' per scalable unit
    powernowd: cpu0: 300Mhz - 2400Mhz (8 steps)

  • Getting connected using the modem
    I made the modem work using the driver from Linuxant, I couldn't find an open source driver for it.
    According to Linuxant site :
    This cannot be effectively done by the open-source community because a significant portion of such drivers is technology protected by trade secrets, patents, or other restrictions, and it requires a NDA (Non-Disclosure Agreement) which most open-source developers are not willing or not able to sign without getting into a difficult position.

    So basically you must download the driver from their site :
    Linuxant Download for Ubuntu
    Select the file :
    hsfmodem_7.60.00.09full_k2.6.20_16_generic_ubuntu_i386.deb.zip
    Be carefull to download the correct version of the driver, it depends of the kernel you are using.
    You can obtain your kernel version with the command :
    uname -r
    After install the package you could run the command :
    wvdial
    and then manually edit the file /etc/wvdial.conf
    sudo gedit /etc/wvdial.conf
    and add the following lines :

    [Modem0]
    Modem = /dev/modem
    Baud = 115200
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    SetVolume = 1
    Dial Command = ATDT
    Init4 = ATM1L3


    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Baud = 115200
    New PPPD = yes
    Modem = /dev/modem
    ISDN = 0
    SetVolume = 1
    Dial Command = ATDT
    Init4 = ATM1L3
    ; Phone =
    ; Password =
    ; Username =

    [Dialer ppp0]
    Username = alternativa
    Password = gratis
    Phone = 55555555
    Inherits = Dialer Defaults
    Stupid mode = 1


    As you can see I used the username, password and telephone number of a free ISP here in Buenos Aires, Argentina (replace with your ISP data).
    After that you can test the connection using the command :
    wvdial ppp0
    Here is the output :
    --> WvDial: Internet dialer version 1.56
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Sending: ATM1L3
    ATM1L3
    OK
    --> Modem initialized.
    --> Sending: ATDT55555555
    --> Waiting for carrier.
    ATDT55555555
    CONNECT 115200
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Thu Jun 28 21:31:15 2007
    --> Pid of pppd: 8812
    --> Using interface ppp0
    --> pppd: [08][01][06][08][08][02][06][08]
    --> pppd: [08][01][06][08][08][02][06][08]
    --> pppd: [08][01][06][08][08][02][06][08]
    --> pppd: [08][01][06][08][08][02][06][08]
    --> pppd: [08][01][06][08][08][02][06][08]
    --> local IP address xxx.xxx.xx.xxx
    --> pppd: [08][01][06][08][08][02][06][08]
    --> remote IP address xxx.xx.xxx.xxx
    --> pppd: [08][01][06][08][08][02][06][08]
    --> primary DNS address xxx.xx.xxx.x
    --> pppd: [08][01][06][08][08][02][06][08]
    --> secondary DNS address xxx.xxx.xxx.xx
    --> pppd: [08][01][06][08][08][02][06][08]


    After that you will be able to browse the web at 14400bps. Here is a picture of my test :



    Notice that you will see in the panel (taskbar) a message of restricted driver "Conexant modem engine".
  • Installing lm-sensors to monitor CPU temperature
    Here is an extract of my more detailed explanation located at :
    Installing lm-sensors on Presario 1500

    First you must install the lm-sensors package :
    sudo apt-get install lm-sensors

    Then you must download the script "unhide_ICH_SMBus" that show the chip/sensor :
    Here the link :
    unhide_ICH_SMBus

    Remember to make the file executable using the chmod +x
    Then run the script :
    ubuntu@horus:~$ sudo ./unhide_ICH_SMBus
    Password:
    Enabling SMBus PCI device ...
    Rescanning the bus ...
    Loading i2c-i801 ...
    00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
    Done!

    After that you must execute :
    sudo sensors-detect
    Then the program will show you the following lines :

    To make the sensors modules behave correctly, add these lines to
    /etc/modules:

    #----cut here----
    # I2C adapter drivers
    i2c-i801
    # Chip drivers
    adm1031
    eeprom
    #----cut here----

    Do you want to add these lines to /etc/modules automatically? (yes/NO)

    Select "Yes".

    To make the sensors work in every boot you have to run the unhide_ICH_SMBus first.
    In order to run the command in every boot I edited the file /etc/init.d/rc.local:
    sudo gedit /etc/init.d/rc.local
    Then I added the line calling unhide_ICH_SMBus first :

    #! /bin/sh

    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    [ -f /etc/default/rcS ] && . /etc/default/rcS
    . /lib/lsb/init-functions

    do_start() {
    if [ -x /etc/rc.local ]; then
    log_begin_msg "Running local boot scripts (/etc/rc.local)"
    /etc/rc.local
    log_end_msg $?
    /home/ubuntu/unhide_ICH_SMBus
    fi
    }

    case "$1" in
    start)
    do_start
    ;;
    restart|reload|force-reload)
    echo "Error: argument '$1' not supported" >&2
    exit 3
    ;;
    stop)
    ;;
    *)
    echo "Usage: $0 start|stop" >&2
    exit 3
    ;;
    esac


    Afterwards you can download an applet to show the temperature in the panel :
    Computer Temp 0.9.6.1

    You can install it with a simple double-click and after that you can right click in the panel (taskbar) and select "Add to panel" then browse to "System and Hardware" and select "Computer temperature monitor".

    Here is a picture with the Temperature and CPU frequency monitors in the panel :

Unsolved issues
  • Free modem driver to work in 56K and with faxing capabilities
  • Test the S-Video Out function
Configuration Files

  • /etc/X11/xorg.conf
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf(5) manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    Section "Files"
    FontPath "/usr/share/fonts/X11/misc"
    FontPath "/usr/share/fonts/X11/cyrillic"
    FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath "/usr/share/fonts/X11/Type1"
    FontPath "/usr/share/fonts/X11/100dpi"
    FontPath "/usr/share/fonts/X11/75dpi"
    # path to defoma fonts
    FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection

    Section "Module"
    Load "bitmap"
    Load "ddc"
    Load "dri"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "HorizScrollDelta" "0"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "Device"
    Identifier "ATI RADEON 7500"
    Driver "radeon"
    BusID "PCI:1:0:0"
    VideoRam 32768
    Option "AGPMode" "4"
    Option "AGPSize" "32"
    Option "XAANoOffscreenPixmaps"
    Option "DRI" "true"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    EndSection

    Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 30-81
    VertRefresh 56-75
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "ATI RADEON 7500"
    Monitor "Generic Monitor"
    DefaultDepth 16
    SubSection "Display"
    Depth 1
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1400x1050"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1400x1050"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
    InputDevice "Synaptics Touchpad"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    Section "Extensions"
    Option "Composite" "Enable"
    EndSection


  • /etc/modules
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.

    fuse
    lp
    sbp2

    # Generated by sensors-detect on Thu Jun 14 21:25:02 2007
    # I2C adapter drivers
    i2c-i801
    # Chip drivers
    adm1031
    eeprom

    p4-clockmod


  • /etc/wvdial.conf

    [Modem0]
    Modem = /dev/modem
    Baud = 115200
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    SetVolume = 1
    Dial Command = ATDT
    Init4 = ATM1L3

    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Baud = 115200
    New PPPD = yes
    Modem = /dev/modem
    ISDN = 0
    SetVolume = 1
    Dial Command = ATDT
    Init4 = ATM1L3
    ; Phone =
    ; Password =
    ; Username =

    [Dialer ppp0]
    Username = alternativa
    Password = gratis
    Phone = 55555555
    Inherits = Dialer Defaults
    Stupid mode = 1

More Specific Information
  • lspci

    root@horus:/home/ubuntu# lspci
    00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
    00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
    00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
    02:04.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
    02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
    02:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
    02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
    02:0e.0 USB Controller: NEC Corporation USB (rev 41)
    02:0e.1 USB Controller: NEC Corporation USB (rev 41)
    02:0e.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
    03:00.0 USB Controller: NEC Corporation USB (rev 43)
    03:00.1 USB Controller: NEC Corporation USB (rev 43)
    03:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
Links:

This laptop works very well. I have been using it for four years with many operating systems without hardware problems.
The only problem is its tendency to overheat. So you have to clean it with compressed air every 6 months.