Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-05-2012, 08:52 AM
|
#1
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Rep:
|
Lost forward/backward mouse functions after update to -current X.org
First of all a BIG thanks to the developers for the massive X.org update today in -current!
However, after the update I lost forward and backward functions of my mouse (side-) buttons. I think the buttons do not generate the correct events:
Press/release the 'forward' button:
Code:
LeaveNotify event, serial 43, synthetic NO, window 0x5600001,
root 0x156, subw 0x0, time 1579862, (5,145), root:(719,402),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 16
EnterNotify event, serial 43, synthetic NO, window 0x5600001,
root 0x156, subw 0x0, time 1581390, (5,145), root:(719,402),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 16
KeymapNotify event, serial 43, synthetic NO, window 0x0,
keys: 86 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Press/release 'backward':
Code:
LeaveNotify event, serial 43, synthetic NO, window 0x5600001,
root 0x156, subw 0x0, time 1707118, (4,92), root:(718,349),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 16
EnterNotify event, serial 43, synthetic NO, window 0x5600001,
root 0x156, subw 0x0, time 1708862, (4,92), root:(718,349),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 16
KeymapNotify event, serial 43, synthetic NO, window 0x0,
keys: 86 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Does anyone have an idea how to get the buttons back?
Edit: just adding that the mouse worked by default without Xorg.conf or custom Xmodmap or so. No errors or warnings in /var/log/Xorg.0.log.
Oh, and it is a wireless usb mouse
Code:
lsusb:
idVendor 0x05fe Chic Technology Corp.
idProduct 0x1010 Optical Wireless
Code:
$ dmesg|grep -i mouse
mousedev: PS/2 mouse device common for all mice
generic-usb 0003:05FE:1010.0002: input,hidraw1: USB HID v1.00 Mouse [Device USB Device] on usb-0000:00:13.1-3/input1
Last edited by BroX; 05-05-2012 at 09:11 AM.
|
|
|
05-05-2012, 01:57 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,259
|
I think the change was that it had been handled in Hal, but now is handled in X. This leaves you writing a mouse.conf for xorg.conf.d
|
|
|
05-05-2012, 02:09 PM
|
#3
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
|
You missed this thread just a few lines below yours. Anyway, just run:
Code:
slackpkg install-new
This will install the missing package mtdev.
|
|
|
05-05-2012, 02:19 PM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by stormtracknole
You missed this thread just a few lines below yours. Anyway, just run:
Code:
slackpkg install-new
This will install the missing package mtdev.
|
If mtdev would be missing the mouse buttons wouldn't generate an event at all, nor would the OP even be able to start xev.
@BroX: Back/Forward buttons working fine on my Logitech MX518 (wired USB) without any kind of xorg.conf on a fresh upgraded -current. But may that is hardware related and business_kid is right with his suggestion.
|
|
|
05-05-2012, 02:30 PM
|
#5
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
|
Quote:
Originally Posted by TobiSGD
If mtdev would be missing the mouse buttons wouldn't generate an event at all, nor would the OP even be able to start xev.
@BroX: Back/Forward buttons working fine on my Logitech MX518 (wired USB) without any kind of xorg.conf on a fresh upgraded -current. But may that is hardware related and business_kid is right with his suggestion.
|
Ah, totally misread his post. Carry on... 
|
|
|
05-05-2012, 06:03 PM
|
#6
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
Thanks all.
Indeed, I did not miss the new packages. So I'll see if I can put together a mouse.conf that will take care of business.
|
|
|
05-05-2012, 08:09 PM
|
#7
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
Ok, getting a bit further. Part of the problem was in ~/.xbindkeysrc, which had this code
Code:
# Enable system-wide use of forward/back buttons on mouse
# Mouse Buttons
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:9
"/usr/bin/xvkbd -xsendevent -text "\[CTRL+V]""
m:0x0 + b:2
Without this, xev now reports "button 8" and "button 9" for the side buttons, and back/forward works in firefox but not in krusader or dolphin.
xev does not report any text such as 'back' or 'forward', also no key codes. In fact, the '8' or '9' are the only differences in the xev report. I guess this excludes use of ~/.Xmodmap?
Has the syntax for .xbindkeysrc maybe changed in the latest X.org?
All tips welcome!
|
|
|
All times are GMT -5. The time now is 08:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|