You are not logged in.

#1 2007-01-19 20:43:47

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Various Dell Latitude C400 questions [solved]

Hi,

Well after reading the wiki, forums etc various sites, couple of questions/issues still remain:

Powermanagement in general, ie this laptop has p3-m cpu so what speedstepping tech should i use if any are even possible?

APM or ACPI? I'm using beyond kernel but i'm having little to no luck with ACPI doing anything...

Dual Monitors with i830 "gpu", already got this to work but is it possible to display different resolutions in both of the monitors? ie same as ATI extended desktop?

Gnome shutdowns buttons? archwiki just claims they "appear in menu" after doing sudo/visudo but nothing "appears"

Laptop shortcut keys for volume control etc, do they require some module to work and wonder what that little program that shows OSD style volume bar in ubuntu when changing volume levels is?

Logitech Webcam model: Quickcam communicate STX, anyone got this to work? (i'm guessing webcams are the new wifi configuration horror...)

Thats it, I've already learned so much with arch that after these my setup will be "complete" smile

So any user experiences, pointers, tips, links, best practices concerning
this laptop and these issues would be HIGHLY apreciated.

smile

Edit: Detailed answers and step by step quides would be even more higlhy
apreciated D

Offline

#2 2007-01-20 01:28:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Various Dell Latitude C400 questions [solved]

For laptop multimedia/volume button, I use keytouch (and keytouch-editor). There's packages in the community repo. It shows a OSD volume bar when the volume is changed.
There are also other apps like xbindkeys that can be used to configure these buttons.

dual monitor: Yes it's possible. I use xinerama with a 1280x768 laptop screen and a 1280x1024 LCD monitor. You need to use 2 screen sections with each the wanted resolution.  Here's my xorg.conf as an example:

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    Option "DefaultServerLayout" "Laptop"
#    Option "AIGLX" "False"
EndSection

# layout pour laptop seulement
# Start it with
# startx -- -layout Laptop
Section "ServerLayout"
    Identifier     "Laptop"
    Screen         0 "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics Touchpad"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

# layout pour ecran LCD 1280x1024
# Start it with
# startx -- -layout LCD
Section "ServerLayout"
    Identifier     "LCD"
    Screen         1 "Screen1"
    Screen         0 "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics Touchpad"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

# Xinerama server layout
# Start it with
# startx -- -layout Xinerama
Section "ServerLayout"
    Identifier     "Xinerama"
    Screen         0 "Screen0"
    Screen         1 "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics Touchpad"
    InputDevice    "USB Mouse" "CorePointer"
    Option         "Xinerama" "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/artwiz-fonts"
    FontPath     "/usr/share/fonts/speedo"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "i2c"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,ca(fr)"
    Option "XkbOptions" "grp:shifts_toggle"
#    Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver      "synaptics"
    Option      "Protocol" "auto-dev"
    Option      "ZAxisMapping" "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option      "SendCoreEvents" "true"
    Option      "LeftEdge"      "1700"
    Option      "RightEdge"     "5400"
    Option      "TopEdge"       "1700"
    Option      "BottomEdge"    "4200"
    Option      "FingerLow"     "25"
    Option      "FingerHigh"    "30"
    Option      "MaxTapTime"    "180"
    Option      "MaxTapMove"    "220"
    Option      "VertScrollDelta" "50"
    Option      "MinSpeed"      "0.06"
    Option      "MaxSpeed"      "0.12"
    Option      "AccelFactor" "0.0010"
    Option      "SHMConfig"     "on"
EndSection

Section "InputDevice"
    Identifier      "USB Mouse"
    Driver          "mouse"
    Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
    Option          "Protocol"              "ExplorerPS/2"
    Option          "ZAxisMapping"          "4 5"
    Option          "Buttons"               "5"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
#    Driver      "vesa"
    BusID       "PCI:0:2:0"
    VideoRam    65536
#    VideoRam   37000
    Screen      0
#    Option "CacheLines" "900"
#    Option "DDC" "false"
    Option "DevicePresence" "true"
    Option "MonitorLayout" "CRT, CRT+LFP"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "i810"
#    Driver      "vesa"
    BusID       "PCI:0:2:0"
    VideoRam    65536
#    VideoRam  37000
    Screen      1
#    Option "CacheLines" "900"
#    Option "DDC" "false"
    Option "DevicePresence" "true"
    Option "MonitorLayout" "CRT, CRT+LFP"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
    HorizSync    30.0 - 81.0
    VertRefresh  56.0 - 75.0
#    DisplaySize  347 260
    DisplaySize  433 260
EndSection

Section "Monitor"
    Identifier "Monitor1"
    Option "DPMS" "true"
    HorizSync    30.0 - 81.0
    VertRefresh  56.0 - 75.0
    DisplaySize  433 346
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1280x1024" "1280x768" 
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1280x1024" "1280x768"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1280x1024" "1280x768"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x1024" "1280x768"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x1024" "1280x768"
         ViewPort 0 0
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x1024" "1280x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x1024"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x1024"
         ViewPort 0 0
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x1024"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

#Section "Extensions"
#    Option "Composite" "Enable"
#    Option "RENDER"    "Enable"
#EndSection

Offline

#3 2007-01-20 01:48:40

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Various Dell Latitude C400 questions [solved]

I have a C400 too.

Mikko777 wrote:

Powermanagement in general, ie this laptop has p3-m cpu so what speedstepping tech should i use if any are even possible?

APM or ACPI? I'm using beyond kernel but i'm having little to no luck with ACPI doing anything...

I use cpufreq with acpi. Download them, put cpufreq in your daemons list (maybe acpi too, but i think cpufreq starts it), put acpi-cpufreq and cpufreq_ondemand in your modules list, and then edit /etc/conf.d/cpufreq to have min_freq="800MHz" and max_freq="1.2GHz".

This will automatically scale you up and down on demand.

Mikko777 wrote:

Laptop shortcut keys for volume control etc, do they require some module to work

I put the following in my ~/.xinitrc:

xmodmap -e "keycode 174 = SunAudioLowerVolume" &
xmodmap -e "keycode 176 = SunAudioRaiseVolume" &
xmodmap -e "keycode 160 = SunAudioMute" &

You can then bind these keys in your window manager to, say, "amixer sset 'Master' 2-". Just so you know, those keycodes were figured out by using xev.


I am a gated community.

Offline

#4 2007-01-20 17:43:10

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Various Dell Latitude C400 questions [solved]

Well thanks smile that was fast and already 80% solved...
I'll take some time to fiddle with my laptop tomorrow and
see how it goes  smile

Offline

#5 2007-01-24 20:34:57

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Various Dell Latitude C400 questions [solved]

Finally got the time to make this work.

Cpufreq works, keys work in kde out of the box, with the tweaks posted in other DE's also, xorg.conf works smile

My powermanagement now is DPMS in xorg.conf for monitor, laptop-mode in daemons for harddisk etc and cpufreq for CPU and im using ACPI.

Haven't checked the webcam yet as its "low priority" anyways.

Although one weird thing i got is that wireless network fails to connect to accesspoint 50% of the time if I use 128bit WEP key?
I got network daemon backgrounded though with @ so does it try to connect too fast or what?

Offline

#6 2007-01-24 20:55:10

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: Various Dell Latitude C400 questions [solved]

Hey Mikko, you should look into Merged Framebuffer for dual monitor support.  It works a lot better (and easier to set up) on my Acer Aspire 3000 with SiS graphics.  It will let you have 2 different resolutions for each monitor.

Offline

Board footer

Powered by FluxBB