Re: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-18 Thread David Scheidt

On Apr 18, 2011, at 2:45 PM, Chuck Swiger wrote:

> On Apr 18, 2011, at 11:35 AM, Sascha Vieweg wrote:
>>> man syscons | less -p'Back Scrolling'
>> 
>> ... Says: press the `slock' key (with some PC keyboard description). 
>> However, I have got a MB Pro where no such key is available. Thus, I may 
>> repeat my question: How can I get console scolling working on my MacBook Pro 
>> 13''?
> 
> slock is the key above the home key; on an Apple A1048 USB keyboard, that is 
> labelled F15.  I don't think the 13" Macbook Pro has that key available, so 
> you might have to attach an external USB keyboard.

fn-shift-f12 should be scroll lock.  At least, it is when the hardware runs 
windows___
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: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-18 Thread Chuck Swiger
On Apr 18, 2011, at 11:35 AM, Sascha Vieweg wrote:
>> man syscons | less -p'Back Scrolling'
> 
> ... Says: press the `slock' key (with some PC keyboard description). However, 
> I have got a MB Pro where no such key is available. Thus, I may repeat my 
> question: How can I get console scolling working on my MacBook Pro 13''?

slock is the key above the home key; on an Apple A1048 USB keyboard, that is 
labelled F15.  I don't think the 13" Macbook Pro has that key available, so you 
might have to attach an external USB keyboard.

Try dmesg | less instead, or using SSH from a handy terminal emulator with 
scrolling windows (like Terminal.app from the base MacOS X) is likely to be 
easier...

Regards,
-- 
-Chuck

___
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: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-18 Thread Sascha Vieweg

On 11-04-09 17:17, Warren Block wrote:


On Fri, 8 Apr 2011, Sascha Vieweg wrote:


 As a curious beginner I am running FreeBSD on VMWare Fusion
 3.1.2 on a MacBook Pro 13'' i5, and I want to do two things on
 the normal (startup) console:

 (1) use my apple keyboard, especially, scroll through console
 output


man syscons | less -p'Back Scrolling'


... Says: press the `slock' key (with some PC keyboard 
description). However, I have got a MB Pro where no such key is 
available. Thus, I may repeat my question: How can I get console 
scolling working on my MacBook Pro 13''?



 (2) have a screen resolution of at least 800x600.


vidcontrol(1) can set different modes, potentially including 
VESA_800x600. What's available depends on the video card BIOS 
and you'll probably have to build a kernel with SC_PIXEL_MODE.



 Both things seem to be no particular problem in X11, however,
 I cannot find advices for the normal console.


Unless you're trying to emulate a machine without X11 for a 
particular purpose, xterms are more versatile than consoles. 
It's probably possible to get a console-like stack of fullscreen 
xterms with one of the mouseless window managers.


Thanks, the vidcontrol tip helped a lot.

*S*

--
Sascha Vieweg, saschav...@gmail.com
___
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: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-09 Thread Warren Block

On Fri, 8 Apr 2011, Sascha Vieweg wrote:

As a curious beginner I am running FreeBSD on VMWare Fusion 3.1.2 on a 
MacBook Pro 13'' i5, and I want to do two things on the normal (startup) 
console:


(1) use my apple keyboard, especially, scroll through console output


man syscons | less -p'Back Scrolling'


(2) have a screen resolution of at least 800x600.


vidcontrol(1) can set different modes, potentially including 
VESA_800x600.  What's available depends on the video card BIOS and 
you'll probably have to build a kernel with SC_PIXEL_MODE.


Both things seem to be no particular problem in X11, however, I cannot find 
advices for the normal console.


Unless you're trying to emulate a machine without X11 for a particular 
purpose, xterms are more versatile than consoles.  It's probably 
possible to get a console-like stack of fullscreen xterms with one of 
the mouseless window managers.

___
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: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-08 Thread Christopher Hilton

On Apr 8, 2011, at 12:22 PM, Sascha Vieweg wrote:

> As a curious beginner I am running FreeBSD on VMWare Fusion 3.1.2 on a 
> MacBook Pro 13'' i5, and I want to do two things on the normal (startup) 
> console:
> 
> (1) use my apple keyboard, especially, scroll through console output
> 

The Apple Keyboard should just work. The FreeBSD console has a special mode 
where you can scroll back and forth in console output after hitting Scroll 
Lock. I'm just not sure what key on the Apple Keyboard VMware maps to Scroll 
Lock.

> (2) have a screen resolution of at least 800x600.

To start, the X log file: /var/log/Xorg.0.log file is a good source of 
information about what X is doing if you are trying to tune things.

Getting a good screen resolution should just be a matter of setting the refresh 
rates to match your monitor. You may be able to put any values you like in 
there since your screen and video adapter are virtual. All of this gets 
configured in /etc/X11/xorg.conf. I believe it's considered gauche to hand 
configure this anymore but since many modern displays, the Apple laptops 
included, don't conform to the VESA standard modes it's helpful to be able to 
tune things by hand. The problem is compounded by the fact that again, in 
VMware you probably aren't talking to the real hardware. Any modern hardware 
should just tell the X server what it's Sync and Refresh rates are.

One final tip: Check the amount of VideoRam that VMware assigned to the virtual 
machine. I noticed that it was a little skint at 2Mb or something and I bumped 
it up to something larger than 8Mbso I could have a  1920x1080x24bpp display. 

Here's my xorg.conf file which I started on an Acrylic MacBook running 
Parallels and them moved to and retuned for a unibody 15" MacBook Pro. I'm 
following up my first post since I revisited this file this afternoon to fix a 
couple of issues that I had worked around. My box is FreeBSD 8.2-STABLE built 
from sources on 4/6/2011. I'm running xorg-7.5.1 from ports



Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "extmod"
Load  "record"
Load  "dbe"
Load  "glx"
Load  "dri"
Load  "dri2"
Load  "vmmouse"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "vmmouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier  "Apple MacBook Pro A1286 Display"
VendorName  "Apple"
HorizSync   27.0-86.0  ## These shouldn't matter
VertRefresh 50.0-72.0  ## 

## 15" MacBook Pro
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync

## 13" MacBook and possibly 13" MacBook Pro
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
EndSection

Section "Device"
Identifier  "VMware Legacy Emulated SVGA II Adapter"
Driver  "vmwlegacy"
VendorName  "VMware"
BoardName   "Legacy Emulated SVGA II Adapter"
BusID   "PCI:0:15:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "VMware Legacy Emulated SVGA II Adapter"
Monitor"Apple MacBook Pro A1286 Display"


## Purge the display modes that I don't need from here.

SubSection "Display"
Viewport0 0
Depth   24
Modes   "1440x900" ## 15" MacBook Pro
Modes   "1280x800" ## 13" MacBook/MacBook Pro
EndSubSection
EndSection


-- Chris


-- 

 __o Chris Hilton
   _`\<,_e: chris /at/ vindaloo /dot/ com 
__(*)/_(*) 
  "All I was doing was trying to get home from work."
  -Rosa Parks

___
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: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-08 Thread Christopher Hilton

On Apr 8, 2011, at 12:22 PM, Sascha Vieweg wrote:

> As a curious beginner I am running FreeBSD on VMWare Fusion 3.1.2 on a 
> MacBook Pro 13'' i5, and I want to do two things on the normal (startup) 
> console:
> 
> (1) use my apple keyboard, especially, scroll through console output
> 
> (2) have a screen resolution of at least 800x600.
> 
> Both things seem to be no particular problem in X11, however, I cannot find 
> advices for the normal console.
> 
> And: does anybody know what vertical and horizontal refresh rates my VMWare 
> display have? According to the user handbook I need to specify this 
> information in the X11 config file -- the current X11 display does not look 
> very sharp.
> 
> Thanks for help
> *S*


You should be able find the screen dimensions for that MacBook Pro somewhere on 
the net. If my memory is correct and it's like my 13" acrylic MacBook then it 
will be something either 1280x800 or, less likely, 1280x720. I'm really old so 
I use an config file in the standard location: /etc/X11/xorg.conf configuration 
file to control X. If I understand correctly this is not longer strictly 
necessary. You can generate a base config by running:

 # X -configure

That will write a file: xorg.conf.new into the current directory. For monitor 
setting I've never found anything on VMware Fusion, or the MacBook line that 
gives those numbers. I've been using:

Section "Monitor"
Identifier  "Apple MacBook Pro A1286 Display"
VendorName  "Apple"
HorizSync   27.0-86.0
VertRefresh 50.0-72.0
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
EndSection

I'm using the Vesa Driver rather than the native vmware one so I'm pretty sure 
that the MacBook is actually handling the display settings. Again, there are 
instructions on the net for hacking xorg.conf specifically for VMWare Fusion 
and or Parallels to get a crisp display on a FreeBSD VM on a Mac.

-

I haven't found a way to map a key to "Scroll Lock". I would imagine that the 
syscons driver is the place to look.

-- Chris


  "There will be an answer, Let it be."
   e: chris -at- vindaloo -dot- com

___
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"


FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-08 Thread Sascha Vieweg
As a curious beginner I am running FreeBSD on VMWare Fusion 3.1.2 
on a MacBook Pro 13'' i5, and I want to do two things on the 
normal (startup) console:


(1) use my apple keyboard, especially, scroll through console 
output


(2) have a screen resolution of at least 800x600.

Both things seem to be no particular problem in X11, however, I 
cannot find advices for the normal console.


And: does anybody know what vertical and horizontal refresh rates 
my VMWare display have? According to the user handbook I need to 
specify this information in the X11 config file -- the current X11 
display does not look very sharp.


Thanks for help
*S*

--
Sascha Vieweg, saschav...@gmail.com
___
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"