[Meine Mail] Subject: Sony Picturebook PCG-C1VN & Xfree86 4.0.2 Date: Fri, 05 Jan 2001 15:08:57 +0100 From: Michael Heiming To: torvalds@transmeta.com Hello Linus, I got yesterday this shinny new Sony Picturebook, installing SuSE 7.0 with kernel 2.2.16 worked fine. I searched the net for some tips to get X running, downloaded the source for X (4.0.2) Made this changes to xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c : - if ((pATI->DAC & 0x0FU) == ATI_DAC_INTERNAL) + if ((pATI->DAC & 0x0FU) == ATI_DAC_INTERNAL ||(!xf86NameCmp(pGDev->clockchip, "Internal"))) - # define BIOS_SIZE 0x00010000U /* 64kB */ + # define BIOS_SIZE 0x00014000U /* 80kB */ But it didn't work. I read your statement on fa.linux.kernel: http://x68.deja.com/[ST_rn=ps]/getdoc.xp?AN=700192427&CONTEXT=978684646.2096955425&hitnum=7 On X startup I get: (WW) ATI(0): Mode "1024x480" deleted (no mode of this name) <----- looks like my problem...:-( (--) ATI(0): Virtual size is 1024x768 (pitch 1024) I would be very interested in your changes to the xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c and your XF86config in order to get it running...:-) Sure, I will post your answer to comp.os.linux.x and comp.os.linux.portable in order to help others to get X running and to avoid that you get more mails like this, sure you get more than enough. Thanks in advance and have a nice weekend with your family Michael Heiming [Antwort von Linus Torvalds] Subject: Re: Sony Picturebook PCG-C1VN & Xfree86 4.0.2 Date: Fri, 5 Jan 2001 08:36:10 -0800 (PST) From: Linus Torvalds To: Michael Heiming Linus Torvalds wrote: On Fri, 5 Jan 2001, Michael Heiming wrote: > > I searched the net for some tips to get X running, downloaded the source > for X (4.0.2) > > Made this changes to > xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c : > You should not need any changes any more in 4.0.2 sources. > > (WW) ATI(0): Mode "1024x480" deleted (no mode of this name) <----- looks like my problem...:-( > (--) ATI(0): Virtual size is 1024x768 (pitch 1024) > This is the xconfig I use with 4.0.2 (well, my X server is really from the CVS tree, but it's close enough to 4.0.2 that it shouldn't matter). I think it's only the modeline that should matter for you. Linus ----- # # copyright 1999-2001 Lincoln D. Durey GNU-GPL # kiwi-VN UWXGA XF86Config ati3Drage X-4.0.1g 1024x480x[16,24]bpp LCD # usb mouse enabled in the kernel. won't fail if usb is not present. # Section "ServerLayout" Identifier "Kiwi-VN X-401g" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" InputDevice "USBMouse0" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" Option "BlankTime" "5" Option "StandbyTime" "7" Option "SuspendTime" "0" Option "OffTime" "0" Option "NoTrapSignals" # Option DontZap # Option DontZoom EndSection Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" # FontPath "/usr/X11R6/lib/X11/fonts/URW" # FontPath "/usr/X11R6/lib/X11/fonts/truetype" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" EndSection Section "Module" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "pex5" Load "record" Load "xie" Load "v4l" Load "freetype" Load "speedo" Load " # Option "XkbModel" "pc105" # Option "XkbRules" "xfree86" # Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "AutoRepeat" "250 30" # Option "XkbLayout" "us" # Option "XkbModel" "pc105" # Option "XkbRules" "xfree86" # Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/psaux" Option "Emulate3Buttons" Option "Emulate3Timeout" "50" Option "AlwaysCore" EndSection Section "InputDevice" Identifier "USBMouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/usb/mouse" Option "AlwaysCore" EndSection Section "Monitor" Identifier "LCD Panel int 1024x480" VendorName "Sony" ModelName "Vaio C1VN series" # HorizSync 30-100 # VertRefresh 50-120 Gamma 1.0 1.0 1.0 Option "DPMS" # Modeline "1024x480" 65 1024 1032 1176 1344 480 491 493 525 -hsync -vsync # ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 483 487 518 -hsync -vsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 560 -hsync -vsync EndSection Section "Device" Identifier "ATI 3D Rage" Driver "ati" VendorName "ATI" BoardName "ATI 3D Rage Mobility P/M" BusID "PCI:0:13:0" ClockChip "Internal" VideoRam 8192 ### Available Driver options are:- # Option "NoAccel" # Option "HWcursor" # Option "SWcursor" # Option "Dac6Bit" # Option "Dac8Bit" # Option "ForcePCIMode" # Option "CCEPIOMode" # Option "CCENoSecurity" # Option "CCEusecTimeout" # Option "AGPMode" # Option "AGPSize" # Option "RingSize" # Option "VBListSize" # Option "VBSize" # Option "UseCCEfor2D" # Option "PanelWidth" # Option "PanelHeight" # Option "UseFBDev" EndSection Section "Screen" Identifier "Screen0" Device "ATI 3D Rage" Monitor "LCD Panel int 1024x480" DefaultDepth 16 SubSection "Display" Depth 8 Modes "1024x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x480" # comment out these two lines if you don't want a "virtual X" Virtual 1024 768 ViewPort 1024 480 EndSubSection SubSection "Display" Depth 24 Modes "1024x480" # comment out these two lines if you don't want a "virtual X" Virtual 1024 768 ViewPort 1024 480 EndSubSection EndSection Section "DRI" # Mode 0666 EndSection