On Thu, Aug 30, 2012 at 11:51:54AM +0430, A Sh wrote:
>   Hello Ms.Sharp

Greetings!  Do you go by "A"?  Your mail signature isn't very clear. :)

> When I plug a usb Flash Drive or DVB-T to my USB 3.0 Port I get following
> and nothing happens(USB Device isn't Recognized):
> 
>       do_IRQ: 3.176 No irq handler for vector (irq -1)
> 
> I'm using linux kernel 3.2.0-29-generic from official ubuntu precise
> (12.04) repository.
> 
> The related parts of lspci -vvv, lsusb -vvv and dmesg outputs are(you can
> find the complete outputs in attachments):
> 
> *------> lspci -vvv (related part):*
> 
> 
>  04:00.0 USB controller: Fresco Logic Device 1400 (rev 01) (prog-if 30
> [XHCI])

Can you please send me the output of `sudo lspci -vvv -n`?  I need the
PCI vendor and device ID, which this version of lspci doesn't provide.

I'm wondering if you have a Fresco Logic host that doesn't support MSI,
even though it claims to (see the MSI field in the Capabilities lines):

> 04:00.0 USB controller: Fresco Logic Device 1400 (rev 01) (prog-if 30 [XHCI])
>       Subsystem: Device 1d5c:1000
>       Physical Slot: 3
>       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, Cache Line Size: 64 bytes
>       Interrupt: pin A routed to IRQ 51
>       Region 0: Memory at d4600000 (32-bit, non-prefetchable) [size=64K]
>       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: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
>               Address: 00000000feeff00c  Data: 41b1
>       Capabilities: [80] Express (v1) Endpoint, MSI 00
>               DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <2us, L1 
> <32us
>                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
>               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
> Unsupported-
>                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
>                       MaxPayload 128 bytes, MaxReadReq 512 bytes
>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
> TransPend-
>               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency 
> L0 unlimited, L1 unlimited
>                       ClockPM- Surprise- LLActRep- BwNot-
>               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ 
> DLActive- BWMgmt- ABWMgmt-
>       Kernel driver in use: xhci_hcd

I think the dmesg shows that MSI is enabled for the host controller:

> [    1.988493] xhci_hcd 0000:04:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 
> 19
> [    1.988529] xhci_hcd 0000:04:00.0: setting latency timer to 64
> [    1.988537] xhci_hcd 0000:04:00.0: xHCI Host Controller
> [    1.988604] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus 
> number 3
> [    2.109283] xhci_hcd 0000:04:00.0: irq 19, io mem 0xd4600000
> [    2.109363] xhci_hcd 0000:04:00.0: irq 51 for MSI/MSI-X

But you're getting an unhandled IRQ, so this Fresco Logic may need a
quirk like the previous generation to avoid MSI.  I'll need the vendor
and device ID from the lspci to generate a new patch for you to test.

Do you know how to compile a custom kernel?  If not, I'll send you some
directions.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to