Author Topic: [Solved] Linux USB Mouse auto suspend. The mouse power is going off.  (Read 3222 times)

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Well I installed Sparkylinux LxDE and updated it, everything went well except few glitches happen here and there such as mouse freezing and for once the sparky center didn't work and once shutdown didn't occur.

The main problem is mouse is freezing. My previous linux distro is linux mint and I had a 500 Rupees Logitech mouse it would work and it freezed and this happened time to time... what do I mean by freezing? The mouse pointer didn't freeze... the touch pad was always working. I had to remove the usb mouse and reinsert it to get it to work. I opened the mouse and it broke. I bought a new 250 rupee mouse and same thing is happening in Sparkylinux. Is this linux problem? I set BIOS to optimum - default settings. The mouse power is going off.

Hope I get a working solution.
« Last Edit: July 23, 2014, 02:17:35 pm by way12go »
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Re: linux mouse power off linux usb mouse auto suspend
« Reply #1 on: July 23, 2014, 02:15:21 pm »
http://superuser.com/questions/408683/why-my-usb-mouse-gets-suspended-after-3-seconds-of-inactivity
   

I have the perfect solution!

If

Quote
for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done

works for you, but only once,
Quote
sudo gedit /etc/laptop-mode/conf.d/usb-autosuspend.conf
to replace :

Quote
CONTROL_USB_AUTOSUSPEND="auto"

by

Quote
CONTROL_USB_AUTOSUSPEND=0

It works for me.
« Last Edit: July 31, 2014, 06:12:01 am by way12go »
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: [Solved] Linux USB Mouse auto suspend. The mouse power is going off.
« Reply #2 on: July 23, 2014, 09:06:27 pm »
That's great!
Thank's for sharing the solution.
Nothing is easy as it looks.

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Re: [Solved] Linux USB Mouse auto suspend. The mouse power is going off.
« Reply #3 on: July 31, 2014, 06:11:01 am »

Quote
   sudo gedit /etc/laptop-mode/laptop-mode.conf
       This  is  the  main  configuration  file.  It contains the settings for
       enabling and disabling, plus the core features: the Linux kernel laptop
       mode feature and related settings.

       ENABLE_LAPTOP_MODE_TOOLS
                 This  module determines if laptop-mode-tools should be run or
                 not. Default is 1 Set it to 0 if you would like to completely
                 disable laptop-mode-tools
Quote
Set

ENABLE_LAPTOP_MODE_TOOLS=0
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Solution.
« Reply #4 on: August 13, 2014, 05:43:40 am »
The above solutions didn't work for me.

Quote
I simply went to Synaptic package manager and
Quote
uninstalled
Quote
"laptop-mode-tools
"

Quote
Problem solved
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: linux mouse power off linux usb mouse auto suspend
« Reply #5 on: August 18, 2014, 11:02:23 am »
Quote
CONTROL_USB_AUTOSUSPEND=0
Be careful with that one. It's a battery-sucker. Disabling USB autosuspend increases battery drain, as all USB-plugged devices (the ones outside aswell as the ones on the inside of a laptop: webcams, keyboard, touchpad, etc. - they're all usually connected via the USB interface) remain active even when unused.
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Re: [Solved] Linux USB Mouse auto suspend. The mouse power is going off.
« Reply #6 on: August 18, 2014, 01:02:30 pm »
I simply uninstalled laptop mode tools and problem solved. Thanks for your suggestions.
Existence is all about what matters and what doesn't. - Sagar Gorijala.