Date: Wed, 8 May 2002 18:31:25 -0700 (PDT) From: wpaul@FreeBSD.ORG (Bill Paul) To: nbliss@mvista.com (Neil Bliss) Cc: freebsd-hackers@freebsd.org Subject: Re: configuring X on a vaio pcg-c1vp Message-ID: <20020509013125.3402D37B408@hub.freebsd.org> In-Reply-To: <20020508120250.J12891@dhcp117.mvista.com> from Neil Bliss at "May 8, 2002 12:02:50 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Hey folks, > > Does anyone have any pointers or advice for getting X running on my sony vaio > pcg-c1vp picturebook? > > thanks, Yes. As a matter of fact, that's exactly the same model as the one I have. I'm running FreeBSD 4.4-RELEASE on it with XFree86 4.1.0. It uses the ati driver. I'm including a copy of my XF86Config file at the end of this e-mail. It will give you a 1024x480 display with 24 bit color. XFree86 4.1.0 likes it out of the box, but you have to create a custom mode line for the odd-sized display. I spent a couple of hours experimenting until I finally found a set of numbers that worked. NOTE: I strongly suggest installing the GATOS ati driver from gatos.sourceforge.net. This will allow you to use the Xvideo extension with the ATI Mobility chipset in the Picturebook, which is handy for things like mplayer. As an added bonus, you can also find a utility to use the built-in camera here: http://www.freebsd.org/~wpaul/capture_freebsd.tar.gz This is the Linux capture utility, ported to FreeBSD by me. (Yes, I know there's already a port of this in ports. I like mine better.) I use this along with the picturebook as my webcam: http://www.magnesium.net/~wpaul/billcam The archive include just the source code. You need to have XFree86 and Imlib to compile it. -Bill ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= God was my co-pilot, until we crashed in the mountains and I had to eat him. ============================================================================= Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "pex5" Load "record" Load "xie" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psm0" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 33.5 #HorizSync 30-50 #VertRefresh 66 #VertRefresh 50-90 #ModeLine "1024x480" 42.4 1024 1048 1208 1264 480 485 487 522 #ModeLine "1024x480" 42.41 1024 1048 1208 1264 480 482 484 516 -hsync -vsync #ModeLine "1024x480" 42.41 1024 1048 1208 1264 480 480 482 517 -hsync -vsync #ModeLine "1024x480" 42.41 1024 1048 1208 1264 480 480 482 517 -hsync -vsync ModeLine "1024x480" 42.41 1024 1048 1208 1264 480 480 481 555 -hsync -vsync EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "accel" # [<bool>] #Option "crt_screen" # [<bool>] #Option "composite_sync" # [<bool>] #Option "hw_cursor" # [<bool>] #Option "linear" # [<bool>] #Option "mmio_cache" # [<bool>] #Option "probe_clocks" # [<bool>] #Option "reference_clock" # <freq> #Option "shadow_fb" # [<bool>] #Option "sw_cursor" # [<bool>] Identifier "Card0" Driver "ati" VendorName "ATI" BoardName "Mach64 LR" ChipSet "ati" ChipId 0x4c52 ChipRev 0x64 BusID "PCI:0:13:0" Option "probe_clocks" "False" Option "reference_clock" "33Mhz" # Option "crt_screen" "True" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x480" EndSubSection EndSection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020509013125.3402D37B408>