Re: Xorg, libpciaccess and /dev/mem

2010-03-11 Thread Samuel Thibault
olafbuddenha...@gmx.net, le Fri 12 Mar 2010 00:32:44 +0100, a écrit : > On Thu, Mar 11, 2010 at 05:35:13PM +0100, Samuel Thibault wrote: > > Using the iopl device is a bit of a hack, a more proper solution needs > > to be done. > > I don't consider it a hack. What would be a more "proper" solution

Re: Xorg, libpciaccess and /dev/mem

2010-03-11 Thread olafBuddenhagen
Hi, On Thu, Mar 11, 2010 at 05:35:13PM +0100, Samuel Thibault wrote: > Using the iopl device is a bit of a hack, a more proper solution needs > to be done. I don't consider it a hack. What would be a more "proper" solution in your opinion?... Of course, one day hopefully we will have a lovely P

Re: Xorg, libpciaccess and /dev/mem

2010-03-11 Thread Samuel Thibault
I will probably not have the time to answer longer this evening, so I'll do a short answer for now: yes, you can use the iopl device instead of mem to get the expected behavior. GNU/Hurd needs a /dev/mem as it is a very commonly used interface, not only by Xorg/pciaccess, but also other low-level h

Re: Hurd vs. Google Summer of Code 2010

2010-03-11 Thread olafBuddenhagen
Hi, On Thu, Mar 11, 2010 at 01:18:05PM +0100, Carl Fredrik Hammar wrote: > On Thu, Mar 11, 2010 at 05:12:47AM +0100, olafbuddenha...@gmx.net > wrote: > > Thanks for both the content enhancements, and for catching all those > > typos... (And the rather embarrassing non-typos.) > > The typos outsi

Re: Xorg, libpciaccess and /dev/mem

2010-03-11 Thread olafBuddenhagen
Hi, On Thu, Mar 11, 2010 at 12:37:06PM +0100, Jérémie Koenig wrote: > I have been trying to make Xorg work with my MGA G450 card. Oh, nice -- that's the same one I have :-) (Well, mine is the less common PCI variant -- but I hope that doesn't make much difference here...) Unfortunately I don't

Re: Hurd vs. Google Summer of Code 2010

2010-03-11 Thread Carl Fredrik Hammar
Hi, On Thu, Mar 11, 2010 at 05:12:47AM +0100, olafbuddenha...@gmx.net wrote: > On Wed, Mar 10, 2010 at 02:43:35PM +0100, Thomas Schwinge wrote: > > On Wed, Mar 10, 2010 at 08:02:30AM +0100, olafbuddenha...@gmx.net > > wrote: > > > > The results of my labour are available from > > > > > >http

Xorg, libpciaccess and /dev/mem

2010-03-11 Thread Jérémie Koenig
Hello, I have been trying to make Xorg work with my MGA G450 card. One problem I stumbled upon was the MGA driver trying to map the video memory through libpciaccess, which failed with ENXIO (no such device or address). Upon inspection it turns out that the libpciaccess x86_pci.c generic code use