View previous topic :: View next topic |
Author |
Message |
tomek32 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 May 2004 Posts: 139
|
Posted: Wed Apr 06, 2005 4:12 pm Post subject: building mousedev as module in 2.6 |
|
|
I need to compile mousedev as a module in linux-2.6 to get my wacom tablet to work.
I'm having trouble making it a module though. It only allows me to build it into the kernel. I've searched, goodled, and tried differrent things without success. Anybody know what's preventing me from building it as a module?
Last edited by tomek32 on Wed Apr 06, 2005 6:50 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dsd Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tomek32 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 May 2004 Posts: 139
|
Posted: Wed Apr 06, 2005 6:58 pm Post subject: |
|
|
The wacom driver is not getting control of it, so I need to use the one included in the linuxwacom package
http://linuxwacom.sourceforge.net/index.php/howto/buildhid6
Here's what I get when I try to build it
Code: | /root/linuxwacom-0.6.7/src/2.6.11/Makefile:69: *** You requested to build mousedev with configure, but mousedev is not a module in your kernel config. Stop. |
It's an Intuos3 by the way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Big Jim Slade Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/117771706942853c6d8dcff.gif)
Joined: 04 May 2005 Posts: 197 Location: Washington State
|
Posted: Sat May 07, 2005 10:20 am Post subject: |
|
|
It's been a month, so maybe you've got this working by now, but in case you haven't and to help out others having the same troubles here's what I did to get my Intuos3 working...
Quote: | I need to compile mousedev as a module in linux-2.6 to get my wacom tablet to work.
I'm having trouble making it a module though. It only allows me to build it into the kernel. I've searched, goodled, and tried differrent things without success. Anybody know what's preventing me from building it as a module? |
First, you don't need to build the modules if you're using kernel 2.6... do it the "blue" way. At the bottom of page 3.3 of the Linux Wacom Project HOWTO http://linuxwacom.sourceforge.net/index.php/howto/buildwacom6, contained within a light blue box are instructions for building the wacom.o module from the source tree. Basically you're copying the new wacom.c file over to the kernel source and then rebuilding the kernel. That's part one.
Then, where you are (were) stuck at, follow the instructions at 3.7.4 http://linuxwacom.sourceforge.net/index.php/howto/buildhid6 contained within the light blue box at the bottom for building evdev, mousedev, usbmouse and hid-core from source. Again, basically copying over the appropriate .c files and letting the kernel build what it needs.
I have evdev built as a module and that's it... mousedev is compiled into the kernel (for reasons explained in a minute), usbmouse is not included... but I don't know what happened to hid-core. It's called something else in the kernel I believe, and it's either compiled in or a module... but it doesn't really matter. The bottom line is that you only build what you need, as explained on 3.7.5 http://linuxwacom.sourceforge.net/index.php/howto/morehid.
Now, if you still need mousedev as a module, you need to enable "Configure standard kernel features (for small systems)" under "General setup" in the kernel, as mousedev is dependent on this. Without that enabled, which more than likely doesn't need to be enabled in the first place, you can't change the settings for mousedev ("Mouse interface" under Device drivers ---> Input device support).
Finally, when you try to test it, make sure you test it with wacdump as it is easier to determine if the tablet is working with it rather than with xxd. Also, there should be a device under /dev/input called wacom that is symbolically linked to event0... that should probably work, although I don't have another mouse attached so it might be different for you.
And, in case you or anybody else is reading this and trying to get this working on an x86_64 system, don't bother trying to figure out how to build the wacom_drv.o X driver unless you really know what you are doing I guess. Instead, you can download an x86_64 version here http://www.jwdt.com/~paysan/wacom.html.
I think that's it... hopefully this'll help you out if you still need it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|