Thread (7 messages) 7 messages, 2 authors, 1998-12-23

Re: TurboMouse fix

From: Tom Harrington <hidden>
Date: 1998-12-22 16:51:23

system: 7500 chasis with 166 MHz 604 card, 2.1.127 kernel. Kensington
TurboMouse 4.0 (the 2 button kind), window maker 0.20.3

(do you need to know anything else? sorry, I'm still a wet behind the
ears...)

exported mail to ~, trimmed file in pico, then `cc mousehack.c`.

gives :
/tmp/cca082751.o: In function `sethandler':
/tmp/cca082751.o(.text+0x148): undefined reference to `ADB-WRITEREG'
(same error repeated at (.text+0x1dc) in function `moveadb'
                        (.text+0x26c) in function `initreg2'
                        (.text+0x364) in function `setreg2'
collect2: ld returned 1 exit status

ack! what now? I'm drooling at the thought of a functional 2 button mouse,
and if it only ends up working with v5.0 TurboMice, Santa might have to
make a late delivery...
Hmm, maybe something in your header files?  ADB_WRITEREG is defined (on
my system) in /usr/include/asm/adb_mouse.h.  Look for this file and see 
what's there.

I'm surprised it complains about "ADB-WRITEREG" when the code uses
"ADB_WRITEREG".  You didn't happen to "fix" this while trimming the
file in pico, did you?

I really don't know if mousehack is useful (or even necessary) with a v4.0
TurboMouse.  I assume you've tried the "mousemode" command?

Tom


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help