segfault: nsc driver (recent geode LX patch) and binstead touch screen driver
Markus Heller
markus at relix.de
Sun Nov 12 11:59:52 PST 2006
Dear list,
as you may have noticed, I successfully tested Rene Rebe's patch for the nsc
driver to run on the Geode LX. I got rotation running, too.
Now I am trying to solve the next task: I'm about to connect a Zytronic touch
screen to the geode board via the ttyS0 serial interface.
When I use the vesa driver, the Zytronic driver (binstead) will be correctly
loaded and everything is fine.
However with the newly patched nsc driver, loading the binstead driver results
in a segmentation fault.
I need to explain that the binstead driver seems quite old already and was
originally written for xfree64. Is this likely to cause the incompatibility?
Are there any debug switches I could enable in order to get more diagnoistic
information?
Here's the output from "startx":
>>>>>
(==) Using config file: "/etc/X11/xorg.conf"
binstead: BEGIN BinsteadPlug()
binstead: END BinsteadPlug()
(EE) AIGLX: Screen 0 is not DRI capable
binstead: BEGIN BinsteadPreInit( theDriver = 0x81fc780 , theDevice =
0x81e6ff0 , theFlags = 0 )
binstead: loaded INI.
binstead:
binstead: aA00 0.032378
binstead: aA01 0.018483
binstead: aB00 0.935209
binstead: aB01 0.023548
binstead:
binstead: Orient BTop.
binstead: Saved INI.
binstead: Product:Linux Mouse Assist
binstead: Version:LMA7.0.0.0
binstead: Copyright (c)1997-2002, Binstead Designs Ltd.
binstead: Binstead Designs Ltd.
binstead: 15 Seely Rd.,
binstead: Nottingham,
binstead: NG7 1NU,
binstead: England.
binstead: +44-(0)-115-9412446.
binstead: Patents(US):4954823,5844506,6137427.
binstead: DebugLevel = 0
binstead: MouseControl = 3
binstead: END 0x82519c8 = BinsteadPreInit()
Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x84) [0x80c4354]
1: [0xb7fcc420]
2: /usr/bin/X11/X(InitInput+0x38) [0x809f6a8]
3: /usr/bin/X11/X(main+0x35f) [0x806e56f]
4: /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7ddcea8]
5: /usr/bin/X11/X(FontFileCompleteXLFD+0xa9) [0x806d9d1]
Fatal server error:
Caught signal 11. Server aborting
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
<<<<<
Here are the relevant extracts from /var/log/Xorg.0.log:
>>>>>
....
(II) LoadModule: "binstead"
(II) Loading /usr/lib/xorg/modules/input/binstead_drv.so
(II) Module binstead: vendor="X.Org Foundation"
compiled for 4.3.99.902, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
binstead: BEGIN BinsteadPlug()
binstead: END BinsteadPlug()
....
nstead: BEGIN BinsteadPreInit( theDriver = 0x81fc780 , theDevice = 0x81e6ff0 ,
theFlags = 0 )
(**) Option "SendCoreEvents"
(**) Touch: always reports core events
binstead: loaded INI.
binstead:
binstead: aA00 0.032378
binstead: aA01 0.018483
binstead: aB00 0.935209
binstead: aB01 0.023548
binstead:
binstead: Orient BTop.
binstead: Saved INI.
binstead: Product:Linux Mouse Assist
binstead: Version:LMA7.0.0.0
binstead: Copyright (c)1997-2002, Binstead Designs Ltd.
binstead: Binstead Designs Ltd.
binstead: 15 Seely Rd.,
binstead: Nottingham,
binstead: NG7 1NU,
binstead: England.
binstead: +44-(0)-115-9412446.
binstead: Patents(US):4954823,5844506,6137427.
binstead: DebugLevel = 0
binstead: MouseControl = 3
binstead: END 0x82519c8 = BinsteadPreInit()
Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x84) [0x80c4354]
1: [0xb7fcc420]
2: /usr/bin/X11/X(InitInput+0x38) [0x809f6a8]
3: /usr/bin/X11/X(main+0x35f) [0x806e56f]
4: /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7ddcea8]
5: /usr/bin/X11/X(FontFileCompleteXLFD+0xa9) [0x806d9d1]
Fatal server error:
Caught signal 11. Server aborting
<<<<<
Obviously there are some collisions between the binstead driver and the nsc
driver. I'd be very thankful on any ideas and hints on how to diagnose any
further.
Best wishes,
Markus
More information about the xorg
mailing list