?????????????????? ?? ?????????????? Solaris Express Developer Edition

x86: ???????????????? ?? ???????????????????? ???????? USB ?????? ???????????????????? ???????????????????? ?????? ?????????????????????????? ???????????? ?? ???????????????? ?????????????????????? GNOME

???????????????????? ?????????????????? ???????? USB ?????? ???????????????????? ???????????????????? ???????????? ?? ???????????????? ?????????????????????? GNOME (GOK). ?????????????????? ???????? USB ?????? ?????????????????????????? ???????? PS2 ?????? ???????????????? ?????????????????? ?????????????????????????? ??????????. ?????? ???????????????????? ?????????????????? ???????? USB ???????????????????? ?????????????????? ?????????????????????? ???????? ??????????????????.

  1. ?????????????? ?? ?????????????? ?????? ?????????????????????????? (???????????????????????? root).

  2. ?????????????? ?????????????????? ?????????????? ?? ???????? ?????????????????? ?????? ?????????????????????? ???????? USB:


    # ls -l /dev/usb/hid*
    
  3. ???????????????????? ???????? USB ?? ?????????? ?????????????? ???????????????????? ??????????????.

  4. ???????????????? ???????? ???????? USB, ???????????????????????? ???? ????????????.

  5. ?????????????? ?? ?????????????? ?? ???????????? ?????????????????? ????????????.

    • ???????? ???????????????????????? GNOME Display Manager, ?????????????????? ?????????????????????? ???????? ????????.

      1. ?????????????? ?? ?????????????? ?? ???????????? ?????? ?????????????????????????? (???????????????????????? root).

      2. ?????????????? ?? ?????????????? svcadm disable application/gdm2-login.

      3. ?????????? ?????????????? ?? ?????????????? ?????? ?????????????????????????? (???????????????????????? root).

    • ???????? ???????????????????????? dtlogin, ?????????????????? ?????????????????? ????????????????:

      1. ?? ???????? "dtlogin" ???????????????? "Options" ?? "Command Line Login".

      2. ?????????????? ?? ?????????????? ?????? ?????????????????????????? (???????????????????????? root).

  6. ???????????????? ?????????? ???????? xorg.conf.


    # /usr/X11/bin/Xorg -configure
    

    ?? ???????????????????? ?????????????????? ???????? xorg.conf.new ?? ???????????????? (/) ????????????????.

  7. ???????????????????? ?????????? ???????? ?????????????????? ?? ?????????????? /etc/x11 ?? ???????????????????????? ???????? xorg.conf.


    # cp /xorg.conf.new /etc/X11/xorg.conf
    
  8. ???????????????? ?????????????????? ?? ??????????:

    • ???????????????? ?? ???????????? ServerLayout ???????????????????? ?????????? ?????? Mouse1 ?????????? ???????????? InputDevice "Mouse0" "CorePointer". ????. ?????????????????? ????????????:


      InputDevice   "Mouse0" "CorePointer"
      InputDevice   "Mouse1"
    • ?????????????? ?????????????????? ?????????????????? ?? ?????????????? InputDevice, ???????????????????? ???????????? Identifier "Mouse0":

      • ???????????????? Option "Device" "/dev/mouse" ???? Option "Device" "/dev/kdmouse".

      • ???????????????? Option "Protocol" "auto" ???? Option "Protocol" "VUID".

      • ???????????????? ?????????????????? ?????????? ????????????????:


        Option    "StreamsModule" "vuid3ps2"

      ???????????? ???? ?????????? ???????????????????????? ?????????????????????? ???????????? ?????????????????? ?????????????? ???????????????????? ??????????????:


      Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "VUID"
         Option      "Device" "/dev/kdmouse"
         Option      "StreamsModule" "vuid3ps2"
      EndSection
    • ???????????????? ?????????? ???????????? InputDevice ?????????? ?????????????????????? ?????????????? InputDevice:


      Section "InputDevice"
         Identifier  "Mouse1"
         Driver      "mouse"
      	  Option      "Device" "/dev/usb/hid1"
      EndSection

      ???????????????????? –

      /dev/usb/hid1 – ???????????? ???????? ?????? ???????? USB. ???????????????? /dev/usb/hid1 ???? ???????? ???? ???????? 4.


  9. ?????????????????? ???????? ?? ?????????????? ???? ?????????????????? ????????????????????????????.

  10. ?????????????????????????? ?????????????? ???? ???????????????????????????????? ???????????? ?????????????????? ????????????:

    • ???????? ???????????????????????? GDM, ?????????????????? ?????????????????? ????????????????:

      1. ?????????????? ?????????????? svcadm enable application/gdm2-login.

      2. ?????????????????????????? ??????????????.

    • ???????? ???????????????????????? dtlogin, ?????????????????????????? ??????????????.

  11. ?????????????? ?? ?????????????? ?? ???????????????????????????? ?????????????? ???????????? ????????????????????????, ?????????????????????????? ?????????????????? ?? ???????????????????? ???????????????????? ?????? ?????????????????????????? ?? ?????????????????????????? ??????????????????????????.

  12. ???????????????? ?????????????????? ???????????????????? ?????? ?????????????????????????? ?? ?????????????????????????? ?????????????????????????? ?? ???????? Launch Menu => Preferences => Accessibility => Assistive Technology Support.

  13. ?????????????? ???? ?????????????? ?? ?????????? ?????????????? ?? ?????????????? ?? ???????????????????????????? ?????????????? ???????????? ????????????????????????, ?????????????????????????? ?????????????????? ?? ???????????????????? ???????????????????? ?????? ?????????????????????????? ?? ?????????????????????????? ??????????????????????????.

  14. ???????????????? ???????? ?????????????????? ?? ?????????????? ?????????????????? ??????????????:


    % /usr/sfw/bin/gok --select-action=switch1
    
  15. ?? ???????? GOK ???????????????? "GOK" ?? ???????????????? "Preferences".

  16. ?????? ?????????????????????????? ?????????????????? GOK ?? ???????????????????????? ?? ???????????????????????? ?????????????????????????? ?? ?????????????????????????? ??????????????????????????. ?? ?????????????????? ???????????? ?????????????? "Apply" ?????? ???????????????? ?????????????? ??????????????????, ?? ?????????? ?????????????? ???????????? "OK" ?? ???????? "GOK Preferences".

  17. ???????????????? GOK ?? ?????????????????????????? ???? ???? ???????? Launch Menu => Applications => Accessibility => On-Screen Keyboard. ?????????? ???????? ???????????????? ?????????????????? ?????????????????????????????? ??????????????????:


    The device you are using to control GOK is
    also controlling the system pointer.
  18. ?????????????? ???????????? "OK".

  19. ???????????????? GOK ?? ?????????????????? ???????? 14-17.

    ?????????????????????????????? ?????????????????? ???????????? ???? ????????????????????????.