Update 23/08/2005 : Warning : I have experienced some strange crashes on this model, wich seem to be caused by a deffect of some kind related to the attachment holes for the anti-theft cables which are located on the sides of the laptop.
More specifically, I get poweroff problems when I lock an anti-theft cable on the front left side hole of the machine, which occur when I happen to touch the metallic parts of the lock with my metal watch’s wristband (the lock happens to be just at the right place under my wrist, when I’m typing on the keyboard : bad design decision for sure !). There must be some static charge that passes to the internal parts of the machine through the lock, causing a security safeguard poweroff of some kind. From the various calls to the hotline, I got the advice from Dell to connect the lock to the right side… but I still can’t tell what exact cause there is and is it’s really a good workaround. Dell is supposed to be working on the issue. I’m collecting here some notes about the installation of Debian Sarge Etch on a Dell Latitude D505 laptop.
Apart from the above-mentioned hardware issue, the setup works fine with GNU/Linux, and more specifically Debian.
This page is a work in progress, so don’t expect a fully detailed howto, but more a collection of random notes that should be useful compared to your own findings.
Note that I’m now running etch on that machine (aka stable sooner or later).
References
I’ve used the following pages as references, so I won’t detail all steps here. You may refer to these for the details of the procedure.Characteristics of this machine
The characteristics of this machine are available on Dell’s website. The machine came without any installed OS. There is a 2G partition already on the disk and a CD of FreeDOS comes along the machine (as well as a copy of the GNU GPLDebian Sarge (3.1) stable installation
I’ve installed it using the 2.6 kernel. At the boot prompt of the installer, choose 2.6 kernel :boot: linux26After the standard install of the stable core, additional steps are necessary, mainly concerning the display which is not well detected by default :
- upgrade it to testing
- Install of kernel 2.6.11-686
- Ading apt sources “contrib” and “non-free”
Hardware support
Now, the specificities of the hardware of this machine require :- Install 855resolution (or 915resolution in testing) :
- Used to setup the 1400×1050 mode :
855resolution 3c 1400 1050(apply these changes to the/etc/default/915resolutionfile) - After having installed and run it,
read-edidis able to detect the correct modelines for X (see bellow). - You may then reconfigure
XF86Config-4(orxorg.confin testing) (see bellow)
- Used to setup the 1400×1050 mode :
- Installation of the
ipw2200module for the Wifi card :- Install
ipw2200-sourcepackage - If necessary, compile it and install the associate binary package (from kernel 2.6.12 (?) up, the driver is included in the stock kernel image, no need of the following steps, then) :
- Install
# module-assistant prepare # module-assistant a-i ipw2200Note : since the time when I’ve succeeded doing that, the module has been updated in testing, and now, I get problems with it (compiled with GCC 4 whereas kernel was compiled with GCC 3, but all that can be overcome).
-
- Install the firmware : follow instructions in
/usr/share/doc/ipw2200-modules-2.6.11-1-686/README.firmware - Install of
wireless-tools
- Install the firmware : follow instructions in
- Install
powernowdto handle the Centrino/Pentium M processor speed control :- Add to
/etc/modules:
- Add to
speedstep_centrino cpufreq_userspace
-
- Install
powernowd
- Install
- Setup the order of the
ethXinterfaces :- Installation of
ifrename - Configuration of
/etc/iftaband/etc/network/interfacesfor ifrename. On my setup : eth0 is not used, eth1 for the wired ethernet adapter, eth2 for the wifi one - blacklist eth1394 in hotplug for it not to use eth0
- Installation of
Configuration of the display.
You can configure xfree86 up to 1400×1050 on the “Intel Corp. 82852/855GM Integrated Graphics Device” video card, provided that you installed 855resolution*/*915resolution (see above). See bellow the configuration of xfree86/xorg.Note : 3D acceleration support in video card may not be perfect : I’ve experienced locked screensaver and need to hard-reboot the unresponsive machine… So I suggest you don’t enable DRI. That may be related to the fact that the machine has been suspended (< https://www.redhat.com/archives/fedora-list/2005-June/msg05058.html) ?
Configuration of/etc/X11/XF86Config-4 (/etc/X11/xorg.conf)
Here is an excerpt of the XF86Config-4 file for my Dell D505, which gives proper modelines for the best resolution.
Excerpt :
Section "Device"
Identifier "Generic card"
Driver "i810"
VideoRam 64000
EndSection
Section "Monitor"
Identifier "SEC:5047"
VendorName "SEC"
ModelName "SEC:5047"
Mode "1400x1050"
# vfreq 60.020Hz, hfreq 63.981kHz
DotClock 108.000000
HTimings 1400 1448 1560 1688
VTimings 1050 1051 1055 1066
Flags "-HSync" "-VSync"
EndMode
EndSection
Touchpad support : You may install the xfree86-driver-synaptics to be able to use the touchpad. Attention to the settings, since it is an ALPS touchpad (see in the attached XF86Config-4 file).
Suspend to RAM
Note that this is no longer needed as hibernate is more or less working in etch on this model.
- http://alpha.uhasselt.be/Research/Algebra/Members/D505.html
- http://www.celifornia.com/documents/dell700m.html
Update 2005.10.06 : More details :
- The
hotswaptool can be used to switch between the CD/DVD drive and the battery in the modular bay. - Under Gnome, the volume Fn keys can be mapped to the shortcuts. Thanks to http://skaya.enix.org/wiki/DellLatitudeD610 :
Update 2006/11/26 : I’ve updated the BIOS to A11, and suddenly the X display has become broken. I’ve managed to restore some usable config, but it’s not that good… so I’m not advising to update it.
Pingback: WebLog Olivier Berger » New laptop : Dell Latitude D505
acpi support: Something i found from google: http://www.larsen-b.com/Article/99.html
Concerning the last problem I’ve had (X display becoming broken), others have reported to me they had the same issue with BIOS > A9 too…
What I did is to enable this option in the i810 driver section of the xorg.conf file :
Option “MonitorLayout” “CRT,LFP”
That way, the X session starts on the external video display (not connected, btw), which renders the screen black, and then I just switch the display to the laptop’s display with Fn+F8 … and tada, it works… note that it will require the same kind of cycling with Fn+F8 again after switching to concole / VT1 with Ctr+Alt+F1, etc.
Note I’m running 1400×1050 with help from the 915resolution program which changes some of the VGA bits of some kind… maybe this is all linked ?
Hope this helps.
Yeah I’ve the same problem – but switching with Fn+F8 helped! Thank You so much!
As suggested in this followup to an Ubuntu bug-report concerning display problems with same drivers (https://launchpad.net/ubuntu/+source/xserver-xorg-video-i810/+bug/67196/comments/13), it seems that one can increase the memory dedicated to video (UMA), from 1M to 8M.
This is what I did, and it won’t solve the display mangling problem, but it seems at least not to be so bad from suspend to ram point of view… I’m then recommending to use that setup (UMA whatever, page 3) in the BIOS.
Hope this helps.
Best regards.
I’ve also changed the video expansion parameter in the BIOS (having the boot Dell logo in full screen, and later the console) as well as deactivated the Modem in the BIOS.
I’ve also set ‘Option “VBERestore” “true”‘ in /etc/X11/xorg.conf, and configured some bits in /etc/hibernate/common.conf like ‘Runi915resolution yes’ and ‘ChangeGrubMenu yes’, and set the resume=/dev/sda5 (my swap partition) for the kernel command-line in /boot/grub/menu.lst… and…
Hibernate to disk seems to work… and also to ram, I think, although I need more testing in order to figure out if it works 100% of times (sometimes it resumes in a state where X display mangling cannot be restored with Fn+F8, since video switching with that key no longer works).
I’m glad I now have an almost fully working suspend solution
Pingback: WebLog Olivier Berger » Suspend working at last on my Dell Latitude D505 with Debian etch
Hi
was wondering if it will be possible for you to email me the drivers instalation for latitude D505 to my mail box.Mine got burnt in a fire accident.Hope to hear from you soon.
I have just installed Etch on my laptop Dell Latitude D505.
The X system appears not well configured.
The graphic mode works. However, one problem
is that there is a dirty dark stripe along the top of the screen.
The other problem is that I cannot see the mouse pointer
in the screen. I still can lighten some tiles and open them
using the mouse although the mouse pointer is not visible.
It used to work before with Sarge but I guess the X system
was Xfree86 (the new system on Etch is X.org).
How should be written the xorg.conf ?
Thanks in advance
Well, did you try and use the XF86Config-4 file provided here and seeing the diffs with what you get after “dpkg-reconfigure xserver-xorg” and choosing plausible settings : Intel i810, etc. ?
I tried many changes from your XF86Config-4 without success. How does the xorg.conf differs from the XF86Config-4 ?
The read-edit command does not work on my machine. How to install it ?
Thanks in advance.
My BIOS version was A10 (recently upgraded). I have downloaded back and installed version A09 following others advice. The X system is now working perfectly including the mouse pointer. As a conclusion, BIOS A10 seems incompatible with the i810 driver. It is safer to keep working with BIOS A09 for the moment.
About read-edid, it’s the name of the package (apt-cache search read-edid)… the commands inside it are get-edid and parse-edid, I think… but anyway, it may not be needed anylonger nowadays.
About the BIOS, yes, I suppose this should be fileable as a bug once Dell supports Ubuntu on its laptops… but anyway, it’s an old system… so I don’t expect much maintainance from their side
Good to know that it worked for you.
I’ve got pissed by this issue also, and also downgraded to A09 BIOS, from FreeDOS (it wouldn’t work from Windows XP).
Now let’s see if this works better…
It seems to work allright, although I experienced some lockups when X was starting… anyway, it doesn’t happen everytime…
I’ll probably stick to A09 for giving this laptop to a collegue, now that my main machine is a D820.
I had the same problem with the display. I had BiosRev A08 first, upgraded to A11 and finally downgraded to A09. Everything works fine now.
I had the same problem with the display. I had BiosRev A08 first, upgraded to A11 and finally downgraded to A09. Everything works fine now. So: DELL D505 USERS: DO NOT UPGRADE YOUR BIOS TO A10/A11 UNLESS YOU HAVE A GOOD REASON TO DO SO.
Has anybody managed to get the TV-out via svideo cable to work on any Linux Distro? I am trying to setup the D505 laptop to run as a MythTV front end and have sofar been unable to get this to work.
It seems most of these tweeks are no longer needed with lenny or squeeze now.
Only problem with stock install/configuration then is the blanking when lid closed that doesn’t recover somehow.