Re: USB mouse and PS2 Keyboard freeze all of a sudden in Ubuntu Mate 16.04.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 26, 2018 at 10:27:17AM +0300, Kyprianos Papadimitriou wrote:
> 
> Thanks for the prompt response! see below
> 
> On 26/04/2018 09:58 πμ, Greg KH wrote:
> > On Wed, Apr 25, 2018 at 09:22:47PM +0300, Kyprianos Papadimitriou wrote:
> > > Dear sir/madam,
> > > 
> > > I am facing the following problem:
> > > 
> > > My computer randomly stops responding to the usb mouse and keyboard.
> > > Unplugging them and plugging them back into a different port does not fix
> > > the problem. Sometimes it is fixed after rebooting or after suspending, then
> > > turning it on.
> > > 
> > > The problem is related to the Logitech trackman wheel & Mircosoft PS2
> > > Keyboard, both are old.
> > > 
> > > Command "lsusb" for the 2 devices gives:
> > > Bus 002 Device 009: ID 046d:c404 Logitech, Inc. TrackMan Wheel
> > > Bus 002 Device 010: ID 0a81:0205 Chesen Electronics Corp. PS/2
> > > Keyboard+Mouse Adapter
> > So this is a ps2 -> USB adapter for the keyboard, right?
> For the keyboard yes, it is ps2->USB. The TrackMan is USB.
> > 
> > > Command "tlp-stat -u" for the 2 devices gives:
> > > Bus 002 Device 009 ID 046d:c404 control = on, autosuspend_delay_ms = -1000
> > > -- Logitech, Inc. TrackMan Wheel (usbhid)
> > > Bus 002 Device 010 ID 0a81:0205 control = on, autosuspend_delay_ms = -1000
> > > -- Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter (usbhid)
> > > 
> > > "uname -ra" gives:
> > > Linux dell 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC
> > > 2018 x86_64 x86_64 x86_64 GNU/Linux
> > > 
> > > Can you please help me resolving this issue?
> > > 
> > > I think the problem is not related with autosuspend, but rather with buffer
> > > overflow for the specific devices due to that they are not supported in the
> > > kernel code.
> > Why would something be overflowing?  These devices should "just work" as
> > this is an old thing.
> > 
> > Have you tried turning autosuspend off for these devices?  Lots of old
> > USB devices do not like that at all.  I don't know what "tlp" does with
> > them, but I would suggest blacklisting them from it and see if that
> > resolves the issue.
> I think I have already done these.
> 
> "control = on" means that autosuspend is off. And when I run command "cat
> /sys/module/usbcore/parameters/autosuspend" , this gives -1.
> 
> Finally, in file /etc/default/tlp , I have added the line
> USB_BLACKLIST="046d:c404". I then executed "sudo tlp usb" (to apply the
> above), and rebooted.
> 
> What more should I do?

I really do not know what 'tlp' does, or how it does it at all, sorry.
If you disable tlp, does everything work properly?

Has this device _ever_ worked properly before on older versions of
Linux?

Are there any lines in the kernel log for when this happens?

If you do this:
	sudo dmesg -c
before anything happens, it will clear out the kernel log.

Then, after the problem happens, you can look at the log by doing:
	dmesg

It might be hard to do that if your keyboard is locked up, I know, any
way to use another keyboard when that happens?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux