IMHO.WS

IMHO.WS (https://www.imho.ws/index.php)
-   Пингвинятник (ОС *NIX) (https://www.imho.ws/forumdisplay.php?f=76)
-   -   МЫШЬ в Фёдора Горе 2 (https://www.imho.ws/showthread.php?t=61630)

RefuZZer 13.06.2004 12:03

МЫШЬ в Фёдора Горе 2
 
Народ. Спасайте. Установил Fedora Core 2, вроде все нормал, но мышь НЕ работает. То ли дрова некорректно стоят, то ли еще что-то... Хелп! Как же мне без мыши жить? А в Knoppix`е все нормально работает...

Вот выкладываю три конфига:

Первый, из Fedora Core 2: xorg.conf (комменты убрал)
Код:

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath    "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us,ru"
        Option            "XkbOptions" "grp:shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Samsung SyncMaster 500(M)s (CGK5507*)"
        DisplaySize  280        210
        HorizSync    30.0 - 54.0
        VertRefresh  50.0 - 120.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
        VendorName  "Videocard vendor"
        BoardName  "NVIDIA GeForce 2 GTS (generic)"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode        0666
EndSection

Второй, из Knoppix`а: XF86Config.conf
Код:

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath    "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath    "/usr/X11R6/lib/X11/fonts/misc"
        FontPath    "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath    "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath    "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath    "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath    "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath    "/usr/X11R6/lib/X11/fonts/PEX"
        FontPath    "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath    "/usr/share/fonts/ttf/western"
        FontPath    "/usr/share/fonts/ttf/decoratives"
        FontPath    "/usr/share/fonts/truetype"
        FontPath    "/usr/share/fonts/truetype/openoffice"
        FontPath    "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath    "/usr/share/fonts/latex-ttf-fonts"
        FontPath    "/usr/X11R6/lib/X11/fonts/defoma/CID"
        FontPath    "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
  Protocol    "Standard"
  AutoRepeat  500 5
  LeftAlt        Meta
  RightAlt        Meta
  ScrollLock      Compose
  RightCtl        Control
  XkbModel    "pc105"
  XkbLayout "us"
EndSection

Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/mouse"
    Emulate3Buttons
    Emulate3Timeout    70
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName        "SAM"
        ModelName        "SAM1d73"
        HorizSync 30 - 54 # DDC-probed
        VertRefresh 50 - 120 # DDC-probed
        ModeLine "1280x1024"        135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        ModeLine "1024x768"        78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
        ModeLine "1024x768"        75.00 1024 1048 1184 1328  768  771  777  806 -hsync -vsync
        ModeLine "1024x768"        65.00 1024 1048 1184 1344  768  771  777  806 -hsync -vsync
        ModeLine "800x600"        56.25  800  832  896 1048  600  601  604  631 +hsync +vsync
        ModeLine "800x600"        40.00  800  840  968 1056  600  601  605  628 +hsync +vsync
        ModeLine "800x600"        36.00  800  824  896 1024  600  601  603  625 +hsync +vsync
        ModeLine "640x480"        36.00  640  696  752  832  480  481  484  509 -hsync -vsync
        ModeLine "640x480"        31.50  640  656  720  840  480  481  484  500 -hsync -vsync
        ModeLine "640x480"        31.50  640  656  696  816  480  481  484  504 -hsync -vsync
        ModeLine "640x480"        25.17  640  648  744  784  480  482  484  509 -hsync -vsync
        ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
        ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
        ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
        ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
        ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
        ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
        ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
        ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
        ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
        ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
        ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
        ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
        ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
        ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
        ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
        ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
        ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
        ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
        ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
        ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
        ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
EndSection

Section "Device"
    Identifier    "My Video Card"
    VendorName    "Unknown"
    BoardName    "Unknown"
EndSection

Section "Device"
  Identifier    "fbdev"
  VendorName    "Unknown"
  BoardName    "Unknown"
EndSection

Section "Screen"
    Driver      "svga"
    Device      "My Video Card"
    Monitor    "Monitor0"
    Subsection  "Display"
        Modes "1024x768" "800x600" "640x480"
        ViewPort 0 0
    EndSubsection
EndSection

Section "Screen"
    Driver      "accel"
    Device      "My Video Card"
    Monitor    "Monitor0"
    Subsection  "Display"
        Modes "1024x768" "800x600" "640x480"
        ViewPort 0 0
    EndSubsection
EndSection

Section "Screen"
    Driver      "vga16"
    Device      "My Video Card"
    Monitor    "Monitor0"
    Subsection  "Display"
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen" 
  Driver        "fbdev"
  Device        "fbdev"
  Monitor      "Monitor0"
  SubSection "Display"
    Depth      32
    Modes      "default"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "default"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "default"
  EndSubSection
  SubSection "Display"
    Depth      15
    Modes      "default"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "default"
  EndSubSection
EndSection

Третий конфиг, тоже вроде из Knoppix`а выдрал (не помню): XF86Config-4.conf
Код:

Section "ServerLayout"
        Identifier    "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "PS/2 Mouse" "CorePointer"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath  "/usr/X11R6/lib/modules"
        FontPath    "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath    "/usr/X11R6/lib/X11/fonts/misc"
        FontPath    "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath    "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath    "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath    "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath    "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath    "/usr/X11R6/lib/X11/fonts/PEX"
        FontPath    "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath    "/usr/share/fonts/ttf/western"
        FontPath    "/usr/share/fonts/ttf/decoratives"
        FontPath    "/usr/share/fonts/truetype"
        FontPath    "/usr/share/fonts/truetype/openoffice"
        FontPath    "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath    "/usr/share/fonts/latex-ttf-fonts"
        FontPath    "/usr/X11R6/lib/X11/fonts/defoma/CID"
        FontPath    "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap"        Load  "speedo"
        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xfree86"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"

EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "Protocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto"
Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option                "SendCoreEvents"        "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"              "5"
EndSection

Section "Monitor"
        Identifier        "Monitor0"
        Option        "DPMS"        "true"
        VendorName        "SAM"
        ModelName        "SAM1d73"
        HorizSync 30 - 54
        VertRefresh 50 - 120
        ModeLine "1280x1024"        135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        ModeLine "1024x768"        78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
        ModeLine "1024x768"        75.00 1024 1048 1184 1328  768  771  777  806 -hsync -vsync
        ModeLine "1024x768"        65.00 1024 1048 1184 1344  768  771  777  806 -hsync -vsync
        ModeLine "800x600"        56.25  800  832  896 1048  600  601  604  631 +hsync +vsync
        ModeLine "800x600"        40.00  800  840  968 1056  600  601  605  628 +hsync +vsync
        ModeLine "800x600"        36.00  800  824  896 1024  600  601  603  625 +hsync +vsync
        ModeLine "640x480"        36.00  640  696  752  832  480  481  484  509 -hsync -vsync
        ModeLine "640x480"        31.50  640  656  720  840  480  481  484  500 -hsync -vsync
        ModeLine "640x480"        31.50  640  656  696  816  480  481  484  504 -hsync -vsync
        ModeLine "640x480"        25.17  640  648  744  784  480  482  484  509 -hsync -vsync
        ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
        ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
        ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
        ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
        ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
        ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
        ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
        ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
        ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
        ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
        ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
        ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
        ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
        ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
        ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
        ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
        ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
        ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
        ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
        ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
        ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
EndSection

Section "Device"
Option "sw_cursor"
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "All"
        BoardName  "All"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 16
        SubSection "Display"
                Depth    1
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    4
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    8
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    15
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    24
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Мож кто разберется в них? А? Ведь в Knoppix`е все работает... :?

RefuZZer 13.06.2004 15:50

По ходу немного разобрался...
Видать, Федора воооообще не видит мышь... или PS/2 порт мыши :(

Она просто не видит ни /dev/input/mice, ни /dev/input/mouse, ни /dev/psaux - НИЧЕГО! Устройство отсутствует...

Че делать в такой ситуации?

Shlomo 13.06.2004 19:41

Я не знааю что у тебя за мышь, но если ps/2 whell, то драйсер должен быть
/dev/psaux

Bek 15.06.2004 11:29

У тебя в федоре видимо даже не созданы служебные каталоги.
Скопируй из кнопикса целиком секцию:

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

и вставь ее в xorg.conf
А уже в нем смени в строке

InputDevice "Mouse0" "CorePointer"

"Mouse0" на "PS/2 Mouse"
после рестарта иксов будет счастье ;-)

RefuZZer 18.06.2004 01:55

Ничего не помогло.

Попытка изменить конфиг ХОТЬ КАКИМ-ТО образом приводит к ошибке запуска иксов: no such device или device not found.

При обычном конфиге (Xorg) - курсор мыши виден, но он АБСОЛЮТНО неподвижен

А возможно ли поставить старые иксы? Выдрать их, допустим, из FC1 ?

Roma Duke 22.06.2004 15:51

В обычном Х 4.3, если запустить Х --help выдаст кучу параметров для запуска. Среди них есть такой --configure, при котором получается конф. файл. Ну и его можно подставить и посмотреть. Попробуй может и в Xorg есть навроде этого. И еще попробую прописать две секции про мышь:
1 Section "Pointer" - старое обозначение
2 Section "InputDevice" - новое, помоему с XFree 4.3 пошло.
и поочереди их пропись и попробовать в Section "ServerLayout"

russianpirate 23.06.2004 07:46

RefuZZer
U menya bila pohojigya problema... mne prishlos yadro perecompit'! Poprobuy eto!

RefuZZer 27.06.2004 11:51

Счастья не прибавилось :(

А вот перекомпилить ядро... Могу попробовать...


Часовой пояс GMT +4, время: 13:33.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.