Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-26 Thread Stefan Strobl

Andrew C Aitchison wrote:


On Tue, 25 Oct 2005, Stefan Strobl wrote:
 

There are some more messages which I'm not able to capture. Logging to a 
file didn't work. After restarting the file's empty...
   



How hard is the restart - power button, or just ctrl-alt-delete
(or ctrl-alt-f1, ctrl-alt-delete) ?
 


I have to power cycle the machine...

When working with lockups I sometimes set a 5 minute cron job to sync the 
disks:

0,10,20,30,40,50 * * * * /bin/sync
5,15,25,35,45,55 * * * * /bin/sync

then when it locks up I wait five minutes before pressing the power 
button. This often gives the machine a chance to write the log to disk.
 


I don't quite understand?
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Marc Aurele La France wrote:


On Fri, 21 Oct 2005, Stefan Strobl wrote:

Trying to run XF86Setup doesn't work though. When trying to swith to 
graphics mode I get the following error:



_X11TransSocketUNIXConnect: Can't connect: errno = 111



and after some attempts it gives up saying:



Unable to communicate with X server!


It looks to me your kernel doesn't support unix sockets.

Thanks for the response. I'm quite sure my kernel does support unix 
sockets. It's a standard SuSE 8.1 kernel and I checked the .config which 
has the Unix domain sockets option enabled.


Any other ideas?
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Sergey Babkin wrote:


On Fri, 21 Oct 2005, Stefan Strobl wrote:
   


Thanks for the help. Indeed it's compiling without errors now.
Trying to run XF86Setup doesn't work though. When trying to swith to graphics 
mode I get the following error:
 


_X11TransSocketUNIXConnect: Can't connect: errno = 111
 


and after some attempts it gives up saying:
 


Unable to communicate with X server!
 


Any ide what's going wrong now?
 



More likely there are some problems with permissions. 
The permissions to the X server Unix sockets are

a tricky issue, too little - and you can't connect,
too much - and you have a security issue.
 

I'm running everything as root. So permissions shouldn't be a problem at 
this point, right?



Of course, another stupid question is: Is an X server
running on this machine at all?

Well, I expected XF86Setup to do that for me. I just ran 'make World' 
and 'make install'. Now I wanted to run XF86Setup for it to configure my 
X server before starting it???
I also tried xf86config which runs through flawlessly but when trying to 
'startx' gives me a blank screen and it then hangs...
Sorry for my unqualified information but I'm quite new to XFree86.  If 
there's any further information I can provide I'd be happy to do so. I'm 
quite desparate of getting this XFree86 3.3.6 up running


BTW. I don't really know about the meaning of this but there's *_no_* 
entry like the following when running 'netstat -an':

unix   2   [ACC]   STREAMLISTENING427/tmp/.X11-unix/X0
Should there be one like this (I've read so somewhere else...)?

Thanks a lot.
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Loic Grenie wrote:


   You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
 usually) by make install. Just run the binary, it should work. To come
 back to a text terminal, hit Ctrl-Alt-F1.

 Loïc Grenié
 


Thanks.
I've no binary called XFree86. When executing XF86_SVGA, that's the 
server I want to use, then I get a blank screen and the system hangs. I 
cannot switch terminals after that. The keyboard doesn't react at all 
anymore. Before the system goes haywire it prints some messages on the 
screen. They seem normal so far but they go so quickly that I cannot 
capture anything


Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Dr Andrew C Aitchison wrote:


On Tue, 25 Oct 2005, Stefan Strobl wrote:
 


Loic Grenie wrote:
   


  You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
usually) by make install. Just run the binary, it should work. To come
back to a text terminal, hit Ctrl-Alt-F1.

Lo�c Greni�

 


Thanks.
I've no binary called XFree86. When executing XF86_SVGA, that's the 
server I want to use,
   



Is this XFree86 v3 or v4 ?

I think XF86_SVGA went out with v3, which was about 6 years ago
(and more like 8 for developers).
 


Yes, XFree86 3.3.6.
I know it's a bit old but the customer is king. :-)

Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Loic Grenie wrote:


Loic Grenie wrote:
   


  You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
usually) by make install. Just run the binary, it should work. To come
back to a text terminal, hit Ctrl-Alt-F1.

Loïc Grenié
 


Thanks.
I've no binary called XFree86. When executing XF86_SVGA, that's the 
server I want to use, then I get a blank screen and the system hangs. I 
cannot switch terminals after that. The keyboard doesn't react at all 
anymore. Before the system goes haywire it prints some messages on the 
screen. They seem normal so far but they go so quickly that I cannot 
capture anything
   



  Sorry, that XF86_SVGA of course (XFree86 is the name of the executable
 for version 4.0+).

   You need to get the output to understand what happens. Try to start:
 XF86_SVGA  log 21 (or XF86_SVGA  log with *csh shells).

 Loïc
 


Hi
when running XF86_SVGA I get the following messages:

XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 1999
[...]
Operating System: Linux 2.4.19-4GB i686 [ELF]
Configured drivers:
SVGA: server for SVGA graphics adaptors (Patchlevel 1):
   NV1, STG2000, [...], smi, generic
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keymap: xfree86(de) (overrides other XKB settings)
(**) Mouse: type: PS/2, device: /dev/mouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) SVGA: Graphics device ID: SMI LynxEM+ (generic)
(**) SVGA: Monitor ID: My Monitor
(--) SVGA: Mode 800x600 needs hsync freq of 35.16 kHz. Deleted.
(--) SVGA: Mode 1024x768 needs hsync freq of 35.52 kHz. Deleted.
(--) SVGA: Mode 640x480 needs hsync freq of 37.86 kHz. Deleted.
[...]

There are some more messages which I'm not able to capture. Logging to a 
file didn't work. After restarting the file's empty...


Even after changing the hsync and vsync range to something big enough 
(which actually is out of spec) it still doesn't come up and hangs with 
a blank screen.
XFree86 4.2.0 runs fine. Is there any way I can copy configs from 4.2.0 
to 3.3.6 to make it run?


Thx
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Sergey Babkin wrote:



Basically this all means that your X server is not running.
Try to find out the model of the card and see if there is
a more suitable driver (different XF86_* binary) for it.
The SVGA usually works on almost any card but there are some
exceptions that don't keep compatibility. Usually they
come on laptops, but I've seen one such desktop card as well.

-SB
 

My graphics card is in the list (Silicon Motion Lynx EM+) and suggests 
using XF86_SVGA.

Has anyone else experience with that graphics controller?

Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: rewriting touch driver from XFree86 3.3.6 to 4.2.0

2005-10-21 Thread Stefan Strobl

Quentin Olson wrote:

I was told that the wizard pen driver works for the USB version of 
this controller:


http://www.stud.fit.vutbr.cz/~xhorak28/index.php.iso-8859-1?page=WizardPen_Driver 
http://www.stud.fit.vutbr.cz/%7Exhorak28/index.php.iso-8859-1?page=WizardPen_Driver



On Wed, 2005-10-19 at 11:20 +0200, Stefan Strobl wrote:


Hello

I just joined this mailinglist and hope this topic hasn't been discussed 
to many times before.


I've got an existing touch driver for the touch controller UR7HCTS2 from 
semtech (which is connected via the PS/2 interface) for Linux kernel 2.4 
and XFree86 3.3.6. Now I need to rewrite the driver for XFree86 4.2.0 
and have some problems. It starts with include files such as 
xf86Procs.h and xf86_Config.h that don't seem to exist in 4.2.0 
anymore. This is my first attempt to write a driver for XFree86 at all.


Can anybody point out a good documentation on how to rewrite a driver 
from 3.3.6 to 4.2.0?


Usually, is it a lot of work to rewrite such a driver?

Has anybody experience with the UR7HCTS2 controller?

Thanks. Unfortuantelly the wizard pen works only for kernel 2.6 while 
I'm using kernel 2.4.
I found a driver at www.touch-base.com which should work (haven't tried) 
but they charge you...


Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


undefined reference to 'yylex'

2005-10-20 Thread Stefan Strobl

Hello

I'm trying to compile XFree86 3.3.6 on a SuSE 8.1 (kernel 2.4.19) but 
get the following compile errors:


[...]
In file included from connection.c:79:
/usr/include/stdlib.h:699: parse error before int
make[4]: *** [connection.o] Error 1
make[4]: Leaving directory /usr/XFree86/3.3.6/source/xc/programs/xfs/os`
make[3]: *** [os] Error 2
[...]

Hard to imagine there's something wrong with the stdlib.h, so what else 
could it be? I didn't tamper with the sources...



[...]
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -ltk

collect2: ld returned 1 exit status
make[5]: *** [XF86Setup] Error 1
[...]

I'm using tk/tcl-8.4-48 while xf86site.def suggests to be using tk-4.0 
and Tcl-7.4. Might that be a problem?


Also I'm using gcc-3.2-36 if that makes any difference.

I'd appreciate any help to get 3.3.6 running on my machine.

Thanks
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


rewriting touch driver from XFree86 3.3.6 to 4.2.0

2005-10-19 Thread Stefan Strobl

Hello

I just joined this mailinglist and hope this topic hasn't been discussed 
to many times before.


I've got an existing touch driver for the touch controller UR7HCTS2 from 
semtech (which is connected via the PS/2 interface) for Linux kernel 2.4 
and XFree86 3.3.6. Now I need to rewrite the driver for XFree86 4.2.0 
and have some problems. It starts with include files such as 
xf86Procs.h and xf86_Config.h that don't seem to exist in 4.2.0 
anymore. This is my first attempt to write a driver for XFree86 at all.


Can anybody point out a good documentation on how to rewrite a driver 
from 3.3.6 to 4.2.0?


Usually, is it a lot of work to rewrite such a driver?

Has anybody experience with the UR7HCTS2 controller?

Any comments are appreciated.
Thanks
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel