You are not logged in.

#1 2009-01-01 21:09:13

alphara
Member
Registered: 2009-01-01
Posts: 3

Strange Xorg "zoom" error

Hi guys.

I just changed my distribution from Ubuntu to Archlinux, and now i`m kind of desperate because i cannot set up my X-Server. However i read the xorg and evdev guide, but it doesnt work the way i want.

First of all some information about my computer: Its a IBM thinkpad T40 with a german keyboard.
My Xorg.conf:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    Option "AutoAddDevices" "false"
EndSection

Section "Files"
    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/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    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      "kbd"
        Option      "CoreKeyboard"
#    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de"
    Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

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

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier    "Monitor0"
    Vendorname    "Generic LCD Display"
    Modelname    "LCD Panel 1024x768"
    Horizsync    31.5-48.0
    Vertrefresh    56.0-65.0
    modeline    "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
    modeline    "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    modeline    "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    modeline    "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
    Gamma        1.0
EndSection

# Auto-generated by Archie mkxcfg


Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    Busid        "PCI:1:0:0"
    Option "XAANoOffscreenPixmaps" "true"
    Screen 0
EndSection

Section "DRI"
    Group    "video"
    Mode    0666
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth 24
        Virtual 1024 768
        modes "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

You may wonder why XkbRules is commented, but if i dont comment it or i set AutoAddDevices to true i have a very strange zoom effect whenever i press a key. The Issue i have is also described here http://ubuntuforums.org/archive/index.php/t-436575.html. Unfortunately there is no resolution. If i comment it and set AutoAddDevices to false i have an other issue: All the special characters wich are activated by the right Alt key are now on the umlaut-keys. 

I tried so many things and i have absolutely no idea whats wrong.  Maybe you guys can help me.

Thanks in advance

Alphara

Offline

#2 2009-01-01 23:04:44

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Strange Xorg "zoom" error

Alphara,

I don't have a thinkpad, so I dont know about any special quirks for it.

Howewer, have you tried to start X without an xorg.conf, and build up from there ?

Move xorg.conf out of the way and give it a try.

You will also need to install xf86-input-evdev

Mektub

Last edited by Mektub (2009-01-01 23:08:34)


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2009-01-01 23:35:44

alphara
Member
Registered: 2009-01-01
Posts: 3

Re: Strange Xorg "zoom" error

Hi Mektub.

The one I posted is a (modified) generated one, but I have tried it with some other generated ones and I have tried to built it up by myself several times but both didn't work. And the xf86-input-evdev is already installed.

The xorg.conf I posted is the one that worked best so far. So either I have to get my right Alt-key working or ,if I do it with evdev, i have to get rid of the "zoom effect".   

But anyway thanks for your help. Maybe you have another idea.

Alphara

Offline

#4 2009-01-01 23:42:40

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Strange Xorg "zoom" error

alphara,

still, you dont say if you tried without a xorg.conf.

How did you generate the xorg.conf ? hwd ?

Try X -configure.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2009-01-02 00:35:51

alphara
Member
Registered: 2009-01-01
Posts: 3

Re: Strange Xorg "zoom" error

Yes i tried it without a xorg.conf. The result was that i have no keyboard at all neutral. If i use X -configure the result is the same.

I created my current xorg.conf with hwd. I just added some values like the modelines for my monitor.

By the way, thats the result of "hal-device|grep -B 15 input.x11.driver":

[...]
56: udi = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0_logicaldev_input'         
  input.xkb.rules = 'xorg'  (string)                                                               
  input.xkb.model = 'pc105'  (string)                                                             
  info.capabilities = { 'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button' } (string list)                                                                                             
  info.subsystem = 'input'  (string)                                                               
  input.xkb.layout = 'de'  (string)                                                               
  info.parent = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0'  (string)         
  info.product = 'HID 0a5c:4502'  (string)                                                         
  input.xkb.variant = ''  (string)                                                                 
  info.category = 'input'  (string)                                                               
  info.udi = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0_logicaldev_input'  (string)                                                                                               
  linux.device_file = '/dev/input/event7'  (string)                                               
  linux.sysfs_path = '/sys/class/input/input7/event7'  (string)                                   
  input.device = '/dev/input/event7'  (string)                                                     
  input.product = 'HID 0a5c:4502'  (string)                                                       
  input.x11_driver = 'evdev'  (string)
[...]

(The result is quite long, so i just copied the part with the keyboard)

Thanks

Alphara

Offline

Board footer

Powered by FluxBB