Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-06-2014, 12:45 PM   #16
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 447

Rep: Reputation: 179Reputation: 179

DELETED (Changed my mind)

Last edited by TracyTiger; 05-06-2014 at 12:49 PM.
Old 05-06-2014, 02:28 PM   #17
LQ Newbie
Registered: Jan 2014
Distribution: OpenBSD, Slackware
Posts: 16

Rep: Reputation: Disabled
Originally Posted by gengisdave View Post
I looked at laptop's /var/log/messages and disconnect are still there; every time it increments input number, after 8 uptime hours mouse is connected as input28, but always as /dev/input/mouse1;

it should be an issue, the mouse reconnects successfly, but the grahpic driver won't use it; i have xf86-input-mouse-19.0 build 3; in that case, mouse won't work in x, but if you switch on a terminal (ctrl+alt+f1) you get the pointer (alt+f7 to return in x)
Hm, don't know if this helps, but I had a similar issue with my laptop and its touchpad that did not work properly after suspend (C-M-F1, followed by C-M-F7 restored regular mouse behaviour).

The information from solved my issue.
Old 05-07-2014, 09:29 AM   #18
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 138

Rep: Reputation: 32
Glad to see I'm not alone
Have the same problem with my XBMC Slackware-current based machine and some cheap Logitech wireless keyboard/mouse combo. Some weird power management event disconnects it to the point that even unplug/plug sequence doesn't help. What helps is moving a mouse once in a while, which apparently stops the inactivity counter. I've never put any effort to the problem, but might try. The problem occured also on the older machine, which was based on XBMCBuntu distro, so we can safely rule out kernel or hardware issue. Therefore I agree with gengisdave's assumption - it's an wrongdoing.
Old 08-11-2014, 07:21 AM   #19
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 327

Rep: Reputation: 73
I know this is an old thread, but I haven't used any more my laptop, I studied the problem a bit more, because it came back

I think the problem is related to the powersaving policies in the kernel: the usb device goes into idle mode, then the device (or the kernel module) chooses to disconnect himself rather than do a wakeup.

My trick is to disable the autosuspend just for the mouse through an udev rule.

#cat /etc/udev/rules.d/99-local.rules
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0461", ATTR{idProduct}=="4d03", TEST=="power/control", ATTR{power/control}="on"
(replace idVendor and idProduct with the correct ones, lsusb will show you which ones)

This will not prevent the device to disconnect, but in 90% of cases, the mouse is able to reconnect without problems. I will debug of USB to understand why disconnects so much (but I'm a bit lazy)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
new install of Centos 6.2 won recognise my ps2 mouse only a usb mouse, but I rather u aletta Linux - Hardware 6 07-30-2012 06:04 PM
[SOLVED] When second monitor loses focus, mouse click won't bring it back again rrrssssss Linux - Desktop 2 12-01-2009 05:37 AM
unhiding root turns around the turn off pcandpc Mandriva 2 06-02-2005 10:12 AM
Mouse won't work with USB 2.0 on Beckerjr Linux - Hardware 0 05-27-2005 02:51 PM
Cannot change USB mouse back to PS/2 mouse under Mandrake 10 RedUcer Linux - Hardware 11 10-27-2004 01:40 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration