enable resume from text console on X301 Was:Re: enable/fix vt switching on sandybridge machines

2012-03-08 Thread Dave Del Debbio
On Sun, Mar 4 Mar 2012 12:27:56 -0800, Mike Larkin wrote: This really has nothing to do with ACPI. It could be due to missing a repost in resume, but ACPI is really not involved in that part of the sequence. There is a block of code in sys/dev/pci/vga_pci.c that can be used to try

Re: enable resume from text console on X301 Was:Re: enable/fix vt switching on sandybridge machines

2012-03-08 Thread Owain Ainsworth
On Thu, Mar 08, 2012 at 10:45:11AM -0800, Dave Del Debbio wrote: On Sun, Mar 4 Mar 2012 12:27:56 -0800, Mike Larkin wrote: This really has nothing to do with ACPI. It could be due to missing a repost in resume, but ACPI is really not involved in that part of the sequence. There

Re: enable/fix vt switching on sandybridge machines

2012-03-05 Thread Owain Ainsworth
On Sun, Mar 04, 2012 at 10:21:55PM +0100, Mark Kettenis wrote: Date: Sun, 4 Mar 2012 12:27:56 -0800 From: Mike Larkin mlar...@azathoth.net Cc: joshua stein j...@openbsd.org, tech@openbsd.org Reply-To: mlar...@azathoth.net List-Owner: mailto:owner-t...@openbsd.org X-Loop:

Re: enable/fix vt switching on sandybridge machines

2012-03-04 Thread Mark Kettenis
Date: Fri, 2 Mar 2012 21:27:52 -0600 From: joshua stein j...@openbsd.org Hi Joshua, There is something strange about your diff... diff --git a/driver/xf86-video-intel/src/intel_driver.c b/driver/xf86-video-intel/src/intel_driver.c index 03b1586..8f04695 100644 ---

Re: enable/fix vt switching on sandybridge machines

2012-03-04 Thread Mike Larkin
On Sat, Mar 03, 2012 at 09:43:39PM +0100, Matthieu Herrb wrote: On Sat, Mar 03, 2012 at 12:50:32PM -0600, joshua stein wrote: And it only works if you don't suspend the machine. After a suspend/resume cycle, X still comes back, but text mode VTs stay black again. does the console

Re: enable/fix vt switching on sandybridge machines

2012-03-04 Thread Mark Kettenis
Date: Sun, 4 Mar 2012 12:27:56 -0800 From: Mike Larkin mlar...@azathoth.net Cc: joshua stein j...@openbsd.org, tech@openbsd.org Reply-To: mlar...@azathoth.net List-Owner: mailto:owner-t...@openbsd.org X-Loop: tech@openbsd.org Sender: owner-t...@openbsd.org X-XS4ALL-DNSBL-Checked:

Re: enable/fix vt switching on sandybridge machines

2012-03-03 Thread Matthieu Herrb
On Sat, Mar 03, 2012 at 04:53:43PM +1100, Rod Whitworth wrote: That sounds a bit worse than yours so I should try your patch. My tree was last updated about Feb 7 but I eyeballed the relevant file and your patch matches. What is the minimum path to just updating xenocara to your patch?

Re: enable/fix vt switching on sandybridge machines

2012-03-03 Thread joshua stein
And it only works if you don't suspend the machine. After a suspend/resume cycle, X still comes back, but text mode VTs stay black again. does the console resume properly even when you boot up and don't start x? it doesn't on my laptop, so this may be an acpi-related problem.

Re: enable/fix vt switching on sandybridge machines

2012-03-03 Thread Matthieu Herrb
On Sat, Mar 03, 2012 at 12:50:32PM -0600, joshua stein wrote: And it only works if you don't suspend the machine. After a suspend/resume cycle, X still comes back, but text mode VTs stay black again. does the console resume properly even when you boot up and don't start x? it doesn't

enable/fix vt switching on sandybridge machines

2012-03-02 Thread joshua stein
hi friends, this enables vt switching on my laptop (dell xps 13) with sandybridge video: vga1 at pci0 dev 2 function 0 Intel GT2 Video rev 0x09 previously it would do nothing on ctrl+alt+f1 and redraw the screen on ctrl+alt+f5. now i am able to switch between the console and X multiple times

Re: enable/fix vt switching on sandybridge machines

2012-03-02 Thread Alexandr Shadchin
On Fri, Mar 02, 2012 at 09:27:52PM -0600, joshua stein wrote: hi friends, this enables vt switching on my laptop (dell xps 13) with sandybridge video: vga1 at pci0 dev 2 function 0 Intel GT2 Video rev 0x09 previously it would do nothing on ctrl+alt+f1 and redraw the screen on

Re: enable/fix vt switching on sandybridge machines

2012-03-02 Thread Rod Whitworth
On Fri, 2 Mar 2012 21:27:52 -0600, joshua stein wrote: hi friends, this enables vt switching on my laptop (dell xps 13) with sandybridge video: vga1 at pci0 dev 2 function 0 Intel GT2 Video rev 0x09 previously it would do nothing on ctrl+alt+f1 and redraw the screen on ctrl+alt+f5. now i am