Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB3.0 incompatible with USB1.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Tue Dec 11, 2018 9:06 am    Post subject: USB3.0 incompatible with USB1.1 Reply with quote

Hi all,
I have a problem with a new panel pc. It has 4 USB3.0 ports usually driven with the kernel driver xhci.
Now I have to connect to the pc a device with USB1.1. When I do it it works bad and fails all the reboot with the following error (dmesg):

"usb1-1: device descriptor read/64, error -71

xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2

usb1-1: Device not responding to setup address

usb 1-1: device not accepting address 5, error -71

hub 1-0:1.0: unable to enumerate USB device on port 1"

After that the system disables all the usb ports

I tried to downgrade the ports to usb 2.0 from the BIOS, but using the driver xhci I have always the same behaviour. I tried to eliminate the xhci driver using only the ehci driver, but in this case it is not possible to see the all the usb ports on the system.

Please, do you have any suggestion about how to solve this issue?

Thanks
Claudio
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Tue Dec 11, 2018 9:31 am    Post subject: Reply with quote

dr_berta,

Please post the output of
Code:
lspci -knn
so we can see your hardware.

The output of
Code:
lsusb -vvv
with the problem device connected would be good too.
That will be big. It must go to a pastebin.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Wed Dec 12, 2018 5:26 pm    Post subject: Reply with quote

Hi,
this is the result of the first command you asked:
Code:
eposatom ~ # lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:190f] (rev 07)
   Subsystem: Intel Corporation Device [8086:2015]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:1902] (rev 06)
   Subsystem: Intel Corporation Device [8086:0000]
00:08.0 System peripheral [0880]: Intel Corporation Device [8086:1911]
   Subsystem: Intel Corporation Device [8086:2015]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a12f] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
   Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Device [8086:a131] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a13a] (rev 31)
   Subsystem: Intel Corporation Device [8086:1999]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a102] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
   Kernel driver in use: ahci
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a11c] (rev f1)
   Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a146] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
00:1f.2 Memory controller [0580]: Intel Corporation Device [8086:a121] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a170] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
   Kernel driver in use: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a123] (rev 31)
   Subsystem: Intel Corporation Device [8086:7270]
00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:15b7] (rev 31)
   Subsystem: Intel Corporation Device [8086:0000]
0c:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:157b] (rev 03)
   Subsystem: Intel Corporation Device [8086:0000]
   Kernel driver in use: igb


And the second is this:
Code:
eposatom ~ # lspci -vvv
00:00.0 Host bridge: Intel Corporation Device 190f (rev 07)
   Subsystem: Intel Corporation Device 2015
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
   Latency: 0
   Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:02.0 VGA compatible controller: Intel Corporation Device 1902 (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Intel Corporation Device 0000
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at ee000000 (64-bit, non-prefetchable) [size=16M]
   Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
   Region 4: I/O ports at f000 [size=64]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: [40] Vendor Specific Information: Len=0c <?>
   Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
      DevCap:   MaxPayload 128 bytes, PhantFunc 0
         ExtTag- RBE+
      DevCtl:   Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
         RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
         MaxPayload 128 bytes, MaxReadReq 128 bytes
      DevSta:   CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
      DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
      DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
   Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
      Address: 00000000  Data: 0000
   Capabilities: [d0] Power Management version 2
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [100 v1] #1b
   Capabilities: [200 v1] Address Translation Service (ATS)
      ATSCap:   Invalidate Queue Depth: 00
      ATSCtl:   Enable-, Smallest Translation Unit: 00
   Capabilities: [300 v1] #13

00:08.0 System peripheral: Intel Corporation Device 1911
   Subsystem: Intel Corporation Device 2015
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at ef14f000 (64-bit, non-prefetchable) [size=4K]
   Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
      Address: 00000000  Data: 0000
   Capabilities: [dc] Power Management version 2
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [f0] PCI Advanced Features
      AFCap: TP+ FLR+
      AFCtrl: FLR-
      AFStatus: TP-

00:14.0 USB controller: Intel Corporation Device a12f (rev 31) (prog-if 30 [XHCI])
   Subsystem: Intel Corporation Device 7270
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 127
   Region 0: Memory at ef130000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [70] Power Management version 2
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
      Address: 00000000fee0300c  Data: 41d1
   Kernel driver in use: xhci_hcd

00:14.2 Signal processing controller: Intel Corporation Device a131 (rev 31)
   Subsystem: Intel Corporation Device 7270
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin C routed to IRQ 11
   Region 0: Memory at ef14e000 (64-bit, non-prefetchable) [size=4K]
   Capabilities: [50] Power Management version 3
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
      Address: 00000000  Data: 0000

00:16.0 Communication controller: Intel Corporation Device a13a (rev 31)
   Subsystem: Intel Corporation Device 1999
   Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at ef14d000 (64-bit, non-prefetchable) [disabled] [size=4K]
   Capabilities: [50] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
      Address: 0000000000000000  Data: 0000

00:17.0 SATA controller: Intel Corporation Device a102 (rev 31) (prog-if 01 [AHCI 1.0])
   Subsystem: Intel Corporation Device 7270
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 121
   Region 0: Memory at ef148000 (32-bit, non-prefetchable) [size=8K]
   Region 1: Memory at ef14c000 (32-bit, non-prefetchable) [size=256]
   Region 2: I/O ports at f090 [size=8]
   Region 3: I/O ports at f080 [size=4]
   Region 4: I/O ports at f060 [size=32]
   Region 5: Memory at ef14b000 (32-bit, non-prefetchable) [size=2K]
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
      Address: fee0300c  Data: 4171
   Capabilities: [70] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
   Kernel driver in use: ahci

00:1d.0 PCI bridge: Intel Corporation Device a11c (rev f1) (prog-if 00 [Normal decode])
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
   I/O behind bridge: 0000e000-0000efff
   Memory behind bridge: ef000000-ef0fffff
   Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
   Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
   BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
      PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
   Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
      DevCap:   MaxPayload 256 bytes, PhantFunc 0
         ExtTag- RBE+
      DevCtl:   Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
         RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
         MaxPayload 256 bytes, MaxReadReq 128 bytes
      DevSta:   CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
      LnkCap:   Port #13, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
         ClockPM- Surprise- LLActRep+ BwNot+
      LnkCtl:   ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
      LnkSta:   Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
      SltCap:   AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
         Slot #16, PowerLimit 10.000W; Interlock- NoCompl+
      SltCtl:   Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
         Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
      SltSta:   Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
         Changed: MRL- PresDet- LinkState+
      RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
      RootCap: CRSVisible-
      RootSta: PME ReqID 0000, PMEStatus- PMEPending-
      DevCap2: Completion Timeout: Range ABC, TimeoutDis+, LTR+, OBFF Not Supported ARIFwd+
      DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled ARIFwd-
      LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
          Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
          Compliance De-emphasis: -6dB
      LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
          EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
      Address: fee0300c  Data: 4161
   Capabilities: [90] Subsystem: Intel Corporation Device 7270
   Capabilities: [a0] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [100 v1] Advanced Error Reporting
      UESta:   DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
      UEMsk:   DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt+ RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
      UESvrt:   DLP+ SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
      CESta:   RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
      CEMsk:   RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
      AERCap:   First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
   Capabilities: [140 v1] Access Control Services
      ACSCap:   SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd- EgressCtrl- DirectTrans-
      ACSCtl:   SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
   Capabilities: [220 v1] #19
   Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Device a146 (rev 31)
   Subsystem: Intel Corporation Device 7270
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0

00:1f.2 Memory controller: Intel Corporation Device a121 (rev 31)
   Subsystem: Intel Corporation Device 7270
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Region 0: Memory at ef144000 (32-bit, non-prefetchable) [size=16K]

00:1f.3 Audio device: Intel Corporation Device a170 (rev 31)
   Subsystem: Intel Corporation Device 7270
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 32
   Interrupt: pin A routed to IRQ 128
   Region 0: Memory at ef140000 (64-bit, non-prefetchable) [size=16K]
   Region 4: Memory at ef120000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [50] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
      Address: 00000000fee0300c  Data: 41e1
   Kernel driver in use: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Device a123 (rev 31)
   Subsystem: Intel Corporation Device 7270
   Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Interrupt: pin A routed to IRQ 16
   Region 0: Memory at ef14a000 (64-bit, non-prefetchable) [size=256]
   Region 4: I/O ports at f040 [size=32]

00:1f.6 Ethernet controller: Intel Corporation Device 15b7 (rev 31)
   Subsystem: Intel Corporation Device 0000
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at ef100000 (32-bit, non-prefetchable) [size=128K]
   Capabilities: [c8] Power Management version 3
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
   Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
      Address: 0000000000000000  Data: 0000
   Capabilities: [e0] PCI Advanced Features
      AFCap: TP+ FLR+
      AFCtrl: FLR-
      AFStatus: TP-

0c:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
   Subsystem: Intel Corporation Device 0000
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 16
   Region 0: Memory at ef000000 (32-bit, non-prefetchable) [size=128K]
   Region 2: I/O ports at e000 [size=32]
   Region 3: Memory at ef020000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
      Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
      Address: 0000000000000000  Data: 0000
      Masking: 00000000  Pending: 00000000
   Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
      Vector table: BAR=3 offset=00000000
      PBA: BAR=3 offset=00002000
   Capabilities: [a0] Express (v2) Endpoint, MSI 00
      DevCap:   MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
         ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
      DevCtl:   Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
         RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
         MaxPayload 256 bytes, MaxReadReq 512 bytes
      DevSta:   CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
      LnkCap:   Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <16us
         ClockPM- Surprise- LLActRep- BwNot-
      LnkCtl:   ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
      LnkSta:   Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
      DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
      DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
      LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
          Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
          Compliance De-emphasis: -6dB
      LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
          EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
   Capabilities: [100 v2] Advanced Error Reporting
      UESta:   DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
      UEMsk:   DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
      UESvrt:   DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
      CESta:   RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
      CEMsk:   RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
      AERCap:   First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
   Capabilities: [140 v1] Device Serial Number 00-01-da-ff-ff-f1-e1-ea
   Capabilities: [1a0 v1] Transaction Processing Hints
      Device specific mode supported
      Steering table in TPH capability structure
   Kernel driver in use: igb


Thanks
Claudio
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Wed Dec 12, 2018 5:41 pm    Post subject: Reply with quote

Just an update.
I upgraded the kernel from 3.14.14 to 3.19.8 and the situation now is a little bit better.
Now at the reboot the error is shown in the screenshot dmesg.png you can find here:https://www.dropbox.com/sh/4dx944ew2hy4pen/AAA_1FfbYoGKCoVSXSBFcPDJa?dl=0

The dmesg2.png is the answer of the system when I tried to switch off and on the usb port with the unbind/bind command.

The dmesg3.png shows the result I have disconnecting and reconnecting the usb device

I sent the same info to the manufacturer of the panel PC and they answered me this:
Quote:
Skylake platform with same XHCI driver issue(Not include xhci driver in OS DVD) ,When install WIN 7.


My idea is to try to check a kernel 4.x to see if something change.

Hope this helps to understand the problem.
Claudio
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Wed Dec 12, 2018 6:09 pm    Post subject: Reply with quote

dr_berta,

You posted
Code:
lspci -vvv
I asked for
    lsusb -vvv

Note pci -> usb.

Your motherboard only has USB 3, so you only need the xhci_hcd the others will load, find nothing to drive and exit.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Fri Dec 14, 2018 5:23 pm    Post subject: Reply with quote

Sorry for the wrong command.

Here you find the correct command:
Code:
eposatom ~ # lsusb -vvv

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            3.19
  iManufacturer           3 Linux 3.19.8-gentoo xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:00:14.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts            10
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x40 0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
   Port 5: 0000.02a0 5Gbps power Rx.Detect
   Port 6: 0000.02a0 5Gbps power Rx.Detect
   Port 7: 0000.02a0 5Gbps power Rx.Detect
   Port 8: 0000.02a0 5Gbps power Rx.Detect
   Port 9: 0000.02a0 5Gbps power Rx.Detect
   Port 10: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           15
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x02
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat         512 micro seconds
Device Status:     0x0001
  Self Powered

Bus 001 Device 007: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0eef D-WAV Scientific Co., Ltd
  idProduct          0x0001 eGalax TouchScreen
  bcdDevice            1.00
  iManufacturer           1 eGalax Inc.
  iProduct                2 USB TouchController
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          1 eGalax Inc.
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     341
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 005: ID 045e:00f6 Microsoft Corp. Comfort Optical Mouse 1000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x00f6 Comfort Optical Mouse 1000
  bcdDevice            1.21
  iManufacturer           1 Microsoft
  iProduct                2 Comfort Optical Mouse 1000
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      72
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0006  1x 6 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 003: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc313 Internet 350 Keyboard
  bcdDevice            1.01
  iManufacturer           1 LITEON Technology
  iProduct                2 USB Multimedia Keyboard
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               70mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              24
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      44
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 008: ID 10f8:c381 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x10f8
  idProduct          0xc381
  bcdDevice            0.00
  iManufacturer           1 Cesys
  iProduct                2 CeUsb3...
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 006: ID 10f8:c381 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x10f8
  idProduct          0xc381
  bcdDevice            0.00
  iManufacturer           1 Cesys
  iProduct                2 CeUsb3...
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 004: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0605 USB 2.0 Hub
  bcdDevice            6.0b
  iManufacturer           0
  iProduct                1 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e0
    Ganged power switching
    Ganged overcurrent protection
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.1103 indicator power enable connect
   Port 2: 0000.1103 indicator power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0         8
  idVendor           0x0451 Texas Instruments, Inc.
  idProduct          0x2046 TUSB2046 Hub
  bcdDevice            1.25
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x1e
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0103 power enable connect
   Port 4: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.19
  iManufacturer           3 Linux 3.19.8-gentoo xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:00:14.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              13
  bDescriptorType      41
  nNbrPorts            16
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x08 0x00
  PortPwrCtrlMask    0xff 0xff 0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0303 lowspeed power enable connect
   Port 3: 0000.0303 lowspeed power enable connect
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0103 power enable connect
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
   Port 11: 0000.0100 power
   Port 12: 0000.0100 power
   Port 13: 0000.0100 power
   Port 14: 0000.0100 power
   Port 15: 0000.0100 power
   Port 16: 0000.0100 power
Device Status:     0x0001
  Self Powered


"Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub" is the hub present into a usb-optical fiber isolator that downgrades the data from usb2.0 to usb 1.1.
It is connected to a usb hub 2.0 in one side and to the usb 3.0 port of the pc in the other side
It seems to be the cause of my problems

Thanks
Claudio
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Fri Dec 14, 2018 6:51 pm    Post subject: Reply with quote

dr_berta,

Code:
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
...   
MaxPower                0mA
Bus 001 Device 002 is a self powered USB1 hub. Full speed means 12Mbit/sec.

You probably have USB Bus power problems. USB is rated 900mA max per root hub and USB2 is rated 500mA max.

You don't actually have any USB2 hardware but ... everything appears to be on a single USB 2 bus
Code:
$ grep -i 'Bus 0' usb.txt | sort
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 003: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard
Bus 001 Device 004: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub
Bus 001 Device 005: ID 045e:00f6 Microsoft Corp. Comfort Optical Mouse 1000
Bus 001 Device 006: ID 10f8:c381
Bus 001 Device 007: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 008: ID 10f8:c381
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


Doing the power sums
Code:
$ grep -i 'MaxPower' usb.txt
    MaxPower                0mA
    MaxPower              100mA
    MaxPower              100mA
    MaxPower               70mA
    MaxPower              500mA
    MaxPower              500mA
    MaxPower              100mA
    MaxPower                0mA
    MaxPower                0mA
That,s 1370mA which is too much for one bus.
The two 500mA devices are your FPGA boards. Can you test with those disconnected please?
That will reduce you bus load to 370mA.

It would be useful to distribute your USB devices accross all four USB ports in an attempt to split things across several USB busses. There are some hints you are already doing that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Mon Dec 17, 2018 10:16 am    Post subject: Reply with quote

Hi,
thanks for your info they are very useful.
I think the problem is due to the real structure of the usb into the pc. I try to describe it:

The panel pc has only 1 usb3.0 hub with 16 ports:
Only 4 ports are accessible for the user but only 3 are used

One port for the mouse

One port for the keyboard

One port for the usb isolator controlled by two hub: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub.
This isolator uses an optical fiber for its purpose and has one hub before and one hub after the fiber.
After the fiber it is active, so it has a power supply to provide the nergy for the hub.

The usb isolator is connected to a 4 port active usb hub: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub

The two fpga boards are connected to this hub.
Since the hub is active, its power supply provides the current for the two fpga boards

From the command "lsusb -vvv" you can also see that the first hub of the usb isolator does not detect the presence of the second hub after the fiber, but only the device that is connected to it.
In this way the two fpga boards have no impact on the power of the usb hub of the pc.
So I'm not expecting to have a real consumption problem.

For this reason I'm thinking that the issue could be due to a communication problem between the hub of the usb isolator and the usb 3.0 hub.
Dmeag tipically is giving me this error:
Code:
[14842.279119] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[23112.463633] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[23124.701145] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[25632.976073] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[25645.210223] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[25669.676714] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[25669.676853] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[27308.844843] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[27308.844990] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-71)
[27308.845532] usb 1-1: USB disconnect, device number 2
[27308.845539] usb 1-1.3: USB disconnect, device number 4
[27308.845543] usb 1-1.3.1: USB disconnect, device number 6
[27308.847371] /root/cesys/usbdriver64/ceusb3.c : vendor call failed (r=-19)
[27308.848122] usb 1-1.3.2: USB disconnect, device number 9
[27308.848854] usb 1-1.3.5: USB disconnect, device number 10
[27308.850244] /root/cesys/usbdriver64/ceusb3.c : ioctl tried on non existing device minor (0)
[27309.136600] usb 1-1: new full-speed USB device number 11 using xhci_hcd
[27309.301097] usb 1-1: New USB device found, idVendor=0451, idProduct=2046
[27309.301106] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[27309.301377] usb 1-1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[27309.302164] hub 1-1:1.0: USB hub found


From this error message I understand that the fpga board driver fails a vendor call, but I don't know the real meaning of the error r=-71.
Somebody said me that it is a timeot error during the communication

What do you think about this?

Thanks
Claudio

[edit]:
I cannot test the system without the two fpga boards because the problems happens only with those boards
I tried to remove the optical isolator and the problem did not happens
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Tue Dec 18, 2018 11:32 am    Post subject: Reply with quote

dr_berta,

I was expecting to tease your USB bus structure out of
Code:
lsusb -vvv
but for some reason, its not there or I missed it.
As you say, with your setup, power distribution should not be a problem.

Not all devices will work through a USB hub. To poke at the problem some more, if you rearrange things, can you find a working arrangement?
e.g. Your TUSB2046 Hub is USB 1.1. Connect the mouse and keyboard here to free up some ports on the PC.
Connect the not working device directly to the PC.

Connect things one at a time and check they work.
Does a different device fail now?

None of this is intended to provide a fix, its to gain a better understanding of the failure.
At best, you may find a workaround.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Wed Dec 19, 2018 11:04 am    Post subject: Reply with quote

NeddySeagoon,

I tried to do all the test you suggested.
The problem is present on all the systems having that model of pc
The problem is present only if I connect the fiber isolator (usb1.1) on the port used for it.

I tried to put a usb2.0 hub between the fiber isolator and the usb3.0 port of the pc. This eliminates the problem of the error (r=-71) at the reboot. In this condition, randomly and only on some systems, the usb communication with the fpga board fails with error r=-32 (an overcurrent?).

About your answer, I agree that it is not possible to derive the structure of the usb connections from the command
Code:
lsusb -vvv
. You can find some clues about it only. There are no infos about what is connected to each hub.

Code:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
...
Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
   Port 5: 0000.02a0 5Gbps power Rx.Detect
   Port 6: 0000.02a0 5Gbps power Rx.Detect
   Port 7: 0000.02a0 5Gbps power Rx.Detect
   Port 8: 0000.02a0 5Gbps power Rx.Detect
   Port 9: 0000.02a0 5Gbps power Rx.Detect
   Port 10: 0000.02a0 5Gbps power Rx.Detect

Bus 001 Device 004: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub
...
Hub Port Status:
   Port 1: 0000.1103 indicator power enable connect
   Port 2: 0000.1103 indicator power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power

Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
...
Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0103 power enable connect
   Port 4: 0000.0100 power

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
...
Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0303 lowspeed power enable connect
   Port 3: 0000.0303 lowspeed power enable connect
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0103 power enable connect
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
   Port 11: 0000.0100 power
   Port 12: 0000.0100 power
   Port 13: 0000.0100 power
   Port 14: 0000.0100 power
   Port 15: 0000.0100 power
   Port 16: 0000.0100 power


Bus 001 Device 001 is the pc hub having 4 ports connected:
port 7 (internal) is the touch screen
port 1 is the optical isolator (but it is not detected as a lowspeed device)
port 2 and 3 are the mouse and the keyboard (you cannot detect which one from the command)

From this info all the devices are working through a single usb hub: the 16 port usb hub present into the motherboard of the pc.
A strange thing is that this hub has the same pci address of the usb 3.0 hub with 10 ports. The manufacturer said me that there is only one usb3.0 hub with 16 ports, so I don't understand why linux sees this usb configuration.
Considering this I don't know how to consider the max current available: one thing is to have 900mA over 4 ports and another thing is to have the same current available over 16 ports.

In any case I think it should be important to know how the overcurrent error is generated. If the system reads the MaxPower values and uses them to create the overcurrent alarm, this is a problem because, as you said, the sum is bigger than 900mA. It is also not correct because there are active hub that manage independently the current of their ports.


Claudio
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43437
Location: 56N 3W

PostPosted: Wed Dec 19, 2018 6:22 pm    Post subject: Reply with quote

dr_berta,

Overcurrent detection behaviours vary wildly. I don't know of any that add up the Maxpower devices declare.
Some devices do nothing ... the current can increase until something melts.
Some devices have a auto resetting fuse, either per port or per root hub. Its not really a fuse, more like a thermister. When it gets hot, it goes high resistance and blocks the current flow, then it cools and the cycle repeats.
Other devices do 'load shedding' some ports operate normally, others are shut down to keep the total current in limits.

The data sheet for your TUSB2046 Hub can be found from that link.
The upstream end is USB2 the downstream end is 4 USB1 ports.
Overcurrent detection is done here. The datasheet says that overcurrent detection is per port but control can be either ganged (all ports go off) or per per port.

Optoisolation is not mentioned but that's an implementation detail. The link is for the TI USB chip itself.

If you swap the two FPGA boards over, does the problem swap ports too?
i.e. does it follow the FPGA or stay with the the port?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Tue Jan 15, 2019 4:57 pm    Post subject: Reply with quote

Hi,
I tried to swap the boards and the problem stays with the port. Better, I noted that the first device identified by the driver works fine, the other has the problem.

Anyway I found a way to solve the problem.
The solution I found is to replace the fiber cable with a new model usb3.0 certified and put after that a usb 3.0 hub to connect the two fpga boards.

With this chain everything works fine.

Thanks a lot for your help
Claudio
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum