You are not logged in.

#1 2006-03-11 18:43:37

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

evdev

anyone use evdev with xorg7? when i try to start xorg i get the following error

(**) Gunze touchscreen: Device: "/dev/input/event2"
(II) Gunze touchscreen: Found mouse buttons
(WW) Gunze touchscreen: Don't know how to use device
(EE) PreInit failed for input device "Gunze touchscreen"
(II) UnloadModule: "evdev"
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Backtrace:
0: Xorg(xf86SigHandler+0x88) [0x80ba4d8]
1: [0xffffe420]
2: /lib/tls/libc.so.6(malloc+0x7f) [0xb7d4b5df]
3: Xorg(Xalloc+0x27) [0x81b3777]
4: Xorg(AssignTypeAndName+0x37) [0x815f2f7]
5: Xorg(xf86ActivateDevice+0x78) [0x80d53b8]
6: Xorg(InitInput+0x38) [0x80a1878]
7: Xorg(main+0x368) [0x806fc38]
8: /lib/tls/libc.so.6(__libc_start_main+0xdb) [0xb7cf9d6b]
9: Xorg(FontFileCompleteXLFD+0x99) [0x806f2b1]

Fatal server error:
Caught signal 11.  Server aborting

(WW) I810(0): Successfully set original devices
(WW) I810(0): Setting the original video mode instead of restoring
    the saved state
(II) I810(0): BIOS call 0x5f05 not supported, setting refresh with VBE 3 method.
(II) I810(0): xf86UnbindGARTMemory: unbind key 7
(II) I810(0): xf86UnbindGARTMemory: unbind key 0
(II) I810(0): xf86UnbindGARTMemory: unbind key 1
(II) I810(0): xf86UnbindGARTMemory: unbind key 3
(II) I810(0): xf86UnbindGARTMemory: unbind key 2
(II) I810(0): xf86UnbindGARTMemory: unbind key 4
(II) I810(0): xf86UnbindGARTMemory: unbind key 5
(II) I810(0): xf86UnbindGARTMemory: unbind key 6
(WW) I810(0): Successfully set original devices (2)

here is my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Inputdevice     "gunze touchscreen"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/Type1/"
    #FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath     "/usr/share/fonts/75dpi/"
    FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "type1"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
              Identifier      "Gunze touchscreen"
              Driver          "evdev"
              Option          "SendCoreEvents"        "true"
              Option          "Device"                "/dev/input/event2"
              Option          "minx"                  "55"
              Option          "maxx"                  "982"
              Option          "miny"                  "85"
              Option          "maxy"                  "982"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
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
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "Intel Corp."
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:0:2:0"
    Option        "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "800x600" 
    EndSubSection
EndSection

Section "dri"
    mode 0666
EndSection

Section "Extensions"
    Option "Composite" "true"
EndSection

Offline

#2 2006-03-11 18:46:28

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: evdev

forgot to mention i'm using xf86-input-evdev 1.0.0.5-1 and i have evdev compiled into my kernel. evtest seems to work fine too.

Offline

#3 2006-03-11 22:01:27

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: evdev

I'm using it without problems, but not for a touchpad or anything.  I have an MX510 mouse.  It does detect the number of buttons incorrectly, but I went along with it and everything seems to be working properly.  Probably not much help for ya...

Offline

#4 2006-03-12 23:50:50

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: evdev

fixed the problem. Added a protocol line to my xorg.conf and it worked.

Offline

Board footer

Powered by FluxBB