Bug 16356

Summary: broken mouse configuration
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: alterator-backend-x11Assignee: Vladislav Zavjalov <slazav>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P2 CC: boyarsh, dottedmag, mike, pere, sem, snejok, zerg
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2008-07-15 15:31:30 MSD
На alterator-backend-0.18.1 (который от 0.18 отличается по другой части,
см. у меня в git) при config-x11 на машинке с мышкой PS/2 пойман такой ужас:

Section "ServerLayout"
        Identifier     "Minimal layout"
        Screen         "Screen0" 0 0
        InputDevice    "/dev/ttyS0" "CorePointer"
EndSection

# BTW "AllowMouseOpenFail" тоже куда-то делось

Section "ServerFlags"
        Option      "AutoAddDevices" "true"
EndSection

Section "InputDevice"
        Identifier  "/dev/ttyS1"
        Driver      "mouse"
        Option      "Device" "/dev//dev/ttyS1"
        Option      "Protocol" "microsoft"
EndSection

Section "InputDevice"
        Identifier  "/dev/ttyS0"
        Driver      "mouse"
        Option      "Device" "/dev//dev/ttyS0"
        Option      "Protocol" "microsoft"
EndSection

Сходу даже не соображу, что именно так могло разнести, но просьба починить.
Здесь должно быть где-то так (M40):

Section "ServerLayout"
        Identifier     "Minimal layout"
        Screen         "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "ImExPS/2 Generic Explorer Mouse|0" "CorePointer"
EndSection

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

Section "InputDevice"
        Identifier  "ImExPS/2 Generic Explorer Mouse|0"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "IMPS/2"
        Option      "ZAxisMapping" "4 5"
EndSection
Comment 1 Vladislav Zavjalov 2008-07-15 15:54:07 MSD
В мышами так сделано по результатом разговора со shrek в связи с новым xorg в Сизифе.

1. ps и usb не прописываем - т.к. найдутся сами
2. AllowMouseOpenFail и так по умолчанию стоит в true
3. com-порты прописываем все - xorg разберется лучше нашего автодетектора.
Comment 2 Mikhail Gusarov 2008-07-15 16:28:28 MSD
Господа, а может к этому автогенерату комментариев подписать, чтобы больше вопросов не было?
Comment 3 Michael Shigorin 2008-07-15 16:56:23 MSD
Явно стоит :)
Comment 4 Vladislav Zavjalov 2008-07-15 17:53:03 MSD
Ну так про мышей там это в комментариях написано...

И еще тут было:
http://freesource.info/wiki/AltLinux/Sisyphus/Alterator/releases/platform11
Comment 5 Vladislav Zavjalov 2008-07-15 17:54:15 MSD
А комментарии к xorg.conf сейчас попробую добавить!
Comment 6 Vladislav Zavjalov 2008-07-15 18:54:21 MSD
добавил комментарии в конфиг