LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2012, 08:52 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
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.
 
Old 05-05-2012, 01:57 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,259

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
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
 
Old 05-05-2012, 02:09 PM   #3
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Rep: Reputation: 249Reputation: 249Reputation: 249
You missed this thread just a few lines below yours. Anyway, just run:
Code:
slackpkg install-new
This will install the missing package mtdev.
 
Old 05-05-2012, 02:19 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by stormtracknole View Post
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.
 
Old 05-05-2012, 02:30 PM   #5
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Rep: Reputation: 249Reputation: 249Reputation: 249
Quote:
Originally Posted by TobiSGD View Post
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...
 
Old 05-05-2012, 06:03 PM   #6
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
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.
 
Old 05-05-2012, 08:09 PM   #7
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware Current Lost Mouse Fogerty13 Slackware 2 08-22-2009 07:25 PM
lost mouse after upgrade to -current chexmix Slackware 4 11-19-2007 05:11 AM
change kaffeine/xine skip forward/backward value demmylls Linux - Software 0 04-30-2006 12:23 AM
Going backward to go forward Wonderer Slackware 1 01-31-2004 08:14 AM
Lost mouse functions in q3 with mandrake 9.1 Posiedon Linux - Software 0 08-19-2003 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration