View previous topic :: View next topic |
Author |
Message |
br.man n00b
Joined: 18 Feb 2004 Posts: 2
|
Posted: Wed Feb 18, 2004 4:08 am Post subject: Keyboard and Mouse config in XF86Config |
|
|
Hey guys,
What mouse protocol number, mouse device name, keyboard type I should configure in XF86Config for sun ultra5??
I checked that the model of keyboard/mouse of my ultra5 is Type6 Keyboard & Mouse 320-1270.
BTW, how can I know what video config. is suitable for ultra 5?
Thanks. |
|
Back to top |
|
|
br.man n00b
Joined: 18 Feb 2004 Posts: 2
|
Posted: Wed Feb 18, 2004 5:40 am Post subject: Success on keyboard and mouse config. |
|
|
Hey guys,
I have already successfully configured keyboard & mouse in XF86Config on a ultra5, which is copying the codes from an old post by Bazik.
Thanks Bazik!
Here is the codes from Bazik:
mel root # cat /etc/X11/XF86Config | grep -v "^#" | grep "."
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbModel" "sun"
Option "XkbCompat" "compat/complete"
Option "XkbTypes" "types/complete"
Option "XkbKeycodes" "sun(type5)"
Option "XkbGeometry" "sun(type5unix)"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "BusMouse"
Option "Device" "/dev/sunmouse"
EndSection
Section "Monitor"
Identifier "L17MB"
HorizSync 80
VertRefresh 56-75
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "Card0"
Driver "ati"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Card0"
Monitor "L17MB"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
[/list] |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|