Le 27/02/2015 01:05, Ken Moffat a écrit :
On Thu, Feb 26, 2015 at 09:46:14PM +0100, Pierre Labastie wrote:
Le 26/02/2015 19:00, Pierre Labastie a écrit :
Lots of progress. I first applied your fix (only patch 2/4) and could have X
start, but with no mouse pointer (exactly, an invisible one: when I move the
mouse around, I can select different windows). So I decided to apply the four
patches, because it seemed to me that they had something to do with pointer
(hardware vs soft cursor). I can now have the modesetting driver with both
-vga std and -vga cirrus. I still get a black screen when exiting X, though. I
can type (blindly) "sudo halt" or "sudo reboot", and it halts (or reboots).

Regards,
Pierre

Only patches 1 and 2 are needed. They both are one line changes, so I think
they could be included as sed's in the book:
First one as already proposed by Ken. Second one could be:
sed -i 's/ == -EINVAL//' hw/xfree86/drivers/modesetting/drmmode_display.c

This last sed prevents the pointer to disappear, and I think I have seen it
disappearing on 64 bit too (on another machine I do not have access to
presently).  Since the first one does no harm on 64 bit, I suggest that both
be included in the book.

  Works for me.  I've also tested this on x86_64 hardware (could not
see why anything would break, but easy enough to test) using both
ati_drv (which loads radeon_drv), and hiding those and falling back
to modesetting_drv.  And running qemu from each, with both -vga std
and -vga vmware.

  Do you want to do this, or shall I ?

ĸen
I'll do.

Pierre

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to