Re: /etc/X11/XF86Config

2004-11-15 Thread Joe Altman

My reply is inline.

On Fri, Nov 12, 2004 at 09:05:34PM +0300, Susumu Tanabe wrote:
 
 Hello,
 I want to install XF86 on my notebook
 Toshiba Satellite A60.
 Whioch kind of configuration file is necessary?
 The following trials gave no results.
yours, Susumu Tanabe

 Section Device

snip

You seem to have an ATI chip:

   Identifier  Card0
   Driver  ati
   VendorName  ATI Technologies Inc
   BoardName   Rage 128 PF/PRO AGP 4x TMDS
   BusID   PCI:1:0:0

snip

But you are using this nvidia driver?

 Section Device
   Identifier  Videocard0
   Driver  nvidia
   VendorName  NVIDIA
   BoardName   NVIDIA GeForce FX Go5200

Or perhaps this nvidia driver?

 Section Device
 
   # VendorNamenVidia Corporation# xf86cfg visualmode
   # BoardName NV17 [GeForce4 440 Go]# xf86cfg visualmode
   # xf86cfg -textmode
snip
   Driver  nv
   ChipSet GeForce4 440 Go
   Cardnv GeForce4 440 Go
 EndSection

My guess is that the config program is detecting an ATI chip. Or
perhaps not; what does dmesg say?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/etc/X11/XF86Config

2004-11-12 Thread Susumu Tanabe
 are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#   Option  XkbModel  pc102
# If you have a US Microsoft Natural keyboard, you can use:
#   Option  XkbModel  microsoft
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#   Option  XkbLayout de
# or:
#   Option  XkbLayout de
#   Option  XkbVariantnodeadkeys
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#   Option  XkbOptionsctrl:swapcaps
# Or if you just want both to be control, use:
#   Option  XkbOptionsctrl:nocaps
#
Identifier  Keyboard0
Driver  keyboard
Option  XkbRules xfree86
Option  XkbModel pc105
Option  XkbLayout us
EndSection


%%%
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol PS/2
Option  Device /dev/psaux
Option  ZAxisMapping 4 5
Option  Emulate3Buttons yes
EndSection

Section InputDevice
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier  DevInputMice
Driver  mouse
Option  Protocol IMPS/2
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5
Option  Emulate3Buttons no
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Toshiba
ModelNameSatellite P25 Display
HorizSync29.0 - 55.0
VertRefresh  0.0 - 60.0
Option  dpms

ModeLine 1400x900 77 1400 1408 1416 1424 900 901 902 903
EndSection

Section Device
Identifier  Videocard0
Driver  nvidia
VendorName  NVIDIA
BoardName   NVIDIA GeForce FX Go5200
VideoRam32768
EndSection

Section Screen
Identifier Screen0
Device Videocard0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Depth 24
Modes1400x900
EndSubSection
EndSection

Section DRI
Group0
Mode 0666
EndSection

# laps /etc/X11/XF86Config
# gets manually copied to ~jhs/public_html/hw/toshiba/s5100-603/XF86Config
# to rebuild use xf86cfg -textmode, then sellect vesa, then haand tune.
# Section   InputDevice
#   Identifier  Mouse0
#   Driver  mouse
#   Option  Protocol  auto
#   Option  Device/dev/sysmouse
# EndSection

Section ServerLayout
Identifier Layout0
Screen  0  Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
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/75dpi/
FontPath/usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module

# Load  freetype
# Load  xtt
Load  extmod
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  speedo
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol Auto
Option  Device /dev/sysmouse

# next 2 from gary
# for the scroll wheel - 4 and 5 are virtual buttons
 Option Buttons 5
# button 4 = negative movements, button 5 = positive movements
 Option ZAxisMapping 4 5

EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  XkbModel pc101
Option  XkbLayout us
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Toshiba
ModelNameS5100-603
HorizSync31.5 - 108.0   # Toshiba User's Manual Chapter E
VertRefresh  50.0 - 100.0   # Just a guess
# manual quotes 15
#x 2.54 = 381 mm
#Assume a 1024:768 ratio
#Use Pythagorus
#   diag^2 = 1024^2 + 768^2
#   diag^2 = 1024^2 + 768^2
#   diag^2 = 1048576 + 589824
#   diag^2 = 1638400
#   diag = 1280
#Width  = 381 mm x 1024 / 1280 = 304.8
#Height = 381 mm x  768 / 1280 = 228.6
DisplaySize 305 229

EndSection

Section Device

# VendorNamenVidia Corporation# xf86cfg visualmode
# BoardName NV17 [GeForce4 440 Go]# xf86cfg visualmode
# xf86cfg

Re: /etc/X11/XF86Config

2004-11-12 Thread Bill Schoolcraft
 which keyboard LEDs can be user-controlled (eg, with xset(1))
 # Option  Xleds 1 2 3

 # To disable the XKEYBOARD extension, uncomment XkbDisable.
 # Option  XkbDisable

 # To customise the XKB settings to suit your keyboard, modify the
 # lines below (which are the defaults).  For example, for a non-U.S.
 # keyboard, you will probably want to use:
 # Option  XkbModel  pc102
 # If you have a US Microsoft Natural keyboard, you can use:
 # Option  XkbModel  microsoft
 #
 # Then to change the language, change the Layout setting.
 # For example, a german layout can be obtained with:
 # Option  XkbLayout de
 # or:
 # Option  XkbLayout de
 # Option  XkbVariantnodeadkeys
 #
 # If you'd like to switch the positions of your capslock and
 # control keys, use:
 # Option  XkbOptionsctrl:swapcaps
 # Or if you just want both to be control, use:
 # Option  XkbOptionsctrl:nocaps
 #
   Identifier  Keyboard0
   Driver  keyboard
   Option  XkbRules xfree86
   Option  XkbModel pc105
   Option  XkbLayout us
 EndSection


 %%%
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol PS/2
   Option  Device /dev/psaux
   Option  ZAxisMapping 4 5
   Option  Emulate3Buttons yes
 EndSection

 Section InputDevice
 # If the normal CorePointer mouse is not a USB mouse then
 # this input device can be used in AlwaysCore mode to let you
 # also use USB mice at the same time.
   Identifier  DevInputMice
   Driver  mouse
   Option  Protocol IMPS/2
   Option  Device /dev/input/mice
   Option  ZAxisMapping 4 5
   Option  Emulate3Buttons no
 EndSection

 Section Monitor
   Identifier   Monitor0
   VendorName   Toshiba
   ModelNameSatellite P25 Display
   HorizSync29.0 - 55.0
   VertRefresh  0.0 - 60.0
   Option  dpms

   ModeLine 1400x900 77 1400 1408 1416 1424 900 901 902 903
 EndSection

 Section Device
   Identifier  Videocard0
   Driver  nvidia
   VendorName  NVIDIA
   BoardName   NVIDIA GeForce FX Go5200
   VideoRam32768
 EndSection

 Section Screen
   Identifier Screen0
   Device Videocard0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Depth 24
   Modes1400x900
   EndSubSection
 EndSection

 Section DRI
   Group0
   Mode 0666
 EndSection

 # laps /etc/X11/XF86Config
 # gets manually copied to ~jhs/public_html/hw/toshiba/s5100-603/XF86Config
 # to rebuild use xf86cfg -textmode, then sellect vesa, then haand tune.
 # Section InputDevice
 # Identifier  Mouse0
 # Driver  mouse
 # Option  Protocol  auto
 # Option  Device/dev/sysmouse
 # EndSection

 Section ServerLayout
   Identifier Layout0
   Screen  0  Screen0 0 0
   InputDeviceKeyboard0 CoreKeyboard
   InputDeviceMouse0 CorePointer
 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/75dpi/
   FontPath/usr/X11R6/lib/X11/fonts/100dpi/
 EndSection

 Section Module

   # Load  freetype
   # Load  xtt
   Load  extmod
   Load  glx
   Load  dri
   Load  dbe
   Load  record
   Load  xtrap
   Load  type1
   Load  speedo
 EndSection

 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol Auto
   Option  Device /dev/sysmouse

 # next 2 from gary
 # for the scroll wheel - 4 and 5 are virtual buttons
  Option Buttons 5
 # button 4 = negative movements, button 5 = positive movements
  Option ZAxisMapping 4 5

 EndSection

 Section InputDevice
   Identifier  Keyboard0
   Driver  keyboard
   Option  XkbModel pc101
   Option  XkbLayout us
 EndSection

 Section Monitor
   Identifier   Monitor0
   VendorName   Toshiba
   ModelNameS5100-603
   HorizSync31.5 - 108.0   # Toshiba User's Manual Chapter E
   VertRefresh  50.0 - 100.0   # Just a guess
 # manual quotes 15
 #x 2.54 = 381 mm
 #Assume a 1024:768 ratio
 #Use Pythagorus
 #   diag^2 = 1024^2 + 768^2
 #   diag^2 = 1024^2 + 768^2
 #   diag^2 = 1048576 + 589824
 #   diag^2 = 1638400
 #   diag = 1280
 #Width  = 381 mm x 1024 / 1280 = 304.8
 #Height = 381 mm x  768 / 1280