Diferencia entre revisiones de «Installing Debian on Dell M1210»

De gacq wiki
Saltar a: navegación, buscar
Línea 1: Línea 1:
 +
=Introduction=
 +
 +
==Summary==
 
{| border="1"
 
{| border="1"
|+ Compatibility summary
+
|+ Summary
 
! Component !! Status !! Comments
 
! Component !! Status !! Comments
 
|-
 
|-
! Intel Core Duo Processor || style="background:green" | OK || Requires SMP kernel
+
! Camera || style="background:yelow" | Works with some work || Download driver: linux-uvc
 +
|-
 +
! Card reader || style="background:grey" | Need more research ||
 +
|-
 +
! CD/DVD || style="background:yellow" | Works with some work ||  
 
|-
 
|-
! Intel Core Duo Processor || style="background:green" | OK || Requires SMP kernel
+
! Dual Core CPU || style="background:yellow" | Works || Install smp kernel
 +
|-
 +
! Ethernet || style="background:green" | Works || out of the box
 +
|-
 +
! Firewire || style="background:grey" | Not tested ||
 +
|-
 +
! Media Butoms || style="background:green" | Works || out of the box
 +
|-
 +
! Modem || style="background:orange" | Works, but limited || Propietary driver limit modem to 14.4Kb
 +
|-
 +
! SATA Disk || style="background:green" | Works || out of the box
 +
|-
 +
! Sound || style="background:green" | Works || out of the box
 +
|-
 +
! Suspend to RAM || style="background:grey" | Need more research ||
 +
|-
 +
! Suspen to disk || style="background:grey" | Need more research ||
 +
|-
 +
! S-Video output || style="background:grey" | Need more research ||
 +
|-
 +
! Touchpad || style="background:green" | Works || out of the box
 +
|-
 +
! USB || style="background:green" | Works || out of the box
 +
|-
 +
! VGA Port || style="background:grey" | Need more research ||
 +
|-
 +
! Video (NVIDIA) || style="background:green" | Works || using nv free driver
 +
|-
 +
! Wireless || style="background:yellow" | Works || Download driver: ipw3945
 
|-
 
|-
 
|}
 
|}
Línea 70: Línea 105:
  
 
Update your /etc/X11/xorg.conf
 
Update your /etc/X11/xorg.conf
  Section "Module"
+
  Section "Modul
        [..]
 
        #Load  "dri"
 
        [..]
 
EndSection
 
 
Section "Device"
 
        Identifier      "NVIDIA"
 
        Driver          "nvidia"
 
        Option          "NoLogo"
 
        Option          "RenderAccel"  "true"
 
        Option          "NvAGP"      "1"
 
EndSection
 
 
Section "Screen"
 
        [..]
 
        Device          "NVIDIA"
 
        [..]
 
EndSection
 
 
 
==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
 
 
 
Notes:
 
*If your are planning to use your wireless interface in monitor mode, for example to use kismet, uncomment "CONFIG_IPW3945_MONITOR=y" from the driver Makefile before running make.
 
 
 
'''References'''
 
*http://eomer.mine.nu/?q=node/18
 
*http://alidhaey.blogspot.com/2006/08/instalar-debian-etch-en-un-dell.html
 
*http://math.umh.ac.be/an/D820/#Wireless
 
 
 
 
 
 
 
==Modem==
 
 
 
==Ricoh Card Reader==
 
'''research'''
 
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
 
 
 
==DVD region unlock==
 
 
 
==WebCam==
 
===Using uvcvideo - Only work with v4l2===
 
Driver: http://linux-uvc.berlios.de/
 
<pre><nowiki>
 
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
 
</nowiki></pre>
 
 
 
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 -d /dev/video0 -f jpg -s 640x480
 
 
 
'''References'''
 
*http://linux-uvc.berlios.de/
 
*http://www.eldemonionegro.com/wordpress/archivos/category/informatica/
 
 
 
===Using another driver===
 
'''To research'''
 
*http://qce-ga.sourceforge.net/
 
*http://www.cs.duke.edu/~reynolds/quickcam/
 
*http://www.ee.oulu.fi/~tuukkat/quickcam/quickcam.html
 
*http://mxhaard.free.fr/index.html
 
 
 
 
 
 
 
=Specifications=
 
==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 & Linux==
 
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
 
*http://toufeeq.blogspot.com/2006/07/linux-on-dell-xps-m1210.html
 
*http://www.serpentine.com/blog/software/linux-on-m1210.html
 
*http://toufeeq.blogspot.com/2006/06/dell-xps-m1210.html
 
*http://g33k.wordpress.com/2006/07/20/the-dell-xps-m1210-a-mini-review/
 
*http://dellxpsm1210.blogspot.com/
 
 
 
==About Debian==
 
*[http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian How-To: Setup Debian Linux Desktop with Full Multimedia Support and Faster Processing]
 

Revisión del 02:29 24 ago 2006

Introduction

Summary

Summary
Component Status Comments
Camera Works with some work Download driver: linux-uvc
Card reader Need more research
CD/DVD Works with some work
Dual Core CPU Works Install smp kernel
Ethernet Works out of the box
Firewire Not tested
Media Butoms Works out of the box
Modem Works, but limited Propietary driver limit modem to 14.4Kb
SATA Disk Works out of the box
Sound Works out of the box
Suspend to RAM Need more research
Suspen to disk Need more research
S-Video output Need more research
Touchpad Works out of the box
USB Works out of the box
VGA Port Need more research
Video (NVIDIA) Works using nv free driver
Wireless Works Download driver: ipw3945


Base installation

Using Debian Installer Etch beta 3 release

Error message:

No common CD-ROM drive was detected.

SATA driver can block access to CD drive in installations from CD. On systems having a SATA IDE controller that also has the CD drive connected to it, you may see the installer hanging during hardware detection for the CD drive or failing to read the CD just afterwards. A possible reason is that the SATA driver (ata_piix and maybe others) is blocking access to the CD drive. You can try to work around this by booting the installer in expert mode and, in the "Detect and mount CD-ROM" step, selecting only the drivers needed for CD support. These are (ide-)generic, ide-cd and isofs. The drivers needed to access the disk will still be loaded, but at a later stage. By loading the CD drivers before the SATA driver in this way, you may be able to complete the installation. Note that CD-ROM access may still be an issue after rebooting into the installed system.

Booting debian netinst from USB drive

The workaround I used is to boot from a USB stick (don't worry you will get your CDROM working later).

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.

Using kernel boot parameters

(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.

Using Daily Build

Today, dailybuild CD has solved SATA & CD problem

Configuration

APT

/etc/apt/sources.list

deb http://mirrors.kernel.org/debian/ testing main contrib non-free
deb http://mirrors.kernel.org/debian/ unstable main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org/ testing main
deb http://www.debian-multimedia.org/ sid main

/etc/apt/apt.conf

[..]
APT::Default-Release "testing";

Upgrade base system

apt-get update
apt-get upgrade

Installing Core Duo kernel

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

Suspend to RAM

apt-get install gnome-power-manager

to validate

  • After the installation of the NVIDIA driver, Suspend to RAM worked well after setting SUSPEND2RAM_FORCE="yes" in '/etc/powersave/sleep'.

research

Components

NVIDIA drivers

apt-get install nvidia-kernel-2.6.16-2-686-smp
apt-get install nvidia-glx nvidia-settings

Update your /etc/X11/xorg.conf

Section "Modul