Forum Linux.pl

Systemy uniksowe => *BSD => Wątek zaczęty przez: BukeR w 2009-08-10, 20:26:37

Tytuł: Jak uruchomic myszke pod X'ami [FreeBSD 7.2] ?
Wiadomość wysłana przez: BukeR w 2009-08-10, 20:26:37
Witam.
Jak w temacie. Jak uruchomic myszke pod FreeBSD, aby dzialala w X'ach (XFce)?

Zawartość rc.conf i xorg.conf

rc.conf

# -- sysinstall generated deltas -- # Sat Aug  8 09:35:49 2009
# Created: Sat Aug  8 09:35:49 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
gateway_enable="YES"
hostname="buker"
ifconfig_nfe0="DHCP"
inetd_enable="YES"
ipv6_enable="YES"
keymap="pl_PL.ISO8859-2"
linux_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
hald_enable="YES"
dbus_enable="YES"
usbd_enable="YES"
usbd_flags="/dev/ums0"
xorg.conf

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  "dbe"
   Load  "dri"
   Load  "dri2"
   Load  "extmod"
   Load  "glx"
   Load  "record"
EndSection

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

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

Section "Monitor"
   #DisplaySize     470   300   # mm
   Identifier   "Monitor0"
   VendorName   "ACI"
   ModelName    "ASUS VW223"
   HorizSync    30.0 - 82.0
   VertRefresh  56.0 - 76.0
   Option       "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # []
        #Option     "SWcursor"              # []
        #Option     "Dac6Bit"               # []
        #Option     "Dac8Bit"               # []
        #Option     "BusType"               # []
        #Option     "CPPIOMode"             # []
        #Option     "CPusecTimeout"         #
        #Option     "AGPMode"               #
        #Option     "AGPFastWrite"          # []
        #Option     "AGPSize"               #
        #Option     "GARTSize"              #
        #Option     "RingSize"              #
        #Option     "BufferSize"            #
        #Option     "EnableDepthMoves"      # []
        #Option     "EnablePageFlip"        # []
        #Option     "NoBackBuffer"          # []
        #Option     "DMAForXv"              # []
        #Option     "FBTexPercent"          #
        #Option     "DepthBits"             #
        #Option     "PCIAPERSize"           #
        #Option     "AccelDFS"              # []
        #Option     "IgnoreEDID"            # []
        #Option     "DisplayPriority"       # []
        #Option     "PanelSize"             # []
        #Option     "ForceMinDotClock"      #
        #Option     "ColorTiling"           # []
        #Option     "VideoKey"              #
        #Option     "RageTheatreCrystal"    #
        #Option     "RageTheatreTunerPort"    #
        #Option     "RageTheatreCompositePort"    #
        #Option     "RageTheatreSVideoPort"    #
        #Option     "TunerType"             #
        #Option     "RageTheatreMicrocPath"    #
        #Option     "RageTheatreMicrocType"    #
        #Option     "ScalerWidth"           #
        #Option     "RenderAccel"           # []
        #Option     "SubPixelOrder"         # []
        #Option     "ShowCache"             # []
        #Option     "DynamicClocks"         # []
        #Option     "VGAAccess"             # []
        #Option     "ReverseDDC"            # []
        #Option     "LVDSProbePLL"          # []
        #Option     "AccelMethod"           #
        #Option     "DRI"                   # []
        #Option     "ConnectorTable"        #
        #Option     "DefaultConnectorTable"    # []
        #Option     "DefaultTMDSPLL"        # []
        #Option     "TVDACLoadDetect"       # []
        #Option     "ForceTVOut"            # []
        #Option     "TVStandard"            #
        #Option     "IgnoreLidStatus"       # []
        #Option     "DefaultTVDACAdj"       # []
        #Option     "Int10"                 # []
        #Option     "EXAVSync"              # []
        #Option     "ATOMTVOut"             # []
        #Option     "R4xxATOM"              # []
   Identifier  "Card0"
   Driver      "radeonhd"
   VendorName  "ATI Technologies Inc"
   BoardName   "Mobility Radeon HD 3600 Series"
   BusID       "PCI:2:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection
Tytuł: Jak uruchomic myszke pod X'ami [FreeBSD 7.2] ?
Wiadomość wysłana przez: Krzysiek1990 w 2009-08-14, 01:12:52
Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/ums0"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection
Czy oby masz tą ścieżkę do sterownika?? (/dev/ums0) Jesteś pewien, że tam jest??

Czy klawiatura działa poprawnie??

Jeśli tak to skopiuj swój plik konfiguracyjny w bezpieczne miejsce a ten wywal. Reset x'ów i powinno być wpożądku.
Jeśli nie to zainteresuj się evdev'em.