This works fine for me, I can use the sidebutton and can also tilt the mousewheel. However, the device keeps changing between event4 and event5, which means I have to change xorg.conf all the time. I assume it's somehow possible to get udev to assign the same device everytime, but I can't figure out how. I would really appreciate some help with this, cause I'm starting to get tired of this. I run Arch64 in case that matters. Here's my input devices:

Re: Stop mouse from changing device

Well, I've tried with udev now, and it seems like evdev refuse to have anything to do with symlinks. I tried to rename the device to event9 instead, but evdev didn't like that either.

And ndlarsren, I know you can use Name instead. But the problem is that while it's persistent, the devices that keeps changing place has the same name If you see my dump above there's two devices with the name "Logitech USB Receiver". One of them is the mouse, and the other one is apparently there in case the USB receiver wants to be a keyboard too.

Perhaps I should write a script that parses the output of /proc/bus/input/devices and changes xorg.conf everytime I start linux. It feels like there should be some easier solution, but it's at least less annoying than having to edit xorg.conf all the time.

Re: Stop mouse from changing device

Sorry about that, guess I was a little fast on replying. The USB keyboard thing might be due to some sort of search button thing . Evdev ought to handle symlinks, it did for me a while back. Might have been changed, though. Anyway, try using

Re: Stop mouse from changing device

Well, I did manage to write a udev rule that assigned the mouse to event9, but for some odd reason it didn't work with evdev. The man page for evdev says that evdev only uses event*, but I don't understand why event9 doesn't work then. But the phys-thing worked. My mouse-section in xorg.conf now looks like

At a first glance this seems to work as I want. However, if I understand correctly, the phys is tied to a specific usb port? Which means that it will change if I plug the mouse into another port. But since I rarely unplug the mouse anyway, this is a much better solution than having to change xorg.conf all the time.