Logitech MX518

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
nicholaicheck
Level 1
Level 1
Posts: 5
Joined: Sat Nov 04, 2017 1:32 pm

Logitech MX518

Postby nicholaicheck » Sat Nov 04, 2017 1:57 pm

I'm trying to get the forward and back buttons of my Logitech MX518 working on Mint 18.1 Cinnamon (if it matters I'm running a Thinkpad T430), especially in browsers (Firefox 56 and Chrome 62.0), but it would be nice if it worked in Nemo as well. So far I've tried the steps here, but was unable to save xorg.conf. I tried these instructions but reached the "comment out" part and have no idea what that means. I tried these instructions, and "xev -event button" gives me a little box to test click in but the back/forward buttons didn’t register, while left/right click did. Does anyone have any other ideas?

FreedomTruth
Level 4
Level 4
Posts: 319
Joined: Fri Sep 23, 2016 10:19 am

Re: Logitech MX518

Postby FreedomTruth » Mon Nov 06, 2017 11:25 pm

I was hoping somebody would have helped you by now. I have this mouse, working great in 18.2 XFCE, it also worked great in 17-18.1 MATE. However, my particular mouse won't stay powered on when plugged into USB, I have to use the USB-to-PS/2 adapter and plug it into my PS/2 port on my desktop. Something wrong with the hardware, it did that in windows too. Anyway, the side buttons (forward, back) just worked, no special set-up required for me. Not sure if it'd be any different on USB.
Some preliminary testing:
install "evtest" with the command sudo apt install evtest
Then run evtest with the command sudo evtest
It will list several devices, select your mouse device. Mine says "/dev/input/event5: ImExPS/2 Logitech Explorer Mouse" so I enter 5
With your mouse pointer over the terminal window (you'll get a lot of information when it moves), then try to hold the mouse as still as possible. press and release the "forward" button, then press and release the "back" button. You should get something like this:
type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1
type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
type 1 (EV_KEY), code 275 (BTN_SIDE), value 1
type 1 (EV_KEY), code 275 (BTN_SIDE), value 0

Press control-C to end evtest.
If you don't get any of these lines, then ... not sure where to go from there. Try the mouse in another computer, do the buttons work correctly there?
If you abide in My word, you are My disciples indeed. And you shall know the truth, and the truth shall make you free... Most assuredly, I say to you, whoever commits sin is a slave of sin... Therefore if the Son makes you free, you shall be free indeed.

nicholaicheck
Level 1
Level 1
Posts: 5
Joined: Sat Nov 04, 2017 1:32 pm

Re: Logitech MX518

Postby nicholaicheck » Mon Nov 06, 2017 11:57 pm

Here's what the forward button gave me:

Code: Select all

Event: time 1510026923.671085, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1510026923.671085, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1
Event: time 1510026923.671085, -------------- SYN_REPORT ------------
Event: time 1510026923.847062, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1510026923.847062, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
Event: time 1510026923.847062, -------------- SYN_REPORT ------------

Here's what the back button gave me:

Code: Select all

Event: time 1510027017.135878, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1510027017.135878, type 1 (EV_KEY), code 275 (BTN_SIDE), value 1
Event: time 1510027017.135878, -------------- SYN_REPORT ------------
Event: time 1510027017.295881, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1510027017.295881, type 1 (EV_KEY), code 275 (BTN_SIDE), value 0
Event: time 1510027017.295881, -------------- SYN_REPORT ------------

FreedomTruth
Level 4
Level 4
Posts: 319
Joined: Fri Sep 23, 2016 10:19 am

Re: Logitech MX518

Postby FreedomTruth » Tue Nov 07, 2017 9:32 am

That's good. The hardware works, and the click messages are seen by evtest at least. Maybe someone more knowledgeable than I can help you at this point, or give me a while to research, maybe I can find something else to try. What does happen in, say, firefox or chrome, when you click the buttons? nothing at all?
If you abide in My word, you are My disciples indeed. And you shall know the truth, and the truth shall make you free... Most assuredly, I say to you, whoever commits sin is a slave of sin... Therefore if the Son makes you free, you shall be free indeed.

nicholaicheck
Level 1
Level 1
Posts: 5
Joined: Sat Nov 04, 2017 1:32 pm

Re: Logitech MX518

Postby nicholaicheck » Fri Nov 10, 2017 1:33 pm

FreedomTruth wrote:What does happen in, say, firefox or chrome, when you click the buttons? nothing at all?


Tried Chrome, Firefox, and Nemo file browser for flavor. Nothing happens in any of those when I use the forward and back buttons.

FreedomTruth
Level 4
Level 4
Posts: 319
Joined: Fri Sep 23, 2016 10:19 am

Re: Logitech MX518

Postby FreedomTruth » Fri Nov 10, 2017 6:38 pm

Well, it doesn't seem to be a Cinnamon problem -- I'm running the 18.1 Cinnamon DVD now, and the forward and back buttons work correctly for me. I even plugged it into a USB port (so far it's been working).

So next, try adding a new user, and log in that user and see if they work right there? (Maybe something is messed up somewhere in your user settings?)

If it still does not work, boot from the mint USB or DVD that you used to install, and check if it works there? (Maybe some system-wide config is messed up?)
If you abide in My word, you are My disciples indeed. And you shall know the truth, and the truth shall make you free... Most assuredly, I say to you, whoever commits sin is a slave of sin... Therefore if the Son makes you free, you shall be free indeed.

nicholaicheck
Level 1
Level 1
Posts: 5
Joined: Sat Nov 04, 2017 1:32 pm

Re: Logitech MX518

Postby nicholaicheck » Sun Nov 12, 2017 6:24 pm

FreedomTruth wrote:So next, try adding a new user, and log in that user and see if they work right there?


That did it. The buttons work as intended in Firefox, Chrome, and Nemo. How can I fix it in my standard user account?

I also discovered my Bumblebee behaved differently. When I log into my standard account I see this (with a grayed-out Intel logo and the notification that appears when moused over (mouse cursor apparently doesn't appear in screenshots)). When I logged into the test account, I saw this. Is Bumblebee operating incorrectly?

FreedomTruth
Level 4
Level 4
Posts: 319
Joined: Fri Sep 23, 2016 10:19 am

Re: Logitech MX518

Postby FreedomTruth » Sun Nov 12, 2017 11:32 pm

Hoping this will work; I really don't know where all the mouse settings are stored... If you don't have dconf-editor, install it (sudo apt install dconf-editor), then run it (it should be in your applications menu). Open the tree to org -> gnome -> nautilus -> preferences and check settings there.
mouse-use-extra-buttons should be checked, mouse-back-button should be 8, mouse-forward-button should be 9
dconf.png

If that doesn't fix it, search around in there (dconf-editor) for other "mouse" settings. The dconf files seemed to be the only relevant matches for "mouse" settings under ~/.config
If you abide in My word, you are My disciples indeed. And you shall know the truth, and the truth shall make you free... Most assuredly, I say to you, whoever commits sin is a slave of sin... Therefore if the Son makes you free, you shall be free indeed.

nicholaicheck
Level 1
Level 1
Posts: 5
Joined: Sat Nov 04, 2017 1:32 pm

Re: Logitech MX518

Postby nicholaicheck » Sun Nov 19, 2017 3:36 pm

FreedomTruth wrote:mouse-use-extra-buttons should be checked, mouse-back-button should be 8, mouse-forward-button should be 9


It doesn't seem to work regardless if the "mouse-use-extra-buttons" is checked or not, and the back button is set to 8 and forward to 9. Is there a way to import working settings from the test account I created (that had working back/forward mouse buttons)?

I found a few other places that have mouse-based entries in dconf Editor, but nothing else seemed to reference extra or back/forward buttons. org>nemo>preferences shows the same "mouse-back-button", "mouse-forward-button" and "mouse-use-extra-buttons" entries but they're set up the same as org>gnome>nautilus>preferences.


Return to “Hardware Support”