LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Manjaro (https://www.linuxquestions.org/questions/manjaro-119/)
-   -   A completely annoying mouse issue (https://www.linuxquestions.org/questions/manjaro-119/a-completely-annoying-mouse-issue-4175719848/)

BW-userx 12-16-2022 06:46 AM

A completely annoying mouse issue
 
I boot up login and my mouse woks as it is suppose to, then after I am logged in it stops working completely after a very short amount of time. I know it is not the mouse or my laptop because I eventually booted into Slackware and it works perfectly like it is suppose to. but everything is setup in Manjaro so I am having to stay in here to do what I am trying to do.

it is a sometimes it works then sometimes it does not .. then it does then it doesn't cycle

this is sysD so I don't know anything about the processes that might be stopping the mouse from working after it was. unplugging it then plugging it back in does not work.

edit:
Oh yeah, I am using XFCE4 desktop, currently installing windowmaker to see if it too will have conflicts or not.

edit 2

well trying to use another desktop ?WM did not work so it defiantly is something with the base system

TB0ne 12-16-2022 02:54 PM

Quote:

Originally Posted by BW-userx (Post 6398245)
I boot up login and my mouse woks as it is suppose to, then after I am logged in it stops working completely after a very short amount of time. I know it is not the mouse or my laptop because I eventually booted into Slackware and it works perfectly like it is suppose to. but everything is setup in Manjaro so I am having to stay in here to do what I am trying to do.

it is a sometimes it works then sometimes it does not .. then it does then it doesn't cycle this is sysD so I don't know anything about the processes that might be stopping the mouse from working after it was. unplugging it then plugging it back in does not work.

edit: Oh yeah, I am using XFCE4 desktop, currently installing windowmaker to see if it too will have conflicts or not.
edit 2: well trying to use another desktop ?WM did not work so it defiantly is something with the base system

What kind of mouse (wired? Wireless with dongle or bluetooth?), and is there anything in dmesg or the system logs? You've eliminated the hardware and the desktop WM, so you're right, it is pointing back to the OS. What version of Manjaro? Any updates recently?

I'd suspect the HID driver.

teckk 12-16-2022 03:31 PM

Usb port/device going to sleep? There have been some posts on the arch forum about that. Didn't involve my machine so I didn't read too closely.

Some info:
https://wiki.archlinux.org/title/Power_management
https://bbs.archlinux.org/viewtopic.php?id=264681
https://wiki.archlinux.org/title/USB_storage_devices
https://wiki.archlinux.org/title/Mouse_acceleration

Edit:
https://bbs.archlinux.org/viewtopic.php?id=262167

frankbell 12-16-2022 08:19 PM

If you have a different mouse, it might be a good idea to give it a try just to rule out with certainty that it's not the mouse. And, building on what teckk said, try a different USB port if you have one available.

BW-userx 12-19-2022 07:12 AM

Quote:

Originally Posted by frankbell (Post 6398386)
If you have a different mouse, it might be a good idea to give it a try just to rule out with certainty that it's not the mouse. And, building on what teckk said, try a different USB port if you have one available.

been there done that. went and got a wireless mouse and it was sticking too so I took it back. and usb ports thing tried that too. this mouse was seemingly working okay as I added a make shift mouse pad . piece of cardboard because it is one a mouse with a tail aka plugin, and no balls aka optical so I figured it maybe the table I am using it on. nevertheless it seemed to be working and yesterday I seen this reply and today I was planing on answering it then my mouse stopped working again // go figure, and I am completely not accustom to using a touchpad.

so yeah It is actually down to usb ports or system, but then again I have to bounce into Slackware to see if the mouse will just work as intended and the possibilities it pretty goood that it will work so that takes me back to the OS Manjaro and system D - again I am not accustom to dealing with it, mount -a does not even work on system D . but that is a learning curve and something non related to this issue.

SO yeah, Now I am in Slackware and my mouse that plugs into a usb port is not having any issues , now I am going back into Manjaro.

oh and btw the little light on the bottom of the mouse does not even come on in Manjaro, and it seems to be taking longer to get from the login screen to the desktop to be fully working xfce4 it sits for a moment before loading everything up in the desktop.

BW-userx 12-19-2022 07:20 AM

Quote:

Originally Posted by TB0ne (Post 6398343)
What kind of mouse (wired? Wireless with dongle or bluetooth?), and is there anything in dmesg or the system logs? You've eliminated the hardware and the desktop WM, so you're right, it is pointing back to the OS. What version of Manjaro? Any updates recently?

I'd suspect the HID driver.

It's wired, and it is down to the system Manjaro as in slack it works. in manjaro booting up to the login screen it mostly will work until I log in then it starts sticking then stops working. today when I planed on ansering this post it just stopped working completely and as I am in slackware right now the mose is working fine.

this is a Lenovo ideapad 330s (arr15) laptop multiboot, if you want to know the hardware just google lenovo 330s aar15. my first and last lenovo and AMD HW system.

BW-userx 12-19-2022 07:47 AM

Quote:

Originally Posted by frankbell (Post 6398386)
If you have a different mouse, it might be a good idea to give it a try just to rule out with certainty that it's not the mouse. And, building on what teckk said, try a different USB port if you have one available.

dmesg | grep USB
Code:

[    0.443036] ACPI: bus type USB registered
[    0.682254] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.682270] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.682283] uhci_hcd: USB Universal Host Controller Interface driver
[    0.682335] usbserial: USB Serial support registered for generic
[    1.526472] xhci_hcd 0000:04:00.3: new USB bus registered, assigned bus number 1
[    1.527522] xhci_hcd 0000:04:00.3: new USB bus registered, assigned bus number 2
[    1.527528] xhci_hcd 0000:04:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[    1.527630] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    1.527635] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.528248] hub 1-0:1.0: USB hub found
[    1.529906] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    1.529910] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.530072] hub 2-0:1.0: USB hub found
[    1.532005] xhci_hcd 0000:04:00.4: new USB bus registered, assigned bus number 3
[    1.532920] xhci_hcd 0000:04:00.4: new USB bus registered, assigned bus number 4
[    1.532924] xhci_hcd 0000:04:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    1.533038] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    1.533043] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.533221] hub 3-0:1.0: USB hub found
[    1.533859] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    1.533863] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.533989] hub 4-0:1.0: USB hub found
[    1.779453] usb 1-3: new low-speed USB device number 2 using xhci_hcd
[    1.786200] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[    1.935741] usb 1-3: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
[    1.935748] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.935751] usb 1-3: Product: USB Optical Mouse
[    1.940732] usb 3-1: New USB device found, idVendor=5986, idProduct=2115, bcdDevice=54.20
[    1.940741] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.089432] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[    2.243262] usb 3-2: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.01
[    2.243293] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    6.935025] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3:1.0/0003:046D:C077.0002/input/input12
[    6.935200] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:04:00.3-3/input0
[    6.935260] usbhid: USB HID core driver
[  337.716768] usb 3-1: USB disconnect, device number 2
[  337.753849] usb 3-2: USB disconnect, device number 3

on the end of all of that it says it sees the usb mouse but the light for its optical eye is not even on, little red light on the bottom of the mouse, id I go into slack then it works as needed, suppose to.
I don't see anything saying it is disabling it or putting it to sleep . today, it just does not even work at all

system D so I am clueless just getting this off another post in here link to page.
Code:

[userx@lenovo-arr15 ~]$ cat /sys/module/usbcore/parameters/autosuspend
2
[userx@lenovo-arr15 ~]$ cat /sys/bus/usb/devices/*/power/autosuspend
2
0
0
0
0

it went beyon 0 and 1 . so I have to find out what does 2 mean. :)


Code:

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c077 Logitech, Inc. Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code:

Bus 001 Device 002: ID 046d:c077 Logitech, Inc. Mouse
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.00
  bDeviceClass            0
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        8
  idVendor          0x046d Logitech, Inc.
  idProduct          0xc077 Mouse
  bcdDevice          72.00
  iManufacturer          1 Logitech
  iProduct                2 USB Optical Mouse
  iSerial                0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength      0x0022
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          1
      bInterfaceClass        3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                9
          bDescriptorType        33
          bcdHID              1.11
          bCountryCode            0 Not supported
          bNumDescriptors        1
          bDescriptorType        34 Report
          wDescriptorLength      46
        Report Descriptors:
          ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0004  1x 4 bytes
        bInterval              10
can't get device qualifier: No such device
can't get debug descriptor: No such device
cannot read device status, No such device (19)

something is wrong with the system (?) because Slackware sees the mouse and does not have this issue, I'd have to reboot into slack to see what it says


slackware sudo lsusb -v
Code:

Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.00
  bDeviceClass            0
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        8
  idVendor          0x046d Logitech, Inc.
  idProduct          0xc077 M105 Optical Mouse
  bcdDevice          72.00
  iManufacturer          1 Logitech
  iProduct                2 USB Optical Mouse
  iSerial                0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength      0x0022
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          1
      bInterfaceClass        3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                9
          bDescriptorType        33
          bcdHID              1.11
          bCountryCode            0 Not supported
          bNumDescriptors        1
          bDescriptorType        34 Report
          wDescriptorLength      46
        Report Descriptors:
          ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0004  1x 4 bytes
        bInterval              10
Device Status:    0x0000
  (Bus Powered)

Manjaro is losing the mouse device somehow?

Xeratul 03-13-2023 08:27 AM

Quote:

Originally Posted by BW-userx (Post 6398245)
I boot up login and my mouse woks as it is suppose to, then after I am logged in it stops working completely after a very short amount of time. I know it is not the mouse or my laptop because I eventually booted into Slackware and it works perfectly like it is suppose to. but everything is setup in Manjaro so I am having to stay in here to do what I am trying to do.

it is a sometimes it works then sometimes it does not .. then it does then it doesn't cycle

this is sysD so I don't know anything about the processes that might be stopping the mouse from working after it was. unplugging it then plugging it back in does not work.

edit:
Oh yeah, I am using XFCE4 desktop, currently installing windowmaker to see if it too will have conflicts or not.

edit 2

well trying to use another desktop ?WM did not work so it defiantly is something with the base system


xinput allows to suppress the mouse for intance and do many more .

BW-userx 03-13-2023 09:15 AM

Quote:

Originally Posted by Xeratul (Post 6417442)
xinput allows to suppress the mouse for intance and do many more .

thanks

Xeratul 03-18-2023 05:40 AM

echo asus ; xinput set-prop 'Elan Touchpad' 'Device Enabled' 0


echo acer ; xinput set-prop 'ELAN0501:00 04F3:300B Touchpad' 'Device Enabled' 0

xinput disable '/dev/wsmouse'


All times are GMT -5. The time now is 09:30 PM.