Installing Debian on Dell M1210

De gacq wiki
Revisión del 19:07 23 ago 2006 de WikiSysop (discusión | contribuciones) (References)
Saltar a: navegación, buscar
Compatibility summary
Component Status Comments
Intel Core Duo Processor OK Requires SMP kernel
Row heading A Cell B Cell C


Base installation

Booting debian netinst from USB drive

Debian Installer Etch beta 3 release

if you burn it on a CD and boot from it, you get the message "No common CD-ROM drive was detected" which makes it impossible to go further. The workaround I used is to boot from a USB stick (don't worry you will get your CDROM working later). Debian installer CD has some issues with the SATA and CD drivers that prevent installation to access to CD drive, I found some tips to solve that problem but they did't work for me. I installed it from my 256 MB USB drive. Setting up a USB drive installer

wget http://ftp.debian.org/debian/dists/testing/\
main/installer-i386/current/images/hd-media/boot.img.gz
gzip -dc boot.img.gz >/dev/sdX

Enable USB drive boot from BIOS setup, and then Install Debian base system as usual.

Installing from CD

(Check) You can append libata.atapi_enabled=1 to the install or expert command lines at the boot prompt to get your cdrom detected and then be able to install from it. However, as Ryan Langseth pointed out to me, this only works for the daily builds of the installer;

Configuration

Repositories

Installing Core Duo kernel

apt-get install linux-image-2.6.16-2-686-smp
reboot

Suspend to RAM

Components

NVIDIA drivers

sudo /etc/init.d/gdm stop
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install nvidia-kernel-common
sudo m-a prepare
sudo m-a a-i nvidia
sudo apt-get install nvidia-glx nvidia-settings
sudo dpkg-reconfigure -plow xserver-xorg
sudo /etc/init.d/gdm start

o

apt-get install nvidia-kernel-common module-assistant
m-a prepare
m-a a-i -i -t -f nvidia-kernel
depmod -a
apt-get install nvidia-glx nvidia-glx-dev xserver-xorg
dpkg-reconfigure xserver-xorg (solo la primera vez)

Wireless interface

1. Downloads

driver from http://ipw3945.sourceforge.net/ for example

wget http://ufpr.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-1.1.0.tgz

ieee80211 subsystem from http://ieee80211.sourceforge.net/ for example

wget http://ufpr.dl.sourceforge.net/sourceforge/ieee80211/ieee80211-1.2.15.tgz

firmware from http://bughost.org/ipw3945/ for example

wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.13.tgz

regulatory daemon from http://bughost.org/ipw3945/ for example

wget http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz

2. Install some requisites for modules compilation

apt-get install linux-headers-2.6.16-2-686-smp
apt-get install gcc-4.0

3. Complile and install modules

tar -zxvf ieee80211-1.2.15.tgz
cd ieee80211-1.2.15
make
make install
cd ..
tar -zxvf ipw3945-1.1.0.tgz
cd ipw3945-1.1.0
make
cd ..
tar zxvf ipw3945-ucode-1.13.tgz
mkdir /usr/local/lib/firmware/
cp ipw3945-ucode-1.13/ipw3945.ucode /usr/local/lib/firmware/
tar zxvf ipw3945d-1.7.22.tgz
cp ipw3945d-1.7.22/x86/ipw3945d /sbin/ipw3945d-$(uname -r)
cd ipw3945-1.1.0
cp ipw3945.ko /lib/modules/$(uname -r)
depmod -a

4. /etc/init.d/ipw3945

#!/bin/bash

case $1 in
start)
 echo -n "Load ipw3945:"
   modprobe -i ipw3945
   /sbin/ipw3945d-$(uname -r) --timeout=30
   sleep 2
   echo " done."
;;

stop)
   echo -n "Unloading ipw3945:"
   /sbin/ipw3945d-$(uname -r) --kill
   modprobe -ir ipw3945
   sleep 2
   echo " done."
;;
esac

exit 0

5. Enable start on boot

update-rc.d ipw3945 defaults

6. /etc/network/interfaces

auto eth2
iface eth2 inet dhcp


References

Touchpad

Debian identified it as a regular mouse. However installing the xserver-xorg-input-synaptics package and using the "synaptics" driver in X.org works fine.

Modem

Ricoh Card Reader

DVD region unlock

WebCam

Driver: http://linux-uvc.berlios.de/

apt-get install libpt-plugins-v4l2
svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/
cd linux-uvc/linux-uvc/trunk
make
sudo make install
modprobe uvcvideo
dmesg | tail
ln -s /dev/video0 /dev/video

Notes:

  • Only v4l2 is supported
  • Add users to system group "video"

Webcam test

apt-get install libsdl1.2-dev
wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20060706.tar.gz
tar -xvf luvcview-20060706.tar.gz
cd luvcview-20060706
make
./luvcview

References

Especifications

Detected by preinstaled windows

Modem:Conexant HDA D110 MDC V.92 (winmodem)
DVD: Sony DVD+-RW DW-Q58A
NIC: Intel(R) PRO/Wireless 3945ABG Network Connection
SATA: Intel(R) 82801GMB/GHM (ICH7-M Family) Serial ATA Storage Controller - 27C4
Card Reader: Ricoh Memory Stick Y MMC
Webcam: QuickCam for Dell Network
PAD: Synaptics PS/2 Port Pointing device

General references

Other sites about M1210

About Debian