linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* USB on 8250 PCI
@ 2005-04-06 11:39 Wojciech Kromer
  0 siblings, 0 replies; 6+ messages in thread
From: Wojciech Kromer @ 2005-04-06 11:39 UTC (permalink / raw)


anyone have tested USB host controller on pci with mpc8250
i have NEC PD720101  ohci/ehci device

i have no response from usb devices
any hints?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* USB on 8250 PCI
@ 2005-04-06 11:42 Wojciech Kromer
  2005-04-06 12:12 ` Jaap-Jan Boor
  0 siblings, 1 reply; 6+ messages in thread
From: Wojciech Kromer @ 2005-04-06 11:42 UTC (permalink / raw)
  To: linuxppc-embedded

anyone have tested USB host controller on pci with mpc8250
i have NEC PD720101  ohci/ehci device

i have no response from usb devices
any hints?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB on 8250 PCI
  2005-04-06 11:42 USB on 8250 PCI Wojciech Kromer
@ 2005-04-06 12:12 ` Jaap-Jan Boor
  2005-04-07  6:23   ` Wojciech Kromer
  0 siblings, 1 reply; 6+ messages in thread
From: Jaap-Jan Boor @ 2005-04-06 12:12 UTC (permalink / raw)
  To: Wojciech Kromer; +Cc: linuxppc-embedded


On 6-apr-05, at 13:42, Wojciech Kromer wrote:

> anyone have tested USB host controller on pci with mpc8250
> i have NEC PD720101  ohci/ehci device

yes, mpc8270 with Philips 1561
(I found the CPM USB host controller with 1 ms SOF
under software control too risky)

the 1561 is OHCI/EHCI compliant, the standard linux drivers
can be used

>
> i have no response from usb devices
> any hints?
>
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB on 8250 PCI
  2005-04-06 12:12 ` Jaap-Jan Boor
@ 2005-04-07  6:23   ` Wojciech Kromer
  2005-04-07  7:31     ` Jaap-Jan Boor
  0 siblings, 1 reply; 6+ messages in thread
From: Wojciech Kromer @ 2005-04-07  6:23 UTC (permalink / raw)
  To: linuxppc-embedded

i still can't figure out is it a hardware or configuration problem,
i can see all registers, drivers seems to work,
it can detect device insert
but there is no data transmision

there are also no interrupts,
i'm not sure what to write in interrupt_line in PCI config space

any hints?

=============================================================
here is my dmesg part:

ehci_hcd 00:1e.2: PCI device 1033:00e0
ehci_hcd 00:1e.2: irq -20, pci mem c924b000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1e.2: ehci_start hcs_params 0x2385 dbg=0 cc=2 pcc=3 !ppc 
ports=5
ehci_hcd 00:1e.2: ehci_start portroute 1 0 1 0 0
ehci_hcd 00:1e.2: ehci_start hcc_params e806 thresh 0 uframes 
256/512/1024 park
ehci_hcd 00:1e.2: capability 0001 at e8
ehci_hcd 00:1e.2: reset command 080b02 park=3 ithresh=8 period=1024 
Reset HALT
PCI: 00:1e.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, 
correcting to 32
ehci_hcd 00:1e.2: init command 010b09 park=3 ithresh=1 period=256 RUN
ehci_hcd 00:1e.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hcd.c: 00:1e.2 root hub device address 1
usb.c: kmalloc IF c727f340, numif 1
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Manufacturer: Linux 2.4.19-dgt ehci_hcd
Product: PCI device 1033:00e0
SerialNumber: 00:1e.2
hub.c: USB hub found
hub.c: 5 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Single TT
hub.c: TT requires at most 8 FS bit times
hub.c: Port indicators are not supported
hub.c: power on to power good time: 0ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RRRRR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c727f340
ehci_hcd 00:1e.2: GetStatus port 1 status 001803 POWER sig=j  CSC CONNECT
hub.c: port 1, portstatus 501, change 1, 480 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 501, change 1, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 511, change 0, 480 Mb/s
hub.c: port 1 of hub 1 not reset yet, waiting 10ms
hub.c: port 1, portstatus 511, change 0, 480 Mb/s
hub.c: port 1 of hub 1 not reset yet, waiting 10ms
ehci_hcd 00:1e.2: port 1 full speed --> companion
ehci_hcd 00:1e.2: GetStatus port 1 status 003801 POWER OWNER sig=j  CONNECT
hub.c: port 1, portstatus 0, change 10, 12 Mb/s
ehci_hcd 00:1e.2: free_config  devnum 0
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
hub.c: port 3, portstatus 100, change 0, 12 Mb/s
hub.c: port 4, portstatus 100, change 0, 12 Mb/s
hub.c: port 5, portstatus 100, change 0, 12 Mb/s

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB on 8250 PCI
  2005-04-07  6:23   ` Wojciech Kromer
@ 2005-04-07  7:31     ` Jaap-Jan Boor
  2005-04-07  7:51       ` Wojciech Kromer
  0 siblings, 1 reply; 6+ messages in thread
From: Jaap-Jan Boor @ 2005-04-07  7:31 UTC (permalink / raw)
  To: Wojciech Kromer; +Cc: linuxppc-embedded

What kernel version do you use?
In a 2.4 series kernel, you might check m8260_pcibios_fixup()
and probably set dev->irq ?

I don't know yet if this is the same in 2.6. I recently saw a lot of 
pci setup related changes in this mailing list.

Jaap-Jan

On 7-apr-05, at 8:23, Wojciech Kromer wrote:

> i still can't figure out is it a hardware or configuration problem,
> i can see all registers, drivers seems to work,
> it can detect device insert
> but there is no data transmision
>
> there are also no interrupts,
> i'm not sure what to write in interrupt_line in PCI config space
>
> any hints?
>
> =============================================================
> here is my dmesg part:
>
> ehci_hcd 00:1e.2: PCI device 1033:00e0
> ehci_hcd 00:1e.2: irq -20, pci mem c924b000
> usb.c: new USB bus registered, assigned bus number 1
> ehci_hcd 00:1e.2: ehci_start hcs_params 0x2385 dbg=0 cc=2 pcc=3 !ppc 
> ports=5
> ehci_hcd 00:1e.2: ehci_start portroute 1 0 1 0 0
> ehci_hcd 00:1e.2: ehci_start hcc_params e806 thresh 0 uframes 
> 256/512/1024 park
> ehci_hcd 00:1e.2: capability 0001 at e8
> ehci_hcd 00:1e.2: reset command 080b02 park=3 ithresh=8 period=1024 
> Reset HALT
> PCI: 00:1e.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, 
> correcting to 32
> ehci_hcd 00:1e.2: init command 010b09 park=3 ithresh=1 period=256 RUN
> ehci_hcd 00:1e.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
> hcd.c: 00:1e.2 root hub device address 1
> usb.c: kmalloc IF c727f340, numif 1
> usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb.c: USB device number 1 default language ID 0x0
> Manufacturer: Linux 2.4.19-dgt ehci_hcd
> Product: PCI device 1033:00e0
> SerialNumber: 00:1e.2
> hub.c: USB hub found
> hub.c: 5 ports detected
> hub.c: standalone hub
> hub.c: ganged power switching
> hub.c: individual port over-current protection
> hub.c: Single TT
> hub.c: TT requires at most 8 FS bit times
> hub.c: Port indicators are not supported
> hub.c: power on to power good time: 0ms
> hub.c: hub controller current requirement: 0mA
> hub.c: port removable status: RRRRR
> hub.c: local power source is good
> hub.c: no over-current condition exists
> hub.c: enabling power on all ports
> usb.c: hub driver claimed interface c727f340
> ehci_hcd 00:1e.2: GetStatus port 1 status 001803 POWER sig=j  CSC 
> CONNECT
> hub.c: port 1, portstatus 501, change 1, 480 Mb/s
> hub.c: port 1 connection change
> hub.c: port 1, portstatus 501, change 1, 480 Mb/s
> hub.c: port 1, portstatus 501, change 0, 480 Mb/s
> hub.c: port 1, portstatus 501, change 0, 480 Mb/s
> hub.c: port 1, portstatus 501, change 0, 480 Mb/s
> hub.c: port 1, portstatus 501, change 0, 480 Mb/s
> hub.c: port 1, portstatus 511, change 0, 480 Mb/s
> hub.c: port 1 of hub 1 not reset yet, waiting 10ms
> hub.c: port 1, portstatus 511, change 0, 480 Mb/s
> hub.c: port 1 of hub 1 not reset yet, waiting 10ms
> ehci_hcd 00:1e.2: port 1 full speed --> companion
> ehci_hcd 00:1e.2: GetStatus port 1 status 003801 POWER OWNER sig=j  
> CONNECT
> hub.c: port 1, portstatus 0, change 10, 12 Mb/s
> ehci_hcd 00:1e.2: free_config  devnum 0
> hub.c: port 2, portstatus 100, change 0, 12 Mb/s
> hub.c: port 3, portstatus 100, change 0, 12 Mb/s
> hub.c: port 4, portstatus 100, change 0, 12 Mb/s
> hub.c: port 5, portstatus 100, change 0, 12 Mb/s
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB on 8250 PCI
  2005-04-07  7:31     ` Jaap-Jan Boor
@ 2005-04-07  7:51       ` Wojciech Kromer
  0 siblings, 0 replies; 6+ messages in thread
From: Wojciech Kromer @ 2005-04-07  7:51 UTC (permalink / raw)
  To: linuxppc-embedded

Dnia 2005-04-07 09:31, Użytkownik Jaap-Jan Boor napisał:

> What kernel version do you use?
> In a 2.4 series kernel, you might check m8260_pcibios_fixup()
> and probably set dev->irq ?
>
> I don't know yet if this is the same in 2.6. I recently saw a lot of 
> pci setup related changes in this mailing list.
>
> Jaap-Jan
>

i'm using 2.4.19 and 2.4.25 usb code
irqs, and io maps are set correctly

when trying to use ohci code there is one interrupt at startup:
<3>usb-ohci.c: OHCI Unrecoverable Error, controller usb-00:1e.0

anyone knows, what does it mean?
i've modified code to ignore it...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-07  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06 11:42 USB on 8250 PCI Wojciech Kromer
2005-04-06 12:12 ` Jaap-Jan Boor
2005-04-07  6:23   ` Wojciech Kromer
2005-04-07  7:31     ` Jaap-Jan Boor
2005-04-07  7:51       ` Wojciech Kromer
  -- strict thread matches above, loose matches on Subject: below --
2005-04-06 11:39 Wojciech Kromer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).