You are not logged in.

#1 2008-12-17 15:46:31

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

volume keys do not work with new xorg on dell latitude x1

hi archers,

on my dell latitude x1 the volume function keys do not work properly with the new xorg.

i cannot adjust the volume (up, down, off, on) with the function keys.
the brightness works without any problems. also the osd appears.

in the gnome-keyboard-settings i tried latitude series and evdev-managed-keyboard without any success.

i followed the update instructions in the wiki and the forum posts.

so here are my configs.

/etc/X11/xorg.conf:

#Section "ServerFlags"
#    Option    "AutoAddDevices" "false"
#EndSection

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "SynapticsTouchpad"  "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "AIGLX" "true"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "xtrap"
    Load  "dbe"
    Load  "extmod"
    Load  "freetype"
    Load  "glx"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbLayout" "de"
    Option        "XkbModel" "latitude"
    Option        "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
   Identifier  "SynapticsTouchpad"
   Driver      "synaptics"
   Option      "AlwaysCore"        "true"  # send events to CorePointer
  #Option      "Device"            "/dev/input/mice"
   Option      "Device"            "/dev/psaux"
   Option      "Protocol"          "auto-dev"
   Option      "SHMConfig"         "false" # configurable at runtime? security risk
   Option      "LeftEdge"          "1700"  # x coord left
   Option      "RightEdge"         "5300"  # x coord right
   Option      "TopEdge"           "1700"  # y coord top
   Option      "BottomEdge"        "4200"  # y coord bottom
   Option      "FingerLow"         "25"    # pressure below this level triggers release
   Option      "FingerHigh"        "30"    # pressure above this level triggers touch
   Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
   Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
   Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
   Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
   Option      "CoastingSpeed"     "0.30"  # corner coasting speed
   Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
   Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
   Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
   Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
   Option      "AccelFactor"       "0.0020"    # acceleration factor for normal pointer movements
   Option      "VertTwoFingerScroll"   "true"    # vertical scroll anywhere with two fingers
   Option      "HorizTwoFingerScroll"  "true"    # horizontal scroll anywhere with two fingers
   Option       "TapButton1" "1"
   Option       "TapButton2" "3"
   #Option       "TapButton3" "3"
EndSection

Section "Monitor"
    #DisplaySize      260   160    # mm
    Identifier   "Monitor0"
    VendorName   "LCD"
    ModelName    "5800"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver        "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID       "PCI:0:2:0"
    Option      "XAANoOffscreenPixmaps" "true"
    Option      "DRI"     "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport  0 0
        Depth     32
        Modes      "1280x768"
    EndSubSection
EndSection

 Section "DRI"
       Group 0
       Mode 0666
 EndSection
 
 Section "Extensions"
       Option         "Composite"   "Enable"
 EndSection

also enabling / disabling hotplugging does not have any impact.

/etc/hal/fdi/policy/10-keymap.fdi

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">de</merge>
      <merge key="input.xkb.model" type="string">latitude</merge>
      <merge key="input.xkb.variant" type="string">nodeadkeys</merge>
    </match>
  </device>
</deviceinfo>

does anyone have an idea hot to get a grip on this crap;-)

thx & rgds
hcjl

Offline

#2 2008-12-17 16:13:09

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: volume keys do not work with new xorg on dell latitude x1

What happen if you delete xorg.conf? AFAIK, the new xorg can works without xorg.conf. But hal should be started and keyboard type changed to evdev and input-evdev should be installed.

Offline

#3 2008-12-17 16:24:52

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: volume keys do not work with new xorg on dell latitude x1

I'm using a Dell Inspiron 1525 and use xbindkeys to adjust the volume of alsa.

Install xbindkeys and add following to ~/.xbindkeysrc:

"amixer set Master 5+ unmute"
  XF86AudioRaiseVolume

"amixer set Master 5- unmute"
  XF86AudioLowerVolume

"amixer set 'Master' toggle"
  XF86AudioMute

Last edited by Duologic (2008-12-17 16:25:17)

Offline

#4 2008-12-18 14:35:12

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: volume keys do not work with new xorg on dell latitude x1

hi,

thanks for the fast replies. but i (=idiot) solved the problem by changing the keys in gnome via the gnome standard key settings. somehow the entries there have been changed during one of the last updates.

no clue what happened.

thx & rgds
hcjl

Offline

Board footer

Powered by FluxBB