SlackwareThis Forum is for the discussion of Slackware 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.
I'm very confused, what the heck is x11-sdk. From that post, I do have scroll working, but no other button's work.
I can find rpm's of x11-sdk, but that doesn't seem like what I want to be doing.
Can anyone provide me with any assistance with this?
How are you using the evdev in slackware? From what I could understand from the link in my above post, the evdev module I allready have in my kernel will not work. They say I need a stand-alone version of it, which I could find, but also x11-sdk which I can't seem to get my hand's on.
Your's work's with "evdev" as the protocol?
This is the quote from the other post I found, and is just what happen's on my box:
Quote:
X Server shipped with slackware doesn't have EVDEV support so it will crash if you change the config.
This is a quote from the linuX-gamers how to:
Quote:
To compile the evdev driver you need the X.Org SDK package and the evdev-driver archive. The SDK package should ship with your distro. If you have compiled Xorg by yourself, you simply need a make install.sdk.
I did get the evdev driver, but it complain's about no xorg-x11-sdk on compile.
My scroll wheel work's just fine, just nothing else. This is relevent part of my xorg:
Distribution: Slackware 10.2 - Kernel 2.6.14.3 - KDE 3.4.2
Posts: 15
Rep:
I haven't used this mouse before, nor messed with evdev. I did however find an article from newsforge that gives the code on how they got the "wheel scroll, scroll rocker, and browser rocker" working. Below is the code they gave...
If this works, the side scroll button should be the only thing that doesn't work. This seems a lot easier to me than messing with evdev unless you really want the side scroll buttons to work. Sorry I'm not much of assistance, but that's as much as I found.
Originally posted by chopp thank's for the reply thingee.
How are you using the evdev in slackware? From what I could understand from the link in my above post, the evdev module I allready have in my kernel will not work. They say I need a stand-alone version of it, which I could find, but also x11-sdk which I can't seem to get my hand's on.
The evdev from the kernel is the Event Interface. You need that.
The module you compile that requires the x11-sdk is the X server module that uses the kernel interface.
Quote:
Originally posted by chopp
Your's work's with "evdev" as the protocol?
This is the quote from the other post I found, and is just what happen's on my box:
The confusion is that there are many "evdev" ones
thingee you mention XF86Config so i guess you are using XFree (or an older Slackware version)
Did you compile it with the evdev patches ?
There were some patches from Debian or Gentoo that used the "mouse" driver and the "evdev" protocol as chopp pointed.
These were poorly written.
The new evdev code that you can compile as a module and exists natively in the CVS version of the XOrg server uses the "evdev" driver, is a better
implementation and doesn't need all the options that thingee mentions.
Anyway, in a few words.
Chopp you can get the scroll and forward/back buttons working by simply using the "ExplorerPS/2" protocol
Otherwise, your solutions are.
1)Get the 3 old evdev patches from either Debian or Gentoo and recompile the X server
2)Get the SDK header files (slackware doesn't include them) and compile the new evdev module
3)Compile the Xorg CVS version
The primary guide is http://www.linux-gamers.net/modules/...p?articleid=46
People that do a search for mouse buttons here get confused because the same linux-gamers article used to have directions about the old evdev patches
and now it contains the new patch. So older posts here mention the config that thingee posted and newer posts use the "evdev" driver and not protocol
That is why people get confused.
Distribution: Slackware 10.2 - Kernel 2.6.14.3 - KDE 3.4.2
Posts: 15
Rep:
Quote:
thingee you mention XF86Config so i guess you are using XFree (or an older Slackware version)
Did you compile it with the evdev patches ?
Actually no I don't. I referenced Xf86config and xorg in case Chopp was using an older version, in which I should've read his distribution tag to begin with. Like I said before, I never messed with evdev. I just hope the change in xorg.conf will help him get everything working on the mouse besides the side scroll button. I'm sorry if this assistance was waste.
I've just set up my MX510 with evdev. This is how i did it
Recompiled kernel (2.6.12) with event device support
Used #cat /proc/bus/input/devices to find my event no - H: Handlers=mouse0 event1
Edited xorg.conf:
dive: I've got the mouse working, but I thought I would give your method a go. What the heck, I've only tried about five other method's.
Do you have the event device as a module, or compiled in the kernel. Mine is a module, and same as every other time I've used "evdev" in xorg.conf, it crash's X.
I'm also wondering about your .Xmodmap. Isn't that a few to many button's?
Originally posted by chopp dive: I've got the mouse working, but I thought I would give your method a go. What the heck, I've only tried about five other method's.
Do you have the event device as a module, or compiled in the kernel. Mine is a module, and same as every other time I've used "evdev" in xorg.conf, it crash's X.
I'm also wondering about your .Xmodmap. Isn't that a few to many button's?
I compiled mine into the kernel and yeah thats quite a few buttons lol
Seriously only need 10 but since I was copying and pasting stuff from Linux Gamers site without really thinking too hard, thats how it ended up
When X crashes did you check that the dev event file system is actually making the correct files in /dev? That would be the culprit. If not I will have anoth look and see if theres anything else I installed.
Well heres something - I just edited my .Xmodmap to 10 buttons and X crashes!
Try it with 32 and see what happens - maybe you need those extra ones defined somehow.
chopp when you say X crashes what error message do you get ?
Is it about "Core Pointer" ?
If this is the case then you don't have the right device.
run "cat /proc/bus/input/devices" and see
"Well heres something - I just edited my .Xmodmap to 10 buttons and X crashes!"
X crashes because a command in xinitrc crashes (in this case xmodmap)
If during a X session you run
Code:
xmodmap -e "pointer = 1 2 .. 10"
you will get something like "i want 32 buttons and you specifies 10"
Maybe thats why Chopp is also crashing - I say that because I have an MX510 and he a 1000 and maybe they need the .Xmodmap to specify 32 (or perhaps more) buttons?
That was the point I was trying to make
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.