Re: Set tty resolution using hint.sc.0.flags with VESA

2011-02-20 Thread Dima Panov
Hello!

07.02.2011, 03:57, David Demelier demelier.da...@gmail.com:
 On 06/02/2011 17:52, Dima Panov wrote:

  Hello!

  [fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0
  hint.sc.0.at=isa
  hint.sc.0.flags=0x180
  hint.sc.0.vesa_mode=0x1f0

 absolutely great! But where did you find these vesa_mode setting? It's
 not documented anywhere.

man sc, at SYNOPSIS part

But I have -CURRENT

-- 
Dima Panov (flu...@freebsd.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=10181104157
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Set tty resolution using hint.sc.0.flags with VESA

2011-02-06 Thread David Demelier

Hello,

I don't like much to use allscreens_flags to set my tty resolution 
because it's done at the end of /etc/rc process. I know we can edit the 
hint.sc.0.flags in /boot/device.hints to set the resolution at the 
earliest stage.


I want to use the 1366x768 mode :

# vidcontrol -i mode
[... snip ...]
496 (0x1f0) 0x001f G 1366x768x32 D   8x16  0xa 64k 64k 
0xc000 4128k


To use this mode I should write hint.sc.0.flags=0x1f00180 where 80 
means VESA mode following the sc(4) manpage.


It seems that my resolution is like 1024x768 when I bootup and not the 
one I want. However when I use vidcontrol MODE_496 after boot it works 
pretty well.


Is there something wrong on my line ?

Cheers,

--
David Demelier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Set tty resolution using hint.sc.0.flags with VESA

2011-02-06 Thread Dima Panov
Hello!

[fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0
hint.sc.0.at=isa
hint.sc.0.flags=0x180
hint.sc.0.vesa_mode=0x1f0


07.02.2011, 01:50, David Demelier demelier.da...@gmail.com:
 Hello,

 I don't like much to use allscreens_flags to set my tty resolution
 because it's done at the end of /etc/rc process. I know we can edit the
 hint.sc.0.flags in /boot/device.hints to set the resolution at the
 earliest stage.

 I want to use the 1366x768 mode :

 # vidcontrol -i mode
 [... snip ...]
 496 (0x1f0) 0x001f G 1366x768x32 D   8x16  0xa 64k 64k
 0xc000 4128k

 To use this mode I should write hint.sc.0.flags=0x1f00180 where 80
 means VESA mode following the sc(4) manpage.

 It seems that my resolution is like 1024x768 when I bootup and not the
 one I want. However when I use vidcontrol MODE_496 after boot it works
 pretty well.

 Is there something wrong on my line ?

 Cheers,

 --
 David Demelier
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Dima Panov (flu...@freebsd.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=10181104157
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Set tty resolution using hint.sc.0.flags with VESA

2011-02-06 Thread David Demelier

On 06/02/2011 17:52, Dima Panov wrote:

Hello!

[fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0
hint.sc.0.at=isa
hint.sc.0.flags=0x180
hint.sc.0.vesa_mode=0x1f0




absolutely great! But where did you find these vesa_mode setting? It's 
not documented anywhere.


Cheers,

--
David Demelier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Set tty resolution using hint.sc.0.flags with VESA

2011-02-06 Thread b. f.
David Demelier wrote:
 hint.sc.0.vesa_mode=0x1f0
...
absolutely great! But where did you find these vesa_mode setting? It's
not documented anywhere.

Look again: syscons(4), in the Synopsis and the Driver Flags section.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org