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.

My kernel config is very close to that of Ken:
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_VMWGFX=m
CONFIG_DRM_VMWGFX_FBCON=y
CONFIG_DRM_CIRRUS_QEMU=y
CONFIG_DRM_BOCHS=y

I would not think that the 'm' makes a difference when not using vmware.

Regards
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