mouse(4) Device Drivers Manual mouse(4) mouse - RS232/V24, ttyS(4). c 9 , : 2 RX 3 TX -12 , I = 10 4 DTR +12 , I = 10 7 RTS +12 , I = 10 5 GND , 9 V. The mouse driver can recognize a mouse by dropping RTS to low and raising it again. About 14 ms later the mouse will send 0x4D ('M') on the data line. After a further 63 ms, a Microsoft-compatible 3-button mouse will send 0x33 ('3'). dx ( ) dy ( ). . ( ): 9600, 4800, 2400 1200 /; 2 , , , 0,1 . , : / 9600 *q 4800 *p 2400 *o 1200 *n . Microsoft Microsoft , 7 ( ), -; 1200 /. RxD - . dx dy 2. lb (rb), () : d6 d5 d4 d3 d2 d1 d0 1 1 lb rb dy7 dy6 dx7 dx6 2 0 dx5 dx4 dx3 dx2 dx1 dx0 3 0 dy5 dy4 dy3 dy2 dy1 dy0 Microsoft - Microsoft . - , Microsoft. . ( , , ). Logitech - Logitech Microsoft: , - , , - , 0x20 (, , 0x20). , 0,0,0,0x20 , . Mousesystems Mousesystems , 8 , - 1200 /. RxD - . dx 2, dy 2. lb (mb, rb) (, ) : d7 d6 d5 d4 d3 d2 d1 d0 1 1 0 0 0 0 lb mb rb 2 0 dxa6 dxa5 dxa4 dxa3 dxa2 dxa1 dxa0 3 0 dya6 dya5 dya4 dya3 dya2 dya1 dya0 4 0 dxb6 dxb5 dxb4 dxb3 dxb2 dxb1 dxb0 5 0 dyb6 dyb5 dyb4 dyb3 dyb2 dyb1 dyb0 , . Sun Sun - Mousesystems ( ): . MM MM , 8 , - 1200 /. RxD - . dx dy , . lb (mb, rb) (, ) : d7 d6 d5 d4 d3 d2 d1 d0 1 1 0 0 dxs dys lb mb rb 2 0 dx6 dx5 dx4 dx3 dx2 dx1 dx0 3 0 dy6 dy5 dy4 dy3 dy2 dy1 dy0 /dev/mouse . . ttyS(4), gpm(8) aereiae , Alexey , Azamat Hackimov , Dmitriy S. Seregin , Dmitry Bolkhovskikh , ITriskTI , Max Is , Yuri Kozlov , ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . mouse(4)