jose@compu.cl

Forja el Código!

En estos momentos hay 1 personas visitando "ASDF Site"

Slackware 12.1 and Lenovo 3000 N200 (English version)

Enviado por José Monreal Bailey el 25/08/2008 a las 11:18
José Monreal Bailey

I've installed Slackware 12.1 on a Lenovo 3000 N200 0769A89. I'll explain everything that I did to have it working perfectly.

The first step was to search in linux-laptops if someone had already installed linux on a Lenovo Laptop. I found this entry, but it wasnt the same model, but I could rescue the sound/audio section.

 

Then, what did I do?

 

  1. Install Slackware 12.1 with the kernel huge-smp(Intel core duo)

    At the installation part of Slackware 12.1 the kernel huge-smp comes by default, wich has the support for SMP processors.

  2. After installing Slackware, download the kernel 2.6.26

    Download the kernel 2.6.26,
    wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2


  3. Compile the kernel for this computer(here you have the .config)

      Now we login as root and type,
    cd /usr/src
    tar xjf /path/to/linux-2.6.26.tar.bz2
    rm linux
    ln -s linux-2.6.26 linux
    cp /path/to/file/.config/downloaded/from/my/site linux/
    cd linux
    make bzImage && make modules && make modules_install

  4. Now install the new kernel and edit lilo.conf

    cp System.map /boot/System-2.6.26.map
    cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.26

    Then we open lilo.conf in our favourite editor(vim in my case),
    vim /etc/lilo.conf

    and add the next line just below the entry boot
    map=/boo/System-2.6.26.map

    In the same file we add a new menu entry
    image = /boot/vmlinuz-2.6.26
    root = /dev/sda1
    label = SlackwareNew
    read-only

    Save and quit

  5. Now run lilo and reboot the computer

      Run lilo,
    lilo -v

    Reboot the computer
    reboot

  6. Configuring the Audio

    Run alsaconf, and select Intel sound card.
    Then edit the file,
    /etc/modprobe.d/sound

    And at the bottom of the file add,
    options snd-hda-intel model=lenovo

    save and reboot
    reboot

  7. Download UVC and install the module

    Download UVC from the svn,
    svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
    cd trunk
    make
    make install
    modprobe -a uvcvideo

    I'll test with skype the webcam, for it  I opened skype and made a call to a friend, in my case Conejo(friend from ICC). Now I click on Start my video and the webcam light is on and at the conversation window you'll see yourself like in the next image,

    skype

  8. Configure the sound Keys with xev

    Open a console and run,
    xev

    Now we press the sound keys(raise volume, lower volume and mute). Each one of these keys has a unique keycode, write down this code for each key and edit (create if it doesnt exist) the file .Xmodmap in our $HOME, and add the next lines,
    ! Teclas especiales de sonido
    keycode 160 = XF86AudioMute
    keycode 174 = XF86AudioLowerVolume
    keycode 176 = XF86AudioRaiseVolume
    ! Tecla para darle función a la tecla WIN
    keycode 115 = Menu

    Ready to use your computer working perfectly. Hope this would help you.

 

Slackware is always your best choice!


Hi! Ii would be cool ...

Enviado por sackware el 23/09/2008 a las 8:38
Hi! Ii would be cool to fix the sound, but.. what do you mean by this line.. "cp /path/to/archivo/.config/que/descargamos linux/" Im not spanish so its kind of.. uff thank you!

Please Respond

Enviado por elf el 23/09/2008 a las 11:35

please respond as quickly as u can to previous comment

 

im stuck in half way of this, otherwise really useful guide:(

 

thx!


OK

Enviado por el 24/09/2008 a las 22:35
José Monreal Bailey

Thanks, Ive just fixed that, sorry for the spanish english mix. I did it to fast, and did not check it.

What i meant was to copy the .config file from my site(the link is in the instructions) to /usr/src/linux thats what i meant. So then you just have to compile the kernel.


Oh.. okThank you! ;)Im gona ...

Enviado por elf el 25/09/2008 a las 10:52
Oh.. ok Thank you! ;) Im gona go for it and hope that everything's working out gr8t. ;)






Suscribirse a los comentarios de este artículo en RSS