Bug 1390772

Summary: Can't use Logitech g900 mouse.
Product: [Fedora] Fedora Reporter: Diman Med <diman82>
Component: xorg-x11-drv-mouseAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: diman82, peter.hutterer, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-03 01:29:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
dmesg.out none

Description Diman Med 2016-11-01 22:27:11 UTC
Description of problem:
Can't use Logitech g900 mouse.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Simply try to use this mouse.
2.
3.

Actual results:


Expected results:


Additional info:
Tried Solaar, but didn't help.

Comment 1 Peter Hutterer 2016-11-02 07:53:56 UTC
It's not sending any events? What's the output of evemu-record when you move the mouse?


(fwiw, xorg-x11-drv-mouse hasn't been used in a couple of fedora releases)

Comment 2 Diman Med 2016-11-02 16:53:41 UTC
(In reply to Peter Hutterer from comment #1)
> It's not sending any events? What's the output of evemu-record when you move
> the mouse?
> 
> 
> (fwiw, xorg-x11-drv-mouse hasn't been used in a couple of fedora releases)

Sorry, I'm not so tech savy in Linux. Actually, I remember now, that I coudln't use any mouse at all - I connected a simple usb optical mouse, and it didn't work either.
So I didn't explored too much, as I didn't have the mouse.
The 'non-working mouse' problem also exists on the latest kernel of Fedora 24 (4.8?), but it doesn't exist (mouse/s work fine) on Fedora 24 kernel 4.5..

Comment 3 Peter Hutterer 2016-11-02 21:12:37 UTC
start your plug the mouse in, and run  "dmesg > dmesg.out" immediately after that, then attach the dmesg.out file here please. This should tell us whether the mouse is recognised at all. If so, it should show up when you run "sudo evemu-record" and you should be able to check if you get events from it.

If so, post the output from this command "journalctl -ef _COMM=gdm-x-session" which should tell us why X doesn't recognise it.

Comment 4 Diman Med 2016-11-22 22:18:53 UTC
Created attachment 1222895 [details]
dmesg.out

Comment 5 Diman Med 2016-11-22 22:22:20 UTC
(In reply to Peter Hutterer from comment #3)
> start your plug the mouse in, and run  "dmesg > dmesg.out" immediately after
> that, then attach the dmesg.out file here please. This should tell us
> whether the mouse is recognised at all. If so, it should show up when you
> run "sudo evemu-record" and you should be able to check if you get events
> from it.
> 
> If so, post the output from this command "journalctl -ef
> _COMM=gdm-x-session" which should tell us why X doesn't recognise it.

1. dmesg.out attached.
2. Tried the newest Fedora 25 from today - the same problem
3. 2 mice are connected (G900 & simple optical usb mouse from HP)
4. "sudo evemu-record"  - all devices are recognized, but on move works for HP usb optical, but NOT for Logitech G900
5. "journalctl -ef _COMM=gdm-x-session" yields absolutely nothing: "Logs begin at.." and nothing after that.
6. Mouse pointer stuck at the top left corner, right click seems to be working (and maybe left too), but no move.

Comment 6 Peter Hutterer 2016-11-24 23:38:27 UTC
(In reply to Diman Med from comment #5)
> 1. dmesg.out attached.

this one shows only the USB mouse from HP (event though it's listed as Logitech Optical USB Mouse). The g900 doesn't show up anywhere, so it doesn't seem to be detected by the kernel. Is it connected over USB or with a receiver? 

> 4. "sudo evemu-record"  - all devices are recognized, but on move works for
> HP usb optical, but NOT for Logitech G900

so you're not getting any events from the 900 but you do get the device description? Can you attach that one please?

> 5. "journalctl -ef _COMM=gdm-x-session" yields absolutely nothing: "Logs
> begin at.." and nothing after that.

are you using GNOME or some other DE? If some other, attach your /var/log/Xorg.0.log please

> 6. Mouse pointer stuck at the top left corner, right click seems to be
> working (and maybe left too), but no move.

run sudo libinput-debug-events, does the output of that make sense? i.e. movements/buttons show up as you move the mouse?

Comment 7 Diman Med 2017-02-03 01:19:43 UTC
Googled enough and it seems to be a very specific problem with my Nvidia 1070 GPU.
http://askubuntu.com/questions/838145/mouse-cursor-stuck-in-top-left-of-screen-but-can-still-move-and-interact-with-in
http://askubuntu.com/questions/842103/cursor-moving-but-stuck-in-the-upper-left-corner

Therefore, I've resolved the issue, by installing NVidia driver following this guide:
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/

Comment 8 Peter Hutterer 2017-02-03 01:29:29 UTC
ok, thanks. I'll close this bug now.