Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alright, I'm a newbie to Linux. It's cool and all and I hope it becomes the next big thing in desktops for a lot of reasons. But WHY DO I HAVE TO INSTALL MY INTELLIMOUSE OPTICAL USB 5 BUTTON WITH THIS LOW LEVEL PROGRAMMING CRAP!?????
I mean, jeeesh Linux community. Get with the program. I'm a brainless Windows user like the rest of humanity. Stick this model in the list of available mice and be done with it! Thanks.
Rational
You'll never kill MS with crap like this.
oh, but I do think its cool how Aussie and other are nice enough to take the time to help us mortals through this junk...
Problems installing hardware have nothing whatsoever to do with linux and/or the linux community, it is the responsibility of the company that makes the hardware to provide the support for their products, so go and post your rants at their web site.
ok, so i have my ms intellimouse explorer kinda working in suse 8.1. the wheel scrolls and the buttons are mapped correctly. BUT i can't figure out how to get imwheel to install correctly.
this is my ./configure:
:~/src/imwheel-1.0.0pre2> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for regcomp... yes
checking for strdup... yes
checking for strtol... yes
checking for getopt_long_only... yes
checking that regex functions are available... yes
checking where the pid file goes... /tmp
checking if we suid imwheel at install... no
checking if we use the included getopts... no
checking if we build mdetect... no
checking if we build mdump... no
checking if we build extras... no
checking for gpm-1.19.3/gpm.c... yes
checking if we build gpm-imwheel... yes
checking for X... no
checking if we want to check for XFree86... yes
checking for X... X
checking if X is XFree86... yes
checking for XCreateWindow in -lX11... no
configure: WARNING: IMWheel depends on the X11 libraries!
checking for XextAddDisplay in -lXext... no
checking for XtFree in -lXt... no
checking for XmuInternAtom in -lXmu... no
checking for XTestFakeDeviceKeyEvent in -lXtst... no
configure: WARNING: IMWheel depends on the XTest extention!
You had 2 warnings during configure, imwheel may not compile or run.
configure: creating ./config.status
config.status: creating jax/Makefile
config.status: creating Makefile
config.status: creating mdetect/Makefile
config.status: creating getopt/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
configure: configuring in gpm-1.19.3
configure: running /bin/sh './configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking for emacs... no
checking how to run the C preprocessor... gcc -E
checking for syslog.h... yes
checking for linux/joystick.h... yes
checking for ncurses.h... no
checking for ncurses/curses.h... no
checking for curses.h... no
checking for sys/sysmacros.h... yes
checking for linux/major.h... yes
checking for linux/tty.h... yes
checking for __u32... yes
checking whether system is ELF... yes
checking for vsyslog... yes
checking for syslog... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for tputs in -ltinfo... no
checking for tputs in -lncurses... no
checking for tputs in -ltermcap... no
checking for tputs in -ltermlib... no
checking for wgetch in -lncurses... no
checking for wgetch in -lcurses... no
updating cache /dev/null
creating ./config.status
creating Makefile
creating doc/Makefile
creating contrib/Makefile
creating config.h
config.h is unchanged
and so i can't run make but this is what outputs when i do run it:
make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/ciscokidd/src/imwheel-1.0.0pre2'
Making all in jax
make[2]: Entering directory `/home/ciscokidd/src/imwheel-1.0.0pre2/jax'
source='jax.c' object='jax.o' libtool=no \
depfile='.deps/jax.Po' tmpdepfile='.deps/jax.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c `test -f jax.c || echo './'`jax.c
In file included from jax.c:2:
jax.h:6:22: X11/Xlib.h: No such file or directory
jax.h:7:23: X11/Xutil.h: No such file or directory
jax.h:8:27: X11/Xresource.h: No such file or directory
In file included from jax.c:2:
jax.h:26: parse error before "Display"
jax.h:26: warning: no semicolon at end of struct or union
jax.h:30: parse error before "w"
jax.h:30: warning: data definition has no type or storage class
jax.h:32: parse error before "xswa"
jax.h:32: warning: data definition has no type or storage class
jax.h:33: parse error before "xwa"
jax.h:33: warning: data definition has no type or storage class
jax.h:35: parse error before "wname"
jax.h:35: warning: data definition has no type or storage class
jax.h:36: parse error before "iname"
jax.h:36: warning: data definition has no type or storage class
jax.h:37: parse error before '*' token
jax.h:37: warning: data definition has no type or storage class
jax.h:38: parse error before '*' token
jax.h:38: warning: data definition has no type or storage class
jax.h:39: parse error before '*' token
jax.h:39: warning: data definition has no type or storage class
jax.h:42: parse error before "xe"
jax.h:42: warning: data definition has no type or storage class
jax.h:45: parse error before "xgcv"
jax.h:45: warning: data definition has no type or storage class
jax.h:47: parse error before "gc"
jax.h:47: warning: data definition has no type or storage class
jax.h:48: parse error before '*' token
jax.h:48: warning: data definition has no type or storage class
jax.h:50: parse error before "cmap"
jax.h:50: warning: data definition has no type or storage class
jax.h:58: parse error before '}' token
jax.h:58: warning: data definition has no type or storage class
jax.h:60: parse error before '*' token
jax.h:62: parse error before '*' token
jax.h:63: parse error before '*' token
jax.h:64: parse error before '*' token
jax.h:64: warning: data definition has no type or storage class
jax.h:66: parse error before '*' token
jax.h:66: warning: data definition has no type or storage class
jax.h:68: parse error before '*' token
jax.h:70: parse error before '*' token
jax.h:71: parse error before '*' token
jax.h:72: parse error before '*' token
jax.h:75: parse error before '*' token
jax.h:79: parse error before '*' token
jax.h:81: parse error before '*' token
jax.h:82: parse error before '*' token
jax.h:83: parse error before '*' token
jax.h:84: parse error before '*' token
jax.h:85: parse error before '*' token
jax.c:8: parse error before '*' token
jax.c: In function `JAXusage':
jax.c:12: `prog_name' undeclared (first use in this function)
jax.c:12: (Each undeclared identifier is reported only once
jax.c:12: for each function it appears in.)
jax.c:13: `jax' undeclared (first use in this function)
jax.c:21: `usage' undeclared (first use in this function)
jax.c: At top level:
jax.c:36: parse error before '*' token
jax.c: In function `JAXgetopts':
jax.c:40: `argc' undeclared (first use in this function)
jax.c:40: `argv' undeclared (first use in this function)
jax.c:42: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:87: parse error before '*' token
jax.c: In function `JAXgetrdb':
jax.c:91: `XrmValue' undeclared (first use in this function)
jax.c:91: parse error before "xrmvalue"
jax.c:92: `XrmDatabase' undeclared (first use in this function)
jax.c: At top level:
jax.c:101: parse error before '*' token
jax.c: In function `JAXnewjax':
jax.c:103: `jax' undeclared (first use in this function)
jax.c:105: parse error before ')' token
jax.c: At top level:
jax.c:110: parse error before '*' token
jax.c: In function `JAXinit':
jax.c:112: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:150: parse error before '*' token
jax.c: In function `JAXopenrootwin':
jax.c:152: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:160: parse error before '*' token
jax.c: In function `JAXcreatewin':
jax.c:163: `jax' undeclared (first use in this function)
jax.c:165: `x' undeclared (first use in this function)
jax.c:165: `y' undeclared (first use in this function)
jax.c:165: `h' undeclared (first use in this function)
jax.c:177: `argv' undeclared (first use in this function)
jax.c:180: `winName' undeclared (first use in this function)
jax.c:185: `iconName' undeclared (first use in this function)
jax.c:203: `PPosition' undeclared (first use in this function)
jax.c:203: `PSize' undeclared (first use in this function)
jax.c:203: `PMinSize' undeclared (first use in this function)
jax.c:203: `PMaxSize' undeclared (first use in this function)
jax.c:209: `argc' undeclared (first use in this function)
jax.c: At top level:
jax.c:216: parse error before '*' token
jax.c: In function `JAXuseGeometry':
jax.c:221: `jax' undeclared (first use in this function)
jax.c:228: `XValue' undeclared (first use in this function)
jax.c:228: `not_allowed_bitmask' undeclared (first use in this function)
jax.c:230: `USPosition' undeclared (first use in this function)
jax.c:233: `YValue' undeclared (first use in this function)
jax.c:238: `WidthValue' undeclared (first use in this function)
jax.c:240: `USSize' undeclared (first use in this function)
jax.c:243: `HeightValue' undeclared (first use in this function)
jax.c: At top level:
jax.c:259: parse error before '*' token
jax.c: In function `JAXmapWin':
jax.c:261: `jax' undeclared (first use in this function)
jax.c:263: `raised' undeclared (first use in this function)
jax.c: At top level:
jax.c:275: parse error before '*' token
jax.c: In function `JAXdefaultGC':
jax.c:277: `jax' undeclared (first use in this function)
jax.c:279: `GCForeground' undeclared (first use in this function)
jax.c:279: `GCBackground' undeclared (first use in this function)
jax.c: At top level:
jax.c:284: parse error before '*' token
jax.c: In function `JAXexit':
jax.c:286: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:294: parse error before '*' token
jax.c: In function `JAXaddevents':
jax.c:298: `je' undeclared (first use in this function)
jax.c:299: `jax' undeclared (first use in this function)
jax.c:307: `CWEventMask' undeclared (first use in this function)
jax.c: At top level:
jax.c:313: parse error before '*' token
jax.c: In function `JAXeventnow':
jax.c:317: `jax' undeclared (first use in this function)
jax.c:317: `QueuedAfterReading' undeclared (first use in this function)
jax.c:322: `MappingNotify' undeclared (first use in this function)
jax.c:323: `XMappingEvent' undeclared (first use in this function)
jax.c:323: parse error before ')' token
jax.c: At top level:
jax.c:335: parse error before '*' token
jax.c: In function `JAXwaitforevent':
jax.c:341: `jax' undeclared (first use in this function)
jax.c:344: `MappingNotify' undeclared (first use in this function)
jax.c:345: `XMappingEvent' undeclared (first use in this function)
jax.c:345: parse error before ')' token
jax.c: At top level:
jax.c:355: parse error before '*' token
jax.c: In function `JAXeventhandler':
jax.c:359: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:368: parse error before '*' token
jax.c: In function `JAXeventloop':
jax.c:374: `jax' undeclared (first use in this function)
make[2]: *** [jax.o] Error 1
make[2]: Leaving directory `/home/ciscokidd/src/imwheel-1.0.0pre2/jax'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ciscokidd/src/imwheel-1.0.0pre2'
make: *** [all] Error 2
OK, first off, thanks for all the help with this... I have gotten everything almost 100% totally working. I have a Intellimouse Optical with one button on either side, and I want the left button to be End and the right button to be Escape, and also I want the mousewheel button to be Home.
Here is my script to run imwheel:
Code:
#!/bin/sh
imwheel -k -b "267"
xmodmap:
Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
and .imwheelrc:
Code:
".*"
None, Up, Home
None, Down, End
None, Down, Escape
What obvious thing am I doing wrong?
With this setup, only the mousewheel button (Home) and leftside button (End) work, the right button does nothing. When I capture with xev, it gives the code for Next, whatever that is.
Also, if I'm just doing the two side buttons, they will work (Escape and End work) So I know the Escape syntax is at least semi-correct.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.