[Bug 326688] [NEW] Xserver crashes when starting any kind of session from kdm/gdm with a configured aiptek tablet
Johannes Wienke
languitar at semipol.de
Sat Feb 7 21:31:25 UTC 2009
Public bug reported:
Binary package hint: xserver-xorg-input-aiptek
I can't start any kind of session (I tried kde, twm) from a display
manager (kdm/gdm) if I have configured an aiptek tablet (using hal).
After entering user information in the display manager X restarts. The
relevant part of the Xorg log looks like this:
(II) LoadModule: "aiptek"
(II) Loading /usr/lib/xorg/modules/input//aiptek_drv.so
(II) Module aiptek: vendor="X.Org Foundation"
compiled for 1.4.99.905, module version = 1.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(II) xf86AiptekInit(): begins
(**) xf86AiptekConfig: device not shared btw Aiptek and Macintosh mouse button emulation
(**) xf86AiptekConfig: device not shared btw Aiptek and ImPS/2 Generic Wheel Mouse
(**) xf86AiptekConfig: device not shared btw Aiptek and AT Translated Set 2 keyboard
(**) xf86AiptekConfig: device not shared btw Aiptek and Aiptek
(**) Aiptek: always reports core events
(**) Option "Device" "/dev/input/event6"
(==) HID Device name: "Aiptek"
(==) HID Driver Version: 1.0.0
(==) HID Driver knows it has 1 devices configured
(==) HID Driver is using 26 as the fd
>From ioctl() xCapacity=3999
>From ioctl() yCapacity=2999
(**) Aiptek device is /dev/input/event6
(**) Option "DebugLevel" "100"
(**) Debug level set to 100
(**) Aiptek is in absolute mode
(**) Option "USB" "on"
(**) Aiptek: reading USB link
(**) Option "KeepShape" "on"
(**) Aiptek: keeps shape
(**) Option "ZMax" "511"
(**) Aiptek: ZMax/MaxZ = 511
(**) Option "BaudRate" "9600"
(**) Aiptek: BaudRate 9600
(**) Aiptek: xf86AiptekInit() finished
(II) XINPUT: Adding extended input device "Aiptek" (type: Stylus)
xf86AiptekProc() type=stylus flags=193 request=0
xf86AiptekProc request=INIT
xf86AiptekControlProc
In xf86AiptekOpenDevice, with fd=-1
(==) HID Device name: "Aiptek"
(==) HID Driver Version: 1.0.0
(==) HID Driver knows it has 1 devices configured
(==) HID Driver is using 26 as the fd
>From ioctl() xCapacity=3999
>From ioctl() yCapacity=2999
(**) xTop invalid; adjusted to 0
(**) yTop invalid; adjusted to 0
(**) xBottom invalid; adjusted to 3999
(**) yBottom invalid; adjusted to 2999
(**) ScreenNo invalid; adjusted to 0
Screen 0: screenRatio = 1.25, tabletRatio = 1.33
Screen 0: 'X' Gap of 250 computed
xf86AiptekProc Success request=0
xf86AiptekProc() type=stylus flags=193 request=1
xf86AiptekProc request=ON
Able to open aiptek device
xf86AiptekProc Success request=1
Error reading Aiptek tablet: No such device
(II) config/hal: removing device Aiptek
xf86AiptekProc() type=stylus flags=193 request=2
xf86AiptekProc request=OFF
xf86AiptekProc Success request=2
xf86AiptekProc() type=stylus flags=193 request=3
xf86AiptekProc request=CLOSE
xf86AiptekProc Success request=3
xf86AiptekUninit
Backtrace:
0: /usr/bin/X(xf86SigHandler+0x65) [0x480f35]
1: /lib/libc.so.6 [0x7f3a1b832060]
2: /usr/lib/xorg/modules/input//aiptek_drv.so [0x7f3a17e0c623]
3: /usr/lib/xorg/modules/input//aiptek_drv.so [0x7f3a17e0c9a3]
4: /usr/bin/X(DeleteInputDeviceRequest+0x3b) [0x49823b]
5: /usr/bin/X [0x466d5e]
6: /usr/bin/X [0x466def]
7: /usr/lib/libhal.so.1 [0x7f3a1c7d5ed9]
8: /lib/libdbus-1.so.3(dbus_connection_dispatch+0x33b) [0x7f3a1c59b90b]
9: /lib/libdbus-1.so.3 [0x7f3a1c59bccb]
10: /usr/bin/X [0x466a0b]
11: /usr/bin/X(WakeupHandler+0x4b) [0x45126b]
12: /usr/bin/X(WaitForSomething+0x1ef) [0x4eb01f]
13: /usr/bin/X(Dispatch+0x7f) [0x44d3ff]
14: /usr/bin/X(main+0x45d) [0x4336fd]
15: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f3a1b81d466]
16: /usr/bin/X [0x432ad9]
Saw signal 11. Server aborting.
The hal fdi I use is this one:
<?xml version="1.0" encoding="UTF-8" ?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="Aiptek">
<merge key="input.x11_driver" type="string">aiptek</merge>
<merge key="input.x11_options.Type" type="string">stylus</merge>
<!-- these options are not relevant for the crash -->
<merge key="input.x11_options.Mode" type="string">absolute</merge>
<merge key="input.x11_options.PressCurve" type="string">0,5,95,100</merge>
<merge key="input.x11_options.Cursor" type="string">stylus</merge>
<merge key="input.x11_options.USB" type="string">on</merge>
<merge key="input.x11_options.KeepShape" type="string">on</merge>
<merge key="input.x11_options.zMax" type="string">511</merge>
<merge key="input.x11_options.debugLevel" type="string">100</merge>
</match>
</match>
</device>
</deviceinfo>
Everything works if the tablet is not plugged in. Moreover I've noticed these things:
1. I can start sessions if the driver is changed to evdev
2. I can start sessions if the driver is still aiptek but the options Type=stylus is not set. Unfortunately without this option the tablet does not work
3. All options below the comment in the fdi file don't affect the problem
languitar at bird /usr/local/src $ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
ii xserver-xorg 1:7.4~5ubuntu3 the X.Org X server
ii xserver-xorg-core 2:1.5.2-2ubuntu3.00~ppa1 Xorg X server - core server
ii xserver-xorg-input-aiptek 1:1.1.1-1build1 X.Org X server -- Aiptek input driver
ii xserver-xorg-input-all 1:7.4~5ubuntu3 the X.Org X server -- input driver metapackage
ii xserver-xorg-input-evdev 1:2.0.99+git20080912-0ubuntu6 X.Org X server -- evdev input driver
I've also checked that the problem is not related to the ppa version of
xserver-xorg-core. It also happens with the official ubuntu version.
** Affects: xserver-xorg-input-aiptek (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Binary package hint: xserver-xorg-input-aiptek
I can't start any kind of session (I tried kde, twm) from a display
manager (kdm/gdm) if I have configured an aiptek tablet (using hal).
After entering user information in the display manager X restarts. The
relevant part of the Xorg log looks like this:
(II) LoadModule: "aiptek"
(II) Loading /usr/lib/xorg/modules/input//aiptek_drv.so
(II) Module aiptek: vendor="X.Org Foundation"
compiled for 1.4.99.905, module version = 1.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(II) xf86AiptekInit(): begins
(**) xf86AiptekConfig: device not shared btw Aiptek and Macintosh mouse button emulation
(**) xf86AiptekConfig: device not shared btw Aiptek and ImPS/2 Generic Wheel Mouse
(**) xf86AiptekConfig: device not shared btw Aiptek and AT Translated Set 2 keyboard
(**) xf86AiptekConfig: device not shared btw Aiptek and Aiptek
(**) Aiptek: always reports core events
(**) Option "Device" "/dev/input/event6"
(==) HID Device name: "Aiptek"
(==) HID Driver Version: 1.0.0
(==) HID Driver knows it has 1 devices configured
(==) HID Driver is using 26 as the fd
From ioctl() xCapacity=3999
From ioctl() yCapacity=2999
(**) Aiptek device is /dev/input/event6
(**) Option "DebugLevel" "100"
(**) Debug level set to 100
(**) Aiptek is in absolute mode
(**) Option "USB" "on"
(**) Aiptek: reading USB link
(**) Option "KeepShape" "on"
(**) Aiptek: keeps shape
(**) Option "ZMax" "511"
(**) Aiptek: ZMax/MaxZ = 511
(**) Option "BaudRate" "9600"
(**) Aiptek: BaudRate 9600
(**) Aiptek: xf86AiptekInit() finished
(II) XINPUT: Adding extended input device "Aiptek" (type: Stylus)
xf86AiptekProc() type=stylus flags=193 request=0
xf86AiptekProc request=INIT
xf86AiptekControlProc
In xf86AiptekOpenDevice, with fd=-1
(==) HID Device name: "Aiptek"
(==) HID Driver Version: 1.0.0
(==) HID Driver knows it has 1 devices configured
(==) HID Driver is using 26 as the fd
From ioctl() xCapacity=3999
From ioctl() yCapacity=2999
(**) xTop invalid; adjusted to 0
(**) yTop invalid; adjusted to 0
(**) xBottom invalid; adjusted to 3999
(**) yBottom invalid; adjusted to 2999
(**) ScreenNo invalid; adjusted to 0
Screen 0: screenRatio = 1.25, tabletRatio = 1.33
Screen 0: 'X' Gap of 250 computed
xf86AiptekProc Success request=0
xf86AiptekProc() type=stylus flags=193 request=1
xf86AiptekProc request=ON
Able to open aiptek device
xf86AiptekProc Success request=1
Error reading Aiptek tablet: No such device
(II) config/hal: removing device Aiptek
xf86AiptekProc() type=stylus flags=193 request=2
xf86AiptekProc request=OFF
xf86AiptekProc Success request=2
xf86AiptekProc() type=stylus flags=193 request=3
xf86AiptekProc request=CLOSE
xf86AiptekProc Success request=3
xf86AiptekUninit
Backtrace:
0: /usr/bin/X(xf86SigHandler+0x65) [0x480f35]
1: /lib/libc.so.6 [0x7f3a1b832060]
2: /usr/lib/xorg/modules/input//aiptek_drv.so [0x7f3a17e0c623]
3: /usr/lib/xorg/modules/input//aiptek_drv.so [0x7f3a17e0c9a3]
4: /usr/bin/X(DeleteInputDeviceRequest+0x3b) [0x49823b]
5: /usr/bin/X [0x466d5e]
6: /usr/bin/X [0x466def]
7: /usr/lib/libhal.so.1 [0x7f3a1c7d5ed9]
8: /lib/libdbus-1.so.3(dbus_connection_dispatch+0x33b) [0x7f3a1c59b90b]
9: /lib/libdbus-1.so.3 [0x7f3a1c59bccb]
10: /usr/bin/X [0x466a0b]
11: /usr/bin/X(WakeupHandler+0x4b) [0x45126b]
12: /usr/bin/X(WaitForSomething+0x1ef) [0x4eb01f]
13: /usr/bin/X(Dispatch+0x7f) [0x44d3ff]
14: /usr/bin/X(main+0x45d) [0x4336fd]
15: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f3a1b81d466]
16: /usr/bin/X [0x432ad9]
Saw signal 11. Server aborting.
The hal fdi I use is this one:
<?xml version="1.0" encoding="UTF-8" ?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="Aiptek">
<merge key="input.x11_driver" type="string">aiptek</merge>
<merge key="input.x11_options.Type" type="string">stylus</merge>
<!-- these options are not relevant for the crash -->
<merge key="input.x11_options.Mode" type="string">absolute</merge>
<merge key="input.x11_options.PressCurve" type="string">0,5,95,100</merge>
<merge key="input.x11_options.Cursor" type="string">stylus</merge>
<merge key="input.x11_options.USB" type="string">on</merge>
<merge key="input.x11_options.KeepShape" type="string">on</merge>
<merge key="input.x11_options.zMax" type="string">511</merge>
<merge key="input.x11_options.debugLevel" type="string">100</merge>
</match>
</match>
</device>
</deviceinfo>
Everything works if the tablet is not plugged in. Moreover I've noticed these things:
1. I can start sessions if the driver is changed to evdev
- 2. I can start sessions if the driver is still aiptek but the options Type=style is not set. Unfortunately without this option the tablet does not work
+ 2. I can start sessions if the driver is still aiptek but the options Type=stylus is not set. Unfortunately without this option the tablet does not work
3. All options below the comment in the fdi file don't affect the problem
languitar at bird /usr/local/src $ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
ii xserver-xorg 1:7.4~5ubuntu3 the X.Org X server
ii xserver-xorg-core 2:1.5.2-2ubuntu3.00~ppa1 Xorg X server - core server
ii xserver-xorg-input-aiptek 1:1.1.1-1build1 X.Org X server -- Aiptek input driver
ii xserver-xorg-input-all 1:7.4~5ubuntu3 the X.Org X server -- input driver metapackage
ii xserver-xorg-input-evdev 1:2.0.99+git20080912-0ubuntu6 X.Org X server -- evdev input driver
I've also checked that the problem is not related to the ppa version of
xserver-xorg-core. It also happens with the official ubuntu version.
--
Xserver crashes when starting any kind of session from kdm/gdm with a configured aiptek tablet
https://bugs.launchpad.net/bugs/326688
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list