DellLatitudeD830

Revision 88 as of 2009-11-04 00:11:54

Clear message

Serious HD Problem

Beware there is a potential problem that could effect the life of your harddrive bug59695. I was experiencing this problem with the 120GB seagate drive (ST9120823AS). I'm currently using the fixe described here. This fix keeps the harddrive from spinning down while it's on AC power.

I also set "ENABLE_LAPTOP_MODE=true" in /etc/default/acpi-support and "CONTROL_HD_POWERMGMT=1" in /etc/laptop-mode/laptop-mode.conf This allows the drive to spin down when it's on battery power. (mgreenly)

Jaunty (9.04)

  • serious HD problem still there bug59695

  • sound almost unnoticeable when master down to 50 %
  • Compiz is blacklisted although it seems to work fine. This workaround will re-enable Compiz bug363821

Intrepid

  • serious HD problem still there bug59695 (allee)

  • sound almost unnoticeable when master down to 50 % (allee)

Hardy

Gutsy

  • Sound not working. (See below for a workaround)
  • Suspend not reliable for everyone. (See below)
  • Bluetooth not working for everyone (Greenly), no problems in Kubuntu (allee)

Feisty

System Info

bios-version:A01 (Gutsy Info applies to A02  respectively A04 bios, I haven't seen any difference in between the two)
system-manufacturer:Dell Inc.
system-product-name:Latitude D830
System-version:No Specified

Hardware details

Screen & Monitors

Device

Works?

Bug #

in Feisty (current stable)?

in Gutsy (current development)?

Gutsy (final) - intel graphics

Screen

yes

yes

yes

Correct resolution?

yes

yes

yes (1650 x 1050, 1920x1200)

Correct refresh rate?

yes

yes

yes

3D Acceleration

no

yes, roughly 1100 FPS in glxgears on Core 2 2GHz T7300 (2450 FPS with Nvidia NVS 140M and Core 2 2.2GHz)

yes (intel 965, little tweak for desktop effects)

External monitor works?

yes

yes

Yes

External monitor - mirrors

Untested

Yes

Yes

External monitor - extend desktop

Untested

yes (xrandr 1.2)

Yes

Power Management

Battery detected?

yes

yes

yes

Hibernates?

yes

yes

yes

suspend

no

yes (use acpi-support below), however, sound won't work after suspend

yes (yes everything works) (have issues with CPUFreq after resume - GabrielAmbuehl)

#78257 131855

Dim monitor on battery

yes

yes

yes

Blank monitor on inactivity

Untested

yes

yes

Lid Close

Untested

yes

yes

Cpu frequency scaling

yes

yes

yes

Sound

Sound works?

yes

No (yes, after driver install)

yes, after driver install via backport

#131133 #Intel HD Audio

Correct volume?

yes

yes, after driver install

yes

Hardware volume switch

yes

yes (buttons), after driver install

yes

Headphone jack

yes

yes, after driver install, note: upon attaching a headphone to the docking station, laptop speakers remain on, but that can be changed in the mixer easily

yes (no test with docking, laptop speakers just mute), docking station works depending on actual driver used (alsa-1.0.15 does work)

Mic jack

no

internal mic works(FrontMic in Mixer->Switches), Mic jack works (Mic in Mixer->Switches)

yes

Networking

Wired NIC

yes

yes

yes, also thru docking stationg

Intel® 3945 802.11a/g Wireless

yes

yes

yes

Intel® 4945 802.11a/g/n Wireless

untested

yes (tested with 8.02.11g APs)

untested

PCMCIA NIC

Untested

Untested

Untested

Firewire

Untested

Untested

Untested

Bluetooth

no

no (greenly), yes (allee)

yes

Modem

Untested

Untested

Untested

Infrared

Untested

Untested

Untested

Touchpad & Mice

Touchpad

yes

yes (very slow by default)

yes (very slow by default)

Touchpad - Singletap = click

yes

yes

yes

Touchpad - Doubletap = double click

yes

yes

yes

Touchpad - Scroll down side

no?

yes(Greenly)

yes (no - GabrielAmbuehl)

Touchpad - turned off while typing

Untested

NO

no (but quite comfortable)

Trackpoint

yes

yes (very fast by default)

yes

External mouse - USB

yes

yes

yes

External mouse - Serial

Untested

Untested

Untested

Docking Station/Port Replicator

AC through replicator

yes

yes

yes

USB

yes

yes

Serial

Untested

Untested

Untested

Parallel

Untested

Untested

Untested

External Monitor - VGA

Untested

yes

yes

External Monitor - DVI

yes

yes

yes

External monitor - only

Untested

yes

... but not as expected. See #135557)

Untested

Modem

Untested

Untested

Untested

Headphone jack

Untested

yes, but upon attaching a headphone to the docking station, laptop speakers remain on, but that can be changed in the mixer easily

yes, with alsa-1.0.15

NIC

yes

yes

yes

PS/2

Untested

Untested

Untested

Additional Hardware

Fingerprint reader

Untested

Untested

Untested

CD/DVD drive

yes

yes

yes

PCMCIA cards

Untested

Untested

Untested

Parallel Ports

Untested

Untested

Untested

Card reader(s)

Untested

yes

Untested

...needs a patched ccid package. See #162724)

Function and other keys

Fn key

Operation

Keycode

Works?

Bug #

in Feisty (current stable)?

in Gutsy (current development)?

+ Space

Untested

Untested

+ Esc

Untested

Untested

+ F1

Hibernate

Untested

Hibernate event is triggered (I dont use hibernate so I cant say if it does anything further)

+ F2

Untested

Untested

+ F3

Battery level (?)

Untested

Shows battery level in both Gnome and KDE

+ F4

Untested

Untested

+ F5

Untested

Untested

+ F6

Untested

Untested

+ F7

?

Untested

no reaction

+ F8

CRT/LCD switch

Untested

no, switches to LCD but not back (use xrandr instead)

+ F9

Untested

Untested

+ F10

Untested

Untested

+ F11

Untested

Untested

+ F12

Untested

Untested

+ ArrowUp

Brightness up

Untested

Yes

+ ArrowDown

Brightness down

Untested

Yes

+ ArrowRight

Keyboard illumination (?)

Untested

no reaction, but then again I don't see anything happening in XP SP2 either

+ ArrowLeft

Auto brightness

Untested

Yes (may need the activation in the BIOS)

+ PgUp

Untested

Untested

+ PgDown

Untested

Untested

Other special keys

Key

Operation

Keycode

Works?

Bug #

in Feisty (current stable)?

in Gutsy (current development)?

Volume up

Untested

yes

Volume down

Untested

yes

Mute

Untested

OSD correctly shown, no action

Fn+Letters used for "Numpad" works.

Docking Station - D/Port Advanced Port Replicator (Greenly)

The port replication works just fine in both Feisty and Gutsy except the audio jack which seams to do nothing for me in either. In Fiesty I couldn't get the external monitor to work at the correct resolutions. In Gutsy the external monitor works fairly well with the Intel graphics. The laptops LCD is blanked and the external LCD used at the correct resolution. The Intel driver doesn't seem to support the second screen settings yet.

  • Audio: works with certain alsa releases (2.6.22-12 and alsa 1.0.15rc1 works fine for me, 2.6.22-14 does not) - GabrielAmbuehl

  • Graphics Output: for dual head you can use xrandr, but you need a Virtual screen defined in Xorg that is the sum of both screen widths wide and the higher of the two screens high for it to truly work. Can use either DVI or VGA. DVI AND VGA at the same time also works, but then the internal screen will shut off. - GabrielAmbuehl

For me docking a running system does not work in either Feisty and Gutsy. The system just hangs and the only way to solve that is to reset it. - DelGurth

  • I agree, docking/undocking only works in suspend for me - GabrielAmbuehl

Example config for dual head

I use this xorg.conf snippet to drive my internal 1920x1200 LCD together with an external 1600x1200 LCD.

Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel Corporation Mobile GM965/GL960 Integrated Graphics Contr
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                
                       Virtual 3520 1200
        EndSubSection
EndSection

the interesting part is the Virtual line (see above for calculation details). In order to get the screens up and running you may have to tinker with xrandr, along the lines of:

xrandr --output TMDS-1 --mode 1600x1200 --left-of LVDS
xrandr --output LVDS --mode 1920x1200

DVI tLVDS is always internal screen, external screen may either be VGA or TMDS-1 (in case of DVI through docking station). I haven't tried TV, but that probably works in a similar fashion. Note that you can't run compiz on screens bigger than 2048*2048 easily.

Bluetooth (mgreenly)

Bluetooth does not work for me under BIOS version A01 or A05. Given other peoples working installations I suspect that either mine is broke or because mine was an extremely early purchase for this model there may have been a change/fix after mine was made. No devices show up when I do "hcitool dev" nor do any Bluetooth controllers show up in lsusb's output. It works correctly in Windows.

Bluetooth (AchimBohnet)

I've never had problems Dell's builtin bluetooth. Worked out of the box on my D830 in Gusty (and in half a dozend other Latitude laptops with earlier Kubuntu releases). hcitool dev lists my adapter. FWIW. right now I'm connected to the internet via the builtin in bt adapter Wink ;) --- -- AchimBohnet 2007-10-06 14:12:15

For Feisty you need to install gnome-bluetooth before bluetooth can be used (from GNOME). But with that package I'm able to receive files from my mobile phone, for example. - DelGurth

Fixing sound on Gutsy(final)

To fix the audio install the kernel-backports-modules and restart.

# Assuming you're using the generic kernel that would be....
sudo apt-get install linux-backports-modules-generic

then reboot

Fixing sound on Gutsy (alternative)

Sound on Gutsy and the D830 be fixed by using a newer version of ALSA: make sure you have all requirements to build the kernel installed (i.e. sources, corresponding compilers etc) get [alsa-driver-1.0.15 ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15r]) in the newly create folder, run

./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-`uname -r`/                     
make 
sudo make install

then reboot

See also: Gutsy_Intel_HD_Audio_Controller

Notes

Gutsy

  • 9-Dec 2007: to get desktops effects working with the 965 intel: http://linux.dell.com/wiki/index.php and type "gstreamer-properties" on the commandline. On the window that pops up selected the video tab and changed it to X windows (no xv) so I could play video.

  • 13-Sep: retried again and problem is gone: 10-Sep: External monitor: a pkg upgrade over the weekend has broken external DVI. During boot external monitor works as before, but as soon as Xserver starts the external monitor is black (Monitor tells me that here is still a signal). Xrandr output and commands seem to work as before, just that the display stays black. Switching with Alt-Ctrl-F1 to console and I see the output on DVI again. Needs some more investigation what changed ... -- allee

  • Guidance Power Manager sometimes claims that there is no battery installed.
    • Looks like it's related to package updates and restarted hald (see #123812) --

  • Laptop plugged into docking station, the lid closed and external monitor switched on:
    • After reboot, gfx driver uses pixel and size infos of the laptop monitor, not the external ones (See #135557)

    • Hibernated Laptop without docking station; the put it in: After restart the the external monior is not switched on
    • Tribe5: Laptop alone suspended fine for me. But with docking it did not work -- allee

  • Sometimes after logout, kdm's greeter is not shown (black screen). Alt-Crtl-F1, then Alt-Ctrl-F7, 'fixes' it -- allee

  • After suspend-to-ram, only CPU0 (i.e. one core) is being used and that's stuck at whatever speed it was when it was suspended (which is likely 800MHz). This happens on both 2.6.22 from repos as well as custom compiled 2.6.23 so it's possibly a kernel bug. See #145876. It seems like removing acpi_cpufreq and possibly cpufreq_drivers and reloading them can fix this - GabrielAmbuehl

Feisty

  • Life CDs don't work in general with GMA X3100 .
  • Feisty did NOT use correct resolution with VESA on my machine
  • Technically, you can install xorg stuff from Gutsy and get it to work, even with 3d acceleration (there's a few threads on the forum) but it's a very ugly hack and might have other, weird side-effects.


Working /etc/default/acpi-support

The following acpi-support configuration will successfully suspend the 2.6.22 and 2.6.23 kernel even while docked (in doubt, try alsa-1.0.15 instead of backported driver). You might want to mess with unloading additional modules if it doesn't work for you:

# Comment the next line to disable ACPI suspend to RAM
ACPI_SLEEP=true

# Comment the next line to disable suspend to disk
ACPI_HIBERNATE=true

# Change the following to "standby" to use ACPI S1 sleep, rather than S3.
# This will save less power, but may work on more machines
ACPI_SLEEP_MODE=mem

# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES="usbhid ehci_hcd uhci_hcd kvm kvm_intel"

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""

# Should we save and restore state using the VESA BIOS Extensions?
#SAVE_VBE_STATE=true

# The file that we use to save the vbestate
VBESTATE=/var/lib/acpi-support/vbestate

# Should we attempt to warm-boot the video hardware on resume?
POST_VIDEO=false

# Save and restore video state?
SAVE_VIDEO_PCI_STATE=true

# Should we switch the screen off with DPMS on suspend?
#USE_DPMS=true

# Use Radeontool to switch the screen off? Seems to be needed on some machines
# RADEON_LIGHT=true

# Uncomment the next line to switch away from X and back again after resume.
# This is needed for some hardware, but should be unnecessary on most.
#DOUBLE_CONSOLE_SWITCH=true

# Set the following to "platform" if you want to use ACPI to shut down
# your machine on hibernation
HIBERNATE_MODE=shutdown

# Comment this out to disable screen locking on resume
#LOCK_SCREEN=true

# Uncomment this line to have DMA disabled before suspend and reenabled
# afterwards
# DISABLE_DMA=true

# Uncomment this line to attempt to reset the drive on resume. This seems
# to be needed for some Sonys
# RESET_DRIVE=true

# Add services to this list to stop them before suspend and restart them in
# the resume process.
STOP_SERVICES="mysql "

# Restart Infra Red services on resume - off by default as it crashes some
# machines
RESTART_IRDA=false

# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines
#ENABLE_LAPTOP_MODE=true

CategoryLaptop