PS2 Input Core Support
Quoted 29 lines · Vojtech Pavlik
Quoted 27 lines · Gunther Mayer
Quoted 11 lines
Quoted 11 lines
Hi,
any plans to support A4Tech mouse? It uses IMEX protocol, butswitch(packet[3] & 0x0F) { case 0: /* nothing */ case 1: vertical_wheel--; break; case 2: horizontal_wheel++; break; case 0xE: horizontal_wheel--; break; case 0xF: vertical_wheel++; break; }Quoted 4 lines
Quoted 1 line
and obviously it never reports wheel move > 1 in one sample.
Is there a way to detect whether it's an ImEx or A4? Or will we need a command line parameter ... ?
from http://home.t-online.de/home/gunther.mayer/gm_psauxprint-0.01.c :
char a4tech_id[]={ 0xf3,200, 0xf3,100, 0xf3,80, 0xf3,60, 0xf3,40, 0xf3,20};
if(a4tech) {
sendbuf(fd,f,a4tech_id,12); buf[0]=0xf2; write(fd,&buf,1); b=consumefa(f); printf("a4tech ID(f2) is %x\n",b);
Quoted 6 lines
Quoted 4 lines
if(b==6 || b==8) printf("AUTODETECT: a4tech\n"); // b=6: spiffy gyro-mouse "8D Profi-Mouse Point Stick" // b=8: boeder Smartmouse Pro (4Button, 2Scrollwheel, 520dpi) PSM_4DPLUS_ID MOUSE_MODEL_4DPLUS }Cool! Anyone send me a patch? ;)
Been there, done that... and unfortunately, my WOP35 insist on taking first 6 bytes as PS/2->ImPS/2 sequence, and rest as normal DPI settings. I tried it in reverse order, and couple of permutations, but it still returns ExPS/2 id. I tried also other sequences from gm_psauxprint-0.01, but I found nothing interesting, except that mouse definitely does not support MS PNP id.
Answer from A4Tech support was that mouse is not supported under Linux, and that I should use Windows and verify that mouse is properly connected. So I'm on the best way to the command line switch, I think. Google find couple of problem reporters, but nobody found detection method :-(
Petr Vandrovec [email protected]
Quoted 9 lines · Petr Vandrovec
Quoted 1 line
Cool! Anyone send me a patch? ;)
Been there, done that... and unfortunately, my WOP35 insist on taking first 6 bytes as PS/2->ImPS/2 sequence, and rest as normal DPI settings. I tried it in reverse order, and couple of permutations, but it still returns ExPS/2 id. I tried also other sequences from gm_psauxprint-0.01, but I found nothing interesting, except that mouse definitely does not support MS PNP id.
Quoted 4 lines
Answer from A4Tech support was that mouse is not supported under Linux, and that I should use Windows and verify that mouse is properly connected. So I'm on the best way to the command line switch, I think. Google find couple of problem reporters, but nobody found detection method :-(
Well, it should be possible to snoop the mouse data off the wire using a slightly modified parkbd.c module on a different machine and a split PS/2 mouse cable ...
Signature · 2 lines
Vojtech Pavlik SuSE Labs