???????????????????? ?????????????????? ???????? USB ?????? ???????????????????? ???????????????????? ???????????? ?? ???????????????? ?????????????????????? GNOME (GOK). ?????????????????? ???????? USB ?????? ?????????????????????????? ???????? PS2 ?????? ???????????????? ?????????????????? ?????????????????????????? ??????????. ?????? ???????????????????? ?????????????????? ???????? USB ???????????????????? ?????????????????? ?????????????????????? ???????? ??????????????????.
?????????????? ?? ?????????????? ?????? ?????????????????????????? (???????????????????????? root).
?????????????? ?????????????????? ?????????????? ?? ???????? ?????????????????? ?????? ?????????????????????? ???????? USB:
# ls -l /dev/usb/hid* |
???????????????????? ???????? USB ?? ?????????? ?????????????? ???????????????????? ??????????????.
???????????????? ???????? ???????? USB, ???????????????????????? ???? ????????????.
?????????????? ?? ?????????????? ?? ???????????? ?????????????????? ????????????.
???????? ???????????????????????? GNOME Display Manager, ?????????????????? ?????????????????????? ???????? ????????.
?????????????? ?? ?????????????? ?? ???????????? ?????? ?????????????????????????? (???????????????????????? root).
?????????????? ?? ?????????????? svcadm disable application/gdm2-login.
?????????? ?????????????? ?? ?????????????? ?????? ?????????????????????????? (???????????????????????? root).
???????? ???????????????????????? dtlogin, ?????????????????? ?????????????????? ????????????????:
?? ???????? "dtlogin" ???????????????? "Options" ?? "Command Line Login".
?????????????? ?? ?????????????? ?????? ?????????????????????????? (???????????????????????? root).
???????????????? ?????????? ???????? xorg.conf.
# /usr/X11/bin/Xorg -configure |
?? ???????????????????? ?????????????????? ???????? xorg.conf.new ?? ???????????????? (/) ????????????????.
???????????????????? ?????????? ???????? ?????????????????? ?? ?????????????? /etc/x11 ?? ???????????????????????? ???????? xorg.conf.
# cp /xorg.conf.new /etc/X11/xorg.conf |
???????????????? ?????????????????? ?? ??????????:
???????????????? ?? ???????????? 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.
?????????????????? ???????? ?? ?????????????? ???? ?????????????????? ????????????????????????????.
?????????????????????????? ?????????????? ???? ???????????????????????????????? ???????????? ?????????????????? ????????????:
?????????????? ?? ?????????????? ?? ???????????????????????????? ?????????????? ???????????? ????????????????????????, ?????????????????????????? ?????????????????? ?? ???????????????????? ???????????????????? ?????? ?????????????????????????? ?? ?????????????????????????? ??????????????????????????.
???????????????? ?????????????????? ???????????????????? ?????? ?????????????????????????? ?? ?????????????????????????? ?????????????????????????? ?? ???????? Launch Menu => Preferences => Accessibility => Assistive Technology Support.
?????????????? ???? ?????????????? ?? ?????????? ?????????????? ?? ?????????????? ?? ???????????????????????????? ?????????????? ???????????? ????????????????????????, ?????????????????????????? ?????????????????? ?? ???????????????????? ???????????????????? ?????? ?????????????????????????? ?? ?????????????????????????? ??????????????????????????.
???????????????? ???????? ?????????????????? ?? ?????????????? ?????????????????? ??????????????:
% /usr/sfw/bin/gok --select-action=switch1 |
?? ???????? GOK ???????????????? "GOK" ?? ???????????????? "Preferences".
?????? ?????????????????????????? ?????????????????? GOK ?? ???????????????????????? ?? ???????????????????????? ?????????????????????????? ?? ?????????????????????????? ??????????????????????????. ?? ?????????????????? ???????????? ?????????????? "Apply" ?????? ???????????????? ?????????????? ??????????????????, ?? ?????????? ?????????????? ???????????? "OK" ?? ???????? "GOK Preferences".
???????????????? GOK ?? ?????????????????????????? ???? ???? ???????? Launch Menu => Applications => Accessibility => On-Screen Keyboard. ?????????? ???????? ???????????????? ?????????????????? ?????????????????????????????? ??????????????????:
The device you are using to control GOK is also controlling the system pointer. |
?????????????? ???????????? "OK".
???????????????? GOK ?? ?????????????????? ???????? 14-17.
?????????????????????????????? ?????????????????? ???????????? ???? ????????????????????????.