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.
has anybody outhere got the Tilt wheel of a Microsoft Wireless Optical Mouse 2.0 (and similar) to work?
I've searched and found several questions, but no answers
A Tilt wheel is a scroll wheel, with which you can scroll also horizontal when you tilt it
Distribution should not be important, but its a SuSE 9.1 with Kernel 2.6.4 and Xfree86 4.3, maybe in some time X.org, I'll see when there's time for.
Please do not flame M$ Mouses, in Germany we say Never value a present (translated very free )
Just saw the MS Intelli Mouse Explorer 4 thread, this one shall also have a tilt wheel...
I'm just wondering, that xev doesn't display anything when tilting....
The WM will be AFAIK all over Germany, different games, different towns (or 5 games in one town or sth like that)
Thanks 4 Reply,
--Rob
I think you must have something like "Option" "Buttons" "11", but that's only a guess. If you get X to see all the buttons and scroll buttons for your mouse, make sure you have the buttons be hotkeys if some applications don't see the function for those buttons. I remember reading about buttons on the left and right side of the Explorer mouse having to be hotkeyed to go forward and backward for history when browsing the internet.
Rob, wisst du dass Deustchland in dem erste Spiel verlieren wird?
After putting this into the kernel, I have successfully produced HWHEEL RELATIVE motion events in the /dev/input/eventX.
AKA: The mouse send out -1 or 1 about 2-3 times a second. AKA it behaves as a wheel with constant speed.
You can check this yourself by looking in the /proc/bus/input/devices to which eventX the mouse is bound. Cat it. Then tilt the wheel,and you will see junk appear. Also /proc/bus/input/devices should no longer show the device bound to the keyboard interface.
However getting to work with xfree or x.org was above me. ZAxisMapping with 4 values produced no results. I tried to translate HWHEEL motions into buttons only to find that for some reason X was not even picking them up. Possibly a problem with X, or with the uinput driver only handling 7 or 8 buttons.
Anyway. Consider this mouse working, but not with X. Feel free to post your solutions to this problem.
Oh, IANAKD (Kernel Developer) so my patch may crash your system!!
Well the patch is for the kernel, and I did send it to Vojtech, who seems to maintain hid.
As expected, I got no reply, but the changes/bugs I have sent before to him and usb-devel, seemed to have partially trickled down to the codebase.
As for X.org, I am waiting for the proper InputDriver "evdev" patch. This way I will be able to use any input device in a generic way. There is a version going around, but I believe it is substandard, and I am weary of messing with X11.
The other way is to update an ExplorerPS/2 driver, which the input's mousedev driver talks, but that is even more scary to me, as that may involve "rewriting" the protocol.
I'm still trying to get my tilt wheel working, but still it doesn't want
to
I patched my X.org with the 9000_all_6.7.99.2-lnx-evdev-core-v2.patch
and the 9002_all_6.7.0-lnx-evdev-mouse.patch, edited my X.org Config to
this:
but xev doesn't show up anything for the tilt wheel, the normal Mouse
Functions are alright.
When I run evtest /dev/input/event2 I get some events generated by the
tilt wheel, but them too are not specified:
# evtest /dev/input/event2
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x45e product 0x8c version 0x57
Input device name: "Microsoft Microsoft Wireless Optical Mouse� 1.0A"
Supported events:
Event type 0 (Reset)
Event code 0 (Reset)
Event code 1 (Key)
Event code 2 (Relative)
Event code 3 (Absolute)
Event code 20 (Repeat)
Event type 1 (Key)
Event code 240 (?)
Event code 241 (?)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 272 (LeftBtn)
Event code 273 (RightBtn)
Event code 274 (MiddleBtn)
Event code 275 (SideBtn)
Event code 276 (ExtraBtn)
Event type 2 (Relative)
Event code 0 (X)
Event code 1 (Y)
Event code 8 (Wheel)
Event type 3 (Absolute)
Event code 40 (?)
Value 0
Min 0
Max 1
Event code 41 (?)
Value 0
Min 0
Max 3
Event code 42 (?)
Value 0
Min 0
Max 3
Event code 43 (?)
Value 0
Min 0
Max 3
Event type 20 (Repeat)
Testing ... (interrupt to exit)
Event: time 1096475340.197749, type 1 (Key), code 240 (?), value -1
Event: time 1096475340.197755, type 1 (Key), code 240 (?), value 0
Event: time 1096475340.197757, type 0 (Reset), code 0 (Reset), value 0
Event: time 1096475341.717492, type 1 (Key), code 240 (?), value 1
Event: time 1096475341.717498, type 1 (Key), code 240 (?), value 0
Event: time 1096475341.717500, type 0 (Reset), code 0 (Reset), value 0
The information about the Wireless Optical Mouse� 1.0A is not right, its
a 2.0, is that relevant?
Hope I just did anything wrong, I really like the tilt wheel....
I posted it to the xorg list, but they dont want to answer me, just dunno....
I used a Vanilla Kernel from kernel.org, 2.6.7, used the hidinput-tiltwheel-quirk-for-linux-2.6.7.patch, my Xorg was already patched with the evdev thing.
But still xev displays nothing. Is there a way to debug and see if the patch is right?
What confuses me, is, that the patch is in 2 parts rejected, but these patrts do not look very important...:
Just recognized something: The Kernel could not interprete Scancode of the Tilt Wheel and generates a kernel: keyboard.c: can't emulate rawmode for keycode 240. I'm really f**ked up with this wheel....
Anyone any Ideas?
I'm sure the solution is so easy, that I will die when I hear it...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.