Bug 13180

Summary: Xorg crashes with Logitech BT Desktop connected via evdev, kbd/mouse drivers are OK
Product: xorg Reporter: CIJOML CIJOMLovic CIJOMLov <cijoml>
Component: Input/evdevAssignee: Zephaniah E. Hull <warp-spam+fdo>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: blocker    
Priority: highest    
Version: 7.2 (2007.02)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log-mouse
none
Xorg.0.log-keyboard
none
/proc/bus/input/devices none

Description CIJOML CIJOMLovic CIJOMLov 2007-11-11 05:00:37 UTC
Hi,

Xorg crashes using evdev driver with my keyboard/mouse Bluetooth set:

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x81) [0x80c82f1]
1: [0xb7fa0420]
2: /usr/bin/X(xf86eqProcessInputEvents+0x1f7) [0x80dd8b7]
3: /usr/bin/X(ProcessInputEvents+0x29) [0x80c9609]
4: /usr/bin/X(Dispatch+0x72) [0x808eef2]
5: /usr/bin/X(main+0x47e) [0x8076e5e]
6: /lib/libc.so.6(__libc_start_main+0xe0) [0xb7db4050]
7: /usr/bin/X(FontFileCompleteXLFD+0x1e1) [0x80761e1]


Backtrace:
0: /usr/bin/X(xf86SigHandler+0x81) [0x80c82f1]
1: [0xb7efe420]
2: /usr/bin/X(main+0x65c) [0x807703c]
3: /lib/libc.so.6(__libc_start_main+0xe0) [0xb7d12050]
4: /usr/bin/X(FontFileCompleteXLFD+0x1e1) [0x80761e1]
Comment 1 CIJOML CIJOMLovic CIJOMLov 2007-11-11 05:02:20 UTC
Created attachment 12449 [details]
Xorg.0.log-mouse

Mouse configured like this:

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver         "evdev"
        #Driver          "mouse"
        Option         "Vendor" "046d"
        Option         "Product" "b003"
        Option          "CorePointer"
        #Option          "Device"                "/dev/input/mice"
        #Option          "Protocol"              "ExplorerPS/2"
EndSection
Comment 2 CIJOML CIJOMLovic CIJOMLov 2007-11-11 05:03:02 UTC
Created attachment 12450 [details]
Xorg.0.log-keyboard

Section "InputDevice"
        Identifier      "Generic Keyboard"
        #Driver          "kbd"
        Driver         "evdev"
        Option         "Vendor" "046d"
        Option         "Product" "b307"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "cz"
EndSection
Comment 3 CIJOML CIJOMLovic CIJOMLov 2007-11-11 05:03:51 UTC
Created attachment 12451 [details]
/proc/bus/input/devices 

list of devices in /proc/bus/input/devices
Comment 4 Peter Hutterer 2008-02-27 17:59:37 UTC
(In reply to comment #0)
> Hi,
> 
> Xorg crashes using evdev driver with my keyboard/mouse Bluetooth set:
> 
> Backtrace:
> 0: /usr/bin/X(xf86SigHandler+0x81) [0x80c82f1]
> 1: [0xb7fa0420]
> 2: /usr/bin/X(xf86eqProcessInputEvents+0x1f7) [0x80dd8b7]
> 3: /usr/bin/X(ProcessInputEvents+0x29) [0x80c9609]
> 4: /usr/bin/X(Dispatch+0x72) [0x808eef2]
> 5: /usr/bin/X(main+0x47e) [0x8076e5e]
> 6: /lib/libc.so.6(__libc_start_main+0xe0) [0xb7db4050]
> 7: /usr/bin/X(FontFileCompleteXLFD+0x1e1) [0x80761e1]
>

this backtrace would indicate that it's actually in the dix.
is this still a problem with a current version and if so - can you get line number where it occurs?

Comment 5 CIJOML CIJOMLovic CIJOMLov 2008-02-27 23:47:12 UTC
Hi there,

YES I use Debian testing and git driver and still see this problem...
Comment 6 CIJOML CIJOMLovic CIJOMLov 2008-02-28 00:22:53 UTC
Hmm now I have problem compile evdev driver against Debian testing xorg...


evdev_axes.c: In function 'EvdevAxesDoRotation':
evdev_axes.c:334: error: 'AbsoluteClassRec' undeclared (first use in this functi
on)
evdev_axes.c:334: error: (Each undeclared identifier is reported only once
evdev_axes.c:334: error: for each function it appears in.)
evdev_axes.c:334: error: 'dabs' undeclared (first use in this function)
evdev_axes.c:334: error: 'struct _DeviceIntRec' has no member named 'absolute'
evdev_axes.c: In function 'EvdevAxesSynRep':
evdev_axes.c:412: error: 'AbsoluteClassRec' undeclared (first use in this functi
on)
evdev_axes.c:412: error: 'dabs' undeclared (first use in this function)
evdev_axes.c:412: error: 'struct _DeviceIntRec' has no member named 'absolute'
evdev_axes.c:526: warning: implicit declaration of function 'xf86PostMotionEvent                                           P'
evdev_axes.c: In function 'EvdevAxesInit':
evdev_axes.c:863: error: 'AbsoluteClassRec' undeclared (first use in this functi                                           on)
evdev_axes.c:863: error: 'dev_abs' undeclared (first use in this function)
evdev_axes.c:874: error: 'GetMotionHistory' undeclared (first use in this functi                                           on)
evdev_axes.c:875: warning: implicit declaration of function 'GetMotionHistorySiz                                           e'
evdev_axes.c:902: warning: implicit declaration of function 'InitAbsoluteClassDe                                           viceStruct'
evdev_axes.c:903: error: 'struct _DeviceIntRec' has no member named 'absolute'
evdev_axes.c:905: error: 'struct _DeviceIntRec' has no member named 'absolute'
evdev_axes.c:906: error: 'struct _DeviceIntRec' has no member named 'absolute'
evdev_axes.c:907: error: 'struct _DeviceIntRec' has no member named 'absolute'
evdev_axes.c:908: error: 'struct _DeviceIntRec' has no member named 'absolute'
make[2]: *** [evdev_drv_la-evdev_axes.lo] Error 1
make[2]: Leaving directory `/usr/src/xf86-input-evdev/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xf86-input-evdev'
make: *** [all] Error 2
Comment 7 Peter Hutterer 2008-02-28 00:50:30 UTC
(In reply to comment #6)
> Hmm now I have problem compile evdev driver against Debian testing xorg...

what version of X is in testing? if its xserver 1.4 (X11R7.3) then evdev should compile. Otherwise you need the 1.1 branch of evdev IIRC.


> evdev_axes.c:526: warning: implicit declaration of function 'xf86PostMotionEventP'

this indicates that your X headers are xserver 1.3.
Comment 8 CIJOML CIJOMLovic CIJOMLov 2008-02-28 04:46:34 UTC
It is Xorg 7.2
Comment 9 Peter Hutterer 2008-04-14 23:11:45 UTC
(In reply to comment #8)
> It is Xorg 7.2

tbh. with 7.4 coming out in a few days we probably won't be able to fix this one in 7.2. Lack of manpower, simply.

Can you please upgrade to a newer version, if the bug persists, please reopen.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.