* [Hardware] Touchpad+PS/2_wheel_mouse @ 2005-07-27 6:45 andriy_l 2005-07-27 9:12 ` Sergey Vlasov 0 siblings, 1 reply; 3+ messages in thread From: andriy_l @ 2005-07-27 6:45 UTC (permalink / raw) To: hardware Hi, communtiy! Имеется ноутбук с Touchpad'ом и мышь с колесом (PS/2) Работают оба девайса, но колесо на мыше скролить в X-ах отказывается. Хотя поддерку колеса в XF86Config и прописал каждому девайсу (XF86Config у меня имеет 2 секции) Как заставить колесо работать в X-ах? Как вообще идентифицировать отдельно каждый из етих 2 девайсов, если они оба PS/2 по сути (/dev/psaux)? Best regards, Andriy Lutskiv ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Hardware] Touchpad+PS/2_wheel_mouse 2005-07-27 6:45 [Hardware] Touchpad+PS/2_wheel_mouse andriy_l @ 2005-07-27 9:12 ` Sergey Vlasov 2005-07-27 9:40 ` andriy_l 0 siblings, 1 reply; 3+ messages in thread From: Sergey Vlasov @ 2005-07-27 9:12 UTC (permalink / raw) To: hardware [-- Attachment #1: Type: text/plain, Size: 2407 bytes --] On Wed, Jul 27, 2005 at 09:45:05AM +0300, andriy_l wrote: > Имеется ноутбук с Touchpad'ом и мышь с колесом (PS/2) > > Работают оба девайса, но колесо на мыше скролить в X-ах отказывается. > > Хотя поддерку колеса в XF86Config и прописал каждому девайсу > (XF86Config у меня имеет 2 секции) > > Как заставить колесо работать в X-ах? > Как вообще идентифицировать отдельно каждый из етих 2 девайсов, > если они оба PS/2 по сути (/dev/psaux)? Видимо, только поставив ядро 2.6.x (теоретически соответствующая поддержка может присутствовать и в каких-то userspace-драйверах, пригодных для ядер 2.4.x, но я таких драйверов не видел). В ядрах 2.6.x драйверы для PS/2 устройств находятся в ядре, а /dev/psaux - это то же, что и /dev/input/mice. В ядрах 2.4.x устройство /dev/psaux даёт только доступ к порту PS/2, и обращающиеся к нему программы (X, gpm) должны сами поддерживать используемый устройством протокол обмена. Вообще подключение нескольких указывающих устройств к порту PS/2 может быть организовано несколькими способами: 1) Контроллер может иметь больше одного входа PS/2 и поддерживать стандарт PS/2 Active Multiplexing - в этом случае без дополнительной инициализации контроллер объединяет пакеты от всех устройств в единый поток (причём, как правило, поддерживается только стандартный 3-байтовый протокол, из-за чего в этом режиме колесо и другие расширенные возможности недоступны). Если драйвер поддерживает Active Multiplexing, он может перевести контроллер в полнофункциональный режим, в котором возможна независимая работа с физическими портами контроллера; при этом становится возможным использование 4-байтовых протоколов (IMPS/2, ExplorerPS/2) для отдельных портов, к которым подключены соответствующие устройства. Поддержка Active Multiplexing может быть реализована только на уровне драйвера ядра (меняется смысл некоторых разрядов регистров контроллера, доступа только к потоку байтов недостаточно); в ядрах 2.4.x этот режим не поддерживается. 2) Некоторые устройства (Synaptics, Alps touchpad) имеют passthrough port и могут передавать данные, полученные с этого порта, в пакетах своего расширенного протокола (эти устройства используют 6-байтовые пакеты, для passthrough-порта могут использоваться 3-байтовые и 4-байтовые протоколы). Вот этот режим теоретически можно было бы реализовать и через /dev/psaux в ядрах 2.4.x. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Hardware] Touchpad+PS/2_wheel_mouse 2005-07-27 9:12 ` Sergey Vlasov @ 2005-07-27 9:40 ` andriy_l 0 siblings, 0 replies; 3+ messages in thread From: andriy_l @ 2005-07-27 9:40 UTC (permalink / raw) To: hardware Sergey Vlasov wrote: >On Wed, Jul 27, 2005 at 09:45:05AM +0300, andriy_l wrote: > > >>Имеется ноутбук с Touchpad'ом и мышь с колесом (PS/2) >> >>Работают оба девайса, но колесо на мыше скролить в X-ах отказывается. >> >>Хотя поддерку колеса в XF86Config и прописал каждому девайсу >>(XF86Config у меня имеет 2 секции) >> >>Как заставить колесо работать в X-ах? >>Как вообще идентифицировать отдельно каждый из етих 2 девайсов, >>если они оба PS/2 по сути (/dev/psaux)? >> >> > >Видимо, только поставив ядро 2.6.x (теоретически соответствующая поддержка >может присутствовать и в каких-то userspace-драйверах, пригодных для ядер >2.4.x, но я таких драйверов не видел). В ядрах 2.6.x драйверы для PS/2 >устройств находятся в ядре, а /dev/psaux - это то же, что и >/dev/input/mice. В ядрах 2.4.x устройство /dev/psaux даёт только доступ к >порту PS/2, и обращающиеся к нему программы (X, gpm) должны сами >поддерживать используемый устройством протокол обмена. > >Вообще подключение нескольких указывающих устройств к порту PS/2 может >быть организовано несколькими способами: > >1) Контроллер может иметь больше одного входа PS/2 и поддерживать стандарт >PS/2 Active Multiplexing - в этом случае без дополнительной инициализации >контроллер объединяет пакеты от всех устройств в единый поток (причём, как >правило, поддерживается только стандартный 3-байтовый протокол, из-за чего >в этом режиме колесо и другие расширенные возможности недоступны). Если >драйвер поддерживает Active Multiplexing, он может перевести контроллер в >полнофункциональный режим, в котором возможна независимая работа с >физическими портами контроллера; при этом становится возможным >использование 4-байтовых протоколов (IMPS/2, ExplorerPS/2) для отдельных >портов, к которым подключены соответствующие устройства. Поддержка Active >Multiplexing может быть реализована только на уровне драйвера ядра >(меняется смысл некоторых разрядов регистров контроллера, доступа только к >потоку байтов недостаточно); в ядрах 2.4.x этот режим не поддерживается. > >2) Некоторые устройства (Synaptics, Alps touchpad) имеют passthrough port >и могут передавать данные, полученные с этого порта, в пакетах своего >расширенного протокола (эти устройства используют 6-байтовые пакеты, для >passthrough-порта могут использоваться 3-байтовые и 4-байтовые протоколы). >Вот этот режим теоретически можно было бы реализовать и через /dev/psaux в >ядрах 2.4.x. > > Спасибо за такой исчерпывающий ответ - узнал много нового о "мышинных" устройствах. Будем пробовать, сначало 2.6.х ядро поставлю..... а дальше еще спрошу. Еще раз спасибо. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-27 9:40 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-07-27 6:45 [Hardware] Touchpad+PS/2_wheel_mouse andriy_l 2005-07-27 9:12 ` Sergey Vlasov 2005-07-27 9:40 ` andriy_l
ALT Linux hardware support This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \ hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org public-inbox-index hardware Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.hardware AGPL code for this site: git clone https://public-inbox.org/public-inbox.git