https://wiki.gacq.com/api.php?action=feedcontributions&user=Fernan&feedformat=atomgacq wiki - Contribuciones del usuario [es]2024-03-29T09:14:34ZContribuciones del usuarioMediaWiki 1.29.2https://wiki.gacq.com/index.php?title=Installing_Debian_on_Dell_M1210&diff=2022Installing Debian on Dell M12102006-09-10T15:05:39Z<p>Fernan: /* Other sites about M1210 & Linux */</p>
<hr />
<div>=Summary=<br />
{| border="1" align="center"<br />
|+ Summary <br />
! Component !! Status !! Comments<br />
|-<br />
! Camera || style="background:yellow" | Works with some work || Download driver: linux-uvc<br />
|-<br />
! Card reader || style="background:yellow" | Need more research || kernel patch? MMC dot work?<br />
|-<br />
! CD/DVD || style="background:yellow" | Works with some work || parameter at boot?<br />
|-<br />
! Dual Core CPU || style="background:green" | Works || Install smp kernel<br />
|-<br />
! Ethernet || style="background:green" | Works || out of the box<br />
|-<br />
! Firewire || style="background:grey" | not tested ||<br />
|-<br />
! Media Butoms || style="background:green" | Works || out of the box<br />
|-<br />
! Modem || style="background:orange" | not tested, but... || Propietary driver limit modem to 14.4Kb<br />
|-<br />
! SATA Disk || style="background:green" | Works || out of the box<br />
|-<br />
! Sound || style="background:green" | Works || out of the box<br />
|-<br />
! Suspend to RAM || style="background:grey" | Need more research || Some problems reported for 2.6.16<br />
|-<br />
! Suspen to disk || style="background:grey" | Need more research || Some problems reported for 2.6.16<br />
|-<br />
! S-Video output || style="background:grey" | not tested ||<br />
|-<br />
! Touchpad || style="background:green" | Works || out of the box<br />
|-<br />
! USB || style="background:green" | Works || out of the box<br />
|-<br />
! VGA Port || style="background:grey" | not tested || <br />
|-<br />
! Video (NVIDIA) || style="background:green" | Works || using nv free driver<br />
|-<br />
! Wireless || style="background:yellow" | Works with some work || Download driver: ipw3945<br />
|-<br />
|}<br />
<br />
'''Installation summary:'''<br />
*Debian GNU/Linux Etch (testing)<br />
*kernel 2.6.17 - Custom build<br />
<br />
=Base installation=<br />
<br />
==Using Daily Build (I have used this)==<br />
Today, dailybuild Debian installer CD has solved SATA & CD problem<br />
<br />
==Using Debian Installer Etch beta 3 release==<br />
Error message:<br />
No common CD-ROM drive was detected.<br />
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.<br />
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.<br />
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.<br />
===Booting debian netinst from USB drive===<br />
The workaround I used is to boot from a USB stick (don't worry you will get your CDROM working later).<br />
<pre><nowiki><br />
wget http://ftp.debian.org/debian/dists/testing/\<br />
main/installer-i386/current/images/hd-media/boot.img.gz<br />
gzip -dc boot.img.gz >/dev/sdX<br />
</nowiki></pre><br />
Enable USB drive boot from BIOS setup, and then Install Debian base system as usual.<br />
<br />
===Using kernel boot parameters===<br />
(Not checked)<br />
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.<br />
<br />
=Configuration=<br />
==APT==<br />
/etc/apt/sources.list<br />
deb http://mirrors.kernel.org/debian/ testing main contrib non-free<br />
deb http://mirrors.kernel.org/debian/ unstable main contrib non-free<br />
deb http://security.debian.org/ testing/updates main contrib non-free<br />
deb http://www.debian-multimedia.org/ testing main<br />
deb http://www.debian-multimedia.org/ sid main<br />
<br />
/etc/apt/apt.conf<br />
[..]<br />
APT::Default-Release "testing";<br />
<br />
Upgrade base system<br />
apt-get update<br />
apt-get upgrade<br />
<br />
=Kernel=<br />
==Installing Core Duo kernel==<br />
apt-get install linux-image-2.6.16-2-686-smp<br />
reboot<br />
<br />
==Compiling a custom kernel==<br />
Useful if you want to patch the kernel for example to use a splash boot screen<br />
apt-get install linux-source-2.6.16 libncurses5-dev kernel-package<br />
cd /usr/src<br />
tar jxf linux-source-2.6.16.tar.bz2<br />
cd linux-source-2.6.16<br />
make menuconfig<br />
make-kpkg --initrd --revision gacq01 kernel_image<br />
cd ..<br />
dpkg -i linux-image-2.6.16_gacq01_i386.deb<br />
<br />
Manually edit /boot/grub/menu.lst and reboot<br />
<br />
=NVIDIA=<br />
==Installing nvidia drivers==<br />
===Pre-compiled===<br />
apt-get install nvidia-kernel-2.6.16-2-686-smp<br />
apt-get install nvidia-glx nvidia-settings<br />
<br />
===Build your own nvidia driver===<br />
apt-get install nvidia-kernel-source nvidia-kernel-common<br />
cd /usr/src<br />
tar xvzf nvidia-kernel-source.tar.gz<br />
cd linux-source-2.6.16<br />
make-kpkg --revision gacq01 modules_image<br />
cd ..<br />
dpkg -i nvidia-kernel-2.6.16_1.0.8774-1+gacq01_i386.deb<br />
apt-get install nvidia-glx nvidia-settings<br />
<br />
More info in:<br />
*http://wiki.debian.org/NvidiaGraphicsDrivers<br />
*http://www.leonscape.co.uk/linux/how2-nvg4.html<br />
*http://taliesin.wordpress.com/linux-kernel-custom-compile-the-debian-way/<br />
*http://wiki.clug.org.za/wiki/How_do_I_compile_my_own_kernel_into_a_deb%3F<br />
<br />
==Configuration==<br />
Update your /etc/X11/xorg.conf<br />
Section "Module"<br />
[..]<br />
#Load "dri"<br />
[..]<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "NVIDIA"<br />
Driver "nvidia"<br />
Option "NoLogo"<br />
Option "RenderAccel" "true"<br />
Option "NvAGP" "1"<br />
EndSection<br />
<br />
Section "Screen"<br />
[..]<br />
Device "NVIDIA"<br />
[..]<br />
EndSection<br />
<br />
=Wireless interface=<br />
1. Downloads<br />
<br />
'''driver''' from http://ipw3945.sourceforge.net/ for example<br />
wget http://ufpr.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-1.1.0.tgz<br />
<br />
'''ieee80211 subsystem''' from http://ieee80211.sourceforge.net/ for example<br />
wget http://ufpr.dl.sourceforge.net/sourceforge/ieee80211/ieee80211-1.2.15.tgz<br />
<br />
'''firmware''' from http://bughost.org/ipw3945/ for example<br />
wget http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.13.tgz<br />
<br />
'''regulatory daemon''' from http://bughost.org/ipw3945/ for example<br />
wget http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz<br />
<br />
2. Install some requisites for modules compilation<br />
apt-get install linux-headers-2.6.16-2-686-smp<br />
apt-get install gcc-4.0<br />
<br />
3. Complile and install modules<br />
tar -zxvf ieee80211-1.2.15.tgz<br />
cd ieee80211-1.2.15<br />
make<br />
make install<br />
cd ..<br />
tar -zxvf ipw3945-1.1.0.tgz<br />
cd ipw3945-1.1.0<br />
make<br />
cd ..<br />
tar zxvf ipw3945-ucode-1.13.tgz<br />
mkdir /usr/local/lib/firmware/<br />
cp ipw3945-ucode-1.13/ipw3945.ucode /usr/local/lib/firmware/<br />
tar zxvf ipw3945d-1.7.22.tgz<br />
cp ipw3945d-1.7.22/x86/ipw3945d /sbin/ipw3945d-$(uname -r)<br />
cd ipw3945-1.1.0<br />
cp ipw3945.ko /lib/modules/$(uname -r)<br />
depmod -a<br />
<br />
4. /etc/init.d/ipw3945 <br />
#!/bin/bash<br />
<br />
case $1 in<br />
start)<br />
echo -n "Load ipw3945:"<br />
modprobe -i ipw3945<br />
/sbin/ipw3945d-$(uname -r) --timeout=30<br />
sleep 2<br />
echo " done."<br />
;;<br />
<br />
stop)<br />
echo -n "Unloading ipw3945:"<br />
/sbin/ipw3945d-$(uname -r) --kill<br />
modprobe -ir ipw3945<br />
sleep 2<br />
echo " done."<br />
;;<br />
esac<br />
<br />
exit 0<br />
<br />
chmod 755 /etc/init.d/ipw3945<br />
<br />
5. Enable start on boot<br />
update-rc.d ipw3945 defaults 30<br />
<br />
6. /etc/network/interfaces<br />
auto eth2<br />
iface eth2 inet dhcp<br />
<br />
Notes:<br />
*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.<br />
<br />
'''References'''<br />
*http://eomer.mine.nu/?q=node/18<br />
*http://alidhaey.blogspot.com/2006/08/instalar-debian-etch-en-un-dell.html<br />
*http://math.umh.ac.be/an/D820/#Wireless<br />
<br />
=WebCam=<br />
==Using uvcvideo - Only work with v4l2==<br />
Driver: http://linux-uvc.berlios.de/<br />
<pre><nowiki><br />
apt-get install libpt-plugins-v4l2<br />
svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/<br />
cd linux-uvc/linux-uvc/trunk<br />
make<br />
sudo make install<br />
modprobe uvcvideo<br />
dmesg | tail<br />
ln -s /dev/video0 /dev/video<br />
</nowiki></pre><br />
<br />
Notes:<br />
*Only [[v4l2]] is supported<br />
*Add users to system group "video"<br />
<br />
'''Webcam test'''<br />
apt-get install libsdl1.2-dev<br />
wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20060706.tar.gz<br />
tar -xvf luvcview-20060706.tar.gz<br />
cd luvcview-20060706<br />
make<br />
./luvcview -d /dev/video0 -f jpg -s 640x480<br />
<br />
'''References'''<br />
*http://linux-uvc.berlios.de/<br />
*http://www.eldemonionegro.com/wordpress/archivos/category/informatica/<br />
<br />
<br />
<br />
=Sound card=<br />
If you have conflict with the webcam USB microphone you can use this configuration in /etc/modprobe.d/sound<br />
alias snd-card-0 snd-hda-intel<br />
options snd-hda-intel index=0<br />
alias snd-card-1 snd-usb-audio<br />
options snd-usb-audio index=1<br />
<br />
=Modem (Not tested)=<br />
==Driver==<br />
*http://www.linuxant.com<br />
**[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]<br />
These are NOT free, however - an uncrippled version will set you back USD 19.99, the free ones only support 14k4 :-(<br />
<br />
dpkg -i hsfmodem_{version}_{arch}.deb<br />
if necessary, run "hsfconfig" to complete the installation, enter license information, or to change your modem's configuration.<br />
<br />
'''Hacerlo andar igual'''<br />
*http://www.linuxespanol.com/tema7832.html?sid=992dcc97f759926ea2ec902a71a44eb5<br />
<br />
'''Otros'''<br />
http://www.thinkwiki.org/wiki/Conexant_HSF_modem_drivers<br />
<br />
=Ricoh Card Reader=<br />
'''research'''<br />
*http://imaging.ugent.be/mr/Suse/suse-m1210.html<br />
<br />
=Suspend=<br />
==Suspend to RAM - Not working yet==<br />
apt-get install gnome-power-manager<br />
<br />
'''to validate'''<br />
*After the installation of the NVIDIA driver, Suspend to RAM worked well after setting SUSPEND2RAM_FORCE="yes" in '/etc/powersave/sleep'.<br />
<br />
'''research'''<br />
*http://imaging.ugent.be/mr/Suse/suse-m1210.html<br />
*http://en.opensuse.org/NVidia_Suspend_HOWTO<br />
*https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend<br />
*https://help.ubuntu.com/community/SuspendHowto<br />
<br />
Cambiar en /etc/default/acpi-support<br />
<pre><nowiki><br />
ACPI_SLEEP=true<br />
#ACPI_HIBERNATE=true<br />
ENABLE_LAPTOP_MODE=true<br />
</nowiki></pre><br />
<br />
=Specifications=<br />
==Detected by preinstaled windows==<br />
Modem:Conexant HDA D110 MDC V.92 (winmodem)<br />
DVD: Sony DVD+-RW DW-Q58A<br />
NIC: Intel(R) PRO/Wireless 3945ABG Network Connection<br />
SATA: Intel(R) 82801GMB/GHM (ICH7-M Family) Serial ATA Storage Controller - 27C4<br />
Card Reader: Ricoh Memory Stick Y MMC<br />
Webcam: QuickCam for Dell Network<br />
PAD: Synaptics PS/2 Port Pointing device<br />
<br />
=General references=<br />
==Other sites about M1210 & Linux==<br />
*http://imaging.ugent.be/mr/Suse/suse-m1210.html<br />
*http://toufeeq.blogspot.com/2006/07/linux-on-dell-xps-m1210.html<br />
*http://www.serpentine.com/blog/software/linux-on-m1210.html<br />
*http://toufeeq.blogspot.com/2006/06/dell-xps-m1210.html<br />
*http://g33k.wordpress.com/2006/07/20/the-dell-xps-m1210-a-mini-review/<br />
*http://dellxpsm1210.blogspot.com/<br />
*https://wiki.ubuntu.com/LaptopTestingTeam/DellXPSM1210<br />
<br />
==About Debian==<br />
*[http://www.ehomeupgrade.com/entry/2812/how-to_setup_debian How-To: Setup Debian Linux Desktop with Full Multimedia Support and Faster Processing]</div>Fernan