Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #158497
| From | Václav Ovsík <vaclav.ovsik@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user, linux.debian.bugs.dist |
| Subject | Re: A mouse and keyboard problem (randomly lose keystrokes) |
| Date | 2015-10-01 11:00 +0200 |
| Message-ID | <qeHSy-7yF-11@gated-at.bofh.it> (permalink) |
| References | <qe7Fp-5O1-31@gated-at.bofh.it> <qekVY-7TY-5@gated-at.bofh.it> <qev50-5JG-11@gated-at.bofh.it> <qevRn-6TJ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
On Wed, Sep 30, 2015 at 10:02:29PM +0200, Sven Arvidsson wrote:
> On Wed, 2015-09-30 at 21:18 +0200, Václav Ovsík wrote:
> > After reboot there is some delay time (several seconds), that when
> > USB
> > keyboard or mouse is idle longer than this delay it froze.
> > Next keystroke after this delay is lost, but this lost keystroke
> > wakes
> > keyboard up and next keystrokes are sent again, until there is
> > another
> > longer delay. Mouse must be woke-up by pressing button. This woke-up
> > click is lost, but mouse works, until another delay normally.
> >
> > Simple disconnect and reconnect both devices fixes this problem till
> > another reboot.
>
> Could you try this:
> http://askubuntu.com/questions/80638/how-to-disable-auto-power-off-of-usb-devices-like-usb-mouse
My previous description wasn't accurate. The keyboard lost keystrokes
randomly really - not exactly the first hit when suspended.
zito@bobek:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
|__ Port 8: Dev 3, If 0, Class=Application Specific Interface, Driver=, 12M
|__ Port 8: Dev 3, If 1, Class=Chip/SmartCard, Driver=, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 1: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 4: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 4: Dev 5, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 4: Dev 5, If 3, Class=Application Specific Interface, Driver=, 12M
After reboot the keyboard and the mouse autosuspends:
zito@bobek:~$ for x in /sys/bus/usb/devices/*/power/autosuspend; do echo "$x: $(cat $x)"; done
/sys/bus/usb/devices/1-1.1/power/autosuspend: 2
/sys/bus/usb/devices/1-1.2.1/power/autosuspend: 2
/sys/bus/usb/devices/1-1.2.2/power/autosuspend: 2
/sys/bus/usb/devices/1-1.2/power/autosuspend: 2
/sys/bus/usb/devices/1-1.4/power/autosuspend: 2
/sys/bus/usb/devices/1-1/power/autosuspend: 2
/sys/bus/usb/devices/2-1.8/power/autosuspend: 2
/sys/bus/usb/devices/2-1/power/autosuspend: 2
/sys/bus/usb/devices/usb1/power/autosuspend: 2
/sys/bus/usb/devices/usb2/power/autosuspend: 2
zito@bobek:~$ for x in /sys/bus/usb/devices/*/power/level; do echo "$x: $(cat $x)"; done
/sys/bus/usb/devices/1-1.1/power/level: auto
/sys/bus/usb/devices/1-1.2.1/power/level: auto
/sys/bus/usb/devices/1-1.2.2/power/level: auto
/sys/bus/usb/devices/1-1.2/power/level: auto
/sys/bus/usb/devices/1-1.4/power/level: auto
/sys/bus/usb/devices/1-1/power/level: auto
/sys/bus/usb/devices/2-1.8/power/level: auto
/sys/bus/usb/devices/2-1/power/level: auto
/sys/bus/usb/devices/usb1/power/level: auto
/sys/bus/usb/devices/usb2/power/level: auto
Disconnecting & reconnecting the keyboard and the mouse, the problem is gone:
zito@bobek:~$ for x in /sys/bus/usb/devices/*/power/autosuspend; do echo "$x: $(cat $x)"; done
/sys/bus/usb/devices/1-1.1/power/autosuspend: 2
/sys/bus/usb/devices/1-1.2.1/power/autosuspend: 2
/sys/bus/usb/devices/1-1.2.2/power/autosuspend: 2
/sys/bus/usb/devices/1-1.2/power/autosuspend: 2
/sys/bus/usb/devices/1-1.4/power/autosuspend: 2
/sys/bus/usb/devices/1-1/power/autosuspend: 2
/sys/bus/usb/devices/2-1.8/power/autosuspend: 2
/sys/bus/usb/devices/2-1/power/autosuspend: 2
/sys/bus/usb/devices/usb1/power/autosuspend: 2
/sys/bus/usb/devices/usb2/power/autosuspend: 2
zito@bobek:~$ for x in /sys/bus/usb/devices/*/power/level; do echo "$x: $(cat $x)"; done
/sys/bus/usb/devices/1-1.1/power/level: auto
/sys/bus/usb/devices/1-1.2.1/power/level: on
/sys/bus/usb/devices/1-1.2.2/power/level: on
/sys/bus/usb/devices/1-1.2/power/level: auto
/sys/bus/usb/devices/1-1.4/power/level: auto
/sys/bus/usb/devices/1-1/power/level: auto
/sys/bus/usb/devices/2-1.8/power/level: auto
/sys/bus/usb/devices/2-1/power/level: auto
/sys/bus/usb/devices/usb1/power/level: auto
/sys/bus/usb/devices/usb2/power/level: auto
Both reconnected HID devices has power level on.
--
Zito
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A mouse and keyboard problem (randomly lose keystrokes) Alfonso García <alfon.gz@gmail.com> - 2015-09-29 20:20 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Lisi Reisz <lisi.reisz@gmail.com> - 2015-09-29 22:30 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) alfon <alfon.gz@gmail.com> - 2015-09-30 09:10 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Sven Arvidsson <sa@whiz.se> - 2015-09-29 22:40 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Gergely Nagy <algernon@madhouse-project.org> - 2015-09-30 10:30 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Václav Ovsík <vaclav.ovsik@gmail.com> - 2015-09-30 21:20 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Sven Arvidsson <sa@whiz.se> - 2015-09-30 22:10 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Václav Ovsík <vaclav.ovsik@gmail.com> - 2015-09-30 22:40 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Václav Ovsík <vaclav.ovsik@gmail.com> - 2015-10-01 11:00 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) alfon <alfon.gz@gmail.com> - 2015-10-01 11:20 +0200
Re: A mouse and keyboard problem (randomly lose keystrokes) Alfonso García <alfon.gz@gmail.com> - 2015-10-02 20:00 +0200
csiph-web