Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Mouse often needs to be replugged when booting desktop

Need help with peripherals or devices?
Post Reply
Message
Author
MiracleDinner
Posts: 85
Joined: 2022-10-20 18:18
Has thanked: 7 times

Mouse often needs to be replugged when booting desktop

#1 Post by MiracleDinner »

Hello,

I've been experiencing an issue on my desktop PC for a while now, which is that around half the time (it seems random) when I boot my PC, the mouse doesn't respond unless I unplug and replug my mouse from the USB port. This is very inconvenient to have to do, as my PC is under the desk, and the mouse is plugged into the back.

My mouse is the Logitech G305 wireless mouse.

Thanks very much in advance for any advice.

User avatar
Ardouos
Posts: 1077
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: Mouse often needs to be replugged when booting desktop

#2 Post by Ardouos »

Can you move the mouse around or does nothing happen at all?

What does dmesg say?
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
pbear
Posts: 387
Joined: 2023-08-27 15:05
Location: San Francisco
Has thanked: 2 times
Been thanked: 63 times

Re: Mouse often needs to be replugged when booting desktop

#3 Post by pbear »

Shot in the dark. Maybe the battery needs to be replaced?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2139
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 233 times

Re: Mouse often needs to be replugged when booting desktop

#4 Post by FreewheelinFrank »

Assuming its not the battery, can you run

Code: Select all

$ usbreset
Output should show your mouse:

Code: Select all

Usage:
  usbreset PPPP:VVVV - reset by product and vendor id
  usbreset BBB/DDD   - reset by bus and device number
  usbreset "Product" - reset by product name

Devices:

  Number 001/007  ID 17ef:602e  USB Optical Mouse
Next time the mouse isn't responding, run

Code: Select all

# usbreset "USB Optical Mouse"
Edit: change for the actual name of your device, obviously.

(or use product/vendor or bus/device ID).

If that works, it is possible to autorun the command after suspend. See:

https://askubuntu.com/questions/1044988 ... untu-18-04

Aki
Global Moderator
Global Moderator
Posts: 3083
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Mouse often needs to be replugged when booting desktop

#5 Post by Aki »

Hello,
MiracleDinner wrote: 2024-04-13 19:37 My mouse is the Logitech G305 wireless mouse.
It looks like a wireless mouse [1] and has its own USB receiver.

So you're not unplugging the mouse, you're unplugging the USB receiver, right?

You can therefore rule out other causes (environmental interference ? distance from the receiver (> 20 cm) ? low battery in the mouse ? ).

--
[1] G305 LIGHTSPEED Wireless Gaming Mouse SETUP GUIDE
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

MiracleDinner
Posts: 85
Joined: 2022-10-20 18:18
Has thanked: 7 times

Re: Mouse often needs to be replugged when booting desktop

#6 Post by MiracleDinner »

Yes, it is the USB receiver that I need to unplug and replug.

I doubt it is "environmental interference" of any sort - the mouse is just on top of the wooden desk, and the desktop is under it.

The distance could be a factor, as it's indeed >20cm - perhaps I could test temporarily placing my mouse nearby to see if that affects anything. But the position of the mouse doesn't change when I unplug and replug the receiver, which always fixes the problem until the next reboot.

Here is the output of upower -i, what does this mean as it says "should be ignored" next to the line saying the percentage is 100%?

Code: Select all

miracledinner@miracledinner-b550aoruselitev2:~$ upower -i /org/freedesktop/UPower/devices/battery_hidpp_battery_0
  native-path:          hidpp_battery_0
  model:                G305 Lightspeed Wireless Gaming Mouse
  serial:               8d-df-b8-65
  power supply:         no
  updated:              Sun 14 Apr 2024 20:10:52 BST (6 seconds ago)
  has history:          yes
  has statistics:       yes
  mouse
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    battery-level:       full
    percentage:          100% (should be ignored)
    icon-name:          'battery-full-charged-symbolic'
  History (charge):
    1713121762	100.000	fully-charged
    1713121762	0.000	unknown
  History (rate):
    1713121762	0.000	unknown
Note also that my mouse is powered by a single AA battery.

Aki
Global Moderator
Global Moderator
Posts: 3083
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Mouse often needs to be replugged when booting desktop

#7 Post by Aki »

Hello @MiracleDinner,
Did you sorted it out ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

MiracleDinner
Posts: 85
Joined: 2022-10-20 18:18
Has thanked: 7 times

Re: Mouse often needs to be replugged when booting desktop

#8 Post by MiracleDinner »

Hi,

Apologies for not updating about this sooner.

It does seem as if placing my mouse on top of the desktop whilst it is booting - and thus shortening the distance between the mouse and receiver - fixes the problem most or all of the time. I think I have had a couple of incidents where I still had to replug it, but I don't know maybe the mouse wasn't quite close enough or maybe it could use a new battery.

It's a little inconvenient to have to do every time but much less so than having to unplug and replug the receiver.

Also apologies that I didn't see, and therefore didn't reply to the messages prior to Aki's. The problem did involve being unable to move the mouse whatsoever. If it happens again, I will try running dmesg and usbreset.

User avatar
pbear
Posts: 387
Joined: 2023-08-27 15:05
Location: San Francisco
Has thanked: 2 times
Been thanked: 63 times

Re: Mouse often needs to be replugged when booting desktop

#9 Post by pbear »

MiracleDinner wrote: 2024-05-04 08:37 ... maybe it could use a new battery.
Frankly, pretty silly you haven't replaced it already. Not expensive, maybe solves the problem.

Aki
Global Moderator
Global Moderator
Posts: 3083
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Mouse often needs to be replugged when booting desktop

#10 Post by Aki »

Hello,
MiracleDinner wrote: 2024-05-04 08:37 It does seem as if placing my mouse on top of the desktop whilst it is booting - and thus shortening the distance between the mouse and receiver - fixes the problem most or all of the time. I think I have had a couple of incidents where I still had to replug it, but I don't know maybe the mouse wasn't quite close enough or maybe it could use a new battery.

It's a little inconvenient to have to do every time but much less so than having to unplug and replug the receiver.

Also apologies that I didn't see, and therefore didn't reply to the messages prior to Aki's. The problem did involve being unable to move the mouse whatsoever. If it happens again, I will try running dmesg and usbreset.
Don't worry, the important thing is that you've sorted it out.

When you believe it is reasonably fixed, please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message.

Happy Debian !
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

MiracleDinner
Posts: 85
Joined: 2022-10-20 18:18
Has thanked: 7 times

Re: Mouse often needs to be replugged when booting desktop

#11 Post by MiracleDinner »

So I just experienced this problem once again, but this time there was an identifiable possible cause: the mouse had been left switched on for over 24 hours beforehand. I did try running dmesg and usbreset but they didn't seem to fix it.

Post Reply