Diferencia entre revisiones de «Installing Debian on Dell M1210»

De gacq wiki
Saltar a: navegación, buscar
(Modem)
 
(No se muestran 155 ediciones intermedias de 7 usuarios)
Línea 1: Línea 1:
 +
[[Imagen:XPS-foto.jpg|right]]
 +
'''My laptop was stolen :(  Unmaintained page from June 2007'''
 +
 +
'''Now mainteined by me!. This guide is really usefull!...''' --[[Usuario:Yaco|Yaco]] 19:52 19 dic 2007 (ART)
 +
 +
 
=Summary=
 
=Summary=
 
 
{| border="1" align="center"
 
{| border="1" align="center"
 
|+ Summary  
 
|+ Summary  
 
! Component !! Status !! Comments
 
! Component !! Status !! Comments
 
|-
 
|-
! Camera || style="background:yellow" | Works with some work || Download driver: linux-uvc
+
! Camera || style="background:yellow" | Works || driver linux-uvc only support V4L2
 
|-
 
|-
! Card reader || style="background:grey" | Need more research ||  
+
! Card reader || style="background:yellow" | Need more research || kernel patch? MMC dot work?
 
|-
 
|-
! CD/DVD || style="background:yellow" | Works with some work ||  
+
! CD/DVD || style="background:green" | Works || parameter at boot?
 
|-
 
|-
 
! Dual Core CPU || style="background:green" | Works || Install smp kernel
 
! Dual Core CPU || style="background:green" | Works || Install smp kernel
Línea 15: Línea 20:
 
! Ethernet || style="background:green" | Works || out of the box
 
! Ethernet || style="background:green" | Works || out of the box
 
|-
 
|-
! Firewire || style="background:grey" | not tested ||
+
! Firewire || style="background:green" | Works ||
 
|-
 
|-
 
! Media Butoms || style="background:green" | Works || out of the box
 
! Media Butoms || style="background:green" | Works || out of the box
Línea 25: Línea 30:
 
! Sound || 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 ||  
+
! Suspend to RAM || style="background:grey" | Need more research || working for other people
 
|-
 
|-
! Suspen to disk || style="background:grey" | Need more research ||  
+
! Suspen to disk || style="background:grey" | Need more research || working for other people
 
|-
 
|-
! S-Video output || style="background:grey" | Need more research ||  
+
! S-Video output || style="background:green" | Works ||
 
|-
 
|-
 
! Touchpad || style="background:green" | Works || out of the box
 
! Touchpad || style="background:green" | Works || out of the box
Línea 35: Línea 40:
 
! USB || style="background:green" | Works || out of the box
 
! USB || style="background:green" | Works || out of the box
 
|-
 
|-
! VGA Port || style="background:grey" | not tested ||  
+
! VGA Port || style="background:green" | Works ||  
 
|-
 
|-
! Video (NVIDIA) || style="background:green" | Works || using nv free driver
+
! Video (NVIDIA) || style="background:green" | Works || free and propietary driver
 
|-
 
|-
! Wireless || style="background:yellow" | Works || Download driver: ipw3945
+
! Wireless || style="background:green" | Works || Download driver: ipw3945
 
|-
 
|-
 
|}
 
|}
  
=Base installation=
+
=Specifications=
==Using Debian Installer Etch beta 3 release==
+
*Dell XPS M1210 Laptop - AR$ 5.200 (1.700 U$S) - July 2006
Error message:
+
**Intel Core 2 Duo Processor T2300 @ 1.66GHz
  No common CD-ROM drive was detected.
+
**1GB of Dual Channel DDR2 memory
SATA driver can block access to CD drive in installations from CDOn 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.
+
**12.1" Widescreen WXGA (1280 x 800) display with TrueLife
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.
+
**256MB NVIDIA GeForceTM Go 7400 TurboCache
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.
+
**60GB 5400RPM SATA hard drive
===Booting debian netinst from USB drive===
+
**8x DVD/CD Burner (DVD+/-RW)
The workaround I used is to boot from a USB stick (don't worry you will get your CDROM working later).
+
**Webcam
<pre><nowiki>
+
*Debian GNU/Linux Etch (testing) Daily Build Debian Installer
wget http://ftp.debian.org/debian/dists/testing/\
+
*kernel 2.6.18-3 - Custom build - Kernel source from sid
main/installer-i386/current/images/hd-media/boot.img.gz
 
gzip -dc boot.img.gz >/dev/sdX
 
</nowiki></pre>
 
Enable USB drive boot from BIOS setup, and then Install Debian base system as usual.
 
  
===Using kernel boot parameters===
+
==Detected by preinstaled windows (the last words of)==
(Check)
+
Modem:Conexant HDA D110 MDC V.92 (winmodem)
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.
+
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
  
==Using Daily Build==
+
=Base installation=
Today, dailybuild CD has solved SATA & CD problem
+
;Debian GNU/Linux Lenny (testing) Daily Build Debian Installer
 +
Kernel built in module for lan interface does not work, I used an old Etch (testing) net installer
  
=Configuration=
+
=Kernel=
==APT==
+
==Compiling a custom kernel==
/etc/apt/sources.list
+
apt-get install linux-source-2.6.18 libncurses5-dev kernel-package
deb http://mirrors.kernel.org/debian/ testing main contrib non-free
+
  cd /usr/src
  deb http://mirrors.kernel.org/debian/ unstable main contrib non-free
+
tar jxf linux-source-2.6.18.tar.bz2
  deb http://security.debian.org/ testing/updates main contrib non-free
+
  cd linux-source-2.6.18
  deb http://www.debian-multimedia.org/ testing main
+
make menuconfig
  deb http://www.debian-multimedia.org/ sid main
+
make-kpkg --initrd --revision gacq01 kernel_image
 +
  cd ..
 +
  dpkg -i linux-image-2.6.18_gacq01_i386.deb
  
/etc/apt/apt.conf
+
Manually edit /boot/grub/menu.lst and reboot
[..]
 
APT::Default-Release "testing";
 
  
Upgrade base system
+
=NVIDIA=
apt-get update
+
==Free drivers (nv)==
apt-get upgrade
+
;Installed during xserver installation
  
==Installing Core Duo kernel==
+
==Proprietary drivers (nvidia)==
apt-get install linux-image-2.6.16-2-686-smp
+
;Only for 3D acceleration and other advanced features, if not use free driver, you'll feel better.
reboot
 
  
==Suspend to RAM==
+
===Installation===
  apt-get install gnome-power-manager
+
  apt-get install nvidia-kernel-2.6.18-4-686 nvidia-glx nvidia-settings nvidia-xconfig
 
 
'''to validate'''
 
*After the installation of the NVIDIA driver, Suspend to RAM worked well after setting SUSPEND2RAM_FORCE="yes" in '/etc/powersave/sleep'.
 
  
'''research'''
+
==Configuration==
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
+
===Automatic===
*http://en.opensuse.org/NVidia_Suspend_HOWTO
+
  nvidia-xconfig
*https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend
 
*https://help.ubuntu.com/community/SuspendHowto
 
 
 
Cambiar en /etc/default/acpi-support
 
<pre><nowiki>
 
ACPI_SLEEP=true
 
#ACPI_HIBERNATE=true
 
ENABLE_LAPTOP_MODE=true
 
</nowiki></pre>
 
 
 
=Components=
 
==NVIDIA drivers==
 
  apt-get install nvidia-kernel-2.6.16-2-686-smp
 
apt-get install nvidia-glx nvidia-settings
 
  
 +
===Manually===
 
Update your /etc/X11/xorg.conf
 
Update your /etc/X11/xorg.conf
 
  Section "Module"
 
  Section "Module"
Línea 132: Línea 122:
 
  EndSection
 
  EndSection
  
==Wireless interface==
+
=Wireless interface=
1. Downloads
+
apt-get install firmware-ipw3945 ipw3945d ipw3945-modules-`uname -r`
  
'''driver''' from http://ipw3945.sourceforge.net/ for example
+
;Optional
  wget http://ufpr.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-1.1.0.tgz
+
  apt-get install network-manager
  
'''ieee80211 subsystem''' from http://ieee80211.sourceforge.net/ for example
+
network-manager-gnome requires users to be in the group 'netdev' for it to work. If users aren't in the group 'netdev' then it won't automatically appear, and work, in the Notification Area.
wget http://ufpr.dl.sourceforge.net/sourceforge/ieee80211/ieee80211-1.2.15.tgz
 
  
'''firmware''' from http://bughost.org/ipw3945/ for example
+
If you're looking for a manual installation procedure see the [[ipw3945 driver manual installation for Debian Etch]]
wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.13.tgz
 
  
'''regulatory daemon''' from http://bughost.org/ipw3945/ for example
+
=WebCam - Only work with v4l2=
wget http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz
+
==Manual==
 +
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"
  
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
+
==Using packages (not working?)==
  tar -zxvf ieee80211-1.2.15.tgz
+
apt-get install linux-uvc-source libpt-plugins-v4l2
  cd ieee80211-1.2.15
+
m-a prepare
 +
m-a a-i linux-uvc
 +
modprobe uvcvideo
 +
dmesg | tail
 +
ln -s /dev/video0 /dev/video
 +
 
 +
==Testing Webcam==
 +
 
 +
===Using Mplayer===
 +
Just run this and you should see the webcam image:
 +
  $ mplayer -v tv:// -tv device=/dev/video0:driver=v4l2:outfmt=yuy2 -vc rawyuy2 -fps 15 -vo x11
 +
===Using Luvcview===
 +
Using luvcview we can take pics and record video.
 +
 
 +
apt-get install libsdl1.2-dev
 +
wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz
 +
  tar -xvf luvcview-20070512.tar.gz
 +
cd luvcview-20070512
 
  make
 
  make
  make install
+
  sudo make install
  cd ..
+
  luvcview -d /dev/video0 -f jpg -s 640x480
tar -zxvf ipw3945-1.1.0.tgz
+
 
cd ipw3945-1.1.0
+
Now you can use the buttons (a bit ugly) or the following hotkeys while running the program:
make
+
 
cd ..
+
*'''n''' -> BRIGHTNESS UP
tar zxvf ipw3945-ucode-1.13.tgz
+
*'''b''' -> BRIGHTNESS DOWN
mkdir /usr/local/lib/firmware/
+
*'''x''' -> CONTRAST UP
cp ipw3945-ucode-1.13/ipw3945.ucode /usr/local/lib/firmware/
+
*'''w''' -> CONTRAST DOWN
  tar zxvf ipw3945d-1.7.22.tgz
+
*'''c''' -> SATURATION UP
  cp ipw3945d-1.7.22/x86/ipw3945d /sbin/ipw3945d-$(uname -r)
+
*'''v''' -> SATURATION DOWN
  cd ipw3945-1.1.0
+
*'''z''' -> GAIN UP
  cp ipw3945.ko /lib/modules/$(uname -r)
+
*'''a''' -> GAIN DOWN
  depmod -a
+
*'''r''' -> SHARPNESS UP
 +
*'''e''' -> SHARPNESS DOWN
 +
*'''s''' -> SCREENSHOT
 +
*'''p''' -> RECORD A VIDEO
 +
*'''l''' -> RESET
 +
*'''q''' -> QUIT
 +
 
 +
'''References'''
 +
*http://linux-uvc.berlios.de/
 +
*http://www.eldemonionegro.com/wordpress/archivos/category/informatica/
 +
 
 +
=Sound card=
 +
If you have conflict with the webcam USB microphone you can use this configuration in /etc/modprobe.d/sound to set the correct device order asignation.
 +
alias snd-card-0 snd-hda-intel
 +
  options snd-hda-intel index=0
 +
  alias snd-card-1 snd-usb-audio
 +
  options snd-usb-audio index=1
 +
 
 +
=Frontal multimedia buttons=
 +
Configure the frontal buttons using [http://lineak.sourceforge.net/ LineAK].
 +
  apt-get install lineak
 +
 
 +
Then you should add button configurations in '''/etc/lineakd.def'''. Add the following lines to the end of the file:
 +
 
 +
# Dell XPS M1210
 +
[DXPS]
 +
brandname = "Laptop/notebook"
 +
odelname = "Dell XPS and Inspiron 9100"
 +
[KEYS]
 +
Play                      = 162
 +
Previous                  = 144
 +
Next                      = 153
 +
Stop                      = 164
 +
VolumeUp                  = 176
 +
VolumeDown                = 174
 +
Mute                      = 160
 +
[END KEYS]
 +
[END DXPS]
 +
  # end Dell XPS/I9100  Laptop
  
4. /etc/init.d/ipw3945
+
Now do:
#!/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
+
  $ lineakd -c DXPS
  update-rc.d ipw3945 defaults
 
  
6. /etc/network/interfaces
+
Then you can attach a command to the different buttons. Make your changes in '''$HOME/.lineakd/lineakd.conf'''. This is just an example using Amarok (media player) and Aumix for volume control:
auto eth2
 
iface eth2 inet dhcp
 
  
Notes:
+
Mute = "aumix -v 0"
*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.
+
Next = "amarok -f"
 +
Play = "amarok -t"
 +
Previous = "amarok -r"
 +
Stop = "amarok -s"
 +
VolumeDown = "aumix -v -5"
 +
VolumeUp = "aumix -v +5"
  
'''References'''
+
Finally, you have to run the lineak daemon:
*http://eomer.mine.nu/?q=node/18
+
*http://alidhaey.blogspot.com/2006/08/instalar-debian-etch-en-un-dell.html
+
$ lineakd&
*http://math.umh.ac.be/an/D820/#Wireless
 
  
 +
Add this to any start script (like .xinitrc) to run it on start up.
  
 +
=dvd/cdrom=
 +
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
 +
cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.
 +
do:
 +
chgrp cdrom /dev/sg0
  
==Modem==
+
=Modem (Not tested)=
===Driver===
+
==Driver==
 
*http://www.linuxant.com
 
*http://www.linuxant.com
**[http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.47.00.01full/hsfmodem_7.47.00.01full_k2.6.15_26_686_ubuntu_i386.deb.zip Download propietary Dapper 2.6.15-26-686 driver]
 
 
These are NOT free, however - an uncrippled version will set you back USD 19.99, the free ones only support 14k4 :-(
 
These are NOT free, however - an uncrippled version will set you back USD 19.99, the free ones only support 14k4 :-(
  
dpkg -i hsfmodem_{version}_{arch}.deb
+
*[http://criadoindomable.wordpress.com/2008/01/09/modem-para-las-dell-inspiron-en-ubuntu-710/ Modem para las Dell Inspiron en Ubuntu 7.10]
if necessary, run "hsfconfig" to complete the installation, enter license information, or to change your modem's configuration.
 
  
 
'''Hacerlo andar igual'''
 
'''Hacerlo andar igual'''
Línea 225: Línea 264:
 
http://www.thinkwiki.org/wiki/Conexant_HSF_modem_drivers
 
http://www.thinkwiki.org/wiki/Conexant_HSF_modem_drivers
  
==Ricoh Card Reader==
+
=Ricoh Card Reader=
 
'''research'''
 
'''research'''
 
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
 
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
  
==DVD region unlock==
+
=Suspend=
 +
==Suspend to RAM - Not working yet==
 +
apt-get install gnome-power-manager
  
==WebCam==
+
'''research'''
===Using uvcvideo - Only work with v4l2===
+
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
Driver: http://linux-uvc.berlios.de/
+
*http://en.opensuse.org/NVidia_Suspend_HOWTO
<pre><nowiki>
+
*https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend
apt-get install libpt-plugins-v4l2
+
*https://help.ubuntu.com/community/SuspendHowto
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:
+
'''to validate'''
*Only [[v4l2]] is supported
+
*After the installation of the NVIDIA driver, Suspend to RAM worked well after setting SUSPEND2RAM_FORCE="yes" in '/etc/powersave/sleep'.
*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=
 
=General references=
 
==Other sites about M1210 & Linux==
 
==Other sites about M1210 & Linux==
 
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
 
*http://imaging.ugent.be/mr/Suse/suse-m1210.html
 +
*http://dotcommie.net/projects/XPS-M1210/
 +
*http://www.centre-cired.fr/forum/article441.html
 
*http://toufeeq.blogspot.com/2006/07/linux-on-dell-xps-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://www.serpentine.com/blog/software/linux-on-m1210.html
 +
*http://www.serveur32.net/~tom/wordpress/materiel/xps1210/
 
*http://toufeeq.blogspot.com/2006/06/dell-xps-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://g33k.wordpress.com/2006/07/20/the-dell-xps-m1210-a-mini-review/
 
*http://dellxpsm1210.blogspot.com/
 
*http://dellxpsm1210.blogspot.com/
 +
*https://wiki.ubuntu.com/LaptopTestingTeam/DellXPSM1210
  
 
==About Debian==
 
==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]
 
*[http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian How-To: Setup Debian Linux Desktop with Full Multimedia Support and Faster Processing]
 +
 +
==Others==
 +
*[http://mundogeek.net/archivos/2007/04/23/temperatura-de-portatiles-dell-en-ubuntu/ Temperatura de portátiles Dell en Ubuntu]
 +
*[http://mundogeek.net/archivos/2007/04/23/desactivar-touchpad-mientras-se-escribe-en-linux/ Desactivar touchpad mientras se escribe en Linux]

Revisión actual del 23:10 31 oct 2011

My laptop was stolen :( Unmaintained page from June 2007

Now mainteined by me!. This guide is really usefull!... --Yaco 19:52 19 dic 2007 (ART)


Summary

Summary
Component Status Comments
Camera Works driver linux-uvc only support V4L2
Card reader Need more research kernel patch? MMC dot work?
CD/DVD Works parameter at boot?
Dual Core CPU Works Install smp kernel
Ethernet Works out of the box
Firewire Works
Media Butoms Works out of the box
Modem not tested, but... 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 working for other people
Suspen to disk Need more research working for other people
S-Video output Works
Touchpad Works out of the box
USB Works out of the box
VGA Port Works
Video (NVIDIA) Works free and propietary driver
Wireless Works Download driver: ipw3945

Specifications

  • Dell XPS M1210 Laptop - AR$ 5.200 (1.700 U$S) - July 2006
    • Intel Core 2 Duo Processor T2300 @ 1.66GHz
    • 1GB of Dual Channel DDR2 memory
    • 12.1" Widescreen WXGA (1280 x 800) display with TrueLife
    • 256MB NVIDIA GeForceTM Go 7400 TurboCache
    • 60GB 5400RPM SATA hard drive
    • 8x DVD/CD Burner (DVD+/-RW)
    • Webcam
  • Debian GNU/Linux Etch (testing) Daily Build Debian Installer
  • kernel 2.6.18-3 - Custom build - Kernel source from sid

Detected by preinstaled windows (the last words of)

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

Base installation

Debian GNU/Linux Lenny (testing) Daily Build Debian Installer

Kernel built in module for lan interface does not work, I used an old Etch (testing) net installer

Kernel

Compiling a custom kernel

apt-get install linux-source-2.6.18 libncurses5-dev kernel-package
cd /usr/src
tar jxf linux-source-2.6.18.tar.bz2
cd linux-source-2.6.18
make menuconfig
make-kpkg --initrd --revision gacq01 kernel_image
cd ..
dpkg -i linux-image-2.6.18_gacq01_i386.deb

Manually edit /boot/grub/menu.lst and reboot

NVIDIA

Free drivers (nv)

Installed during xserver installation

Proprietary drivers (nvidia)

Only for 3D acceleration and other advanced features, if not use free driver, you'll feel better.

Installation

apt-get install nvidia-kernel-2.6.18-4-686 nvidia-glx nvidia-settings nvidia-xconfig

Configuration

Automatic

nvidia-xconfig

Manually

Update your /etc/X11/xorg.conf

Section "Module"
        [..]
        #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

apt-get install firmware-ipw3945 ipw3945d ipw3945-modules-`uname -r`
Optional
apt-get install network-manager

network-manager-gnome requires users to be in the group 'netdev' for it to work. If users aren't in the group 'netdev' then it won't automatically appear, and work, in the Notification Area.

If you're looking for a manual installation procedure see the ipw3945 driver manual installation for Debian Etch

WebCam - Only work with v4l2

Manual

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"


Using packages (not working?)

apt-get install linux-uvc-source libpt-plugins-v4l2
m-a prepare
m-a a-i linux-uvc
modprobe uvcvideo
dmesg | tail
ln -s /dev/video0 /dev/video

Testing Webcam

Using Mplayer

Just run this and you should see the webcam image:

$ mplayer -v tv:// -tv device=/dev/video0:driver=v4l2:outfmt=yuy2 -vc rawyuy2 -fps 15 -vo x11

Using Luvcview

Using luvcview we can take pics and record video.

apt-get install libsdl1.2-dev
wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz
tar -xvf luvcview-20070512.tar.gz
cd luvcview-20070512
make
sudo make install
luvcview -d /dev/video0 -f jpg -s 640x480

Now you can use the buttons (a bit ugly) or the following hotkeys while running the program:

  • n -> BRIGHTNESS UP
  • b -> BRIGHTNESS DOWN
  • x -> CONTRAST UP
  • w -> CONTRAST DOWN
  • c -> SATURATION UP
  • v -> SATURATION DOWN
  • z -> GAIN UP
  • a -> GAIN DOWN
  • r -> SHARPNESS UP
  • e -> SHARPNESS DOWN
  • s -> SCREENSHOT
  • p -> RECORD A VIDEO
  • l -> RESET
  • q -> QUIT

References

Sound card

If you have conflict with the webcam USB microphone you can use this configuration in /etc/modprobe.d/sound to set the correct device order asignation.

alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0
alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

Frontal multimedia buttons

Configure the frontal buttons using LineAK.

apt-get install lineak

Then you should add button configurations in /etc/lineakd.def. Add the following lines to the end of the file:

# Dell XPS M1210
[DXPS]
brandname = "Laptop/notebook"
odelname = "Dell XPS and Inspiron 9100"
[KEYS]
Play                       = 162
Previous                   = 144
Next                       = 153
Stop                       = 164
VolumeUp                   = 176
VolumeDown                 = 174
Mute                       = 160
[END KEYS]
[END DXPS]
# end Dell XPS/I9100  Laptop

Now do:

$ lineakd -c DXPS

Then you can attach a command to the different buttons. Make your changes in $HOME/.lineakd/lineakd.conf. This is just an example using Amarok (media player) and Aumix for volume control:

Mute = "aumix -v 0"
Next = "amarok -f"
Play = "amarok -t"
Previous = "amarok -r"
Stop = "amarok -s"
VolumeDown = "aumix -v -5"
VolumeUp = "aumix -v +5"

Finally, you have to run the lineak daemon:

$ lineakd&

Add this to any start script (like .xinitrc) to run it on start up.

dvd/cdrom

Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.

do:

chgrp cdrom /dev/sg0

Modem (Not tested)

Driver

These are NOT free, however - an uncrippled version will set you back USD 19.99, the free ones only support 14k4 :-(

Hacerlo andar igual

Otros http://www.thinkwiki.org/wiki/Conexant_HSF_modem_drivers

Ricoh Card Reader

research

Suspend

Suspend to RAM - Not working yet

apt-get install gnome-power-manager

research

to validate

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


General references

Other sites about M1210 & Linux

About Debian

Others