Re: Why libpciaccess separated from X server ?

2011-04-23 Thread Samuel Thibault
Kevin Master, le Thu 21 Apr 2011 19:38:06 -0700, a écrit : yes, sure I can compile and install the newer libpciaccess library. But my question is that why do the X server developers want libpciaccess.so separated from the X server. Any good reason to do this ? It's used by a few tools

Re: Every newcomers to X think that servers and clients are reversed because they are

2011-04-20 Thread Samuel Thibault
Paul Dufresne, le Wed 20 Apr 2011 08:17:11 -0400, a écrit : What I think the users want to use or share is the X applications. Then tell your application to connect to other X servers. A bunch of them already do so, like xblast and emacs. They just need the credentials, which makes sense. Why

Re: Every newcomers to X think that servers and clients are reversed because they are

2011-04-20 Thread Samuel Thibault
Paul Dufresne, le Wed 20 Apr 2011 18:21:05 -0400, a écrit : User_Group Authorized X application secretaryLibreOffice Which instance of LibreOffice, with which Unix rights? -I would rename the program we used to call the X

Re: a question about energy

2010-03-01 Thread Samuel Thibault
Zhi Li, le Mon 01 Mar 2010 17:06:57 +0800, a écrit : When in graphic mode, on my PC, it is 52w; when I switched to terminal mode(on linux alt-ctrl-1), it is 55w. Just to make sure: is it really terminal mode and not just a framebuffer? cat /sys/class/vtconsole/*/bind to check which driver is

Re: xrandr dual-screen usability survery (Was: Dual-head config broke with update to 1.4.2)

2010-02-17 Thread Samuel Thibault
Martin Cracauer, le Wed 17 Feb 2010 09:45:25 -0500, a écrit : Before I pass final verdict, what would be involved in -say- hacking up fvwm2 to deal with xrandr? Note http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395500 Actually you just need to restart fvwm to make it notice the new

Re: xrandr dual-screen usability survery (Was: Dual-head config broke with update to 1.4.2)

2010-02-17 Thread Samuel Thibault
Martin Cracauer, le Wed 17 Feb 2010 10:50:12 -0500, a écrit : Thanks for the fvwm2 tip, I'll try that later. Of course it won't do anything about the other client problems and the virtual desktop switching. Note that virtual desktop switching is handled by fvwm2 too. Initially I thought

Re: libpciaccess x86 backend

2010-01-19 Thread Samuel Thibault
Dave Airlie, le Wed 20 Jan 2010 06:42:30 +1000, a écrit : On Mon, Jan 18, 2010 at 12:37 AM, Samuel Thibault samuel.thiba...@ens-lyon.org wrote: This adds support on x86 for OSes that do not have a PCI interface, tinkering with I/O ports, and makes use of it on GNU/Hurd. Now

Re: libpciaccess x86 backend

2010-01-19 Thread Samuel Thibault
Corbin Simpson, le Tue 19 Jan 2010 13:26:47 -0800, a écrit : It doesn't seem that exotic to want a PCI layer, and wasn't the entire point of libpciaccess to keep PCI code out of the Xserver? I'm afraid I'm not sure which point you want to make. An exotic kernel would precisely _not_ want to

libpciaccess x86 backend

2010-01-17 Thread Samuel Thibault
); extern int pci_system_solx_devfs_create( void ); +extern int pci_system_x86_create( void ); extern void pci_io_cleanup( void ); diff --git a/src/x86_pci.c b/src/x86_pci.c new file mode 100644 index 000..42106f1 --- /dev/null +++ b/src/x86_pci.c @@ -0,0 +1,671 @@ +/* + * Copyright (c) 2009 Samuel

Re: libpciaccess x86 backend

2010-01-17 Thread Samuel Thibault
send a fixed patch. 17.01.2010 19:37, Samuel Thibault wrote: +sav = inl(0xCF8); +outl(0x8000 | (bus 16) | (dev 11) | (func 8) | (reg ~3), 0xCF8); +switch (size) { ... +default: +ret = EIO; +break; +} +outl(sav, 0xCF8); Here a read or write

Re: libpciaccess x86 backend

2010-01-17 Thread Samuel Thibault
) 2009 Samuel Thibault + * Heavily inspired from the freebsd, netbsd, and openbsd backends + * (C) Copyright Eric Anholt 2006 + * (C) Copyright IBM Corporation 2006 + * Copyright (c) 2008 Juan Romero Pardines + * Copyright (c) 2008 Mark Kettenis + * + * Permission to use, copy, modify, and distribute

Re: [PATCH] xfree86: Use SA_SIGINFO if available for SIGIO handlers

2009-11-10 Thread Samuel Thibault
Adam Jackson, le Tue 10 Nov 2009 14:53:50 -0500, a écrit : This one's slightly subtle, the fcntl(F_SETSIG) is required for -si_fd to actually be filled in correctly, at least on Linux. I know this area has been sensitive to platform variation in the past, so I'd appreciate a second look from

[PATCH] Hurd fix

2009-09-27 Thread Samuel Thibault
I hadn't paid attention that the parameters order had changed, here is a trivial patch, please apply. BTW, I was wondering, maybe I could get commit access to such part of the code, instead of having to bother main developers? Samuel diff --git a/hw/xfree86/os-support/hurd/hurd_video.c

Re: SIGQUIT from tty layer

2009-07-11 Thread Samuel Thibault
Marius Gedminas, le Sat 11 Jul 2009 14:16:59 +0300, a écrit : a set of 'stty' calls in the init scripts, that (amazingly) reset the isig flag on the current vt (which in our case is the X vt). For anyone ignorant of the vile mess of consequences that means (obviously) your X server

Re: SIGQUIT from tty layer

2009-07-10 Thread Samuel Thibault
Ben Gamari, le Thu 09 Jul 2009 13:18:16 -0400, a écrit : On Thu, Jul 09, 2009 at 05:00:47PM +0200, Samuel Thibault wrote: SIGQUIT is sent to the X server if the controling tty of the X server (probably its VT) receives the QUIT character (usually control-\, i.e. 0x1c) This, however

Re: SIGQUIT from tty layer

2009-07-09 Thread Samuel Thibault
SIGQUIT is sent to the X server if the controling tty of the X server (probably its VT) receives the QUIT character (usually control-\, i.e. 0x1c) Samuel ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg

Blind people do not connect screens

2009-03-03 Thread Samuel Thibault
Hello, Some blind people report that Xorg refuses to start when no screen is connected to their machine. Of course they could configure their xorg.conf to use the dummy driver, but then they'd have to modify it back when using a screen etc. and distributions are more and more going towards full

Re: XTrap removal

2009-02-22 Thread Samuel Thibault
milnser43...@yahoo.com, le Fri 20 Feb 2009 12:12:57 -0800, a écrit : I am not sure if there are any OCR applications or screen readers on X that have been written to dump directly into an application. An extension to allow all communications between the xserver and client to be captured adn

Re: Xt can't handle UTF8 string ?

2009-01-12 Thread Samuel Thibault
hd, le Mon 12 Jan 2009 13:06:36 +0100, a écrit : Is it possible to display an UTF8 string with Xt verbs ? I try to use XtNinternational argument without success Maybe, I must initialize the App with a special Xt verb before using XtNinternational ? Maybe missing XtSetLanguageProc(NULL,

Re: (xkb) how to map a key to multiple characters?

2009-01-11 Thread Samuel Thibault
Simos Xenitellis, le Sun 11 Jan 2009 18:52:44 +, a écrit : (or, shall these be called ligature_ch, ligature_CH, etc;) Err, AIUI, they shouldn't be called ligatures, because ligatures are just a better way to render two letter closely, while here ch is considered as a letter by itself.

Re: (xkb) how to map a key to multiple characters?

2009-01-11 Thread Samuel Thibault
Simos Xenitellis, le Sun 11 Jan 2009 21:36:10 +, a écrit : On Sun, Jan 11, 2009 at 8:07 PM, Samuel Thibault samuel.thiba...@ens-lyon.org wrote: Simos Xenitellis, le Sun 11 Jan 2009 18:52:44 +, a écrit : (or, shall these be called ligature_ch, ligature_CH, etc;) Err, AIUI

Re: xscope compilation error

2009-01-04 Thread Samuel Thibault
Rui Tiago Cação Matos, le Mon 05 Jan 2009 01:01:20 +, a écrit : I got xscope from git://anongit.freedesktop.org/~alanc/xscope but it doesn't compile: gcc -DHAVE_CONFIG_H -I.-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DUSE_XTRANS -g -O2 -MT scope.o -MD -MP -MF .deps/scope.Tpo

Re: EAGAIN errors on reading from X11 socket

2008-12-21 Thread Samuel Thibault
Frederik Himpe, le Sun 21 Dec 2008 13:17:39 +, a écrit : strace shows that it is looping on an EAGAIN error when reading from the X11 socket. It also writes and reads data before getting EAGAIN. select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7,

Re: Xkb Compose:combining_belowdot

2008-09-16 Thread Samuel Thibault
Ruben Porras, le Tue 16 Sep 2008 20:01:26 +0200, a écrit : So, how can I get the combining_belowdot symbol? I read that the symbol that you get depends on the locale, how can I find it out? Where did you read that? (that shouldn't to my mind) I read it here