Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2016 13:19:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 209674] USB keyboard's keys become sticky
Message-ID:  <bug-209674-6-9qIbBN2VSM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209674-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209674-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209674

--- Comment #2 from bourne.identity@hotmail.com <bourne.identity@hotmail.co=
m> ---

It's impossible to capture usbdump packets while the keyboard is stuck. The
anomaly lasts just 1-2 secs during which I can't summon a terminal and run =
the
command.

usbconfig <<
ugen0.1: <OHCI root HUB ATI> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp=
s)
pwr=3DSAVE (0mA)
ugen6.1: <OHCI root HUB ATI> at usbus6, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp=
s)
pwr=3DSAVE (0mA)
ugen5.1: <EHCI root HUB ATI> at usbus5, cfg=3D0 md=3DHOST spd=3DHIGH (480Mb=
ps)
pwr=3DSAVE (0mA)
ugen4.1: <OHCI root HUB ATI> at usbus4, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp=
s)
pwr=3DSAVE (0mA)
ugen3.1: <OHCI root HUB ATI> at usbus3, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp=
s)
pwr=3DSAVE (0mA)
ugen2.1: <EHCI root HUB ATI> at usbus2, cfg=3D0 md=3DHOST spd=3DHIGH (480Mb=
ps)
pwr=3DSAVE (0mA)
ugen1.1: <OHCI root HUB ATI> at usbus1, cfg=3D0 md=3DHOST spd=3DFULL (12Mbp=
s)
pwr=3DSAVE (0mA)
ugen2.2: <USB 2.0 Hub vendor 0x1a40> at usbus2, cfg=3D0 md=3DHOST spd=3DHIGH
(480Mbps) pwr=3DSAVE (100mA)
ugen2.3: <Back-UPS ES 700Y-IN FW895.m3.I USB FWm1 American Power Conversion=
> at
usbus2, cfg=3D0 md=3DHOST spd=3DLOW (1.5Mbps) pwr=3DON (2mA)
ugen2.4: <USB Keyboard Logitech> at usbus2, cfg=3D0 md=3DHOST spd=3DLOW (1.=
5Mbps)
pwr=3DON (90mA)
ugen2.5: <USB Optical Mouse Logitech> at usbus2, cfg=3D0 md=3DHOST spd=3DLOW
(1.5Mbps) pwr=3DON (100mA)
ugen2.6: <MG2400 series Canon> at usbus2, cfg=3D0 md=3DHOST spd=3DHIGH (480=
Mbps)
pwr=3DON (2mA)
<<

pciconf -lv <<
hostb0@pci0:0:0:0:    class=3D0x060000 card=3D0x83881043 chip=3D0x96001022 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'RS780 Host Bridge'
    class      =3D bridge
    subclass   =3D HOST-PCI
pcib1@pci0:0:1:0:    class=3D0x060400 card=3D0x83881043 chip=3D0x96021043 r=
ev=3D0x00
hdr=3D0x01
    vendor     =3D 'ASUSTeK Computer Inc.'
    device     =3D 'RS880 PCI to PCI bridge (int gfx)'
    class      =3D bridge
    subclass   =3D PCI-PCI
pcib2@pci0:0:4:0:    class=3D0x060400 card=3D0x83881043 chip=3D0x96041022 r=
ev=3D0x00
hdr=3D0x01
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'RS780/RS880 PCI to PCI bridge (PCIE port 0)'
    class      =3D bridge
    subclass   =3D PCI-PCI
ahci0@pci0:0:17:0:    class=3D0x01018f card=3D0x83891043 chip=3D0x43901002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]'
    class      =3D mass storage
    subclass   =3D ATA
ohci0@pci0:0:18:0:    class=3D0x0c0310 card=3D0x83891043 chip=3D0x43971002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      =3D serial bus
    subclass   =3D USB
ohci1@pci0:0:18:1:    class=3D0x0c0310 card=3D0x83891043 chip=3D0x43981002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0 USB OHCI1 Controller'
    class      =3D serial bus
    subclass   =3D USB
ehci0@pci0:0:18:2:    class=3D0x0c0320 card=3D0x83891043 chip=3D0x43961002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      =3D serial bus
    subclass   =3D USB
ohci2@pci0:0:19:0:    class=3D0x0c0310 card=3D0x83891043 chip=3D0x43971002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      =3D serial bus
    subclass   =3D USB
ohci3@pci0:0:19:1:    class=3D0x0c0310 card=3D0x83891043 chip=3D0x43981002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0 USB OHCI1 Controller'
    class      =3D serial bus
    subclass   =3D USB
ehci1@pci0:0:19:2:    class=3D0x0c0320 card=3D0x83891043 chip=3D0x43961002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      =3D serial bus
    subclass   =3D USB
none0@pci0:0:20:0:    class=3D0x0c0500 card=3D0x83891043 chip=3D0x43851002 =
rev=3D0x3c
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SBx00 SMBus Controller'
    class      =3D serial bus
    subclass   =3D SMBus
atapci0@pci0:0:20:1:    class=3D0x01018a card=3D0x83891043 chip=3D0x439c100=
2 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 IDE Controller'
    class      =3D mass storage
    subclass   =3D ATA
hdac0@pci0:0:20:2:    class=3D0x040300 card=3D0x84451043 chip=3D0x43831002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SBx00 Azalia (Intel HDA)'
    class      =3D multimedia
    subclass   =3D HDA
isab0@pci0:0:20:3:    class=3D0x060100 card=3D0x83891043 chip=3D0x439d1002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 LPC host controller'
    class      =3D bridge
    subclass   =3D PCI-ISA
pcib3@pci0:0:20:4:    class=3D0x060401 card=3D0x00000000 chip=3D0x43841002 =
rev=3D0x00
hdr=3D0x01
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SBx00 PCI to PCI Bridge'
    class      =3D bridge
    subclass   =3D PCI-PCI
ohci4@pci0:0:20:5:    class=3D0x0c0310 card=3D0x83891043 chip=3D0x43991002 =
rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
    class      =3D serial bus
    subclass   =3D USB
hostb1@pci0:0:24:0:    class=3D0x060000 card=3D0x00000000 chip=3D0x12001022=
 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'Family 10h Processor HyperTransport Configuration'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb2@pci0:0:24:1:    class=3D0x060000 card=3D0x00000000 chip=3D0x12011022=
 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'Family 10h Processor Address Map'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb3@pci0:0:24:2:    class=3D0x060000 card=3D0x00000000 chip=3D0x12021022=
 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'Family 10h Processor DRAM Controller'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb4@pci0:0:24:3:    class=3D0x060000 card=3D0x00000000 chip=3D0x12031022=
 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'Family 10h Processor Miscellaneous Control'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb5@pci0:0:24:4:    class=3D0x060000 card=3D0x00000000 chip=3D0x12041022=
 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD]'
    device     =3D 'Family 10h Processor Link Control'
    class      =3D bridge
    subclass   =3D HOST-PCI
vgapci0@pci0:1:5:0:    class=3D0x030000 card=3D0x83881043 chip=3D0x96161002=
 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Advanced Micro Devices [AMD] nee ATI'
    device     =3D 'RS780L [Radeon HD 3000]'
    class      =3D display
    subclass   =3D VGA
re0@pci0:2:0:0:    class=3D0x020000 card=3D0x84321043 chip=3D0x816810ec rev=
=3D0x06
hdr=3D0x00
    vendor     =3D 'Realtek Semiconductor Co., Ltd.'
    device     =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      =3D network
    subclass   =3D ethernet
<<

dmesg | grep ukbd <<
ukbd0: <USB Keyboard> on usbus2
kbd2 at ukbd0
ukbd0: at uhub7, port 2, addr 4 (disconnected)
ukbd0: <USB Keyboard> on usbus2
kbd2 at ukbd0
<<

usbdump -i usbus2 -f 4 -s 65536 -vvv:
18:16:18.529952 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  00 00 00 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_C=
ALLBACK|0>
18:16:18.529962 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:24.768938 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  00 00 28 00 00 00 00 00  -- -- -- -- -- -- -- -- |..(.....        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:24.768952 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SE=
T|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
18:16:24.856923 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  00 00 00 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_C=
ALLBACK|0>
18:16:24.856935 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:27.920407 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  01 00 00 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:27.920419 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SE=
T|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
18:16:29.200229 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  01 00 06 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_C=
ALLBACK|0>
18:16:29.200257 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:29.296175 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  01 00 00 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:29.296187 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SE=
T|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
18:16:29.368146 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  00 00 00 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_C=
ALLBACK|0>
18:16:29.368157 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:30.064043 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  00 00 2A 00 00 00 00 00  -- -- -- -- -- -- -- -- |..*.....        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>
18:16:30.064057 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xeb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SE=
T|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
18:16:30.136064 usbus2.4
DONE-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D8,IVAL=3D10,ERR=3D0
 frame[0] READ 8 bytes
 0000  00 00 00 00 00 00 00 00  -- -- -- -- -- -- -- -- |........        |
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb021
<OPEN|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_C=
ALLBACK|0>
18:16:30.136089 usbus2.4 SUBM-INTR-EP=3D00000081,SPD=3DLOW,NFR=3D1,SLEN=3D0=
,IVAL=3D10
 frame[0] READ 8 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>
 status 0xcb023
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_=
IMMED|DOING_CALLBACK|0>

18 packets captured
242 packets received by filter
0 packets dropped by kernel

Regards

Manish Jain


On 05/21/2016 14:02, bugzilla-noreply@freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209674
>
> Hans Petter Selasky <hselasky@FreeBSD.org> changed:
>
>             What    |Removed                     |Added
> -------------------------------------------------------------------------=
---
>                   CC|                            |hselasky@FreeBSD.org
>
> --- Comment #1 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
> Hi,
>
> Can you give some more information:
>
> usbconfig
>
> pciconf -lv
>
> dmesg | grep ukbd
>
> Capture USB traffic while problem occurs:
>
> usbdump -i usbusX -f Y -s 65536 -vvv
>
> X and Y are numbers after ugenX.Y for the keyboard device.
>
> --HPS
>

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209674-6-9qIbBN2VSM>